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

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.winmm.dll_timeGetTime]
mov ebp, dword [esp + 0x11c]
imul ebp, ebp, 0x158
mov ecx, eax
mov eax, dword [esi + 0x320]
lea edi, [eax + ebp]
mov eax, dword [edi + 0x120]
mov edx, ecx
sub edx, eax
mov eax, 0xcccccccd
mul edx
mov eax, dword [edi + 0x114]
shr edx, 5
cmp edx, eax
jb 0x5a41f9
mov eax, dword [esi + 0x320]
mov dword [eax + ebp + 0x120], ecx
mov ecx, dword [esi + 0x320]
lea eax, [ecx + ebp]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x28], ebx
jle 0x5a41f9
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x5a3f30
cmp dword [eax + 0x12c], ebx
je 0x5a41d3
cmp byte [eax + 0x118], bl
je 0x5a4100
lea edx, [esi + 0x1e0]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
fmul dword [0x6ee1f8]
mov dword [esp + 0x24], edx
lea edi, [esi + 0x1a0]
mov dword [esp + 0x20], ecx
fstp dword [esp + 0x1c]
lea ecx, [esp + 0x34]
fld dword [esp + 0x24]
push ecx
fmul dword [0x6ee1f8]
sub esp, 0xc
mov edx, esp
sub esp, 0xc
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fadd dword [edi + 8]
fstp dword [esp + 0x48]
fld dword [edi + 4]
fadd dword [0x6f3614]
fstp dword [esp + 0x4c]
fld dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
fadd dword [edi]
fstp dword [esp + 0x9c]
mov ecx, dword [esp + 0x9c]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 8], eax
mov edx, edi
mov ecx, dword [edx]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax + 8], edx
call fcn.005a3110
mov eax, 0x3f800000
mov dword [esp + 0x7c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x320]
add eax, ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax + 0x140]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 0x144]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], edx
mov eax, dword [eax + 0x148]
mov edx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0xe4]
push ecx
call fcn.005422fd
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00541522
cmp byte [esi + 0x374], bl
je 0x5a40b8
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x120]
push edx
mov edx, dword [esi + 0x320]
push eax
push ecx
mov ecx, dword [edx + ebp + 0x12c]
jmp 0x5a40f7
fld dword [esp + 0xd0]
mov eax, dword [esi + 0x320]
fadd dword [esi + 0x1a8]
mov ecx, dword [eax + ebp + 0x12c]
add eax, ebp
sub esp, 0xc
fstp dword [esp + 8]
fld dword [eax + 0x144]
fadd dword [esi + 0x1a4]
fstp dword [esp + 4]
fld dword [esp + 0xd4]
fadd dword [edi]
fstp dword [esp]
add ecx, dword [esp + 0x20]
call fcn.00607fb0
cmp dword [esi + 0x118], ebx
mov dword [esp + 0x10], ebx
je 0x5a417e
mov ecx, dword [esi + 0x114]
push ecx
call fcn.0040103c
mov ecx, eax
call fcn.00646de5
test eax, eax
je 0x5a417e
mov ecx, dword [esi + 0x118]
push 0x6d50d0
call fcn.005b5b70
mov ecx, dword [esi + 0x118]
cmp ecx, dword [ecx + 0x54]
je 0x5a4148
mov dword [esp + 0x18], 0x3f800000
jmp 0x5a4152
mov edx, dword [ecx + 0xac]
mov dword [esp + 0x18], edx
cmp eax, ebx
je 0x5a4186
fld dword [esp + 0x18]
add eax, 0x50
cmp eax, ebx
je 0x5a4172
mov eax, dword [eax + 0x34]
mov dword [esp + 0x10], eax
fmul dword [esp + 0x10]
fstp dword [esp + 0x10]
jmp 0x5a4186
fmul dword [0x6d4fd4]
fstp dword [esp + 0x10]
jmp 0x5a4186
mov dword [esp + 0x10], 0x42c80000
mov eax, dword [esi + 0x1f0]
fld dword [esp + 0x10]
mov ecx, dword [eax + 8]
fadd dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esi + 0x320]
mov edi, dword [esp + 0x14]
push ecx
push ecx
mov ecx, dword [eax + ebp + 0x12c]
fstp dword [esp]
push edx
add ecx, edi
call fcn.00607fd0
mov edx, dword [esi + 0x320]
push ebx
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [edx + ebp + 0x12c]
add ecx, edi
call fcn.0060bba0
mov eax, dword [esi + 0x320]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax + ebp]
add eax, ebp
inc ecx
add edi, 0xbc
cmp ecx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edi
jl 0x5a3f30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0x10