Function at 0x5ec610
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x735b56
push eax
mov eax, 0x5ab8
mov dword fs:[0], esp
call fcn.00712620
mov eax, dword [0x81424c]
push ebx
push esi
push edi
test eax, eax
mov esi, ecx
jne 0x5ec776
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
call ebx
mov edx, dword [0x83e174]
mov ecx, eax
sub ecx, edx
mov eax, 0x95217cb1
mul ecx
mov edi, edx
shr edi, 0x15
test edi, edi
mov dword [ebp - 0x38], edi
jle 0x5ec8b0
cmp dword [0x838838], edi
je 0x5ec8b0
call ebx
mov dword [esi + 0x310], eax
mov eax, dword [esi + 0x2f8]
test eax, eax
jne 0x5ec6dd
push 0x9c
call fcn.00711d5b
add esp, 4
mov dword [ebp - 0x240], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x5ec6b2
mov ecx, eax
call fcn.0043cd00
jmp 0x5ec6b4
xor eax, eax
push 8
push 8
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x2f8], eax
call fcn.004fd930
mov eax, dword [esi + 0x2f8]
mov ecx, 0x7dabc0
push eax
call fcn.00506830
cmp edi, 3
push edi
jge 0x5ec6f1
lea ecx, [ebp - 0x5a60]
push 0x78e22c
push ecx
jmp 0x5ec6fd
lea edx, [ebp - 0x5a60]
push 0x78e1f4
push edx
call fcn.00711e28
mov ecx, dword [esi + 0x2f8]
add esp, 0xc
lea eax, [ebp - 0x5a60]
push 0x48
push eax
call fcn.0043c660
mov edx, dword [0x7a0f18]
mov ecx, dword [esi + 0x2f8]
push 0x33
mov eax, dword [edx + 0x24]
mov ebx, dword [ecx]
mov edi, dword [ecx + 0x1c]
sub eax, 0x280
cdq
sub eax, edx
mov dword [ebp - 0x28], ebx
mov ebx, eax
mov eax, edi
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
sub ebx, eax
mov eax, dword [ebp - 0x28]
add ebx, 0x140
push ebx
call dword [eax + 0x18]
mov eax, dword [esi + 0x2f8]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x60], 0x62b0ff
mov dword [eax + 0x64], 0
mov dword [0x838838], ecx
jmp 0x5ec8b0
cmp eax, 0xf
jne 0x5ec8b0
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
call ebx
mov edx, dword [0x83e174]
mov ecx, eax
sub ecx, edx
mov eax, 0x95217cb1
mul ecx
mov edi, edx
shr edi, 0x15
cmp edi, 3
je 0x5ec7ab
cmp edi, 5
jne 0x5ec8b0
call ebx
mov dword [esi + 0x310], eax
mov eax, dword [esi + 0x2f8]
test eax, eax
jne 0x5ec80f
push 0x9c
call fcn.00711d5b
add esp, 4
mov dword [ebp - 0x240], eax
test eax, eax
mov dword [ebp - 4], 1
je 0x5ec7e4
mov ecx, eax
call fcn.0043cd00
jmp 0x5ec7e6
xor eax, eax
push 8
push 8
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x2f8], eax
call fcn.004fd930
mov edx, dword [esi + 0x2f8]
mov ecx, 0x7dabc0
push edx
call fcn.00506830
cmp edi, 3
jne 0x5ec82e
push 0x57b
call fcn.00581bb0
push eax
push edi
lea eax, [ebp - 0x5ac4]
push 0x76df78
push eax
jmp 0x5ec846
push 0x57c
call fcn.00581bb0
push eax
push edi
lea ecx, [ebp - 0x5ac4]
push 0x76df78
push ecx
call fcn.00711e28
mov ecx, dword [esi + 0x2f8]
add esp, 0x14
lea edx, [ebp - 0x5ac4]
push 0x48
push edx
call fcn.0043c660
mov eax, dword [0x7a0f18]
mov ecx, dword [esi + 0x2f8]
push 0x33
mov eax, dword [eax + 0x24]
mov ebx, dword [ecx]
mov edi, dword [ecx + 0x1c]
sub eax, 0x280
cdq
sub eax, edx
mov dword [ebp - 0x28], ebx
mov ebx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [ebp - 0x28]
sar ebx, 1
sar eax, 1
sub ebx, eax
add ebx, 0x140
push ebx
call dword [edx + 0x18]
mov eax, dword [esi + 0x2f8]
mov dword [eax + 0x60], 0x62b0ff
mov dword [eax + 0x64], 0
call fcn.00419180
mov ecx, eax
call fcn.00418810
test al, al
jne 0x5ec8d3
mov ecx, dword [0x814264]
push 0
push 0
push 0
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
cmp dword [0x8142c0], 1
jne 0x5ec916
push 1
lea ecx, [ebp - 0x944]
push 4
push ecx
call fcn.00419180
mov ecx, eax
call fcn.00418910
test eax, eax
je 0x5f6818
mov dword [0x8142c0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x59fc]
push edx
call fcn.00419180
mov ecx, eax
call fcn.00418f60
test al, al
je 0x5f6818
lea eax, [ebp - 0x59fc]
push eax
call fcn.00419180
mov ecx, eax
call fcn.00419120
movsx eax, ax
add eax, 0xffffff8d
cmp eax, 0x7ca
ja 0x5f67f1
jmp dword [eax*4 + 0x5f682c]
call fcn.00419180
mov ecx, eax
call fcn.00418970
lea edx, [ebp - 0x59fc]
push edx
call fcn.00419180
mov ecx, eax
call fcn.00418f60
test al, al
jne 0x5ec931
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret