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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
fld qword [edi + 0x1f8]
mov ebx, eax
fsub qword [ebx + 0x1f8]
lea eax, [edi + 0x314]
lea ecx, [edi + 0x1d18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
call fcn.004dc850
mov esi, dword [0x5040e8]
mov ecx, dword [esi + 0x12840]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi + 0x1284c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x12844]
push eax
push ecx
push 0
push edx
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov dword [esi + 0x12840], eax
mov ecx, eax
mov dword [esi + 0x12844], edx
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x1284c]
add edx, edx
sub ecx, edx
mov edx, dword [esi + 0x12840]
add ecx, 5
mov ebp, ecx
mov ecx, dword [esi + 0x12844]
push ecx
push edx
push 0
push eax
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov ecx, eax
mov dword [esi + 0x12840], eax
mov dword [esi + 0x12844], edx
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
add edx, edx
sub ecx, edx
add ecx, 5
cmp dword [esp + 0x4c], 9
mov dword [esp + 0x20], ecx
jne 0x431ce1
push 1
lea eax, [esp + 0x3c]
call fcn.00430780
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
add esp, 4
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
cmp ecx, 0xffffffff
je 0x431ce1
mov ecx, dword [edi + 0x165c]
xor eax, eax
mov dword [edi + 0x165c], eax
mov dword [edi + 0x1664], eax
mov dword [edi + 0x1660], ecx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
push 0
lea eax, [esp + 0x3c]
call fcn.00430710
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add esp, 4
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
cmp ecx, 0xffffffff
jne 0x431cba
mov eax, dword [esi + 0x12844]
mov ecx, dword [esi + 0x12840]
mov edx, dword [esi + 0x1284c]
push eax
push ecx
push 0
push edx
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov ecx, eax
mov dword [esi + 0x12840], eax
mov dword [esi + 0x12844], edx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
jne 0x431d62
mov ebp, 0xb
cmp dword [esp + 0x20], ebp
je 0x431d7b
call fcn.00425630
and eax, 0x80000007
jns 0x431d79
dec eax
or eax, 0xfffffff8
inc eax
je 0x431d83
mov dword [esp + 0x20], 0
cmp dword [edi + 0x1dd4], 0
je 0x431d9e
cmp dword [edi + 0xedc], 0
jne 0x431d9e
cmp dword [edi + 0xee4], 0
jne 0x431dab
cmp dword [edi + 0xedc], 2
jne 0x431f94
mov ecx, dword [edi + 0xed4]
cmp ecx, 2
mov ebp, 0xa
jge 0x431dc9
mov eax, dword [esp + 0x4c]
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
add ebp, 0x1a
cmp ecx, 5
jge 0x431dd1
add ebp, 5
cmp ecx, 0xa
jle 0x431dd9
sub ebp, 5
cmp dword [esp + 0x18], 0x1e
jge 0x431df5
mov eax, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
cmp ecx, 2
lea ebp, [eax + ebp + 6]
jge 0x431df5
add ebp, 0xa
cmp dword [esp + 0x18], 0xa0
jle 0x431e08
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
push edi
call fcn.004347a0
add esp, 4
test eax, eax
jne 0x431e27
mov eax, 0x66666667
imul ebp
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebp, ecx
call fcn.00425630
cdq
mov ecx, 0x64
idiv ecx
mov ecx, dword [esp + 0x4c]
add ecx, 6
imul ecx, ebp
mov eax, edx
mov dword [esp + 0x1c], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x1c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x431f94
cmp dword [edi + 0xee8], 0
jne 0x431f1a
mov esi, dword [ebx + 0xed8]
mov edi, dword [esp + 0x14]
sub esi, 2
neg esi
sbb esi, esi
and esi, 0xffffffce
add esi, 0x4b
cmp dword [edi + 0x7c], 0
je 0x431e99
mov ecx, 0x11
mov eax, edi
call fcn.00477d00
cmp dword [edi + 0x80], 0
je 0x431eae
mov ecx, 0x12
mov eax, edi
call fcn.00477d00
cmp dword [edi + 0x88], 0
jne 0x431ec3
mov ecx, 4
mov eax, edi
call fcn.00477d00
call fcn.00425630
cdq
mov ecx, 0x64
idiv ecx
cmp edx, esi
jge 0x431ef7
cmp dword [edi + 0x84], 0
jne 0x432571
mov ecx, 3
mov eax, edi
call fcn.00477d00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
cmp dword [edi + 0x84], 0
je 0x432571
mov eax, edi
mov ecx, 0x13
call fcn.00477d00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
call fcn.00425630
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jge 0x432571
mov eax, dword [ebx + 0x12a4]
test al, 8
je 0x431f57
test al, 4
jne 0x431f57
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x84], 0
jne 0x431f5b
mov ecx, 3
call fcn.00477d00
jmp 0x431f5b
mov eax, dword [esp + 0x14]
mov ebx, dword [ebx + 0x12a4]
test bl, 8
jne 0x432571
test bl, 4
je 0x432571
cmp dword [eax + 0x84], 0
je 0x432571
mov ecx, 0x13
call fcn.00477d00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
cmp dword [edi + 0x1dd4], 0
jne 0x431fb4
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x88], 0
je 0x431fb4
mov ecx, 0x14
call fcn.00477d00
mov eax, dword [esi + 0x12844]
mov ecx, dword [esi + 0x12840]
mov edx, dword [esi + 0x1284c]
push eax
push ecx
push 0
push edx
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov ecx, eax
mov dword [esi + 0x12840], eax
mov dword [esi + 0x12844], edx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
cmp ecx, 0x3a
jge 0x432476
call fcn.00425630
cdq
mov ecx, 0x3e8
idiv ecx
mov ebx, dword [esp + 0x14]
cmp edx, 0x3e
jge 0x4320a2
cmp dword [esp + 0x18], 0x7d
jle 0x4320a2
cmp dword [ebx + 0x80], 0
jne 0x4320a2
lea edx, [ebx + 0x7c]
mov ebp, 1
mov dword [esp + 0x1c], edx
nop
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0
je 0x432055
mov ecx, ebp
or ecx, 0x10
mov eax, ebx
call fcn.00477d00
add dword [esp + 0x1c], 4
inc ebp
cmp ebp, 4
jle 0x432040
call fcn.00425630
cdq
mov ecx, 0x3e8
idiv ecx
cmp edx, 0x96
jge 0x432081
mov ecx, 1
mov eax, ebx
call fcn.00477d00
call fcn.00425630
cdq
mov ecx, 0x3e8
idiv ecx
cmp edx, 0x2ee
jge 0x4320a2
mov ecx, 2
mov eax, ebx
call fcn.00477d00
call fcn.00425630
cdq
mov ecx, 0x3e8
idiv ecx
cmp edx, 0x3e
jge case.default.0x432142
lea edx, [ebx + 0x7c]
mov ebp, 1
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0
je 0x4320d9
mov ecx, ebp
or ecx, 0x10
mov eax, ebx
call fcn.00477d00
add dword [esp + 0x1c], 4
inc ebp
cmp ebp, 4
jle 0x4320c4
mov edx, dword [esi + 0x12844]
mov eax, dword [esi + 0x12840]
mov ecx, dword [esi + 0x1284c]
push edx
push eax
push 0
push ecx
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov dword [esi + 0x12840], eax
mov ecx, eax
mov dword [esi + 0x12844], edx
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
mov eax, ecx
sub eax, edx
cmp eax, 0x12
ja case.default.0x432142
movzx eax, byte [eax + 0x43259c]
jmp dword [eax*4 + 0x43257c]
mov ecx, 1
mov eax, ebx
call fcn.00477d00
mov ecx, 4
jmp 0x432195
mov ecx, 1
jmp 0x432195
mov ecx, 1
jmp 0x432189
mov ecx, 3
mov eax, ebx
call fcn.00477d00
mov ecx, 4
jmp 0x432195
mov ecx, 3
jmp 0x432195
mov ecx, 3
mov eax, ebx
call fcn.00477d00
mov ecx, 2
mov eax, ebx
call fcn.00477d00
mov ebp, dword [edi + 0xedc]
mov eax, 0x64
cmp ebp, 1
jne 0x4321df
cmp dword [edi + 0xf0c], 2
mov eax, 0x96
jne 0x4321df
mov ebx, dword [esp + 0x4c]
lea ecx, [ebx + 0xc]
imul ecx, ecx, 0x15e
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 0x96]
jmp 0x4321e3
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
cmp ecx, 0x96
jge 0x4321f2
add eax, 0x32
cmp ecx, 0x64
jge 0x4321fa
add eax, 0x4b
cmp ecx, 0x3c
jge 0x432207
lea edx, [ebx + eax + 0x15]
lea eax, [edx + ebx*4 + 0x54]
cmp ecx, 0x2d
jge 0x432214
lea eax, [ebx + eax + 0x28]
lea eax, [eax + ebx*2 + 0x50]
cmp ecx, 0x1e
jge 0x432221
lea ecx, [ebx + eax + 0x28]
lea eax, [ecx + ebx*2 + 0x50]
mov ecx, dword [esp + 0x4c]
add ecx, 6
imul ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp ebp, 2
jne 0x432256
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov edx, dword [esi + 0x12844]
mov eax, dword [esi + 0x12840]
mov ecx, dword [esi + 0x1284c]
push edx
push eax
push 0
push ecx
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov ecx, eax
mov dword [esi + 0x12840], eax
mov dword [esi + 0x12844], edx
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
cmp ecx, ebx
jge 0x432476
cmp dword [edi + 0xf0c], 2
mov ebx, 0x1f4
je 0x4322c6
mov ebx, 0x2ee
jmp 0x4322d7
test dword [edi + 0x123c], 0x6d8
je 0x4322d7
mov ebx, 0xfa
mov edx, dword [esi + 0x12844]
mov eax, dword [esi + 0x12840]
mov ecx, dword [esi + 0x1284c]
push edx
push eax
push 0
push ecx
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov ecx, eax
mov dword [esi + 0x12840], eax
mov dword [esi + 0x12844], edx
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
cmp ecx, ebx
jge 0x432353
call fcn.00425630
cdq
mov ecx, 6
idiv ecx
mov eax, dword [esp + 0x14]
add edx, 5
cmp dword [eax + edx*4 + 0x78], 0
je 0x43234c
or edx, 0x10
mov ecx, edx
jmp 0x432471
mov eax, dword [esp + 0x14]
mov ebx, 1
lea ebp, [eax + 0x7c]
nop
cmp dword [ebp], 0
je 0x432370
mov ecx, ebx
or ecx, 0x10
call fcn.00477d00
inc ebx
add ebp, 4
cmp ebx, 4
jle 0x432360
mov eax, dword [esi + 0x12844]
mov ecx, dword [esi + 0x12840]
mov edx, dword [esi + 0x1284c]
push eax
push ecx
push 0
push edx
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov ecx, eax
mov dword [esi + 0x12840], eax
mov dword [esi + 0x12844], edx
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
sub ecx, eax
mov eax, dword [esp + 0x4c]
mov edx, eax
shl edx, 4
sub edx, eax
lea eax, [edx + edx + 0x226]
cmp ecx, eax
jge 0x43245d
cmp dword [esi + 0x1297c], 0
je 0x43245d
mov edx, dword [esi + 0x12844]
mov eax, dword [esi + 0x12840]
mov ecx, dword [esi + 0x1284c]
push edx
push eax
push 0
push ecx
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov dword [esi + 0x12840], eax
mov dword [esi + 0x12844], edx
mov ecx, dword [edi + 0xa30]
cdq
idiv dword [ecx + 0xc]
or ecx, 0xffffffff
xor eax, eax
cmp dword [edi + 0x2428], ecx
je 0x43244f
lea ebx, [ebx]
inc eax
cmp dword [edi + eax*4 + 0x2428], ecx
jne 0x432440
cmp eax, 9
jge 0x43245d
mov dword [edi + eax*4 + 0x2428], edx
mov dword [edi + eax*4 + 0x242c], ecx
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, ebx
call fcn.00477d00
mov ecx, ebx
or ecx, 0x10
call fcn.00477d00
mov ebx, 2
cmp dword [edi + 0xedc], ebx
jne 0x432571
cmp dword [edi + 0x1148], 0
je 0x432571
fld qword [0x4fd978]
fcomp qword [edi + 0x200]
fnstsw ax
test ah, 5
jp 0x4324ac
mov ebx, 0x14
fld qword [0x4fd838]
fcomp qword [edi + 0x250]
fnstsw ax
test ah, 5
jp 0x4324d5
fld qword [0x4fd930]
fcomp qword [edi + 0x250]
fnstsw ax
test ah, 0x41
jne 0x4324d5
add ebx, 8
mov eax, dword [esi + 0x12844]
mov ecx, dword [esi + 0x12840]
mov edx, dword [esi + 0x1284c]
push eax
push ecx
push 0
push edx
call fcn.004dd810
mov ecx, dword [esi + 0x12848]
push 0
push ecx
push edx
push eax
call fcn.004dd790
mov dword [esi + 0x12840], eax
mov dword [esi + 0x12844], edx
mov esi, eax
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub esi, eax
cmp esi, ebx
jge 0x432571
call fcn.00425630
cdq
mov ecx, 0x64
idiv ecx
mov eax, dword [esp + 0x24]
cmp edx, 0x32
jge 0x43255d
mov ecx, 5
call fcn.00477d00
mov ecx, 6
call fcn.00477d00
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ecx, 8
call fcn.00477d00
mov ecx, 9
call fcn.00477d00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret