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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x5c44e9
xor eax, eax
jmp 0x5c44ee
mov eax, dword [edi + 0x10]
sub eax, ecx
mov ecx, dword [edi + 0xc]
push eax
push 0
push ecx
call fcn.0065c670
mov eax, dword [edi + 0xa8]
mov ecx, dword [edi + 0xb0]
mov esi, dword [edi + 0xac]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 0x78]
add eax, 0x39
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x54], eax
jle 0x5c452f
mov dword [esp + 0x54], ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
call sub.WINMM.dll_timeGetTime
mov edx, dword [edi + 0x114]
mov ecx, dword [edi + 0x90]
sub eax, edx
mov edx, dword [edi + 0x94]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x98]
add eax, ecx
mov ecx, dword [edi + 0x9c]
add ecx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov ecx, edx
shl ecx, 6
sub ecx, eax
mov eax, esi
shl eax, 5
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
add eax, 0x20
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x54]
mov dword [esp + 0x20], esi
jae 0x5c4840
jmp 0x5c45a0
cmp edx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jae 0x5c481a
jmp 0x5c45c0
mov ebx, dword [esp + 0x14]
jmp 0x5c45c0
mov ecx, dword [edi + 0xe8]
test ecx, ecx
je 0x5c4679
mov eax, dword [edi + 0xec]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x5c4679
mov eax, ecx
shl ebx, 2
add eax, ebx
mov eax, dword [eax]
mov edx, dword [eax]
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call dword [edx + 0x2c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x20]
mov eax, edx
cdq
and edx, 0x3f
add eax, edx
mov esi, eax
mov eax, dword [esp + 0x34]
add eax, 0x20
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 5
shl eax, 0x10
sar esi, 6
shl ecx, 0x10
or ecx, edx
or eax, esi
sub eax, ecx
test eax, eax
jg 0x5c4679
mov al, byte [edi + 0x28]
test al, al
jne 0x5c4651
mov eax, dword [edi + 0xe8]
mov ecx, dword [eax + ebx]
mov edx, dword [ecx + 0x3c]
add eax, ebx
shr edx, 5
test dl, 1
jne 0x5c4670
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0xe8]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
add eax, ebx
mov eax, dword [eax]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xc]
inc dword [esp + 0x14]
jmp 0x5c45b4
mov ebx, dword [edi + 0x74]
imul ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x84]
add ebx, edx
imul ebx, ebx, 0xf
add ebx, ecx
mov ecx, dword [edi + 0xd8]
test ecx, ecx
jne 0x5c46a0
xor eax, eax
jmp 0x5c46ab
mov eax, dword [edi + 0xdc]
sub eax, ecx
sar eax, 2
movzx ecx, byte [ebx + 2]
cmp ecx, eax
jae 0x5c4700
mov edx, dword [edi + 0xd8]
mov eax, dword [edx + ecx*4]
test eax, eax
lea ecx, [edx + ecx*4]
je 0x5c4700
movzx eax, word [ebx]
xor edx, edx
mov esi, 0x64
div esi
lea esi, [esp + 0x58]
push esi
push dword [ebp + 8]
push dword [esp + 0x2c]
push dword [esp + 0x24]
push dword [esp + 0x20]
push edx
push eax
mov eax, dword [ecx]
push eax
call fcn.005c3cd0
add esp, 0x20
test al, al
je 0x5c4700
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
call fcn.005c4430
mov edx, dword [ebx + 7]
test edx, edx
je 0x5c4776
mov ecx, dword [edi + 0xd8]
test ecx, ecx
jne 0x5c4715
xor eax, eax
jmp 0x5c4720
mov eax, dword [edi + 0xdc]
sub eax, ecx
sar eax, 2
movzx ecx, byte [edx + 4]
cmp ecx, eax
jae 0x5c4776
mov eax, dword [edi + 0xd8]
lea ecx, [eax + ecx*4]
cmp dword [ecx], 0
je 0x5c4776
movzx eax, word [edx + 5]
xor edx, edx
mov esi, 0x64
div esi
mov ecx, dword [ecx]
lea esi, [esp + 0x68]
push esi
mov esi, dword [ebp + 8]
push esi
mov esi, dword [esp + 0x2c]
push esi
push dword [esp + 0x24]
push dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.005c3cd0
add esp, 0x20
test al, al
je 0x5c4776
lea edx, [esp + 0x68]
push edx
mov ecx, edi
call fcn.005c4430
mov ebx, dword [ebx + 0xb]
test ebx, ebx
je 0x5c47ee
mov ecx, dword [edi + 0xd8]
test ecx, ecx
jne 0x5c478b
xor eax, eax
jmp 0x5c4796
mov eax, dword [edi + 0xdc]
sub eax, ecx
sar eax, 2
movzx ecx, byte [ebx + 4]
cmp ecx, eax
jae 0x5c47ee
mov eax, dword [edi + 0xd8]
lea ecx, [eax + ecx*4]
cmp dword [ecx], 0
je 0x5c47ee
movzx eax, word [ebx + 5]
xor edx, edx
mov esi, 0x64
div esi
mov ecx, dword [ecx]
lea esi, [esp + 0x78]
push esi
mov esi, dword [ebp + 8]
push esi
mov esi, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
push esi
push edx
push eax
push ecx
call fcn.005c3cd0
add esp, 0x20
test al, al
je 0x5c47ee
lea edx, [esp + 0x78]
push edx
mov ecx, edi
call fcn.005c4430
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
inc eax
add edx, 0x40
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
jb 0x5c45b4
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x54]
add eax, 0x20
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, esi
mov dword [esp + 0x20], eax
jb 0x5c45a0
lea ebx, [ebx]
mov ecx, dword [edi + 0xe8]
test ecx, ecx
je 0x5c4895
mov eax, dword [edi + 0xec]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x5c4895
mov al, byte [edi + 0x28]
test al, al
jne 0x5c4873
mov eax, ecx
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx + 0x3c]
lea eax, [eax + ebx*4]
shr edx, 5
test dl, 1
jne 0x5c4892
mov eax, dword [edi + 0xe8]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx]
lea eax, [eax + ebx*4]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [edx + 0xc]
inc ebx
jmp 0x5c4840
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4