Function at 0x5c3d50
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.005d0e50
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.00613e80
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.005c3080
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 0x5c3ef5
fld dword [esi + 0xc]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, edx
fstp dword [esp]
call fcn.005d10a0
fldz
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x44
jnp 0x5c4734
fld dword [esi + 0xc]
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005d00a0
fld dword [esi + 0xc]
lea edx, [esp + 0x78]
push edx
push ecx
mov ecx, dword [esi + 0x60]
fstp dword [esp]
call fcn.005cf160
fld dword [esi + 0xc]
lea eax, [esp + 0x6c]
push eax
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005d0520
fld dword [esi + 0xc]
lea ecx, [esp + 0x70]
push ecx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005d0760
fld dword [esi + 0xc]
lea edx, [esp + 0x74]
push edx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005d09b0
fld dword [esi + 0xc]
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005d0c00
fld dword [esi + 0xc]
lea ecx, [esp + 0x60]
push ecx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005d12f0
fld dword [esi + 0xc]
lea edx, [esp + 0x64]
push edx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.005d1540
mov eax, dword [esi + 0x64]
cmp byte [eax + 0x13], 3
jne 0x5c3ef5
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x5c3ef5
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.00613fb0
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcomp dword [0x68eb30]
fnstsw ax
test ah, 1
jne 0x5c3ef5
fld dword [ebx + 4]
fchs
fld dword [ebx + 0x14]
call fcn.006199da
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [0x676398]
fstp dword [esp + 0x34]
mov dword [esp + 0x2c], 0
test edi, edi
jle 0x5c4734
mov dword [esp + 0x14], edi
push ebp
lea ebx, [ebx]
call fcn.005c9c30
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.005d0070
movzx eax, al
cmp eax, 3
ja case.default.0x5c3f49
jmp dword [eax*4 + 0x5c4740]
fldz
fst dword [edi + 0xc]
fst dword [edi + 0x10]
fstp dword [edi + 0x14]
jmp case.default.0x5c3f49
fld dword [0x676270]
sub esp, 8
fstp dword [esp + 4]
lea ebx, [edi + 0xc]
fld dword [0x694cb0]
fstp dword [esp]
call fcn.005880e0
fstp dword [ebx]
fld dword [0x676270]
fstp dword [esp + 4]
fld dword [0x694cb0]
fstp dword [esp]
call fcn.005880e0
add esp, 8
fstp dword [edi + 0x10]
fldz
push ebx
push ebx
fstp dword [edi + 0x14]
call fcn.005db54f
mov ecx, dword [esi + 0x68]
call fcn.005d0090
test eax, eax
je 0x5c3fdc
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 0x5c4181
mov ecx, dword [esi + 0x68]
fld dword [ecx + 0x28]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.005880e0
fadd dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [ebx]
jmp 0x5c4177
mov eax, dword [esi + 0x68]
fld dword [eax + 0x1c]
sub esp, 8
fld qword [0x676648]
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.005880e0
fadd dword [esp + 0x24]
fstp dword [edi + 0xc]
mov eax, dword [esi + 0x68]
fld dword [eax + 0x20]
fld qword [0x676648]
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.005880e0
fadd dword [esp + 0x24]
fstp dword [edi + 0x10]
mov eax, dword [esi + 0x68]
fld dword [eax + 0x24]
fld qword [0x676648]
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.005880e0
fadd dword [esp + 0x24]
add esp, 8
fstp dword [edi + 0x14]
jmp case.default.0x5c3f49
fld dword [0x676270]
sub esp, 8
fstp dword [esp + 4]
lea ebx, [edi + 0xc]
fld dword [0x694cb0]
fstp dword [esp]
call fcn.005880e0
fstp dword [ebx]
fld dword [0x676270]
fstp dword [esp + 4]
fld dword [0x694cb0]
fstp dword [esp]
call fcn.005880e0
fstp dword [edi + 0x10]
fld dword [0x676270]
fstp dword [esp + 4]
fld dword [0x694cb0]
fstp dword [esp]
call fcn.005880e0
add esp, 8
fstp dword [edi + 0x14]
push ebx
push ebx
call fcn.005db54f
mov ecx, dword [esi + 0x68]
call fcn.005d0090
test eax, eax
je 0x5c414c
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 0x5c4181
mov eax, dword [esi + 0x68]
fld dword [eax + 0x28]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.005880e0
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 0x5c41f0
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 0x20], 0
jne 0x5c41f0
push eax
push ebx
push ebx
call fcn.005db862
mov edx, dword [esi + 4]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push ecx
call fcn.005db862
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.005d0080
cmp al, 2
jne 0x5c4273
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.005db54f
fld dword [ebp]
fld qword [0x6762a0]
jmp 0x5c4338
mov ecx, dword [esi + 0x68]
call fcn.005d0080
cmp al, 1
jne 0x5c434d
mov ecx, dword [esi + 0x68]
call fcn.005d0070
test al, al
jne 0x5c42e8
fld dword [0x6763d8]
sub esp, 8
fstp dword [esp + 4]
fld dword [0x681e94]
fstp dword [esp]
call fcn.005880e0
fstp dword [ebp]
fld dword [0x6763d8]
fstp dword [esp + 4]
fld dword [0x681e94]
fstp dword [esp]
call fcn.005880e0
fstp dword [edi + 0x28]
fld dword [0x6763d8]
fstp dword [esp + 4]
fld dword [0x681e94]
fstp dword [esp]
call fcn.005880e0
fstp dword [edi + 0x2c]
add esp, 8
jmp 0x5c434d
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.005db54f
fld dword [ebp]
fld qword [0x676250]
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 0x5c4383
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 0x20], 0
jne 0x5c4383
push eax
lea edx, [esp + 0x40]
push edx
mov eax, edx
push eax
call fcn.005db875
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 0x5c43f2
fld dword [ecx + 0x2c]
sub esp, 8
fld qword [0x676648]
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.005880e0
fmul qword [0x682878]
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 0x5c4443
fld dword [ecx + 0x30]
sub esp, 8
fld qword [0x676648]
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.005880e0
fmul qword [0x682878]
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 0x5c4494
fld dword [ecx + 0x34]
sub esp, 8
fld qword [0x676648]
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.005880e0
fmul qword [0x682878]
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.005880e0
fstp dword [edi + 0x40]
mov ecx, dword [esi + 0x64]
add esp, 8
cmp byte [ecx + 0x13], 3
jne 0x5c4521
cmp dword [esi + 4], 0
je 0x5c4521
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 0x5c45a5
cmp byte [eax + 4], 4
jne 0x5c457e
call fcn.005880a0
test al, 1
je 0x5c455e
mov byte [edi + 0x50], 0
mov byte [edi + 0x48], 1
jmp 0x5c457e
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 0x5c45a5
mov eax, dword [ecx + 0xc8]
sub eax, dword [ecx + 0xc4]
sar eax, 2
dec eax
push eax
push 0
call fcn.00588120
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 0x5c4611
call fcn.00615e0c
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5c46a9
call fcn.00615e0c
cmp ebp, dword [ebx + 0x10]
jb 0x5c462a
call fcn.00615e0c
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 0x5c4643
call fcn.00615e0c
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5c46b0
call fcn.00615e0c
cmp ebp, dword [ebx + 0x10]
jb 0x5c4658
call fcn.00615e0c
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 0x5c4677
call fcn.00615e0c
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5c46b4
call fcn.00615e0c
cmp ebp, dword [ebx + 0x10]
jb 0x5c468c
call fcn.00615e0c
mov eax, dword [ebp + 4]
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x30]
push edi
test eax, eax
jne 0x5c46b8
mov ecx, dword [esi + 0x60]
call fcn.005cdf50
mov dword [esp + 0x30], edi
jmp 0x5c46c4
mov ebx, dword [ebx]
jmp 0x5c4620
mov ebx, dword [ebx]
jmp 0x5c464e
mov ebx, dword [ebx]
jmp 0x5c4682
mov ecx, dword [eax + 0x70]
push eax
call fcn.005c3030
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 0x5c46ea
call fcn.00615e0c
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.0059a1e0
push 1
mov ecx, edi
mov ebp, eax
call fcn.0059ad60
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 0x5c3f10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret 4