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

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call dword [sym.imp.winmm.dll_timeGetTime]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x114]
test eax, eax
je 0x580037
lea ebp, [ebx + 0x1a0]
xor esi, esi
lea edi, [esp + 0xac]
mov eax, ebp
mov edx, dword [eax]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 0x35c]
mov edx, dword [ecx + 0x20]
mov ecx, dword [ebx + 0x114]
add edx, esi
push edx
call fcn.0058fbc0
test eax, eax
je 0x580022
mov ecx, dword [ebx + 0x114]
cmp ecx, dword [ecx + 0x44]
je 0x57fe0b
mov dword [esp + 0x10], 0x3f800000
jmp 0x57fe15
mov ecx, dword [ecx + 0x9c]
mov dword [esp + 0x10], ecx
lea edx, [eax + 0x14]
mov ecx, dword [edx]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
add eax, 8
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x35c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x6c], 0x3f800000
mov edx, dword [eax + 0x20]
fld dword [edx + esi + 0x100]
fstp dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
fld dword [ecx + esi + 0x104]
lea ecx, [esp + 0x104]
fstp dword [esp + 0xa0]
mov edx, dword [eax + 0x20]
fld dword [edx + esi + 0x108]
lea eax, [esp + 0x18]
push eax
fstp dword [esp + 0xa8]
push ecx
call fcn.004f8f79
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xcc]
push ecx
call fcn.004f82b4
mov eax, dword [ebx + 0x35c]
mov ecx, dword [eax + 0x20]
lea edx, [esp + 0x18]
push edx
lea edx, [ecx + esi + 0x10c]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.004f95c8
fld dword [esp + 0xf4]
mov ecx, dword [esp + 0x5c]
fadd dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
fld dword [esp + 0xf8]
mov edx, edi
fadd dword [esp + 0x48]
fld dword [esp + 0xfc]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x58]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x50]
fmul dword [esp + 0x10]
fld dword [esp + 0x58]
fmul dword [esp + 0x10]
fld dword [esp + 0x50]
fadd dword [ebp]
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fxch st(1)
mov dword [edx], eax
fadd dword [ebx + 0x1a4]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [edx + 4], ecx
fadd dword [ebx + 0x1a8]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
add esi, 0x144
add edi, 0xc
cmp esi, 0x288
jl 0x57fdc3
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x35c]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebx + 0x35c]
mov edx, dword [eax + 4]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x14], ecx
jle 0x58010c
mov dword [esp + 0x10], ecx
nop
mov esi, dword [eax + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + ecx]
add esi, ecx
xor ebp, ebp
test eax, eax
jle 0x5800e4
xor edi, edi
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x5800d7
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
push ecx
lea ecx, [edi + eax]
call fcn.005e2a20
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x12c]
add ecx, edi
call fcn.005e2a40
mov ecx, dword [esi + 0x12c]
push 0
lea edx, [esp + 0x54]
push edx
add ecx, edi
call fcn.005e6450
mov eax, dword [esi]
inc ebp
add edi, 0xbc
cmp ebp, eax
jl 0x580074
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x35c]
mov edx, dword [eax + 4]
inc ecx
add esi, 0x158
cmp ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
jl 0x580060
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret 0xc