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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd4
mov eax, dword [0x8709a0]
mov ecx, dword [ebp + 0xc]
push ebx
xor bl, bl
test eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1a], bl
je 0x5c4d43
test ecx, ecx
je 0x5c4d33
mov eax, dword [ecx + 0x24]
cmp eax, 0x40cdc515
je 0x5c4d2d
cmp eax, 0x1149c7da
jne 0x5c4d33
mov bl, 1
mov byte [esp + 0x1b], bl
mov al, byte [esi + 0x71]
cmp al, 0x72
je 0x5c4d3e
cmp al, 0x73
jne 0x5c4d43
mov byte [esp + 0x1a], 1
fld dword [esi]
mov al, byte [esi + 0x70]
and al, 2
fmul dword [0x79ac0c]
fsub dword [0x784250]
fstp dword [esp + 0x20]
fld dword [esi + 4]
fmul dword [0x79ac10]
fsub dword [0x784250]
fchs
fstp dword [esp + 0x24]
je 0x5c4d7a
mov edx, dword [esi + 8]
mov dword [esp + 0x28], edx
jmp 0x5c4d82
mov dword [esp + 0x28], 0x3f800000
fld dword [esi + 0x10]
movzx edi, byte [esi + 0x61]
fmul dword [0x79ac0c]
xor edx, edx
mov dh, byte [esi + 0x63]
mov dword [esp + 0x38], 0x3f800000
fsub dword [0x784250]
mov dword [esp + 0x3c], 0x3f800000
fstp dword [esp + 0x40]
fld dword [esi + 0x14]
fmul dword [0x79ac10]
mov dl, byte [esi + 0x60]
fsub dword [0x784250]
fchs
fstp dword [esp + 0x44]
shl edx, 8
or edx, edi
movzx edi, byte [esi + 0x62]
shl edx, 8
or edx, edi
test al, al
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x40]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x44]
mov dword [esp + 0x34], edx
je 0x5c4df3
mov edx, dword [esi + 0x18]
mov dword [esp + 0x48], edx
jmp 0x5c4dfb
mov dword [esp + 0x48], 0x3f800000
fld dword [esi + 0x20]
movzx edi, byte [esi + 0x65]
fmul dword [0x79ac0c]
xor edx, edx
mov dh, byte [esi + 0x67]
mov dword [esp + 0x58], 0x3f800000
fsub dword [0x784250]
mov dword [esp + 0x5c], 0x3f800000
fstp dword [esp + 0x60]
fld dword [esi + 0x24]
fmul dword [0x79ac10]
mov dl, byte [esi + 0x64]
fsub dword [0x784250]
fchs
fstp dword [esp + 0x64]
shl edx, 8
or edx, edi
movzx edi, byte [esi + 0x66]
shl edx, 8
or edx, edi
test al, al
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x48]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x54], edx
je 0x5c4e6c
mov edx, dword [esi + 0x28]
mov dword [esp + 0x68], edx
jmp 0x5c4e74
mov dword [esp + 0x68], 0x3f800000
fld dword [esi + 0x30]
movzx edi, byte [esi + 0x69]
fmul dword [0x79ac0c]
xor edx, edx
mov dh, byte [esi + 0x6b]
mov dword [esp + 0x78], 0x3f800000
fsub dword [0x784250]
mov dword [esp + 0x7c], 0x3f800000
fstp dword [esp + 0x80]
fld dword [esi + 0x34]
fmul dword [0x79ac10]
mov dl, byte [esi + 0x68]
fsub dword [0x784250]
fchs
fstp dword [esp + 0x84]
shl edx, 8
or edx, edi
movzx edi, byte [esi + 0x6a]
shl edx, 8
or edx, edi
test al, al
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 0x50]
mov dword [esp + 0x70], edx
mov edx, dword [esi + 0x54]
mov dword [esp + 0x74], edx
je 0x5c4eee
mov eax, dword [esi + 0x38]
mov dword [esp + 0x88], eax
jmp 0x5c4ef9
mov dword [esp + 0x88], 0x3f800000
movzx eax, byte [esi + 0x6d]
xor edx, edx
mov dh, byte [esi + 0x6f]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x9c], 0x3f800000
mov dl, byte [esi + 0x6c]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x6e]
shl edx, 8
or edx, eax
test ecx, ecx
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x8c], edx
mov edx, dword [esi + 0x58]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
je 0x5c4fe3
cmp edi, 0x61
je 0x5c4fda
movsx edx, word [ecx + 0x44]
mov dword [esp + 0x1c], edx
movsx eax, word [ecx + 0x46]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
fdivr dword [0x784260]
fld dword [esp + 0x30]
fadd st(1)
fstp dword [esp + 0x30]
fild dword [esp + 0x1c]
fdivr dword [0x784260]
fld dword [esp + 0x34]
fadd st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x50]
fsub st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fadd st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x70]
fsub st(2)
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fsub st(1)
fstp dword [esp + 0x74]
fxch st(1)
fadd dword [esp + 0x90]
fstp dword [esp + 0x90]
fld dword [esp + 0x94]
fsub st(1)
fstp dword [esp + 0x94]
fstp st(0)
push ecx
call fcn.005bc940
add esp, 4
mov edx, dword [0x8708b4]
test edx, edx
je 0x5c500e
mov ecx, dword [0x870910]
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x1c]
mov ebx, dword [eax]
push edx
mov edx, dword [ecx + 0x1b4]
push edx
push eax
call dword [ebx + 0xd0]
mov bl, byte [esp + 0x1b]
cmp edi, 0x61
jne 0x5c5088
mov eax, dword [0x870910]
mov cl, byte [eax + 0x18]
mov eax, dword [0x870974]
test cl, cl
mov ecx, dword [eax]
jne 0x5c503d
push 0x103
push 0x18
push 0
push eax
call dword [ecx + 0x10c]
push 0x10142
jmp 0x5c5052
push 0x100
push 0x18
push 0
push eax
call dword [ecx + 0x10c]
push 0x20142
mov eax, dword [0x870974]
mov edx, dword [eax]
push eax
call dword [edx + 0x164]
lea eax, [esp + 0xa0]
push eax
call fcn.0043c7e0
mov eax, dword [0x870974]
mov ecx, dword [eax]
add esp, 4
lea edx, [esp + 0xa0]
push edx
push 0x10
push eax
call dword [ecx + 0xb0]
mov dword [0x87092c], 0
test byte [esi + 0x70], 2
je 0x5c50bc
mov eax, dword [0x870974]
mov ecx, dword [eax]
push 1
push 7
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x870974]
mov edx, dword [eax]
push 1
push 0xe
push eax
call dword [edx + 0xe4]
test bl, bl
je 0x5c5107
mov eax, dword [0x870974]
mov ecx, dword [eax]
push 1
push 0x34
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x870974]
mov edx, dword [eax]
push 8
push 0x38
push eax
call dword [edx + 0xe4]
mov eax, dword [0x870974]
mov ecx, dword [eax]
push 7
push 0x37
push eax
call dword [ecx + 0xe4]
push 0x5f
push 1
call fcn.005bc880
add esp, 8
call fcn.005bdca0
mov al, byte [esp + 0x1a]
test al, al
je 0x5c5187
mov eax, dword [0x870974]
mov edx, dword [eax]
push 1
push 0x34
push eax
call dword [edx + 0xe4]
mov eax, dword [0x870974]
mov ecx, dword [eax]
push 2
push 0x38
push eax
call dword [ecx + 0xe4]
push 0x5f
push 0
call fcn.005bc880
mov al, byte [esi + 0x71]
add esp, 8
cmp al, 0x72
jne 0x5c5174
mov eax, dword [0x86e5f4]
test ah, 0x20
je 0x5c516e
mov eax, dword [0x870974]
mov edx, dword [eax]
push 0xffb0b0b0
push 0xc1
push eax
call dword [edx + 0xe4]
push 0xf
push 0xe
jmp 0x5c5178
push 1
push 2
jmp 0x5c5178
push 2
push 5
push 1
call fcn.005bc8d0
add esp, 0xc
call fcn.005bdca0
mov al, byte [0x7ff05c]
test al, al
je 0x5c51e0
mov eax, dword [0x870910]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10c]
mov edx, dword [0x870910]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x108]
mov eax, dword [0x870974]
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x24]
push ecx
push 2
push 6
push eax
call dword [edx + 0x14c]
mov edx, dword [0x870910]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x110]
test bl, bl
jne 0x5c51ec
mov al, byte [esp + 0x1a]
test al, al
je 0x5c51fe
mov eax, dword [0x870974]
mov edx, dword [eax]
push 0
push 0x34
push eax
call dword [edx + 0xe4]
test byte [esi + 0x70], 2
je 0x5c5228
mov eax, dword [0x870974]
mov ecx, dword [eax]
push 0
push 7
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x870974]
mov edx, dword [eax]
push 0
push 0xe
push eax
call dword [edx + 0xe4]
call fcn.005bccd0
cmp edi, 0x61
jne 0x5c5246
mov eax, dword [0x870974]
mov ecx, dword [eax]
push 2
push 0x18
push 0
push eax
call dword [ecx + 0x10c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret