Function at 0x4d6330
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x60], eax
cmp dword [0xbdabf0], 0
mov ecx, dword [0xbdaa68]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
je 0x4d66ce
movsx eax, word [esi + 0xd0]
cmp eax, ecx
jl 0x4d66ce
cmp byte [esi + 0xcf], 2
jb 0x4d66ce
mov eax, dword [esi + 0x608]
cmp eax, dword [0xbdabf8]
jl 0x4d6405
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x10b
push eax
lea eax, [esp + 0x28]
mov ecx, 0xa9b83c
push eax
call fcn.00405650
mov eax, dword [esp + 0x2c]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x4d63bc
cmp dword [eax + 0x10], 0x10b
jle 0x4d63be
mov eax, ecx
cmp eax, ecx
jne 0x4d63e1
push 0x10b
push str.Could_not_find_message__d_
push 0xa9b7bc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, 0xa9b7bc
jmp 0x4d63e4
add eax, 0x18
push eax
push 0
push 0
push 0
push 0
push 0
push 1
push dword [esi]
push 0xb90558
call fcn.004cdc70
add esp, 0x24
jmp 0x4d68bd
mov edi, dword [ebp + 0xc]
mov ecx, 0
mov edx, dword [esi + 0x610]
add edi, edx
mov ebx, dword [esi + 0x61c]
adc ecx, dword [esi + 0x614]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x618]
cmp dword [esp + 0xc], ebx
ja 0x4d645f
jb 0x4d6437
cmp edi, ecx
jae 0x4d645f
mov eax, edi
mov dword [esi + 0x610], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x614], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x10], edi
mov edi, dword [ebp + 0xc]
dec dword [esp + 0x10]
inc eax
mov dword [esi + 0x608], eax
mov eax, dword [0xbdabf4]
add dword [esi + 0x60c], eax
mov eax, edi
mov dword [esp + 0xc], ecx
sub ecx, edx
cmp dword [esp + 0x10], 0
mov dword [esi + 0x614], ebx
cmovne eax, ecx
mov ecx, esi
sub edi, eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x610], eax
call fcn.0051ed10
cmp dword [0xbdcc54], 2
jne 0x4d64b7
push esi
call fcn.00460910
mov eax, dword [esi + 0x608]
cmp eax, dword [0xbdabf8]
jge 0x4d650d
mov ecx, dword [esi + 0x618]
mov edx, edi
add edx, dword [esi + 0x610]
mov ebx, 0
mov dword [esp + 0xc], edx
adc ebx, dword [esi + 0x614]
cmp ebx, dword [esi + 0x61c]
jb 0x4d6501
ja 0x4d64f0
cmp edx, ecx
jb 0x4d6501
mov edx, dword [esi + 0x610]
mov ebx, dword [esi + 0x61c]
jmp 0x4d6469
mov dword [esi + 0x610], edx
mov dword [esi + 0x614], ebx
push dword [esi]
mov ecx, 0x6509a4
call fcn.004d9990
mov ecx, dword [esi + 0x130]
movd xmm1, dword [esi + 0x14c]
movd xmm0, dword [esi + 0x150]
movss xmm2, dword [0x56a824]
movzx eax, cx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x12c]
movzx edx, ax
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x14], edx
lea edi, [eax + ecx]
mov dword [esp + 0x30], 0x51f338c1
mov ecx, dword [esi + 0x15c]
mov eax, dword [esi + 0x158]
movzx ebx, ax
addss xmm1, dword [esi + 0x100]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], ebx
lea ebx, [eax + ecx]
movzx eax, word [esi + 0x608]
mov word [esp + 0x34], ax
mov eax, 1
mov word [esp + 0x36], ax
comiss xmm1, xmm2
movzx eax, word [esi + 0x60c]
mov dword [esi + 0x128], edi
mov dword [esi + 0x154], ebx
mov word [esp + 0x38], ax
movzx edx, cx
mov ecx, 0xfde8
addss xmm0, dword [esi + 0x10c]
movss dword [esi + 0xfc], xmm1
movss dword [esi + 0x108], xmm0
movzx eax, word [0xbdabf8]
movss dword [esp + 0x24], xmm0
mov word [esp + 0x3a], ax
jbe 0x4d65e6
mov word [esp + 0x3c], cx
jmp 0x4d65ef
cvttss2si eax, xmm1
mov word [esp + 0x3c], ax
comiss xmm0, xmm2
jbe 0x4d65fb
mov word [esp + 0x3e], cx
jmp 0x4d6604
cvttss2si eax, xmm0
mov word [esp + 0x3e], ax
cmp ebx, ecx
jle 0x4d660f
mov word [esp + 0x40], cx
jmp 0x4d661a
mov eax, dword [esp + 0xc]
add eax, edx
mov word [esp + 0x40], ax
cmp edi, ecx
jle 0x4d6625
mov word [esp + 0x42], cx
jmp 0x4d6632
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
mov word [esp + 0x42], ax
movaps xmm0, xmm1
call fcn.00545fb0
movss xmm0, dword [esp + 0x24]
mov dword [esp + 0x44], eax
call fcn.00545fb0
mov ecx, dword [esi + 0x614]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x610]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x618]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x30]
push 0x38
push eax
push dword [esi]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x61c]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x70], ecx
call fcn.005192f0
mov ecx, dword [esi]
lea edx, [esp + 0x24]
mov eax, ecx
mov byte [esp + 0x28], cl
shr eax, 8
push 6
mov ecx, dword [ecx*4 + 0x20a514c]
mov word [esp + 0x28], 0x6c1
mov byte [esp + 0x2a], 0x48
mov byte [esp + 0x2b], al
mov byte [esp + 0x2d], 0x10
call fcn.005264a0
mov eax, dword [esi]
add esp, 4
push eax
push eax
call fcn.004606d0
jmp 0x4d6899
movzx edx, word [esi + 0xd0]
movsx eax, dx
cmp eax, ecx
jl 0x4d6725
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x10a
push eax
lea eax, [esp + 0x1c]
mov ecx, 0xa9b83c
push eax
call fcn.00405650
mov eax, dword [esp + 0x20]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x4d6711
cmp dword [eax + 0x10], 0x10a
jle 0x4d6713
mov eax, ecx
cmp eax, ecx
jne 0x4d63e1
push 0x10a
jmp 0x4d63c7
mov eax, dword [esi + 0xdc]
mov edi, dword [ebp + 0xc]
add eax, edi
mov ebx, dword [esi + 0xe0]
cmp eax, ebx
jae 0x4d6756
mov dword [esi + 0xdc], eax
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
nop dword [eax]
movzx ecx, word [esi + 0xcc]
inc edx
mov eax, dword [esi + 0x644]
mov word [esi + 0xd0], dx
lea eax, [eax + ecx*4]
mov ecx, dword [eax*4 + 0xbdaa88]
mov eax, dword [esi + 0xd4]
add eax, ecx
mov dword [esi + 0xd4], eax
mov dword [esp + 0x24], eax
movsx eax, dx
cmp eax, dword [0xbdaafc]
jle 0x4d67b3
mov al, byte [esi + 0x5a8]
xor edx, edx
mov ecx, dword [0xbdaaf8]
and al, 0x30
cmp al, 0x20
cmovne ecx, edx
jmp 0x4d67b5
xor ecx, ecx
mov eax, dword [esp + 0x24]
add eax, ecx
sub dword [esp + 0xc], 1
mov dword [esi + 0xd4], eax
jne 0x4d67cc
mov eax, edi
jmp 0x4d67d4
mov eax, ebx
sub eax, dword [esi + 0xdc]
mov ecx, esi
mov dword [esi + 0xdc], ebx
sub edi, eax
call fcn.0051ed10
cmp dword [0xbdcc54], 2
jne 0x4d67f2
push esi
call fcn.00460910
movzx ecx, word [esi + 0xd0]
movsx eax, cx
cmp eax, dword [0xbdaa68]
jge 0x4d6823
mov eax, dword [esi + 0xdc]
mov ebx, dword [esi + 0xe0]
add eax, edi
cmp eax, ebx
jb 0x4d681d
mov edx, ecx
jmp 0x4d6760
mov dword [esi + 0xdc], eax
push dword [esi]
mov ecx, 0x6509a4
call fcn.004d9990
movd xmm0, dword [esi + 0x14c]
mov eax, dword [esi + 0x130]
add eax, dword [esi + 0x12c]
cvtdq2ps xmm0, xmm0
mov dword [esi + 0x128], eax
mov eax, dword [esi + 0x15c]
add eax, dword [esi + 0x158]
mov dword [esi + 0x154], eax
mov eax, dword [esi]
addss xmm0, dword [esi + 0x100]
push eax
push eax
movss dword [esi + 0xfc], xmm0
movd xmm0, dword [esi + 0x150]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x10c]
movss dword [esi + 0x108], xmm0
call fcn.004606d0
mov ecx, esi
call fcn.004e9ce0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x5f4]
cmp eax, 0xea60
jbe 0x4d68bd
call edi
mov ecx, dword [esi]
mov dword [esi + 0x5f4], eax
call fcn.004729b0
mov ecx, dword [esp + 0x6c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 0x10