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

Disassembly:
mov eax, 0x2fdc
call fcn.0045fc10
mov eax, dword [0x470d00]
xor eax, esp
mov dword [esp + 0x2fd8], eax
mov eax, dword [esp + 0x2fec]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x2fe8]
push esi
mov esi, dword [esp + 0x2fe4]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x44], eax
test esi, esi
je 0x431aa3
mov edx, dword [esi + 0x48]
test edx, edx
je 0x431a9c
test ecx, ecx
je 0x431a9c
cmp dword [esi + 0x38], eax
je 0x431a9c
mov ecx, dword [esp + 0x2fe8]
cmp ecx, dword [esi + 0x10]
jae 0x4313fd
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ecx*4]
add eax, dword [edx]
jmp 0x4313ff
xor eax, eax
push 0
lea edx, [esp + 0x78]
push edx
push eax
push ecx
push esi
call fcn.00430b10
add esp, 0x14
test eax, eax
je 0x431aa3
cmp dword [esp + 0xc0], 0
push ebx
push ebp
jne 0x431a7f
mov ebx, dword [esp + 0xa4]
mov eax, ebx
mov ebp, dword [esp + 0xa8]
or eax, ebp
mov dword [esp + 0x14], ebp
je 0x431a7f
test byte [esp + 0x90], 0x61
je 0x431470
pop ebp
pop ebx
mov dword [esi + 0x1c], 5
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.0045f6d1
add esp, 0x2fdc
ret
and dword [esp + 0x2ffc], 0x400
mov ax, word [esp + 0x92]
jne 0x4314b1
test ax, ax
je 0x4314b1
cmp ax, 8
je 0x4314b1
pop ebp
pop ebx
mov dword [esi + 0x1c], 4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.0045f6d1
add esp, 0x2fdc
ret
push 0x1e
lea eax, [esp + 0x2fc8]
push eax
push dword [esp + 0xc8]
mov eax, dword [esi + 0x38]
push dword [esp + 0xc8]
push dword [esi + 0x44]
call eax
add esp, 0x14
cmp eax, 0x1e
je 0x4314fa
pop ebp
pop ebx
mov dword [esi + 0x1c], 0x14
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.0045f6d1
add esp, 0x2fdc
ret
cmp dword [esp + 0x2fc4], 0x4034b50
push edi
jne 0x431a73
movzx eax, word [esp + 0x2fe2]
cdq
mov ecx, eax
mov edi, edx
movzx eax, word [esp + 0x2fe4]
cdq
add ecx, eax
adc edi, edx
add ecx, dword [esp + 0xc0]
adc edi, dword [esp + 0xc4]
add ecx, 0x1e
mov edx, ecx
mov dword [esp + 0x30], ecx
adc edi, 0
add edx, ebx
mov eax, edi
mov dword [esp + 0x34], edi
adc eax, ebp
cmp eax, dword [esi + 4]
ja 0x431a73
jb 0x43155d
cmp edx, dword [esi]
ja 0x431a73
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4315b0
mov edi, ebx
lea edx, [eax + ecx]
mov eax, ebp
mov dword [esp + 0x20], edx
xorps xmm0, xmm0
mov dword [esp + 0x2c], edi
movlpd qword [esp + 0x40], xmm0
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x48], eax
jmp 0x431642
test ebp, ebp
ja 0x4315c6
jb 0x4315be
cmp ebx, 0x2000
jae 0x4315c6
mov eax, ebx
mov dword [esp + 0x4c], ebp
jmp 0x4315d1
xor ecx, ecx
mov eax, 0x2000
mov dword [esp + 0x4c], ecx
push eax
push 1
push dword [esi + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x28]
call eax
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
test edx, edx
jne 0x43160f
mov dword [esi + 0x1c], 0x10
xor eax, eax
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.0045f6d1
add esp, 0x2fdc
ret
mov ecx, ebx
mov dword [esp + 0x10], ebp
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
movlpd qword [esp + 0x78], xmm0
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x48], ebp
cmp dword [esp + 0x3000], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ecx
jne 0x431898
cmp word [esp + 0x96], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
je 0x431898
mov eax, dword [esi + 0x28]
push 0x8000
push 1
push dword [esi + 0x34]
mov dword [esp + 0x4e4], 0
call eax
add esp, 0xc
mov dword [esp + 0x50], eax
test eax, eax
jne 0x4316bb
mov dword [esi + 0x1c], 0x10
or ebx, 0xffffffff
jmp 0x431a3b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x50]
mov ecx, ebx
and ecx, 0x7fff
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, 0x8000
sub eax, ecx
mov dword [esp + 0x24], eax
mov eax, edi
or eax, edx
jne 0x431797
mov eax, dword [esi + 0x48]
cmp dword [eax + 0x48], 0
jne 0x431797
mov ecx, dword [esp + 0x4c]
cmp ecx, ebp
ja 0x431732
mov eax, dword [esp + 0x2c]
jb 0x43172a
mov edi, dword [esp + 0x40]
cmp eax, edi
jae 0x431736
mov edi, eax
mov dword [esp + 0x14], ecx
jmp 0x43173a
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 0x38]
push edi
push dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esi + 0x44]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, edi
jne 0x43187a
mov edx, dword [esp + 0x14]
cmp ecx, edx
jne 0x43187a
add dword [esp + 0x30], edi
xorps xmm0, xmm0
mov eax, dword [esp + 0x40]
adc dword [esp + 0x34], edx
sub eax, edi
movlpd qword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x74]
sbb ebp, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ecx
jmp 0x43179f
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
or eax, ebp
mov dword [esp + 0x48], edi
je 0x4317ae
mov eax, 2
jmp 0x4317b0
xor eax, eax
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x54]
push dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x34]
add eax, ecx
push eax
lea eax, [esp + 0x4f0]
push eax
call fcn.004373d0
mov ecx, dword [esp + 0x64]
add esp, 0x1c
mov edx, dword [esp + 0x14]
sub edi, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
sbb edx, 0
add dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
adc dword [esp + 0x28], 0
test eax, eax
je 0x431862
push eax
push dword [esp + 0x14]
push dword [esp + 0x20]
push ebx
push dword [esp + 0x64]
call dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x431889
mov eax, dword [esp + 0x38]
push ecx
push dword [esp + 0x14]
push eax
call fcn.00430000
add esp, 0xc
mov dword [esp + 0x38], eax
add ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
adc eax, 0
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0xb4]
ja 0x431a1f
jb 0x43185e
cmp ebx, dword [esp + 0xb0]
ja 0x431a1f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
cmp ecx, 1
je 0x4316e0
cmp ecx, 2
je 0x4316e0
jmp 0x4318eb
mov dword [esi + 0x1c], 0x14
or ebx, 0xffffffff
jmp 0x431a3b
mov dword [esi + 0x1c], 0x1f
or ebx, 0xffffffff
jmp 0x431a3b
mov eax, dword [esi + 0x48]
cmp dword [eax + 0x48], 0
je 0x431918
cmp dword [esp + 0x10], 0
ja 0x43190c
cmp dword [esp + 0x28], 0xffffffff
ja 0x43190c
push ebx
push edx
push 0
push 0
push dword [esp + 0x64]
call dword [esp + 0x6c]
add esp, 0x14
xor ecx, ecx
cmp eax, dword [esp + 0x24]
jne 0x4318fc
cmp ecx, dword [esp + 0x1c]
jne 0x4318fc
cmp dword [esp + 0x3000], ecx
jne 0x4318e9
push ebx
push dword [esp + 0x24]
push ecx
call fcn.00430000
add esp, 0xc
mov dword [esp + 0x38], eax
xor ecx, ecx
test ecx, ecx
jne 0x431a37
mov edx, dword [esp + 0x18]
jmp 0x4319f6
or ecx, 0xffffffff
mov dword [esi + 0x1c], 0x1f
mov dword [esp + 0x3c], ecx
jmp 0x4318eb
mov dword [esi + 0x1c], 0x1b
jmp 0x4315f4
mov ebx, dword [esp + 0x5c]
mov eax, ecx
or eax, ebp
je 0x4319f2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
nop
mov edx, dword [esp + 0x4c]
cmp edx, ebp
ja 0x43194a
mov eax, dword [esp + 0x2c]
jb 0x431942
cmp eax, ecx
jae 0x43194a
mov edi, eax
mov dword [esp + 0x10], edx
jmp 0x431950
mov edi, ecx
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x38]
push edi
push dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esi + 0x44]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, edi
jne 0x43187a
cmp ecx, dword [esp + 0x10]
jne 0x43187a
cmp dword [esp + 0x3000], ecx
jne 0x43199b
mov eax, dword [esp + 0x38]
push edi
push dword [esp + 0x24]
push eax
call fcn.00430000
add esp, 0xc
mov dword [esp + 0x38], eax
push edi
push dword [esp + 0x24]
push dword [esp + 0x20]
push ebx
push dword [esp + 0x64]
call dword [esp + 0x6c]
add esp, 0x14
xor ecx, ecx
cmp eax, edi
jne 0x431889
mov eax, dword [esp + 0x10]
cmp ecx, eax
jne 0x431889
add dword [esp + 0x30], edi
mov edx, dword [esp + 0x18]
adc dword [esp + 0x34], eax
add ebx, edi
mov ecx, dword [esp + 0x40]
adc edx, eax
sub ecx, edi
mov dword [esp + 0x18], edx
sbb ebp, eax
mov dword [esp + 0x40], ecx
mov eax, ecx
or eax, ebp
jne 0x431930
jmp 0x4319f6
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x3000], 0
jne 0x431a37
cmp ebx, dword [esp + 0xb0]
jne 0x431a2b
cmp edx, dword [esp + 0xb4]
jne 0x431a2b
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0xa0]
je 0x431a37
mov dword [esi + 0x1c], 0xb
or ebx, 0xffffffff
jmp 0x431a3b
mov dword [esi + 0x1c], 0xd
or ebx, 0xffffffff
jmp 0x431a3b
mov ebx, dword [esp + 0x3c]
mov eax, dword [esi + 0x48]
cmp dword [eax + 0x48], 0
jne 0x431a53
push dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
push dword [esi + 0x34]
call eax
add esp, 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x431a67
push eax
push dword [esi + 0x34]
mov eax, dword [esi + 0x2c]
call eax
add esp, 8
xor eax, eax
test ebx, ebx
sete al
jmp 0x4315f6
mov dword [esi + 0x1c], 9
jmp 0x4315f4
pop ebp
pop ebx
mov eax, 1
pop esi
mov ecx, dword [esp + 0x2fd8]
xor ecx, esp
call fcn.0045f6d1
add esp, 0x2fdc
ret
mov dword [esi + 0x1c], 0x18
mov ecx, dword [esp + 0x2fdc]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0045f6d1
add esp, 0x2fdc
ret