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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x58f95a
push eax
mov eax, 0x9fb0
mov dword fs:[0], esp
call fcn.00550870
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x9fcc]
push esi
cmp ecx, ebx
push edi
je 0x4db87d
cmp dword [ebp + 0x2598], ebx
je 0x4db87d
cmp dword [ebp + 0x150], ebx
je 0x4db87d
mov edx, dword [ebp + 0x3dc]
mov esi, dword [esp + 0x9fd0]
xor eax, eax
cmp edx, ebx
jle 0x4dae8a
mov edi, dword [ebp + 0x3d8]
cmp dword [edi], esi
je 0x4db87d
inc eax
add edi, 0x1f80
cmp eax, edx
jl 0x4dae77
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.004e9440
mov edx, eax
cmp edx, ebx
jne 0x4daea5
cmp dword [esp + 0x3c], ebx
je 0x4db87d
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 0x4daf27
mov eax, dword [eax + 0x4670]
cmp eax, 0x80
mov dword [esp + 0x60], eax
jl 0x4daf1f
cmp eax, 0x10000
jle 0x4daf27
mov dword [esp + 0x60], 0x200
cmp edx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
je 0x4db2ba
push 0x18
push ebx
push edx
mov dword [esp + 0x54], ebx
call fcn.00493050
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x20], esi
je 0x4db87d
mov eax, dword [ebp + 0x2548]
cmp eax, ebx
je 0x4daf95
cmp dword [eax + 0x4668], ebx
je 0x4daf95
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, 0x80000
push esi
jb 0x4daf84
call fcn.00492a50
mov edi, eax
mov dword [esp + 0x4c], 2
jmp 0x4daf9b
call fcn.004928c0
mov edi, eax
mov dword [esp + 0x4c], 1
jmp 0x4daf9b
xor edi, edi
mov dword [esp + 0x4c], ebx
mov eax, 1
cmp edi, ebx
mov dword [esp + 0x34], eax
jne 0x4dafb6
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 0x4dafd9
push edi
call fcn.00493890
add esp, 4
jmp 0x4db87d
cmp esi, 0xc800
jb 0x4dafe9
mov dword [esp + 0x38], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x4db006
push edi
call fcn.00493890
add esp, 4
jmp 0x4db87d
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 0x4db04c
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.00436040
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 0x4db223
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], 0
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 0x4db1df
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x60]
dec ecx
cmp eax, ecx
jne 0x4db0ef
mov ebx, dword [esp + 0x1c]
mov edi, 0x5fe7d8
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.0048fd40
test eax, eax
jne 0x4db198
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4db223
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x258c]
xor esi, esi
test eax, eax
jle 0x4db1df
xor edi, edi
mov eax, dword [esp + 0x18]
push 0
push ebx
lea ecx, [esp + 0x1fc8]
push eax
push ecx
mov ecx, dword [ebp + 0x2588]
mov edx, edi
add edx, ecx
mov ecx, dword [ebp + 0x2598]
push 0x2000c0
push edx
call fcn.0048fc90
mov eax, dword [ebp + 0x258c]
inc esi
add edi, 0x6c
cmp esi, eax
jl 0x4db1a6
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 0x4db0ca
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x5ea198
call fcn.0056877a
mov eax, dword [esp + 0x9fd4]
push 0
push 1
lea ecx, [esp + 0x30]
or esi, 0xffffffff
push eax
push ecx
mov dword [esp + 0x9fdc], esi
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov edx, dword [esp + 0x24]
mov dword [esp + 0x9fc8], 1
push edx
call fcn.0043ea50
add esp, 4
test al, al
jne 0x4db295
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00568481
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004405b0
add esp, 8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4db2aa
mov edx, dword [esp + 0x20]
push edx
call fcn.00493890
add esp, 4
mov dword [esp + 0x9fc8], esi
lea ecx, [esp + 0x24]
jmp 0x4db84b
push ecx
mov dword [esp + 0x4c], 2
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x5fe7d8
call fcn.0056877a
push 1
push 2
lea eax, [esp + 0x24]
or edi, 0xffffffff
push esi
push eax
mov dword [esp + 0x9fdc], edi
call fcn.0040d0d0
mov ecx, eax
call fcn.00475800
mov ecx, dword [esp + 0x18]
push 0x5fe7d8
push ecx
mov dword [esp + 0x9fd0], 3
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x4db329
lea ecx, [esp + 0x18]
mov dword [esp + 0x9fc8], edi
call fcn.0056870c
jmp 0x4db87d
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00568481
call fcn.004414e0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4db361
lea ecx, [esp + 0x18]
mov dword [esp + 0x9fc8], 0xffffffff
call fcn.0056870c
jmp 0x4db87d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
cmp edi, 0xc800
mov dword [esp + 0x30], edi
jb 0x4db37e
mov dword [esp + 0x38], 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x4db398
push esi
call fcn.00493890
add esp, 4
jmp 0x4db348
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 0x4db3de
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 0x4db427
cmp eax, ebx
je 0x4db416
push eax
call fcn.00567b2c
add esp, 4
mov dword [ebp + 0x3d8], ebx
mov dword [ebp + 0x3e0], ebx
mov dword [ebp + 0x3dc], ebx
jmp 0x4db68b
cmp eax, ebx
jne 0x4db4a4
mov edi, esi
shl edi, 6
sub edi, esi
shl edi, 7
push edi
call fcn.00567b03
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 0x4db479
mov ecx, edi
call fcn.0042cc50
add edi, 0x1f80
dec esi
mov byte [esp + 0x9fc8], 3
mov dword [esp + 0x20], edi
jne 0x4db462
mov eax, dword [esp + 0x14]
inc eax
mov dword [ebp + 0x3e0], eax
mov dword [ebp + 0x3dc], eax
jmp 0x4db68b
mov edi, dword [ebp + 0x3e0]
cmp esi, edi
jg 0x4db536
cmp esi, ecx
jle 0x4db524
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 0x4db524
lea edi, [eax + 1]
mov dword [esp + 0x10], esi
cmp esi, ebx
mov byte [esp + 0x9fc8], 5
je 0x4db50f
mov ecx, esi
call fcn.0042cc50
add esi, 0x1f80
dec edi
mov byte [esp + 0x9fc8], 3
mov dword [esp + 0x20], esi
jne 0x4db4f8
mov edx, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [ebp + 0x3dc], eax
jmp 0x4db68b
mov eax, dword [ebp + 0x3e4]
cmp eax, ebx
jne 0x4db563
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4db557
mov eax, 4
jmp 0x4db563
cmp eax, 0x400
jle 0x4db563
mov eax, 0x400
add eax, edi
cmp esi, eax
jge 0x4db56b
mov esi, eax
mov eax, esi
mov dword [esp + 0x34], esi
shl eax, 6
sub eax, esi
shl eax, 7
push eax
call fcn.00567b03
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 0x4db659
inc esi
mov eax, 1
mov dword [esp + 0x20], esi
mov esi, 0x200
xor ebx, ebx
jmp 0x4db5ff
mov eax, 1
cmp edx, ebx
je 0x4db646
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov ecx, 0x7d0
xor eax, eax
lea edi, [edx + 0x40]
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], ebx
mov dword [edx + 0x18], ebx
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x20], esi
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 0x4db5fa
jmp 0x4db65b
xor ebx, ebx
mov eax, dword [ebp + 0x3d8]
push eax
call fcn.00567b2c
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 0x4db83c
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 0x4db7f8
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x60]
dec ecx
cmp eax, ecx
jne 0x4db70b
mov ebx, dword [esp + 0x1c]
mov edi, 0x5fe7d8
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.0048fd40
test eax, eax
jne 0x4db7b1
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4db83c
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x258c]
xor esi, esi
test eax, eax
jle 0x4db7f8
xor edi, edi
mov edx, dword [esp + 0x14]
push 0
push ebx
push edx
mov edx, dword [ebp + 0x2588]
lea eax, [esp + 0x5fcc]
mov ecx, edi
push eax
add ecx, edx
push 0x2000c0
push ecx
mov ecx, dword [ebp + 0x2598]
call fcn.0048fc90
mov eax, dword [ebp + 0x258c]
inc esi
add edi, 0x6c
cmp esi, eax
jl 0x4db7bf
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 0x4db6e6
mov dword [esp + 0x9fc8], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0056870c
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4db87d
mov ebp, dword [ebp + 0x2548]
test ebp, ebp
je 0x4db87d
mov eax, dword [ebp + 0x17c]
test eax, eax
je 0x4db87d
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