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

Disassembly:
sub esp, 0x140
push ebp
push esi
mov esi, dword [esp + 0x14c]
mov eax, dword [esi]
lea ecx, [esp + 0xe8]
push ecx
push esi
call dword [eax + 0x30]
mov eax, dword [0x870974]
mov edx, dword [eax]
push esi
xor ebp, ebp
push ebp
push eax
call dword [edx + 0x94]
cmp dword [0x870d08], ebp
jle 0x5c68f6
mov eax, dword [0x870974]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x9c]
mov eax, dword [esp + 0x168]
fild dword [esp + 0x100]
mov edx, dword [esp + 0x100]
test edx, edx
push ebx
push edi
mov dword [esp + 0x30], 0xbf800000
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x64], 0x3f800000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x90], 0x3f800000
mov dword [esp + 0x94], 0xbf800000
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc0], 0xbf800000
mov dword [esp + 0xc4], 0xbf800000
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], eax
jge 0x5c699f
fadd dword [0x78454c]
fdivr dword [0x7a27cc]
mov eax, dword [esp + 0x10c]
test eax, eax
fstp dword [esp + 0x14]
fild dword [esp + 0x10c]
jge 0x5c69c1
fadd dword [0x78454c]
fdivr dword [0x7a27d0]
mov edi, dword [esp + 0x158]
cmp edi, 5
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fchs
fst dword [esp + 0x40]
fld dword [esp + 0x10]
fchs
fst dword [esp + 0x44]
fld dword [0x784250]
fsub dword [esp + 0x14]
fst dword [esp + 0x70]
fld st(1)
fstp dword [esp + 0x74]
fst dword [esp + 0xa0]
fld dword [0x784250]
fsub dword [esp + 0x10]
fst dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
fst dword [esp + 0xa4]
mov edx, ecx
fld st(3)
mov dword [esp + 0xbc], ecx
fstp dword [esp + 0xd0]
mov dword [esp + 0xec], edx
fst dword [esp + 0xd4]
fld st(3)
fstp dword [esp + 0x48]
fld st(2)
fstp dword [esp + 0x4c]
fld st(1)
fstp dword [esp + 0x78]
fld st(2)
fstp dword [esp + 0x7c]
fld st(1)
fstp dword [esp + 0xa8]
fst dword [esp + 0xac]
fld st(3)
fstp dword [esp + 0xd8]
fst dword [esp + 0xdc]
fld st(3)
fstp dword [esp + 0x50]
fld st(2)
fstp dword [esp + 0x54]
fld st(1)
fstp dword [esp + 0x80]
fld st(2)
fstp dword [esp + 0x84]
fld st(1)
fstp dword [esp + 0xb0]
fst dword [esp + 0xb4]
fld st(3)
fstp dword [esp + 0xe0]
fstp dword [esp + 0xe4]
fld st(2)
fstp dword [esp + 0x58]
fld st(1)
fstp dword [esp + 0x5c]
fst dword [esp + 0x88]
fxch st(1)
fstp dword [esp + 0x8c]
fstp dword [esp + 0xb8]
fstp dword [esp + 0xe8]
jne 0x5c6b37
mov esi, dword [0x86eb70]
mov dword [0x870910], esi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi + 0x24]
mov eax, dword [0x870974]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x15c]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push ebp
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x104]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x108]
mov dword [esp + 0x158], 2
mov edi, dword [esp + 0x158]
jmp 0x5c6b7e
mov esi, dword [0x86eb64]
mov dword [0x870910], esi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov edx, dword [esi + 0x24]
mov eax, dword [0x870974]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x15c]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push ebp
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x104]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [edi - 1]
push edx
push eax
call dword [ecx + 0x108]
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
mov edx, dword [esp + 0x164]
push eax
push ecx
push edx
call fcn.005bc8d0
add esp, 0xc
cmp edi, ebp
mov dword [esp + 0x18], 0x15
mov dword [esp + 0x1c], 0x16
mov dword [esp + 0x20], 0x17
mov dword [esp + 0x24], 0x18
jle 0x5c6c92
mov edi, dword [esp + 0x160]
mov ecx, dword [esp + 0x15c]
lea eax, [esp + 0x18]
add edi, 2
sub ecx, eax
lea ebx, [esp + 0x114]
mov dword [esp + 0x10], ecx
jmp 0x5c6bf0
mov ecx, dword [esp + 0x10]
mov edi, edi
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
lea eax, [ecx + ebp*4]
mov ecx, dword [esp + eax + 0x18]
mov eax, dword [esp + ebp*4 + 0x18]
push ecx
mov ecx, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*8 + 0x24]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [edx + 0xd0]
mov ecx, dword [edi - 2]
and ecx, 0xff
test ecx, ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jge 0x5c6c31
fadd dword [0x78454c]
fmul dword [0x784548]
movzx edx, byte [edi - 1]
movzx eax, byte [edi]
fstp dword [ebx - 4]
movzx ecx, byte [edi + 1]
mov dword [esp + 0x14], edx
inc ebp
add edi, 4
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x158]
add ebx, 0x10
cmp ebp, eax
fmul dword [0x784548]
fstp dword [ebx - 0x10]
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul dword [0x784548]
fstp dword [ebx - 0xc]
fild dword [esp + 0x14]
fmul dword [0x784548]
fstp dword [ebx - 8]
jl 0x5c6bea
xor ebp, ebp
mov edi, eax
cmp dword [esi + 4], 0xf
jne 0x5c6ce2
cmp edi, 4
mov ebx, edi
jge 0x5c6ce2
shl edi, 4
lea edi, [esp + edi + 0x114]
lea esp, [esp]
mov ecx, dword [esp + ebx*4 + 0x18]
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
push ebp
mov ebp, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov ecx, dword [ebp + ecx*8 + 0x24]
push ecx
push eax
call dword [edx + 0xd0]
xor ebp, ebp
mov dword [edi - 4], ebp
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
inc ebx
add edi, 0x10
cmp ebx, 4
jl 0x5c6cb0
push ebp
push ebp
call fcn.005bc880
add esp, 8
call fcn.005bdca0
cmp dword [esi + 4], 0xf
pop edi
pop ebx
jne 0x5c6d19
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
push 4
lea ecx, [esp + 0x10c]
push ecx
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + 0x40c]
push ecx
push eax
call dword [edx + 0x90]
mov edx, dword [0x870910]
mov dword [0x87092c], ebp
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x870974]
mov edx, dword [eax]
push 0x30
lea ecx, [esp + 0x2c]
push ecx
push 2
push 6
push eax
call dword [edx + 0x14c]
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
push eax
call dword [edx + 0x110]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [esi + 0x20]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x114]
mov esi, dword [0x870848]
mov dword [0x870910], ebp
call fcn.005cf150
mov ecx, dword [esi + 8]
mov eax, dword [0x870974]
mov edx, dword [eax]
push ecx
push ebp
push eax
call dword [edx + 0x94]
mov ecx, dword [esi + 0xc]
mov eax, dword [0x870974]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x9c]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov eax, dword [0x870974]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x3f800000
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
mov dword [0x870848], esi
pop esi
mov dword [0x870910], ebp
pop ebp
add esp, 0x140
ret