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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x98], edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x94], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x84], edx
mov edx, dword [esi + 4]
sbb eax, eax
mov dword [esp + 0x80], ecx
mov ecx, dword [esi + 8]
sub edx, ecx
mov dword [esp + 0x18], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x10]
neg eax
push edi
mov edi, dword [esi + 0xc]
mov dword [esp + 0x74], edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x78], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x80], ecx
cmp eax, ebx
je 0x4319dc
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x38], edx
jmp 0x4319e0
mov dword [esp + 0x38], ecx
mov edx, dword [ebp + 4]
mov dword [esp + 0x20], edx
cmp eax, ebx
je 0x431a06
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x38]
add ebx, eax
mov dword [esp + 0x64], eax
add eax, ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], eax
xor ebx, ebx
jmp 0x431a12
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0xbc]
add edx, ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x44], edx
lea edx, [ecx + eax]
mov dword [esp + 0x24], edx
cmp edi, 8
ja 0x431a37
mov edi, 8
sub edx, edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x18], ecx
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
cmp ecx, edx
ja 0x431eb0
mov eax, 0x20
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
jmp 0x431a7b
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0xb8]
mov eax, edi
sub eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], eax
cmp edi, ecx
je 0x431af8
movzx eax, byte [ebx]
push dword [esp + 0x88]
add eax, 0xa
push dword [esp + 0x88]
cdq
push edx
push eax
call fcn.005d4270
mov ecx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xb7a56463
sbb eax, edx
push eax
push ecx
call fcn.005d4270
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + edx]
add eax, 0xa
cdq
add ecx, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov ebx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
jmp 0x431b0f
mov ebx, dword [esp + 0x28]
push edi
call fcn.00431790
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov ebx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], edi
cmp dword [esp + 0x70], eax
jae 0x431b26
mov eax, dword [esp + 0x3c]
dec eax
and eax, ebx
jmp 0x431b43
mov edx, dword [esp + 0x10]
mov ecx, 0x20
sub ecx, eax
sub ecx, dword [esp + 0x1c]
mov eax, ebx
call fcn.005d6780
mov ecx, dword [esp + 0x3c]
dec ecx
and eax, ecx
mov ecx, dword [esp + 0x3c]
dec ecx
cmp eax, ecx
je 0x431b52
inc edi
jmp 0x431ea6
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x431b6c
mov edx, dword [esp + 0x10]
mov ecx, 0x40
sub ecx, eax
mov eax, ebx
call fcn.005d6780
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x94], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0xa0], edx
mov edx, dword [esi + 0x10]
shl eax, cl
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0xa4], edx
mov edx, dword [esi + 0x14]
lea ebx, [ecx + eax*8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], 0
call fcn.005d6780
mov edx, dword [esp + 0x74]
lea ecx, [ebx + edx*8]
mov dword [esp + 0x7c], eax
mov eax, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
cmp ebx, ecx
jae 0x431d66
mov ecx, dword [esp + 0x7c]
cmp dword [eax + 4], ecx
jne 0x431d49
mov eax, dword [eax]
cmp eax, dword [esp + 0x38]
jbe 0x431d49
cmp dword [esp + 0x90], 0
je 0x431cc8
mov ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x64]
cmp eax, ebx
jb 0x431c18
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx]
mov dword [esp + 0x14], edx
cmp eax, ebx
jae 0x431c31
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
jmp 0x431c39
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], ecx
cmp eax, ebx
mov eax, dword [esp + 0x50]
jb 0x431c45
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
sub eax, edx
add eax, edi
cmp eax, ecx
jb 0x431c57
mov eax, ecx
mov ebx, eax
mov ecx, edi
call fcn.004322f0
mov ecx, dword [esp + 0x14]
mov ebp, eax
lea edx, [ecx + ebp]
cmp edx, dword [esp + 0x48]
je 0x431c71
jmp 0x431c83
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
lea ecx, [edi + ebp]
call fcn.004322f0
add eax, ebp
cmp eax, dword [esp + 0x28]
jb 0x431d42
xor edx, edx
cmp edi, dword [esp + 0x18]
jbe 0x431cc3
mov ecx, dword [esp + 0x14]
mov ebx, edi
dec ecx
sub ebx, dword [esp + 0x14]
mov ebp, edi
mov dword [esp + 0x14], ebx
lea ebx, [ecx + 1]
cmp ebx, dword [esp + 0x34]
jbe 0x431cc3
mov ebx, dword [esp + 0x14]
mov bl, byte [ebx + ecx]
cmp bl, byte [ecx]
jne 0x431cc3
dec ebp
dec ecx
inc edx
cmp ebp, dword [esp + 0x18]
ja 0x431ca6
lea ecx, [edx + eax]
jmp 0x431d28
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea ebp, [eax + ecx]
mov edx, ebp
mov ecx, edi
call fcn.004322f0
cmp eax, dword [esp + 0x28]
jb 0x431d42
mov dword [esp + 0x14], 0
cmp edi, dword [esp + 0x18]
jbe 0x431d20
mov ebx, edi
sub ebx, ebp
mov edx, edi
lea ecx, [ebp - 1]
mov dword [esp + 0x34], ebx
jmp 0x431d04
mov ebx, dword [esp + 0x34]
lea ebp, [ecx + 1]
cmp ebp, dword [esp + 0x44]
jbe 0x431d20
mov bl, byte [ebx + ecx]
cmp bl, byte [ecx]
jne 0x431d20
inc dword [esp + 0x14]
dec edx
dec ecx
cmp edx, dword [esp + 0x18]
ja 0x431d00
mov ecx, dword [esp + 0x14]
mov edx, ecx
add ecx, eax
cmp ecx, dword [esp + 0x2c]
jbe 0x431d42
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
mov ebp, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
add eax, 8
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x4c]
jb 0x431bde
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x431db0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
push ebp
call fcn.004316e0
add esp, 0x2c
inc edi
jmp 0x431ea6
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x54]
lea ebx, [eax + edx]
sub edi, eax
mov eax, dword [esp + 0x58]
sub eax, dword [ecx]
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
mov edx, dword [ecx + 8]
cmp edx, dword [ecx + 0xc]
je 0x431ec2
mov dword [eax + 8], ebx
mov edx, edi
sub edx, dword [esp + 0x18]
sub esp, 0x18
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax], edx
inc dword [ecx + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
push ebp
call fcn.004316e0
add edi, ebx
add esp, 0x2c
cmp edi, dword [esp + 0x60]
ja 0x431ea2
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edi
push edx
push eax
mov eax, dword [esp + 0x5c]
push ebp
call fcn.00431870
lea ecx, [edi - 1]
add esp, 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x60]
jbe 0x431a70
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
add esp, 0xa0
ret
pop edi
pop ebp
mov eax, 0xffffffba
pop ebx
add esp, 0xa0
ret