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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c138
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ac], ecx
cmp dword [ebp + 8], 0
je 0x4c67d9
call fcn.00512780
movzx eax, al
test eax, eax
jne 0x4c67e0
cmp dword [ebp + 0xc], 1
jne 0x4c67e0
xor eax, eax
jmp 0x4c6bf6
mov dword [ebp - 0x10c], 0
cmp dword [ebp + 0xc], 0
je 0x4c67f6
cmp dword [ebp + 0xc], 3
jne 0x4c6804
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x10c], ecx
jmp 0x4c6847
cmp dword [ebp + 0xc], 1
jne 0x4c681b
mov edx, dword [ebp - 0x1ac]
add edx, 0xc
mov dword [ebp - 0x10c], edx
jmp 0x4c6847
cmp dword [ebp + 0xc], 4
jne 0x4c6832
mov eax, dword [ebp - 0x1ac]
add eax, 0x18
mov dword [ebp - 0x10c], eax
jmp 0x4c6847
cmp dword [ebp + 0xc], 5
jne 0x4c6847
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x24
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x108], 0
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp - 0x10c]
call fcn.0042a740
jmp 0x4c6870
lea ecx, [ebp - 0x110]
call fcn.00466400
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x10c]
call fcn.00441520
push eax
lea ecx, [ebp - 0x110]
call fcn.00429660
movzx ecx, al
test ecx, ecx
je 0x4c6bf0
mov edx, dword [ebp - 0x108]
cmp edx, dword [ebp + 8]
jge 0x4c6bf0
lea ecx, [ebp - 0x110]
call fcn.00428500
mov eax, dword [eax]
mov dword [ebp - 0x11c], eax
cmp dword [ebp + 0xc], 3
jne 0x4c68e5
mov ecx, dword [ebp - 0x11c]
call fcn.0050e3f0
movzx ecx, ax
cmp ecx, 0xf
jl 0x4c68e3
mov edx, dword [ebp - 0x11c]
movzx eax, word [edx + 0x20]
cmp eax, 3
je 0x4c68e5
jmp 0x4c6865
call fcn.005127c0
mov ecx, eax
call fcn.00510ea0
push eax
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ecx + 0x50]
push edx
call fcn.004c57f0
add esp, 8
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], 2
call fcn.005127c0
mov ecx, eax
call fcn.00510ea0
shr eax, 3
mov ecx, dword [ebp - 0x1ac]
cmp dword [ecx + 0x50], eax
jae 0x4c6938
mov dword [ebp - 0x114], 5
cmp dword [ebp + 0xc], 1
jne 0x4c6953
mov eax, dword [ebp - 0x118]
cdq
idiv dword [ebp - 0x114]
mov dword [ebp - 0x1b0], eax
jmp 0x4c695f
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x118], eax
cmp dword [ebp + 0xc], 4
jne 0x4c697b
mov dword [ebp - 0x118], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x11c]
sub eax, dword [ecx + 0x44]
cmp eax, dword [ebp - 0x118]
jl 0x4c6beb
mov edx, dword [ebp - 0x11c]
cmp dword [edx + 0x40], 0
jle 0x4c6beb
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 0x3c], 1
jne 0x4c6beb
mov ecx, dword [ebp - 0x1ac]
add ecx, 0x58
push ecx
lea ecx, [ebp - 0x24]
call fcn.0050eb50
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1b8]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.0047b840
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0050ea10
mov edx, dword [ebp - 0x164]
sub edx, 1
mov dword [ebp - 0x164], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x160], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x44], eax
mov dword [ebp - 0x168], 2
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x3c], 2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x124], eax
push 7
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4c6b92
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.WS2_32.dll_htonl]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0050c2e0
add esp, 8
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0050c2e0
add esp, 8
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], edx
mov byte [ebp - 4], 4
push str._kernel_post_connect_peerpubip_1_localip_2_tcpport_3_udpport_4_nat_5_location_6_
lea ecx, [ebp - 0xcc]
call fcn.0040e500
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x11c]
add ecx, 0x24
push ecx
mov edx, dword [ebp - 0x11c]
add edx, 0x20
push edx
mov eax, dword [ebp - 0x11c]
add eax, 0x1e
push eax
mov ecx, dword [ebp - 0x11c]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x1c0]
push edx
mov eax, dword [ebp - 0x1c8]
push eax
mov ecx, dword [ebp - 0x1d0]
call fcn.0040e820
mov ecx, eax
call fcn.0040e820
mov ecx, eax
call fcn.004286e0
mov ecx, eax
call fcn.004286e0
mov ecx, eax
call fcn.004286e0
mov ecx, eax
call fcn.0040e7e0
push eax
push 7
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xcc]
call fcn.0040c9f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe8]
call fcn.00402c30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
call fcn.00402c30
xor ecx, ecx
jne 0x4c6a50
lea edx, [ebp - 0x1a4]
push edx
call fcn.005194f0
mov ecx, eax
call fcn.00519d70
test eax, eax
jne 0x4c6bcf
mov eax, dword [ebp - 0x11c]
mov dword [eax + 0x3c], 2
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
jmp 0x4c6bd9
mov dword [ebp - 0x168], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a4]
call fcn.0047bd80
jmp 0x4c6865
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 8