Function at 0x477b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4f2213
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2a4], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov edi, dword [ebp + 8]
call fcn.00477ac0
mov eax, dword [edi + 0x28]
cmp dword [eax + 4], 0x20
jb 0x477ba0
mov eax, 0x80004001
jmp 0x47837d
mov edx, dword [edi + 0x28]
xorps xmm0, xmm0
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x1010100
mov dword [esp + 0x28], 0x1010101
movdqu xmm0, xmmword [esp + 0x24]
mov dword [esp + 0x34], 0x101
mov word [esp + 0x38], 0
movdqu xmmword [edi + 8], xmm0
mov dword [esp + 0x10], 0
movdqu xmm0, xmmword [esp + 0x34]
movdqu xmmword [edi + 0x18], xmm0
mov ecx, dword [edx + 4]
cmp ecx, 1
jb 0x477c4a
mov eax, dword [esi + 4]
cmp eax, ecx
jae 0x477c25
sub ecx, eax
mov eax, dword [edx]
mov eax, dword [eax + ecx*4 - 4]
movdqu xmm1, xmmword [eax]
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [edi + 8], xmm1
movdqu xmmword [edi + 0x18], xmm0
jmp 0x477c54
mov eax, dword [edx]
mov eax, dword [eax]
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmm1, xmmword [eax]
movd eax, xmm0
test al, al
je 0x47836f
movdqu xmmword [edi + 8], xmm1
movdqu xmmword [edi + 0x18], xmm0
jmp 0x477c54
cmp dword [esi + 4], 0x20
jae 0x47836f
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x477cfc
push 0xe0
push ecx
lea eax, [esp + 0x1d4]
push eax
call fcn.004e3fe0
add esp, 0xc
lea ecx, [esp + 0x1cc]
call fcn.0046fe70
lea esi, [edi + 0x48]
mov dword [esp + 0x2c0], 0
push esi
lea ecx, [esp + 0x24c]
call fcn.004128e0
push esi
lea ecx, [esp + 0x240]
call fcn.004128e0
push edi
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x268], 0xffffffff
call fcn.00477820
mov dword [esp + 0x20], eax
test eax, eax
jne 0x478165
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1cc]
push eax
mov ecx, esi
call fcn.004791e0
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.0044a9a0
jmp 0x477ba0
mov eax, dword [esi]
cmp dword [edx + 4], ecx
mov edx, 0x80004001
mov esi, dword [esp + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [eax + ecx*4 - 4]
mov ecx, esi
cmova ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x2c0], 1
lea edx, [esp + 0xb4]
mov eax, dword [eax]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4783a7
mov ax, word [esp + 0xb4]
cmp ax, 0x13
jne 0x4783a2
mov eax, dword [esp + 0xbc]
lea edx, [esp + 0xe8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
push edx
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4783a7
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xe8]
jae 0x478358
cmp word [esp + 0xb4], 0
je 0x477dc1
lea ecx, [esp + 0xb4]
call fcn.0041d410
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xa4]
mov dword [esp + 0x2c0], 2
push edx
push 0x504d20
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
mov eax, dword [esp + 0xa4]
jne 0x478341
test eax, eax
je 0x478341
mov dword [esp + 0xa8], 0
lea edx, [esp + 0xa8]
mov byte [esp + 0x2c0], 3
mov ecx, dword [eax]
push edx
push dword [esp + 0x18]
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [esp + 0xa8]
jne 0x478311
test eax, eax
je 0x478311
mov dword [esp + 0xac], 0
lea edx, [esp + 0xac]
mov byte [esp + 0x2c0], 4
mov ecx, dword [eax]
push edx
push 0x505000
push eax
call dword [ecx]
test eax, eax
mov eax, dword [esp + 0xac]
jne 0x478304
test eax, eax
je 0x478304
push 0xe0
lea eax, [esp + 0xf0]
push 0
push eax
call fcn.004e3fe0
add esp, 0xc
lea ecx, [esp + 0xec]
call fcn.0046fe70
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x15c]
push eax
push dword [esp + 0x18]
mov byte [esp + 0x2c8], 5
call fcn.00471580
mov esi, eax
test esi, esi
jne 0x47829e
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xd4]
push edx
push 0x56
push dword [esp + 0x1c]
mov ecx, dword [eax]
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], eax
mov byte [esp + 0x1b], al
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
mov esi, eax
test esi, esi
jne 0x478287
mov ax, word [esp + 0xd4]
cmp ax, 0xb
jne 0x477f29
cmp word [esp + 0xdc], si
lea ecx, [esp + 0xd4]
setne byte [esp + 0xf]
call fcn.0041d410
jmp 0x477f32
test ax, ax
jne 0x478274
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x477f8f
mov dword [esp + 0xb0], 0
lea edx, [esp + 0xb0]
mov byte [esp + 0x2c0], 6
mov eax, dword [ecx]
push edx
push 0x504fc0
push ecx
call dword [eax]
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x477f7d
push dword [esp + 0x15c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0xb0]
mov byte [esp + 0x2c0], 5
test eax, eax
je 0x477f8f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movq qword [esp + 0xc8], xmm0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x184], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c0], 7
call fcn.004454f0
mov byte [esp + 0x2c0], 8
lea ecx, [esp + 0x94]
movdqu xmm0, xmmword [edi + 8]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x8c], eax
mov eax, dword [edi]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0xf]
movdqu xmmword [esp + 0x54], xmm0
mov byte [esp + 0x90], 0
movdqu xmm0, xmmword [edi + 0x18]
movdqu xmmword [esp + 0x64], xmm0
mov byte [esp + 0x68], al
lea eax, [esp + 0xc8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x15c]
push eax
call fcn.004128e0
mov eax, dword [edi + 0x38]
lea ecx, [esp + 0xec]
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x4c]
push eax
call fcn.00477560
mov esi, eax
xor ecx, ecx
mov eax, dword [edi + 0x28]
cmp dword [eax + 4], ecx
setne cl
mov dword [esp + 0x10], ecx
cmp esi, 1
je 0x4781e1
test esi, esi
jne 0x4781ae
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x190]
push eax
lea eax, [esp + 0x18c]
push eax
push dword [esp + 0x1c]
call fcn.00471ec0
mov esi, eax
test esi, esi
jne 0x4781ae
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xec]
push eax
mov ecx, esi
call fcn.004791e0
mov byte [esp + 0x2c0], 7
push dword [esp + 0x94]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x2c0], 5
push dword [esp + 0xc8]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x2c0], 4
lea ecx, [esp + 0xec]
call fcn.0044a9a0
mov byte [esp + 0x2c0], 3
mov eax, dword [esp + 0xac]
test eax, eax
je 0x478127
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2c0], 2
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x478140
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c0], 0xffffffff
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x477ba0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x477ba0
cmp eax, 1
jne 0x47818e
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20c]
push eax
lea ecx, [esi + 0x30]
call fcn.00477500
lea eax, [esp + 0x23c]
push eax
lea ecx, [esi + 0x24]
call fcn.004128e0
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x2c0], 0xffffffff
call fcn.0044a9a0
mov eax, dword [esp + 0x20]
jmp 0x47837d
mov byte [esp + 0x2c0], 7
push dword [esp + 0x94]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x2c0], 5
push dword [esp + 0xc8]
call fcn.004df97b
add esp, 4
jmp 0x47829e
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xfc]
push eax
lea ecx, [esi + 0x30]
call fcn.00477500
lea eax, [esp + 0x15c]
push eax
lea ecx, [esi + 0x24]
call fcn.004128e0
mov byte [esp + 0x2c0], 7
push dword [esp + 0x94]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x2c0], 5
push dword [esp + 0xc8]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x2c0], 4
lea ecx, [esp + 0xec]
call fcn.0044a9a0
mov byte [esp + 0x2c0], 3
mov eax, dword [esp + 0xac]
test eax, eax
je 0x478260
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2c0], 2
mov eax, dword [esp + 0xa8]
jmp 0x478319
lea ecx, [esp + 0xd4]
call fcn.0041d410
mov esi, 0x80004005
jmp 0x47829e
cmp word [esp + 0xd4], 0
je 0x47829e
lea ecx, [esp + 0xd4]
call fcn.0041d410
lea ecx, [esp + 0xec]
mov byte [esp + 0x2c0], 4
call fcn.0044a9a0
mov byte [esp + 0x2c0], 3
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4782cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x2c0], 2
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x4782e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c0], 0xffffffff
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x478300
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x47837d
mov byte [esp + 0x2c0], 3
jmp 0x478256
mov byte [esp + 0x2c0], 2
test eax, eax
je 0x478323
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c0], 0xffffffff
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x47836f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x47836f
mov dword [esp + 0x2c0], 0xffffffff
test eax, eax
je 0x47836f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x47836f
cmp word [esp + 0xb4], 0
je 0x47836f
lea ecx, [esp + 0xb4]
call fcn.0041d410
cmp dword [esi + 4], 0
mov eax, dword [esp + 0x10]
setne cl
mov byte [esi + 0x20], cl
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 4
test ax, ax
jmp 0x478361
cmp word [esp + 0xb4], 0
je 0x4783be
lea ecx, [esp + 0xb4]
call fcn.0041d410
mov eax, dword [esp + 0x20]
jmp 0x47837d