Function at 0x4afe00
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44c
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x1c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
je 0x4afe48
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [0x542d10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push edx
push eax
push ecx
mov byte [ebp - 4], 2
call fcn.004ee807
cmp eax, edi
je 0x4afe89
mov eax, dword [ebp - 0x1c]
cmp eax, 3
je 0x4afe93
cmp eax, 0x100b
je 0x4afe93
push 1
call fcn.004b6090
add esp, 4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
lea esi, [ebx + 0x18]
push eax
push str.Host:__s_r_n
push esi
mov dword [ebx + 0x2c], edx
call fcn.004d261f
mov ecx, dword [ebp + 0x14]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004db1ee
mov ecx, dword [ebx + 0x2c]
push 1
call fcn.004eea9a
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x2c]
push edi
push edi
push edx
push eax
call fcn.004eea33
mov edx, dword [ebp - 0x1c]
mov esi, 0x100b
mov ecx, 0x24000000
cmp edx, esi
mov dword [ebx + 0x34], eax
mov dword [ebp + 0xc], ecx
jne 0x4afef4
mov ecx, 0x2480f000
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push edi
push edi
push 1
push edi
push ecx
push edx
mov ecx, eax
call fcn.004ef424
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x30], eax
cmp ecx, esi
jne 0x4aff3d
lea ecx, [ebp + 0xc]
push ecx
push 0x1f
mov ecx, eax
call fcn.004eebbf
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x30]
push edi
lea edx, [ebp + 0x14]
push 4
or ah, 1
push edx
push 0x1f
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x14], eax
call fcn.004eebe1
mov eax, dword [ebp + 0x1c]
cmp eax, edi
je 0x4b00dd
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4b00dd
push eax
mov dword [ebx + 0x14], eax
call fcn.004db3f6
mov ecx, dword [ebx + 0x14]
mov dword [ebx + 0x10], eax
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
jmp 0x4b00dd
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 1
cmp eax, edi
jne 0x4b037a
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x14], edi
push ecx
push edi
push ebx
push 0x4b0570
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edx, [ebx + 0x38]
push edi
push edx
lea ecx, [ebp - 0x34]
mov dword [ebx + 0x1c], eax
call fcn.004ba126
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 4
cmp eax, edi
mov dword [ebp + 0xc], edi
je 0x4b0283
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
push 1
push edi
push edi
lea eax, [ebp - 0x58]
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4b01e6
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [ebp - 0x54], 0x12
jne 0x4b01e6
mov ecx, dword [ebx + 0x30]
cmp ecx, edi
je 0x4b0181
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [ebx + 0x30]
cmp ecx, edi
je 0x4b017e
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebx + 0x30], edi
mov ecx, dword [ebx + 0x34]
cmp ecx, edi
je 0x4b019e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x34]
cmp ecx, edi
je 0x4b019b
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebx + 0x34], edi
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x4b01b1
push eax
call fcn.004db41f
add esp, 4
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x4b01ca
push eax
call fcn.004db41f
add esp, 4
mov dword [ebx + 0x10], edi
cmp dword [ebx + 0x2c], edi
je 0x4b01d2
mov dword [ebx + 0x2c], edi
mov eax, dword [ebx + 0x28]
lea ecx, [ebx + 0x18]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x20], eax
call fcn.004dad9d
mov dword [ebx + 0x20], edi
mov ecx, dword [ebx + 0x1c]
push 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x4b0304
cmp eax, 0xffffffff
je 0x4b0304
cmp dword [ebx + 0x20], edi
je 0x4b012f
cmp esi, edi
je 0x4b012f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x20]
sub eax, esi
cmp eax, ecx
jbe 0x4b012f
push edi
lea ecx, [ebp - 0x34]
call fcn.004ba14d
test eax, eax
je 0x4b027c
mov ecx, dword [ebx + 0x30]
cmp ecx, edi
je 0x4b0251
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov ecx, dword [ebx + 0x30]
cmp ecx, edi
je 0x4b024e
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebx + 0x30], edi
mov ecx, dword [ebx + 0x34]
cmp ecx, edi
je 0x4b026e
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [ebx + 0x34]
cmp ecx, edi
je 0x4b026b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebx + 0x34], edi
xor esi, esi
mov dword [ebp + 0xc], 1
jmp 0x4b012f
xor esi, esi
jmp 0x4b012f
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push edx
call esi
cmp eax, 0x102
je 0x4b029f
cmp eax, 0xffffffff
jne 0x4b0304
cmp dword [ebx + 0x20], edi
je 0x4b02fc
push edi
lea ecx, [ebp - 0x34]
call fcn.004ba14d
test eax, eax
je 0x4b02fc
mov ecx, dword [ebx + 0x30]
cmp ecx, edi
je 0x4b02ce
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [ebx + 0x30]
cmp ecx, edi
je 0x4b02cb
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebx + 0x30], edi
mov ecx, dword [ebx + 0x34]
cmp ecx, edi
je 0x4b02eb
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x34]
cmp ecx, edi
je 0x4b02e8
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [ebx + 0x34], edi
mov eax, dword [ebx + 0x1c]
push 0xffffffffffffffff
push eax
call esi
mov dword [ebp + 0xc], 1
jmp 0x4b0304
mov ecx, dword [ebx + 0x1c]
push 0xffffffffffffffff
push ecx
call esi
mov eax, dword [ebx + 0x1c]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebx + 0x1c]
cmp eax, edi
je 0x4b0320
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], edi
je 0x4b036b
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x4b036b
mov ecx, dword [0x542d10]
mov dword [ebp + 0xc], ecx
push 0xfa7d
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.004db9dc
mov esi, dword [esi]
push edi
lea ecx, [ebp + 0xc]
call fcn.004db242
mov ecx, dword [ebp + 8]
push eax
push 7
push 4
call dword [esi + 0x14]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
call fcn.004dae12
lea ecx, [ebp - 0x34]
mov dword [ebx + 0x1c], edi
mov byte [ebp - 4], 1
call fcn.004ba162
mov edx, dword [ebx + 0x28]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
mov dword [ebx + 0x20], edx
mov byte [ebp - 4], 0
call fcn.004dae12
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.004dae12
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c