Function at 0x431280
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 0x4312ec
xor eax, eax
cmp dword [ebx + 0x30], eax
sete al
mov dword [ecx], eax
mov ecx, esi
call fcn.00430d30
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x78
ret
mov ecx, edi
call fcn.00430ff0
mov esi, eax
test esi, esi
jne 0x43156a
mov ecx, dword [ebx + 0x18]
cmp ecx, 0x10
jle 0x43130a
lea ecx, [eax + 0x10]
jmp 0x43130f
cmp ecx, 2
jle 0x431320
mov eax, 2
add eax, eax
cmp eax, ecx
jl 0x431314
mov dword [esp + 0x10], eax
jmp 0x431325
mov eax, 2
imul eax, eax, 0x34
mov ecx, edi
mov edx, eax
mov dword [esp + 0x18], eax
call fcn.00407210
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x431352
push dword [esp + 0x18]
push 0
push ecx
call fcn.004cb700
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [ebx + 0x24], ecx
test ecx, ecx
jne 0x43136f
lea eax, [ecx + 7]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004c4eaf
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 0x4314e6
xor eax, eax
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x18]
jge 0x4314e6
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.004311d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4314e2
cmp dword [ebx + 0x18], 0x10
jle 0x431527
test ebp, ebp
jne 0x4313f7
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.00430bc0
mov ebp, dword [esp + 0x14]
mov esi, eax
test esi, esi
jne 0x4314c4
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.00430e20
add esp, 0xc
lea ecx, [esp + 0x78]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.00409fc0
push eax
lea edx, [esp + 0x84]
lea ecx, [esp + 0x4c]
call fcn.00430ea0
add esp, 0xc
nop
test edi, edi
jne 0x4314a4
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.00409fc0
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x4c]
call fcn.00430ea0
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x4c]
add esp, 0xc
push dword [esi + 0x14]
call fcn.00430ea0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x20]
add esp, 4
mov ecx, ebp
push eax
call fcn.00431580
mov esi, eax
add esp, 4
test esi, esi
jne 0x4314a4
mov edi, dword [esp + 0x1c]
jmp 0x431440
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
lea edx, [esp + 0x44]
call fcn.00430f70
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 0x431395
jmp 0x4314e6
mov ecx, dword [esp + 0x10]
cmp dword [ebx + 0x18], 0x10
jle 0x431527
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 0x431381
test ebp, ebp
je 0x43154b
mov eax, dword [ebp]
test eax, eax
je 0x431542
mov eax, dword [eax + 4]
push ebp
call eax
add esp, 4
mov dword [ebp], 0
push ebp
call fcn.00406f20
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.004c4eaf
add esp, 0x78
ret