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

Disassembly:
cmp byte [ecx + 0xfc], 0
jne 0x431500
push ebp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x8c
movsx eax, word [ecx + 0xf]
test eax, eax
jle 0x431530
cmp eax, dword [0x5b508c]
jg 0x431530
sub eax, 1
imul eax, dword [0x5b5090]
mov edx, dword [0x5b5099]
mov eax, dword [edx + eax]
mov dword [esp + 0x44], eax
mov dword [esp], 2
mov ecx, dword [esp + 0x44]
call fcn.00411e60
sub esp, 4
test eax, eax
je 0x4314f0
movsx eax, byte [esi + 0x49]
test al, al
jle 0x4315d3
lea eax, [esi + eax*2]
mov edx, dword [0x5b5050]
mov dword [esp + 0x3c], esi
mov ecx, esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
mov edi, dword [0x5b504c]
mov dword [esp + 0x48], 0
mov esi, edx
add eax, 0x5b
mov ebp, dword [0x5b5059]
mov dword [esp + 0x40], eax
jmp 0x43134d
add ecx, 2
cmp ecx, dword [esp + 0x38]
je 0x431470
movsx eax, word [ecx + 0x4b]
test eax, eax
jle 0x4315e0
cmp eax, edi
jg 0x4315e0
sub eax, 1
imul eax, esi
mov edx, dword [ebp + eax]
cmp byte [edx + 4], 2
jne 0x431340
mov eax, dword [esp + 0x3c]
movzx eax, word [eax + 0xf]
cmp word [edx + 0xf], ax
jne 0x431340
mov eax, dword [esp + 0xa0]
cmp dword [edx + 0xfe], eax
jne 0x431340
cmp byte [edx + 0x45], 7
jle 0x4314f0
fld dword [edx + 0x102]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fstp qword [esp + 0x68]
fld dword [edx + 0x106]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fstp qword [esp + 0x70]
fld qword [0x59c5a8]
fmul qword [esp + 0x70]
fstp qword [esp + 0x78]
fld qword [esp + 0x78]
fld qword [esp + 0x68]
fcompi st(1)
fstp st(0)
ja 0x4314f0
movsx eax, byte [edx + 0x49]
sub eax, 1
js 0x431459
mov dword [esp + 0x4c], ecx
lea esi, [esi]
cmp byte [edx + eax + 0xb5], 3
jne 0x431450
movsx ebx, word [edx + eax*2 + 0x4b]
test ebx, ebx
jle 0x4315e9
cmp ebx, edi
jg 0x4315e9
sub ebx, 1
imul ebx, esi
mov ebx, dword [ebp + ebx]
cmp byte [ebx + 4], 4
jne 0x431450
mov ecx, dword [esp + 0x40]
mov ebx, dword [ebx + ecx*4 + 0xa]
test ebx, ebx
je 0x431450
fld dword [ebx + 4]
fstp dword [esp + 0x60]
fld dword [0x59c5a0]
fld dword [esp + 0x60]
fcompi st(1)
fstp st(0)
ja 0x4314f0
lea esi, [esi]
lea esi, [esi]
sub eax, 1
jae 0x4313f0
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x48], 1
add ecx, 2
cmp ecx, dword [esp + 0x38]
jne 0x43134d
lea esi, [esi]
nop
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
test edi, edi
jne 0x431508
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
cmp dword [eax + 0x5a0], edi
jl 0x4314f0
movzx eax, byte [esi + 0xfd]
lea edx, [eax + 1]
mov eax, 1
mov byte [esi + 0xfd], dl
cmp dl, 2
jle 0x4314f2
lea eax, [esp + 0x56]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 0xc], eax
movsx eax, word [esi + 0x17]
mov dword [esp + 8], eax
movsx eax, word [esi + 0x15]
mov dword [esp], 2
mov dword [esp + 4], eax
call fcn.00412c60
sub esp, 0x14
test eax, eax
jne 0x43153d
mov byte [esi + 0xfc], 1
jmp 0x4314f2
xor eax, eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 4
xor eax, eax
ret 4
mov ecx, dword [esp + 0x44]
call fcn.0040cc60
test eax, eax
je 0x4314f0
cmp byte [esi + 4], 6
je 0x4315ab
shl edi, 3
mov dword [esp + 0x48], edi
jmp 0x431480
mov dword [esp + 0x44], 0
jmp 0x4312d8
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 1
movsx eax, word [esi + 0x17]
mov dword [esp + 0xc], eax
movsx eax, word [esi + 0x15]
mov dword [esp + 8], eax
movsx eax, word [esp + 0x56]
mov dword [esp + 4], eax
movsx eax, word [esp + 0x54]
mov dword [esp], eax
call fcn.00403f70
mov byte [esi + 0xfd], 0
mov eax, 1
sub esp, 0x28
jmp 0x4314f2
fld dword [esi + 0x102]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fld dword [0x59c5b0]
fcompi st(1)
fstp st(0)
ja 0x4314f0
shl dword [esp + 0x48], 3
jmp 0x431480
mov dword [esp + 0x48], 0
jmp 0x431480
movzx eax, byte [4]
ud2
movzx eax, byte [4]
ud2