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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x4ad288]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x4e4]
mov ecx, dword [edi + 0x4d4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0
call fcn.00412470
mov ecx, dword [edi + 0x4d4]
call fcn.00412060
call dword [0x4813a8]
cmp dword [edi + 0x5c], 0
je 0x4323b9
mov ecx, dword [edi + 0x58]
mov esi, dword [ecx]
mov ebx, dword [edi + 0x40]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
jmp 0x431df0
mov edx, dword [edi + 0x58]
mov eax, dword [edi + 0x40]
mov dword [esp + 0x68], edx
test ebx, ebx
je 0x431e02
cmp ebx, eax
je 0x431e07
call fcn.00451172
cmp esi, dword [esp + 0x68]
je 0x4322ce
test ebx, ebx
jne 0x431ec5
call fcn.00451172
cmp esi, dword [ebx + 0x18]
jne 0x431e28
call fcn.00451172
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0xb8]
lea esi, [edi + 0xa0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0x2c], edx
mov edx, dword [esi]
push ecx
mov ecx, esi
mov byte [esp + 0xac], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x54], edx
call fcn.00414880
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x431e8c
cmp eax, dword [esp + 0x4c]
je 0x431e91
call fcn.00451172
mov edx, dword [esp + 0x50]
cmp dword [ebx + 4], edx
je 0x431efd
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call fcn.00414880
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x431ec1
call fcn.00451172
mov eax, dword [esi]
test eax, eax
je 0x431ecc
mov eax, dword [eax]
jmp 0x431ece
mov ebx, dword [ebx]
jmp 0x431e1e
xor eax, eax
mov edx, dword [esi + 4]
cmp edx, dword [eax + 0x18]
jne 0x431edb
call fcn.00451172
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
add eax, 0x35c
lea edx, [esp + 0xa4]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x431ef3
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
mov ecx, dword [edi + 0x4d4]
push edx
call fcn.00415d10
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x88]
lea ebx, [edi + 0x20]
push ecx
mov ecx, ebx
call fcn.00414880
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x431f58
call fcn.00451172
mov eax, dword [esi]
test eax, eax
je 0x431f5c
mov eax, dword [eax]
jmp 0x431f5e
xor eax, eax
mov edx, dword [esi + 4]
cmp edx, dword [eax + 0x18]
jne 0x431f6b
call fcn.00451172
mov esi, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xa0]
push ecx
add esi, 0xc
mov ecx, ebx
mov dword [esp + 0x20], esi
call fcn.00414880
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x431f9c
call fcn.00451172
mov eax, dword [esi]
test eax, eax
je 0x431fa0
mov eax, dword [eax]
jmp 0x431fa2
xor eax, eax
mov edx, dword [esi + 4]
cmp edx, dword [eax + 0x18]
jne 0x431faf
call fcn.00451172
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x24]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [ecx + 0x20]
mov ecx, dword [edi + 0x4d4]
push edx
call fcn.00411f40
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.00414880
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x431ffb
call fcn.00451172
mov eax, dword [esi]
test eax, eax
je 0x431fff
mov eax, dword [eax]
jmp 0x432001
xor eax, eax
mov edx, dword [esi + 4]
cmp edx, dword [eax + 0x18]
jne 0x43200e
call fcn.00451172
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x10]
add ecx, 0x28
push 0
push ecx
mov ecx, dword [edi + 0x4d4]
call fcn.00411f70
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x80]
push eax
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.00414880
mov esi, eax
mov eax, dword [esi]
test eax, eax
jne 0x432054
call fcn.00451172
mov eax, dword [esi]
test eax, eax
je 0x432058
mov eax, dword [eax]
jmp 0x43205a
xor eax, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x18]
jne 0x432067
call fcn.00451172
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [edi + 0x4d4]
push 1
add eax, 0x48
push eax
call fcn.00411f70
mov ecx, dword [edi + 0x78]
mov ebx, dword [ecx]
mov esi, dword [edi + 0x60]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
mov edi, edi
mov edx, dword [edi + 0x78]
mov eax, dword [edi + 0x60]
mov dword [esp + 0x70], edx
test esi, esi
je 0x4320a2
cmp esi, eax
je 0x4320a7
call fcn.00451172
cmp ebx, dword [esp + 0x70]
je 0x432174
test esi, esi
jne 0x43216d
call fcn.00451172
cmp ebx, dword [esi + 0x18]
jne 0x4320c8
call fcn.00451172
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov ebx, dword [esp + 0x20]
push 0
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 0x24]
push eax
mov eax, dword [esi + 4]
add eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esi]
push edx
add ecx, ebx
push eax
push ecx
mov ecx, dword [edi + 0x4d4]
call fcn.00417800
mov ecx, dword [0x4b1bc4]
push 0xfe
push 0x63
call fcn.0040ccb0
mov edx, dword [edi + 0x4e4]
add edx, dword [esp + 0x30]
cmp eax, edx
jne 0x432157
cmp dword [esi + 0x20], 2
jne 0x432157
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push 0
push 0x63
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esi + 4]
add edx, dword [esp + 0x38]
push eax
mov eax, dword [esi]
push ecx
mov ecx, dword [edi + 0x4d4]
push edx
add eax, ebx
push eax
call fcn.00417800
lea ecx, [esp + 0x3c]
call fcn.004092e0
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x432090
mov esi, dword [esi]
jmp 0x4320be
mov ecx, dword [edi + 0x98]
mov edx, dword [ecx]
mov esi, dword [edi + 0x80]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], esi
lea ebx, [ebx]
mov ebx, dword [edi + 0x98]
mov eax, dword [edi + 0x80]
test esi, esi
je 0x4321a4
cmp esi, eax
je 0x4321a9
call fcn.00451172
cmp dword [esp + 0x38], ebx
je 0x432226
test esi, esi
jne 0x432222
call fcn.00451172
mov eax, dword [esp + 0x38]
cmp eax, dword [esi + 0x18]
jne 0x4321c6
call fcn.00451172
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
sub edx, dword [edi + 0x4e4]
mov eax, dword [ecx + 0x10]
cmp dword [eax + 0x28], edx
jne 0x432210
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x14]
push 0
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 4]
add ecx, dword [esp + 0x3c]
push edx
mov edx, dword [eax]
add edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [edi + 0x4d4]
push edx
call fcn.00417800
lea ecx, [esp + 0x34]
call fcn.004092e0
mov esi, dword [esp + 0x34]
jmp 0x432190
mov esi, dword [esi]
jmp 0x4321b8
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4322ab
mov edx, dword [esi + 8]
cmp edx, dword [esi + 0x10]
jge 0x432268
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jge 0x432268
mov ebx, dword [esi + 0x20]
push 0
push ebx
mov ebx, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x10]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esi + 0x24]
push edx
push eax
push ecx
mov ecx, dword [edi + 0x4d4]
push ebx
call fcn.00417800
jmp 0x43226c
mov ebx, dword [esp + 0x20]
add esi, 0x38
mov dword [esp + 0x14], 3
cmp byte [esi], 0
je 0x43229e
mov edx, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, dword [esp + 0x24]
push esi
push edx
lea edx, [ecx + eax*2]
mov eax, dword [esi - 0xc]
lea ecx, [ebx + eax*2]
push edx
push ecx
mov ecx, dword [edi + 0x4d4]
call fcn.00416070
add esi, 0x110
sub dword [esp + 0x14], 1
jne 0x432277
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x30], eax
lea ecx, [esp + 0x44]
call fcn.00409270
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x431df0
mov ecx, dword [edi + 0x4d4]
call fcn.00415dd0
call dword [0x4813a8]
mov edx, dword [edi + 0x4d8]
mov ecx, dword [edi + 0x4d4]
push edx
call fcn.00416ee0
cmp dword [edi + 0x4e0], 0
je 0x4323ac
mov ecx, dword [edi + 0x4dc]
mov ecx, dword [ecx]
lea eax, [esp + 0x54]
push eax
call fcn.0043d8d0
mov eax, dword [edi + 0xe8]
mov edx, dword [edi + 0xf0]
mov dword [esp + 0x18], eax
sub edx, eax
mov eax, dword [edi + 0xbc]
sub eax, dword [edi + 0x5c]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
fidiv dword [esp + 0x10]
sub eax, dword [esp + 0x58]
mov esi, dword [edi + 0xe4]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
fimul dword [edi + 0x4e4]
fiadd dword [esp + 0x18]
fisub dword [esp + 0x10]
call fcn.00451770
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [edi + 0xec]
sub eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
sar ecx, 1
cdq
sub eax, edx
mov edx, dword [edi + 0x4dc]
sar eax, 1
sub ecx, eax
sub esp, 8
add ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, dword [edx]
fstp dword [esp + 4]
fild dword [esp + 0x18]
fstp dword [esp]
call fcn.0043d6a0
mov ecx, dword [edi + 0x4d4]
push 1
call fcn.004149c0
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00450ada
mov esp, ebp
pop ebp
ret