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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x158], 0
jne 0x47b3c4
call fcn.0046be80
mov esi, eax
mov dword [esp + 0xd8], esi
call fcn.0046bbe0
mov ecx, edi
mov dword [esp + 8], eax
call fcn.0046bd40
mov dword [esp + 0xb0], eax
mov eax, dword [edi + 0x144]
mov ecx, eax
mov edx, ecx
sub edx, 2
je 0x47a137
sub edx, 1
je 0x47a11d
sub edx, 2
jne 0x47a12c
cmp dword [edi + 0x2a4], edx
jne switch.0x0047a15a
cmp dword [edi + 0x2b4], 0x10000
jne switch.0x0047a15a
cmp dword [edi + 0x2b8], 0x10000
jne switch.0x0047a15a
cmp dword [edi + 0x2bc], edx
jne switch.0x0047a15a
cmp dword [edi + 0x2c0], edx
jne switch.0x0047a15a
cmp dword [edi + 0x318], edx
je 0x47a10f
cmp dword [edi + 0x320], edx
jne switch.0x0047a15a
xor ecx, ecx
cmp dword [edi + 0x164], 0xffffffff
setne cl
jmp switch.0x0047a15a
cmp dword [esp + 0xb0], 0x100
sbb ecx, ecx
and ecx, eax
cmp ecx, 6
ja 0x47b3c4
jmp switch.0x0047a15a
cmp dword [edi + 0x2a4], 0
jne switch.0x0047a15a
cmp dword [edi + 0x2b4], 0x10000
jne switch.0x0047a15a
cmp dword [edi + 0x2b8], 0x10000
jne switch.0x0047a15a
xor ecx, ecx
jmp dword [ecx*4 + 0x47b3cc]
push dword [edi + 0x160]
mov ecx, dword [0x55a20c]
lea eax, [esp + 0x54]
push eax
call fcn.0045a370
test eax, eax
je 0x47b3c4
push dword [edi + 0x160]
mov ecx, dword [0x55a20c]
call fcn.00458980
cmp dword [edi + 0x168], eax
jne 0x47b3c4
cmp dword [edi + 0x148], 0
je 0x47a39f
cmp dword [edi + 0x144], 3
je 0x47a39f
cmp dword [edi + 0x154], 0
je 0x47a2a4
push dword [ebp + 0xc]
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00476a00
test eax, eax
je 0x47b3c4
mov eax, dword [esp + 0x60]
mov ecx, 2
cmp eax, 1
cmove eax, ecx
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc eax
sub edx, dword [ecx]
lea ecx, [esp + 0x14]
push eax
inc edx
call fcn.00459f00
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x58]
call fcn.00459e00
push 0
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x1c]
call fcn.004569e0
mov ecx, dword [edi + 0x154]
add esp, 0xc
call fcn.0046bbe0
push eax
lea eax, [esp + 0x94]
lea edx, [esp + 0x14]
push eax
mov ecx, edx
call fcn.004655d0
add esp, 8
lea eax, [esp + 0x10]
mov ecx, edi
push 0
push eax
call fcn.004764c0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x10]
push 1
push dword [esp + 0xc]
push esi
call fcn.00456a30
add esp, 0xc
push dword [esp + 0x10]
call fcn.00427666
add esp, 4
cmp dword [esp + 0xb0], 0
je 0x47b3c4
push dword [esp + 0x90]
call fcn.00427666
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x14c]
mov esi, dword [0x55a20c]
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.0045a370
test eax, eax
je 0x47b3c4
push dword [edi + 0x14c]
mov ecx, esi
call fcn.00458980
cmp dword [edi + 0x150], eax
jne 0x47b3c4
mov eax, dword [esp + 0x60]
mov ecx, 2
mov esi, dword [ebp + 0xc]
cmp eax, 1
cmove eax, ecx
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov edx, dword [esi + 8]
inc eax
sub edx, dword [esi]
push eax
inc edx
call fcn.00459f00
mov edx, esi
lea ecx, [esp + 0x58]
call fcn.00459e00
push 0
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x1c]
call fcn.004569e0
movups xmm0, xmmword [esi]
add esp, 0xc
lea eax, [esp + 0xb0]
mov ecx, edi
movups xmmword [esp + 0x70], xmm0
push eax
call fcn.00478ca0
push dword [esp + 0xb4]
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0x74]
call fcn.00459e80
add esp, 4
mov edx, ecx
lea ecx, [esp + 0x90]
call fcn.00459e00
test eax, eax
je 0x47b3b8
push ecx
lea eax, [esp + 0x94]
lea edx, [esp + 0x14]
push eax
mov ecx, edx
call fcn.00465660
add esp, 8
lea eax, [esp + 0x10]
mov ecx, edi
push 0
push eax
call fcn.004764c0
mov esi, dword [esp + 0xd8]
jmp 0x47b3a2
mov ecx, edi
call fcn.00476520
test eax, eax
je 0x47a3ff
mov eax, dword [esp + 0x60]
mov ecx, 2
mov esi, dword [ebp + 0xc]
cmp eax, 1
cmove eax, ecx
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov edx, dword [esi + 8]
inc eax
sub edx, dword [esi]
push eax
inc edx
call fcn.00459f00
add esp, 8
lea ecx, [esp + 0x50]
mov edx, esi
call fcn.00459e00
lea eax, [esp + 0x50]
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004764c0
mov esi, dword [esp + 0xd8]
jmp 0x47b3a2
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x50]
call fcn.00459e00
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x50]
push 1
push dword [esp + 0xc]
push esi
call fcn.00456a30
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x10]
push 1
push dword [esp + 0xc]
push esi
call fcn.00456a30
add esp, 0xc
push dword [esp + 0x10]
call fcn.00427666
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc