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

Disassembly:
sub esp, 0x90
push ebx
push esi
push edi
lea eax, [esp + 0x68]
mov esi, ecx
fld dword [esi + 0xc]
push eax
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005cda30
fld dword [esp + 0x68]
fmul dword [esp + 0xa0]
fadd dword [esi + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
call fcn.006108c0
mov edx, dword [esi + 0x68]
mov edi, eax
mov dword [esp + 0x14], edi
fisub dword [esp + 0x14]
mov ecx, esi
fstp dword [esi + 0x24]
mov ebx, dword [edx + 4]
call fcn.005bfd10
fldz
add eax, edi
fst dword [esp + 0x28]
sub eax, ebx
fst dword [esp + 0x18]
mov ecx, 0
fst dword [esp + 0x30]
sets cl
fstp dword [esp + 0x34]
dec ecx
and eax, ecx
sub edi, eax
je 0x5c0ce5
fld dword [esi + 0xc]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, edx
fstp dword [esp]
call fcn.005cdc80
fldz
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x44
jnp 0x5c1524
fld dword [esi + 0xc]
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005ccc80
fld dword [esi + 0xc]
lea edx, [esp + 0x78]
push edx
push ecx
mov ecx, dword [esi + 0x60]
fstp dword [esp]
call fcn.005cbf40
fld dword [esi + 0xc]
lea eax, [esp + 0x6c]
push eax
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005cd100
fld dword [esi + 0xc]
lea ecx, [esp + 0x70]
push ecx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005cd340
fld dword [esi + 0xc]
lea edx, [esp + 0x74]
push edx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005cd590
fld dword [esi + 0xc]
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005cd7e0
fld dword [esi + 0xc]
lea ecx, [esp + 0x60]
push ecx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005cded0
fld dword [esi + 0xc]
lea edx, [esp + 0x64]
push edx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005ce120
mov eax, dword [esi + 0x64]
cmp byte [eax + 0x13], 3
jne 0x5c0ce5
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x5c0ce5
fld dword [ebx + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(0), st(0)
fld1
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.006109f0
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcomp dword [0x68aecc]
fnstsw ax
test ah, 1
jne 0x5c0ce5
fld dword [ebx + 4]
fchs
fld dword [ebx + 0x14]
call fcn.0061641a
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [0x673378]
fstp dword [esp + 0x34]
mov dword [esp + 0x2c], 0
test edi, edi
jle 0x5c1524
mov dword [esp + 0x14], edi
push ebp
lea ebx, [ebx]
call fcn.005c6a40
mov ecx, dword [esi + 0x64]
mov edi, eax
mov dword [edi + 0x5c], ecx
mov edx, dword [esi + 0x68]
mov dword [edi + 0x60], edx
fld dword [esp + 0x2c]
fstp dword [edi + 0x54]
mov dword [esp + 0x48], edi
fld dword [esp + 0x2c]
fstp dword [edi + 0x58]
mov ecx, dword [esi + 0x68]
call fcn.005ccc60
movzx eax, al
cmp eax, 3
ja case.default.0x5c0d39
jmp dword [eax*4 + 0x5c1530]
fldz
fst dword [edi + 0xc]
fst dword [edi + 0x10]
fstp dword [edi + 0x14]
jmp case.default.0x5c0d39
fld dword [0x673250]
sub esp, 8
fstp dword [esp + 4]
lea ebx, [edi + 0xc]
fld dword [0x691048]
fstp dword [esp]
call fcn.005851d0
fstp dword [ebx]
fld dword [0x673250]
fstp dword [esp + 4]
fld dword [0x691048]
fstp dword [esp]
call fcn.005851d0
add esp, 8
fstp dword [edi + 0x10]
fldz
push ebx
push ebx
fstp dword [edi + 0x14]
call fcn.005d7faf
mov ecx, dword [esi + 0x68]
call fcn.00566e30
test eax, eax
je 0x5c0dcc
mov eax, dword [esi + 0x68]
fld dword [eax + 0x28]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [ebx]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebx]
fld st(0)
fmul dword [ebx + 4]
jmp 0x5c0f71
mov ecx, dword [esi + 0x68]
fld dword [ecx + 0x28]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.005851d0
fadd dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [ebx]
jmp 0x5c0f67
mov eax, dword [esi + 0x68]
fld dword [eax + 0x1c]
sub esp, 8
fld qword [0x673618]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [eax + 0x1c]
fchs
fmulp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.005851d0
fadd dword [esp + 0x24]
fstp dword [edi + 0xc]
mov eax, dword [esi + 0x68]
fld dword [eax + 0x20]
fld qword [0x673618]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [eax + 0x20]
fchs
fmulp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.005851d0
fadd dword [esp + 0x24]
fstp dword [edi + 0x10]
mov eax, dword [esi + 0x68]
fld dword [eax + 0x24]
fld qword [0x673618]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [eax + 0x24]
fchs
fmulp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.005851d0
fadd dword [esp + 0x24]
add esp, 8
fstp dword [edi + 0x14]
jmp case.default.0x5c0d39
fld dword [0x673250]
sub esp, 8
fstp dword [esp + 4]
lea ebx, [edi + 0xc]
fld dword [0x691048]
fstp dword [esp]
call fcn.005851d0
fstp dword [ebx]
fld dword [0x673250]
fstp dword [esp + 4]
fld dword [0x691048]
fstp dword [esp]
call fcn.005851d0
fstp dword [edi + 0x10]
fld dword [0x673250]
fstp dword [esp + 4]
fld dword [0x691048]
fstp dword [esp]
call fcn.005851d0
add esp, 8
fstp dword [edi + 0x14]
push ebx
push ebx
call fcn.005d7faf
mov ecx, dword [esi + 0x68]
call fcn.00566e30
test eax, eax
je 0x5c0f3c
mov edx, dword [esi + 0x68]
fld dword [edx + 0x28]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fmul dword [ebx]
fstp dword [ebx]
fld st(0)
fmul dword [ebx + 4]
jmp 0x5c0f71
mov eax, dword [esi + 0x68]
fld dword [eax + 0x28]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.005851d0
fadd dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [ebx]
fld dword [esp + 0x1c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebx]
add esp, 8
fld dword [ebx + 4]
fmul st(1)
fstp dword [ebx + 4]
fmul dword [ebx + 8]
fstp dword [ebx + 8]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
lea ebx, [edi + 0xc]
mov dword [esp + 0x20], ecx
fld dword [ebx]
fadd dword [esp + 0x7c]
fstp dword [ebx]
fld dword [esp + 0x24]
fadd dword [ebx + 4]
fstp dword [ebx + 4]
fld dword [esp + 0x28]
fadd dword [ebx + 8]
fstp dword [ebx + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x5c0fe0
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 0x20], 0
jne 0x5c0fe0
push eax
push ebx
push ebx
call fcn.005d82bf
mov edx, dword [esi + 4]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push ecx
call fcn.005d82bf
mov edx, dword [esp + 0x20]
fldz
mov dword [edi], edx
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [edi + 8], ecx
fst dword [edi + 0x24]
lea ebp, [edi + 0x24]
fst dword [edi + 0x28]
fstp dword [edi + 0x2c]
mov ecx, dword [esi + 0x68]
call fcn.005ccc70
cmp al, 2
jne 0x5c1063
fld dword [ebx + 4]
lea edx, [esp + 0x88]
fsub dword [esp + 0x24]
push edx
push ebp
fstp dword [esp + 0x1c]
fld dword [ebx + 8]
fsub dword [esp + 0x30]
fstp dword [esp + 0x18]
fld dword [ebx]
fsub dword [esp + 0x28]
fstp dword [esp + 0x90]
fld dword [esp + 0x1c]
fstp dword [esp + 0x94]
fld dword [esp + 0x18]
fstp dword [esp + 0x98]
call fcn.005d7faf
fld dword [ebp]
fld qword [0x673280]
jmp 0x5c1128
mov ecx, dword [esi + 0x68]
call fcn.005ccc70
cmp al, 1
jne 0x5c113d
mov ecx, dword [esi + 0x68]
call fcn.005ccc60
test al, al
jne 0x5c10d8
fld dword [0x6733b8]
sub esp, 8
fstp dword [esp + 4]
fld dword [0x67e7bc]
fstp dword [esp]
call fcn.005851d0
fstp dword [ebp]
fld dword [0x6733b8]
fstp dword [esp + 4]
fld dword [0x67e7bc]
fstp dword [esp]
call fcn.005851d0
fstp dword [edi + 0x28]
fld dword [0x6733b8]
fstp dword [esp + 4]
fld dword [0x67e7bc]
fstp dword [esp]
call fcn.005851d0
fstp dword [edi + 0x2c]
add esp, 8
jmp 0x5c113d
fld dword [ebx + 4]
lea eax, [esp + 0x94]
fsub dword [esp + 0x24]
push eax
push ebp
fstp dword [esp + 0x18]
fld dword [ebx + 8]
fsub dword [esp + 0x30]
fstp dword [esp + 0x1c]
fld dword [ebx]
fsub dword [esp + 0x28]
fstp dword [esp + 0x9c]
fld dword [esp + 0x18]
fstp dword [esp + 0xa0]
fld dword [esp + 0x1c]
fstp dword [esp + 0xa4]
call fcn.005d7faf
fld dword [ebp]
fld qword [0x673230]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebp]
fld dword [ebp + 4]
fmul st(1)
fstp dword [ebp + 4]
fmul dword [ebp + 8]
fstp dword [ebp + 8]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
test eax, eax
je 0x5c1173
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 0x20], 0
jne 0x5c1173
push eax
lea edx, [esp + 0x40]
push edx
mov eax, edx
push eax
call fcn.005d82d2
fld dword [esp + 0x3c]
fadd dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x40]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fld dword [esp + 0x44]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
mov ecx, dword [esi + 0x68]
fldz
fcomp dword [ecx + 0x2c]
fnstsw ax
test ah, 5
jp 0x5c11e2
fld dword [ecx + 0x2c]
sub esp, 8
fld qword [0x673618]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [ecx + 0x2c]
fchs
fmulp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.005851d0
fmul qword [0x67f1a0]
add esp, 8
fadd dword [ebp]
fstp dword [ebp]
fldz
mov ecx, dword [esi + 0x68]
fcomp dword [ecx + 0x30]
fnstsw ax
test ah, 5
jp 0x5c1233
fld dword [ecx + 0x30]
sub esp, 8
fld qword [0x673618]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [ecx + 0x30]
fchs
fmulp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.005851d0
fmul qword [0x67f1a0]
add esp, 8
fadd dword [edi + 0x28]
fstp dword [edi + 0x28]
fldz
mov ecx, dword [esi + 0x68]
fcomp dword [ecx + 0x34]
fnstsw ax
test ah, 5
jp 0x5c1284
fld dword [ecx + 0x34]
sub esp, 8
fld qword [0x673618]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [ecx + 0x34]
fchs
fmulp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.005851d0
fmul qword [0x67f1a0]
add esp, 8
fadd dword [edi + 0x2c]
fstp dword [edi + 0x2c]
fld dword [esp + 0x34]
sub esp, 8
fst dword [esp + 0x18]
fmul dword [ebp]
fstp dword [ebp]
fld dword [ebp + 4]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebp + 4]
fmul dword [ebp + 8]
fstp dword [ebp + 8]
mov ecx, dword [esp + 0x6c]
mov dword [edi + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [edi + 0x34], edx
mov eax, dword [esi + 0x64]
movzx ecx, word [eax + 0x1c]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fstp dword [edi + 0x40]
mov eax, dword [esi + 0x64]
movzx edx, word [eax + 0x1e]
movzx eax, word [eax + 0x1c]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fstp dword [esp + 4]
fild dword [esp + 0x18]
fstp dword [esp]
call fcn.005851d0
fstp dword [edi + 0x40]
mov ecx, dword [esi + 0x64]
add esp, 8
cmp byte [ecx + 0x13], 3
jne 0x5c1311
cmp dword [esi + 4], 0
je 0x5c1311
fld dword [edi + 0x40]
fadd dword [esp + 0x38]
fstp dword [edi + 0x40]
mov byte [edi + 0x50], 0
mov edx, dword [esi + 0x64]
mov al, byte [edx + 4]
mov byte [edi + 0x48], al
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0xc8]
sub ecx, dword [eax + 0xc4]
sar ecx, 2
cmp ecx, 1
jbe 0x5c1395
cmp byte [eax + 4], 4
jne 0x5c136e
call fcn.00585190
test al, 1
je 0x5c134e
mov byte [edi + 0x50], 0
mov byte [edi + 0x48], 1
jmp 0x5c136e
mov eax, dword [esi + 0x64]
mov edx, dword [eax + 0xc8]
sub edx, dword [eax + 0xc4]
add eax, 0xb8
sar edx, 2
dec dl
mov byte [edi + 0x50], dl
mov byte [edi + 0x48], 2
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 0xc], 0
je 0x5c1395
mov eax, dword [ecx + 0xc8]
sub eax, dword [ecx + 0xc4]
sar eax, 2
dec eax
push eax
push 0
call fcn.00585210
add esp, 8
mov byte [edi + 0x50], al
fld dword [ebp]
fld dword [esp + 0xa4]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
fld dword [ebp + 4]
fmul st(1)
fstp dword [esp + 0x50]
fmul dword [ebp + 8]
fstp dword [esp + 0x54]
fld dword [ebx]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
fld dword [ebx + 4]
fsub dword [esp + 0x50]
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
fld dword [ebx + 8]
mov dword [edi + 0x18], eax
fsub dword [esp + 0x54]
mov dword [edi + 0x1c], ecx
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov dword [edi + 0x20], edx
mov ebx, dword [esi + 0x64]
mov ebp, dword [ebx + 0x64]
add ebx, 0x58
cmp ebp, dword [ebx + 0x10]
jbe 0x5c1401
call fcn.006111cc
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5c1499
call fcn.006111cc
cmp ebp, dword [ebx + 0x10]
jb 0x5c141a
call fcn.006111cc
fld dword [ebp + 4]
fstp dword [edi + 0x38]
mov ebx, dword [esi + 0x64]
mov ebp, dword [ebx + 0x7c]
add ebx, 0x70
cmp ebp, dword [ebx + 0x10]
jbe 0x5c1433
call fcn.006111cc
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5c14a0
call fcn.006111cc
cmp ebp, dword [ebx + 0x10]
jb 0x5c1448
call fcn.006111cc
fld dword [ebp + 4]
fstp dword [edi + 0x3c]
mov ebx, dword [esi + 0x64]
mov ebp, dword [ebx + 0x94]
add ebx, 0x88
cmp ebp, dword [ebx + 0x10]
jbe 0x5c1467
call fcn.006111cc
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5c14a4
call fcn.006111cc
cmp ebp, dword [ebx + 0x10]
jb 0x5c147c
call fcn.006111cc
mov eax, dword [ebp + 4]
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x30]
push edi
test eax, eax
jne 0x5c14a8
mov ecx, dword [esi + 0x60]
call fcn.005cacc0
mov dword [esp + 0x30], edi
jmp 0x5c14b4
mov ebx, dword [ebx]
jmp 0x5c1410
mov ebx, dword [ebx]
jmp 0x5c143e
mov ebx, dword [ebx]
jmp 0x5c1472
mov ecx, dword [eax + 0x70]
push eax
call fcn.005bfcc0
mov dword [edi + 0x70], eax
mov ecx, dword [esi + 0x40]
sub ecx, dword [esi + 0x3c]
movzx edi, byte [edi + 0x50]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x5c14da
call fcn.006111cc
mov eax, dword [esi + 0x3c]
lea edx, [edi*8]
sub edx, edi
mov ebx, dword [eax + edx*4 + 0x14]
lea edi, [eax + edx*4]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x48]
push ecx
push edx
push ebx
mov ecx, edi
call fcn.005d1de0
push 1
mov ecx, edi
mov ebp, eax
call fcn.005c0860
mov dword [ebx + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov eax, 1
add dword [esi + 0x28], eax
sub dword [esp + 0x18], eax
jne 0x5c0d00
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret 4