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

Disassembly:
mov eax, dword [0x9cdbec]
sub esp, 0x1f4
cmp dword [eax + 0x14], 0
push ebx
mov ebx, dword [esp + 0x200]
push ebp
mov ebp, dword [esp + 0x200]
push esi
push edi
je 0x5c889c
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
jmp 0x5c88a3
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
fld1
push ecx
fstp dword [esp]
call fcn.005463b0
add esp, 4
movss dword [esp + 0x34], xmm0
call fcn.005443b0
push 0
mov eax, 0xa
mov ecx, str.ICON_GHOST
call fcn.00582ed0
add esp, 4
test eax, eax
je 0x5c88e5
push eax
call fcn.005443b0
call fcn.00544310
mov dword [esp + 0x2c], eax
jmp 0x5c88ed
mov dword [esp + 0x2c], 0
test byte [0xb313ec], 1
mov esi, 1
jne 0x5c8913
or dword [0xb313ec], esi
call fcn.005bf670
push 0x6815e0
call fcn.004a9213
add esp, 4
mov edx, dword [0xb2f06c]
mov eax, dword [edx + 0x10]
push str.LANG_ID_TOTAL_TIME
mov ecx, 0xb2f06c
call eax
test byte [0xb313ec], 1
mov dword [esp + 0x4c], eax
jne 0x5c894d
or dword [0xb313ec], esi
call fcn.005bf670
push 0x6815e0
call fcn.004a9213
add esp, 4
mov edx, dword [0xb2f06c]
mov eax, dword [edx + 0x10]
push str.LANG_ID_LAPS_COLON
mov ecx, 0xb2f06c
call eax
fld dword [0x6d29e4]
push ecx
fstp dword [esp]
mov dword [esp + 0x54], eax
call fcn.005463b0
add esp, 4
test byte [0xb313ec], 1
movss dword [esp + 0x54], xmm0
jne 0x5c899f
or dword [0xb313ec], esi
call fcn.005bf670
push 0x6815e0
call fcn.004a9213
add esp, 4
mov edx, dword [0xb2f06c]
mov eax, dword [edx + 0x10]
push str.LANG_ID_RANKING_COLON
mov ecx, 0xb2f06c
call eax
push 0xff
lea ecx, [esp + 0x105]
push 0
push ecx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x10c], 0
call fcn.004ae0b0
mov eax, dword [0x93d2f0]
mov ecx, 0x24
mov esi, 0x9544b8
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
test dword [esp + 0xf4], 0xfe000
setne byte [esp + 0x17]
test eax, eax
je 0x5c8a0f
test byte [eax + 0x474], 1
mov byte [esp + 0x16], 1
jne 0x5c8a14
mov byte [esp + 0x16], 0
mov dl, byte [esp + 0x16]
neg dl
lea eax, [esp + 0x68]
mov esi, ebp
sbb edx, edx
and edx, eax
push edx
push ebx
call fcn.005c84d0
cmp byte [esp + 0x17], 0
je 0x5c8c72
push ebx
push ebp
call fcn.005c7b20
fld dword [0x953c90]
fadd qword [0x6fa710]
movss xmm0, dword [0x6d2988]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [0x6af968]
fadd qword [0x6fa2c8]
lea eax, [esp + 0x38]
lea esi, [esp + 0x58]
movss dword [esp + 0x40], xmm0
fstp dword [esp + 0x3c]
movss dword [esp + 0x44], xmm0
call fcn.00546560
fldz
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x18]
push 1
sub esp, 8
fst dword [esp + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
fstp dword [esp]
fld dword [esp + 0x40]
movss xmm0, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov eax, dword [0x953c84]
movss xmm1, dword [esp + 0x2c]
push 0
push ecx
mov dword [esp + 0x5c], eax
fstp dword [esp]
mov dword [esp + 0x38], ecx
mov byte [esp + 0x5f], bl
mov ecx, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
push ebp
push edx
mov esi, edi
call fcn.00585b60
fld dword [0x953c90]
fadd qword [0x6fa710]
movss xmm0, dword [0x6d2988]
movss dword [esp + 0x58], xmm0
xorps xmm0, xmm0
fadd qword [0x6fa2c8]
lea eax, [esp + 0x58]
lea esi, [esp + 0x78]
movss dword [esp + 0x60], xmm0
fadd qword [0x6fa6f0]
movss dword [esp + 0x64], xmm0
fstp dword [esp + 0x5c]
call fcn.00546560
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x88]
push eax
push 0x6d30f4
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x128]
push 0x100
push ecx
mov dword [esp + 0x58], edx
call fcn.004a96d3
fld dword [esp + 0x64]
add esp, 0x2c
fstp dword [esp]
lea edx, [esp + 0x104]
push edx
push edi
call fcn.00584fb0
add esp, 0xc
mov eax, dword [0x953c84]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
push 0
push ecx
fstp dword [esp]
mov dword [esp + 0x20], eax
fld dword [esp + 0x28]
mov byte [esp + 0x23], bl
mov ecx, dword [esp + 0x20]
push ecx
sub esp, 8
fstp dword [esp + 4]
lea edx, [esp + 0x114]
fld dword [esp + 0x30]
mov esi, edi
fstp dword [esp]
push ebp
push edx
call fcn.00586670
fld dword [esp + 0x58]
movss xmm0, dword [0x6d2988]
fadd qword [0x6f9af0]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [0x6d29bc]
add esp, 0x1c
fstp dword [esp + 0x20]
lea eax, [esp + 0x1c]
lea esi, [esp + 0x58]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x28], xmm0
call fcn.00546560
cmp byte [esp + 0x16], 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
fld dword [esp + 0x38]
fadd dword [esp + 0x30]
fstp dword [esp + 0x38]
je 0x5c8c4f
cmp dword [esp + 0x2c], 0
je 0x5c8c4f
mov edi, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
push edx
movzx ecx, bl
push ebp
call fcn.005c7440
add esp, 0x18
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x5c8c72
cmp dword [esp + 0x50], 0
je 0x5c8c72
fld dword [esp + 0x54]
push eax
push ecx
fstp dword [esp]
push ebx
push ebp
lea eax, [esp + 0x78]
call fcn.005c6b40
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1f4
ret 8