Function at 0x4d0aa0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x57fd6a
push eax
mov eax, 0x9fb0
mov dword fs:[0], esp
call fcn.005417a0
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x9fcc]
push esi
cmp ecx, ebx
push edi
je 0x4d14df
cmp dword [ebp + 0x2598], ebx
je 0x4d14df
cmp dword [ebp + 0x150], ebx
je 0x4d14df
mov edx, dword [ebp + 0x3dc]
mov esi, dword [esp + 0x9fd0]
xor eax, eax
cmp edx, ebx
jle 0x4d0b1a
mov edi, dword [ebp + 0x3d8]
cmp dword [edi], esi
je 0x4d14df
inc eax
add edi, 0x1f80
cmp eax, edx
jl 0x4d0b07
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.004de130
mov edx, eax
cmp edx, ebx
jne 0x4d0b35
cmp dword [esp + 0x3c], ebx
je 0x4d14df
mov ecx, 0x7d0
xor eax, eax
lea edi, [esp + 0x80]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x200
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0xa
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0x1388
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x2548]
cmp eax, ebx
je 0x4d0bb7
mov eax, dword [eax + 0x4668]
cmp eax, 0x80
mov dword [esp + 0x60], eax
jl 0x4d0baf
cmp eax, 0x10000
jle 0x4d0bb7
mov dword [esp + 0x60], 0x200
cmp edx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
je 0x4d0f38
push 0x18
push ebx
push edx
mov dword [esp + 0x54], ebx
call fcn.0048ce70
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x20], esi
je 0x4d14df
mov eax, dword [ebp + 0x2548]
cmp eax, ebx
je 0x4d0c25
cmp dword [eax + 0x4660], ebx
je 0x4d0c25
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, 0x80000
push esi
jb 0x4d0c14
call fcn.0048c870
mov edi, eax
mov dword [esp + 0x4c], 2
jmp 0x4d0c2b
call fcn.0048c6e0
mov edi, eax
mov dword [esp + 0x4c], 1
jmp 0x4d0c2b
xor edi, edi
mov dword [esp + 0x4c], ebx
mov eax, 1
cmp edi, ebx
mov dword [esp + 0x34], eax
jne 0x4d0c46
mov edi, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
cmp esi, 0x3e8000
mov dword [esp + 0x30], esi
jbe 0x4d0c69
push edi
call fcn.0048d6c0
add esp, 4
jmp 0x4d14df
cmp esi, 0xc800
jb 0x4d0c79
mov dword [esp + 0x38], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x4d0c96
push edi
call fcn.0048d6c0
add esp, 4
jmp 0x4d14df
mov ecx, dword [esp + 0x9fd0]
mov edx, dword [ebp + 0x150]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x58], eax
mov eax, esi
xor edx, edx
div ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], eax
imul eax, ecx
sub esi, eax
je 0x4d0cdc
inc dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0x3dc]
lea ecx, [ebp + 0x3d4]
mov dword [esp + 0x70], eax
push 0xffffffffffffffff
lea eax, [edi + 1]
mov dword [esp + 0x20], edi
push eax
call fcn.00434240
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
shl edi, 6
sub edi, edx
mov edx, dword [ebp + 0x3d8]
shl edi, 7
mov ecx, 0x7e0
lea esi, [esp + 0x40]
add edi, edx
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], ebx
jle 0x4d0e9f
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], 1
neg eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x14]
mov cl, byte [esp + eax + 0x7f]
test cl, cl
jne 0x4d0e59
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x60]
dec ecx
cmp eax, ecx
jne 0x4d0d7b
mov ebx, dword [esp + 0x1c]
mov edi, 0x5ed678
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1fc0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x48]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x18]
push 0
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x38]
push ebx
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x9fec]
push eax
push ecx
push edx
lea eax, [esp + 0x1fe8]
push str._08x_ld_d_d_d_d_d_d_d_08x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x48]
add esp, 0x30
lea edx, [esp + 0x1fc0]
push 0
push ebx
push ecx
mov ecx, dword [ebp + 0x2598]
push edx
push 0x2000c0
call fcn.00489b60
test eax, eax
jne 0x4d0e14
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x258c]
xor esi, esi
test eax, eax
jle 0x4d0e59
xor edi, edi
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x2588]
push 0
push ebx
lea ecx, [esp + 0x1fc8]
push eax
push ecx
mov ecx, dword [ebp + 0x2598]
add edx, edi
push 0x2000c0
push edx
call fcn.00489ab0
mov eax, dword [ebp + 0x258c]
inc esi
add edi, 0x6c
cmp esi, eax
jl 0x4d0e22
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add edi, edx
mov edx, dword [esp + 0x14]
add ebx, ecx
add esi, ecx
mov ecx, dword [esp + 0x64]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
jl 0x4d0d56
xor ebx, ebx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x5d911c
call fcn.0055969a
mov eax, dword [esp + 0x9fd4]
push ebx
push 1
lea ecx, [esp + 0x30]
or esi, 0xffffffff
push eax
push ecx
mov dword [esp + 0x9fdc], esi
call fcn.0040ce30
mov ecx, eax
call fcn.00473030
mov edx, dword [esp + 0x24]
mov dword [esp + 0x9fc8], 1
push edx
call fcn.0043cbb0
add esp, 4
test al, al
jne 0x4d0f10
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.005593a1
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043e710
add esp, 8
cmp dword [esp + 0x34], ebx
je 0x4d0f23
mov edx, dword [esp + 0x20]
push edx
call fcn.0048d6c0
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x9fc8], esi
call fcn.0055962c
jmp 0x4d14b6
push ecx
mov dword [esp + 0x4c], 2
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x5ed678
call fcn.0055969a
push 1
push 2
lea eax, [esp + 0x24]
or edi, 0xffffffff
push esi
push eax
mov dword [esp + 0x9fdc], edi
call fcn.0040ce30
mov ecx, eax
call fcn.00473030
mov ecx, dword [esp + 0x18]
push 0x5ed678
push ecx
mov dword [esp + 0x9fd0], 3
call fcn.00541319
add esp, 8
test eax, eax
jne 0x4d0fa7
lea ecx, [esp + 0x18]
mov dword [esp + 0x9fc8], edi
call fcn.0055962c
jmp 0x4d14df
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.005593a1
call fcn.0043f4c0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4d0fdf
lea ecx, [esp + 0x18]
mov dword [esp + 0x9fc8], 0xffffffff
call fcn.0055962c
jmp 0x4d14df
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
cmp edi, 0xc800
mov dword [esp + 0x30], edi
jb 0x4d0ffc
mov dword [esp + 0x38], 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x4d1016
push esi
call fcn.0048d6c0
add esp, 4
jmp 0x4d0fc6
mov ecx, dword [esp + 0x9fd0]
mov edx, dword [ebp + 0x150]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov dword [esp + 0x7c], edx
mov eax, edi
xor edx, edx
div ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], eax
imul eax, ecx
sub edi, eax
je 0x4d105c
inc dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x3dc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x3d8]
mov esi, ecx
mov dword [esp + 0x14], esi
inc esi
cmp esi, ebx
mov dword [esp + 0x10], esi
jne 0x4d10a5
cmp eax, ebx
je 0x4d1094
push eax
call fcn.00558a4c
add esp, 4
mov dword [ebp + 0x3d8], ebx
mov dword [ebp + 0x3e0], ebx
mov dword [ebp + 0x3dc], ebx
jmp 0x4d1301
cmp eax, ebx
jne 0x4d1122
mov edi, esi
shl edi, 6
sub edi, esi
shl edi, 7
push edi
call fcn.00558a23
mov edx, eax
mov ecx, edi
mov dword [ebp + 0x3d8], edx
mov dword [esp + 0x24], edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], edi
cmp edi, ebx
mov byte [esp + 0x9fc8], 4
je 0x4d10f7
mov ecx, edi
call fcn.0042c1d0
add edi, 0x1f80
dec esi
mov byte [esp + 0x9fc8], 3
mov dword [esp + 0x20], edi
jne 0x4d10e0
mov eax, dword [esp + 0x14]
inc eax
mov dword [ebp + 0x3e0], eax
mov dword [ebp + 0x3dc], eax
jmp 0x4d1301
mov edi, dword [ebp + 0x3e0]
cmp esi, edi
jg 0x4d11b4
cmp esi, ecx
jle 0x4d11a2
mov edx, esi
mov esi, ecx
shl esi, 6
sub edx, ecx
sub esi, ecx
mov ecx, edx
mov dword [esp + 0x10], edx
shl ecx, 6
sub ecx, edx
shl esi, 7
shl ecx, 7
add esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x20], esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4d11a2
lea edi, [eax + 1]
mov dword [esp + 0x10], esi
cmp esi, ebx
mov byte [esp + 0x9fc8], 5
je 0x4d118d
mov ecx, esi
call fcn.0042c1d0
add esi, 0x1f80
dec edi
mov byte [esp + 0x9fc8], 3
mov dword [esp + 0x20], esi
jne 0x4d1176
mov edx, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [ebp + 0x3dc], eax
jmp 0x4d1301
mov eax, dword [ebp + 0x3e4]
cmp eax, ebx
jne 0x4d11e1
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4d11d5
mov eax, 4
jmp 0x4d11e1
cmp eax, 0x400
jle 0x4d11e1
mov eax, 0x400
add eax, edi
cmp esi, eax
jge 0x4d11e9
mov esi, eax
mov eax, esi
mov dword [esp + 0x34], esi
shl eax, 6
sub eax, esi
shl eax, 7
push eax
call fcn.00558a23
mov edx, dword [ebp + 0x3dc]
mov esi, dword [ebp + 0x3d8]
mov ecx, edx
mov edi, eax
shl ecx, 6
sub ecx, edx
mov dword [esp + 0x28], eax
shl ecx, 7
mov edx, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x3dc]
mov esi, dword [esp + 0x10]
mov edx, ecx
sub esi, ecx
shl edx, 6
sub edx, ecx
mov ecx, esi
shl ecx, 6
sub ecx, esi
shl edx, 7
shl ecx, 7
add edx, eax
mov ebx, ecx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
dec esi
test eax, eax
je 0x4d12cf
inc esi
xor ebx, ebx
mov dword [esp + 0x20], esi
mov esi, 1
cmp edx, ebx
je 0x4d12bc
mov ecx, 0x7d0
xor eax, eax
lea edi, [edx + 0x40]
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 8], esi
mov dword [edx + 0xc], esi
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], ebx
mov dword [edx + 0x18], ebx
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x20], 0x200
mov dword [edx + 0x24], ebx
mov dword [edx + 0x28], 0xa
mov dword [edx + 0x2c], ebx
mov dword [edx + 0x30], ebx
mov dword [edx + 0x34], 0x1388
mov dword [edx + 0x38], ebx
mov dword [edx + 0x3c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
add edx, 0x1f80
dec eax
mov dword [esp + 0x20], eax
jne 0x4d1271
jmp 0x4d12d1
xor ebx, ebx
mov eax, dword [ebp + 0x3d8]
push eax
call fcn.00558a4c
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [ebp + 0x3d8], ecx
lea eax, [edx + 1]
mov dword [ebp + 0x3dc], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x3e0], eax
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x3d8]
mov edi, eax
mov ecx, 0x7e0
shl edi, 6
sub edi, eax
mov eax, dword [esp + 0x64]
shl edi, 7
lea esi, [esp + 0x40]
add edi, edx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
rep movsd dword es:[edi], dword [esi]
jle 0x4d14a0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], 1
neg eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x28]
mov cl, byte [esp + eax + 0x7f]
test cl, cl
jne 0x4d145c
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x60]
dec ecx
cmp eax, ecx
jne 0x4d1381
mov ebx, dword [esp + 0x1c]
mov edi, 0x5ed678
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5fc0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x68]
push 0
push edx
mov edx, dword [esp + 0x30]
push 2
push ebx
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x9fec]
push edx
push eax
push ecx
lea edx, [esp + 0x5fe8]
push str._08x_ld_d_d_d_d_d_d_d_08x
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x44]
add esp, 0x30
lea ecx, [esp + 0x5fc0]
push 0
push ebx
push eax
push ecx
mov ecx, dword [ebp + 0x2598]
push 0x2000c0
call fcn.00489b60
test eax, eax
jne 0x4d1417
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x258c]
xor esi, esi
test eax, eax
jle 0x4d145c
xor edi, edi
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x2588]
push 0
push ebx
lea eax, [esp + 0x5fc8]
push edx
push eax
add ecx, edi
push 0x2000c0
push ecx
mov ecx, dword [ebp + 0x2598]
call fcn.00489ab0
mov eax, dword [ebp + 0x258c]
inc esi
add edi, 0x6c
cmp esi, eax
jl 0x4d1425
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add edi, edx
mov edx, dword [esp + 0x28]
add ebx, ecx
add esi, ecx
mov ecx, dword [esp + 0x64]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], edx
jl 0x4d135c
lea ecx, [esp + 0x18]
mov dword [esp + 0x9fc8], 0xffffffff
call fcn.0055962c
xor ebx, ebx
cmp dword [esp + 0x38], ebx
je 0x4d14df
mov ebp, dword [ebp + 0x2548]
cmp ebp, ebx
je 0x4d14df
cmp dword [ebp + 0x178], ebx
je 0x4d14df
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov ecx, dword [esp + 0x9fc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x9fbc
ret 8