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

Disassembly:
sub esp, 0x78
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
mov esi, edx
mov dword [esp + 0xc], 2
xor ebp, ebp
mov dword [esp + 0x2c], esi
push edi
mov edi, ecx
mov dword [esp + 0x14], ebp
mov ebx, dword [esi + 0x48]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ecx
movlpd qword [esp + 0x20], xmm0
cmp dword [ebx + 0x18], ebp
jne 0x431a6c
xor eax, eax
cmp dword [ebx + 0x30], eax
sete al
mov dword [ecx], eax
mov ecx, esi
call fcn.004314b0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004c515f
add esp, 0x78
ret
mov ecx, edi
call fcn.00431770
mov esi, eax
test esi, esi
jne 0x431cea
mov ecx, dword [ebx + 0x18]
cmp ecx, 0x10
jle 0x431a8a
lea ecx, [eax + 0x10]
jmp 0x431a8f
cmp ecx, 2
jle 0x431aa0
mov eax, 2
add eax, eax
cmp eax, ecx
jl 0x431a94
mov dword [esp + 0x10], eax
jmp 0x431aa5
mov eax, 2
imul eax, eax, 0x34
mov ecx, edi
mov edx, eax
mov dword [esp + 0x18], eax
call fcn.00407990
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x431ad2
push dword [esp + 0x18]
push 0
push ecx
call fcn.004cb9a0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x24], ecx
test ecx, ecx
jne 0x431aef
lea eax, [ecx + 7]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004c515f
add esp, 0x78
ret
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x14], edx
lea eax, [edx + edx*2]
shl eax, 4
add eax, ecx
mov dword [ebx + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x10], ecx
test esi, esi
jne 0x431c66
xor eax, eax
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x18]
jge 0x431c66
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x38]
xorps xmm0, xmm0
mov ecx, edi
push eax
movdqu xmmword [esp + 0x44], xmm0
movdqu xmmword [esp + 0x54], xmm0
movq qword [esp + 0x64], xmm0
call fcn.00431950
mov esi, eax
add esp, 4
test esi, esi
jne 0x431c62
cmp dword [ebx + 0x18], 0x10
jle 0x431ca7
test ebp, ebp
jne 0x431b77
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.00431340
mov ebp, dword [esp + 0x14]
mov esi, eax
test esi, esi
jne 0x431c44
push dword [esp + 0x24]
lea eax, [esp + 0x44]
mov edx, ebp
push dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
xor edi, edi
push eax
mov ecx, ebp
mov dword [esp + 0x28], edi
call fcn.004315a0
add esp, 0xc
lea ecx, [esp + 0x78]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.0040a740
push eax
lea edx, [esp + 0x84]
lea ecx, [esp + 0x4c]
call fcn.00431620
add esp, 0xc
nop
test edi, edi
jne 0x431c24
mov eax, dword [ebx + 0x28]
lea ecx, [esp + 0x6c]
mov eax, dword [eax + 4]
lea esi, [eax + eax*2]
shl esi, 4
add esi, dword [ebx + 0x24]
mov eax, dword [esi + 0x14]
cdq
push edx
push eax
call fcn.0040a740
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x4c]
call fcn.00431620
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x4c]
add esp, 0xc
push dword [esi + 0x14]
call fcn.00431620
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x20]
add esp, 4
mov ecx, ebp
push eax
call fcn.00431d00
mov esi, eax
add esp, 4
test esi, esi
jne 0x431c24
mov edi, dword [esp + 0x1c]
jmp 0x431bc0
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
lea edx, [esp + 0x44]
call fcn.004316f0
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, dword [esp + 0x2c]
test esi, esi
cmove esi, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 0x10
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
test esi, esi
je 0x431b15
jmp 0x431c66
mov ecx, dword [esp + 0x10]
cmp dword [ebx + 0x18], 0x10
jle 0x431ca7
mov eax, dword [ebx + 0x2c]
xorps xmm0, xmm0
mov dword [ebx + 0x2c], ebp
mov ebp, eax
mov eax, dword [esp + 0x20]
mov dword [ebx], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x18], ecx
mov dword [esp + 0x14], ebp
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
movlpd qword [esp + 0x20], xmm0
test esi, esi
je 0x431b01
test ebp, ebp
je 0x431ccb
mov eax, dword [ebp]
test eax, eax
je 0x431cc2
mov eax, dword [eax + 4]
push ebp
call eax
add esp, 4
mov dword [ebp], 0
push ebp
call fcn.004076a0
add esp, 4
mov eax, dword [ebx + 0x28]
xor ecx, ecx
mov eax, dword [eax + 4]
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x24]
add edx, edx
cmp dword [eax + edx*8 + 0x18], ecx
mov eax, dword [esp + 0x34]
sete cl
mov dword [eax], ecx
mov eax, esi
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c515f
add esp, 0x78
ret