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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d5250
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebp
push edi
mov edi, ecx
xor ebp, ebp
cmp edi, ebp
je 0x4d9618
mov eax, dword [0x6613f0]
push esi
push 1
add eax, 4
push eax
lea ecx, [esp + 0x74]
call fcn.005789d4
mov dword [esp + 0x80], ebp
cmp dword [edi + 0x4c], ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x4d9122
call esi
mov ecx, dword [edi + 0x4c]
add ecx, 0x12c
cmp eax, ecx
jae 0x4d9122
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.0057897a
pop esi
pop edi
pop ebp
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
call esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [edi + 0x4c], eax
mov dword [edi + 4], ebp
mov edx, dword [0x6613a8]
push edx
push 0x6613a8
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call esi
test eax, eax
je 0x4d919a
mov eax, dword [0x6613ac]
push eax
push 0x6613ac
call esi
test eax, eax
je 0x4d919a
mov esi, 1
jmp 0x4d919c
xor esi, esi
mov ecx, dword [0x6613f0]
push ebx
mov ebx, dword [ecx + 0x30]
cmp ebx, ebp
je 0x4d9293
mov edi, edi
test ebx, ebx
mov eax, ebx
je 0x4d952f
mov ebp, dword [eax + 8]
mov eax, dword [ebp + 0x44]
test ah, 2
mov ebx, dword [ebx]
mov dword [ebp + 0x90], 0
je 0x4d91e8
mov edx, dword [0x6613bc]
mov eax, dword [edx + 0x1dc]
mov dword [ebp + 0x9c], eax
jmp 0x4d928b
test al, 8
je 0x4d9202
mov eax, dword [0x6613bc]
mov eax, dword [eax + 0x1e0]
mov dword [ebp + 0x9c], eax
jmp 0x4d928b
test al, 0x10
je 0x4d928b
mov ecx, dword [0x6613c0]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
mov eax, dword [0x6613bc]
mov edx, dword [eax + 0x1e4]
je 0x4d9285
cmp ecx, 1
mov ecx, dword [eax + 0x1d4]
jne 0x4d9254
test ecx, ecx
je 0x4d9237
cmp edx, ecx
jb 0x4d9237
mov edx, ecx
mov eax, dword [eax + 0x17c]
shl eax, 7
cmp edx, eax
jb 0x4d9246
mov edx, eax
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 7
jmp 0x4d9278
test ecx, ecx
je 0x4d925e
cmp edx, ecx
jb 0x4d925e
mov edx, ecx
mov eax, dword [eax + 0x17c]
shl eax, 7
cmp edx, eax
jb 0x4d926d
mov edx, eax
xor ecx, ecx
test esi, esi
sete cl
lea ecx, [ecx + ecx + 3]
imul ecx, edx
mov eax, 0xcccccccd
mul ecx
shr edx, 3
mov dword [ebp + 0x9c], edx
test ebx, ebx
jne 0x4d91b0
xor ebx, ebx
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], ebx
call fcn.004d8ed0
mov ebp, eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x84], 1
mov esi, dword [edi + 0x5c]
cmp esi, ebx
je 0x4d9305
jmp 0x4d92c0
test esi, esi
mov eax, esi
je 0x4d952f
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 4]
mov esi, dword [esi]
lea eax, [esp + 0x58]
lea ebx, [ebp + 4]
push eax
push ecx
push ebp
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], edx
call fcn.004d8f60
push 1
lea ecx, [esp + 0x68]
mov ebp, eax
call fcn.004d9010
test esi, esi
mov dword [ebx], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov ebp, dword [esp + 0x68]
jne 0x4d92c0
mov esi, dword [ebp]
cmp esi, ebp
je 0x4d931e
lea esp, [esp]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov esi, dword [esi]
cmp esi, ebp
jne 0x4d9310
mov ebx, dword [edi + 0x5c]
xor esi, esi
cmp ebx, esi
mov dword [esp + 0x50], esi
je 0x4d94bf
nop
test ebx, ebx
mov eax, ebx
je 0x4d952f
mov esi, dword [eax + 8]
mov ebx, dword [ebx]
xor eax, eax
mov dword [esi + 0x8bc], eax
mov dword [esp + 0x54], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x7c0]
cmp eax, 4
jne 0x4d9398
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x8e4]
inc edx
test ecx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x54], esi
jne 0x4d93ac
mov ecx, dword [esi + 0x8d0]
test ecx, ecx
je 0x4d93ac
mov ecx, dword [ecx + 0x7b8]
cmp ecx, dword [esp + 0x50]
jbe 0x4d93ac
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], esi
jmp 0x4d93ac
cmp eax, 3
jne 0x4d93a3
inc dword [esp + 0x3c]
jmp 0x4d93ac
cmp eax, 7
jne 0x4d93ac
inc dword [esp + 0x20]
mov edx, dword [esi + 0x7c4]
lea ecx, [edx - 2]
cmp ecx, 4
ja case.0x4d93ba.4
jmp dword [ecx*4 + 0x4d962c]
cmp eax, 4
jne 0x4d93cc
inc dword [esp + 0x30]
jmp case.0x4d93ba.4
cmp eax, 3
jne case.0x4d93ba.4
inc dword [esp + 0x44]
jmp case.0x4d93ba.4
cmp eax, 4
jne 0x4d93e2
inc dword [esp + 0x2c]
jmp case.0x4d93ba.4
cmp eax, 3
jne 0x4d93ed
inc dword [esp + 0x40]
jmp case.0x4d93ba.4
cmp eax, 7
jne case.0x4d93ba.4
inc dword [esp + 0x24]
jmp case.0x4d93ba.4
cmp eax, 4
jne 0x4d9403
inc dword [esp + 0x38]
jmp case.0x4d93ba.4
cmp eax, 3
jne case.0x4d93ba.4
inc dword [esp + 0x4c]
jmp case.0x4d93ba.4
cmp eax, 4
jne 0x4d9419
inc dword [esp + 0x34]
jmp case.0x4d93ba.4
cmp eax, 3
jne case.0x4d93ba.4
inc dword [esp + 0x48]
cmp edx, 6
jne 0x4d948e
inc dword [edi + 4]
mov eax, dword [esi + 0x7c0]
cmp eax, 7
jne 0x4d943b
inc dword [esp + 0x18]
jmp 0x4d944f
cmp eax, 4
jne 0x4d9446
inc dword [esp + 0x14]
jmp 0x4d944f
cmp eax, 3
jne 0x4d944f
inc dword [esp + 0x10]
mov eax, dword [esi + 0x7c8]
test eax, eax
je 0x4d948e
mov ecx, dword [0x6613f0]
push 0
push eax
add ecx, 0x2c
call fcn.005a9fa8
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x60], eax
je 0x4d948e
mov esi, dword [esi + 0x7c8]
mov eax, dword [esi + 0x90]
mov ecx, dword [esp + 0x58]
add eax, ecx
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4d94a7
mov eax, dword [eax + 0x8d0]
test eax, eax
je 0x4d94a7
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x4d94b5
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
add eax, edx
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x4d9330
xor esi, esi
mov eax, dword [0x6613f0]
mov eax, dword [eax + 0x30]
cmp eax, esi
je 0x4d94eb
jmp 0x4d94d0
cmp eax, esi
mov ecx, eax
je 0x4d952f
mov ecx, dword [ecx + 8]
mov eax, dword [eax]
cmp eax, esi
mov edx, dword [ecx + 0x90]
mov dword [ecx + 0x8c], edx
jne 0x4d94d0
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x4d94fd
mov dword [eax + 0x8bc], 1
mov eax, dword [esp + 0x1c]
mov dword [edi + 8], eax
mov ecx, dword [0x6613bc]
cmp dword [ecx + 0x1d4], esi
jne 0x4d9534
cmp dword [esp + 0x14], esi
je 0x4d951b
mov dword [edi + 0x10], esi
cmp dword [esp + 0x18], esi
je 0x4d9524
mov dword [edi + 0xc], esi
cmp dword [esp + 0x10], esi
je 0x4d956a
mov dword [edi + 0x14], esi
jmp 0x4d956a
jmp fcn.005a8539
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
add edx, eax
lea ecx, [edx + ebx]
cmp ecx, esi
je 0x4d956a
xor eax, eax
xor edx, edx
div ecx
cmp ebx, esi
mov dword [edi + 0x14], eax
jle 0x4d9564
lea ecx, [eax + eax*4]
lea edx, [eax + eax*2]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
jmp 0x4d956a
lea ecx, [eax + eax]
mov dword [edi + 0x10], ecx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x18], edx
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x24], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x28], edx
mov edx, dword [esp + 0x38]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x30], ecx
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x34], edx
mov edx, dword [esp + 0x44]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x3c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], ecx
mov byte [esp + 0x84], 0
mov eax, dword [ebp]
cmp eax, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
mov dword [esp + 0x6c], esi
je 0x4d95f1
lea ebx, [ebx]
mov esi, dword [eax]
push eax
call fcn.005abee6
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x4d95e0
push ebp
call fcn.005abee6
add esp, 4
mov dword [esp + 0x68], 0
mov dword [esp + 0x84], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.0057897a
pop ebx
pop esi
mov ecx, dword [esp + 0x74]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x78
ret