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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d04e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
xor bl, bl
mov dword [ebp - 0x30], esi
call fcn.0042b830
cmp byte [eax + 0x1c], bl
je 0x45fe20
call fcn.0042b830
test byte [eax + 0x20], 4
je 0x45fe20
call fcn.0042b830
mov dword [ebp - 0x38], eax
call fcn.004047f0
mov dword [ebp - 0x34], eax
test eax, eax
je 0x46035d
mov edx, dword [eax]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x34]
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
push 0x25
push str.Waiting_for_commands._File_map_name:
call fcn.00402660
mov edx, dword [edi + 0xc]
test edx, edx
je 0x45fd79
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fd60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00402660
call fcn.004047f0
mov edi, eax
test edi, edi
je 0x46035d
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
push 0
push 0x530654
call fcn.00402660
push ecx
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push eax
call fcn.0042bba0
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x45fdef
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x45fe1d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
push 0xa
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45fe72
test bl, bl
jne 0x45fe4d
mov ecx, edi
call fcn.00461c90
test al, al
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0xea60
ja 0x460342
push 0xa
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x45fe35
test eax, eax
jne 0x460334
mov ebx, dword [edi]
call fcn.004047f0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x46035d
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x38]
call esi
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xa
test ebx, ebx
je 0x45fee1
test ebx, 0xffff0000
jne 0x45fec5
movzx eax, bx
lea ecx, [ebp - 0x20]
push eax
call fcn.004043d0
jmp 0x45feed
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fed0
sub ecx, edx
sar ecx, 1
jmp 0x45fee3
xor ecx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x20]
call fcn.00403870
mov dword [ebp - 4], 0xb
mov ebx, dword [edi]
add ebx, 0x820
call fcn.004047f0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x46035d
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x38]
call esi
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xc
test ebx, ebx
je 0x45ff58
test ebx, 0xffff0000
jne 0x45ff42
movzx eax, bx
lea ecx, [ebp - 0x1c]
push eax
call fcn.004043d0
jmp 0x45ff64
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ff47
sub ecx, edx
sar ecx, 1
jmp 0x45ff5a
xor ecx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00403870
mov byte [ebp - 4], 0xd
mov ebx, dword [edi]
add ebx, 0x1040
call fcn.004047f0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x46035d
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x38]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
test ebx, ebx
je 0x45ffd1
test ebx, 0xffff0000
jne 0x45ffb6
movzx eax, bx
lea ecx, [ebp - 0x18]
push eax
call fcn.004043d0
jmp 0x45ffdd
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ffc0
sub ecx, edx
sar ecx, 1
jmp 0x45ffd3
xor ecx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x18]
call fcn.00403870
mov byte [ebp - 4], 0xf
mov ebx, dword [edi]
add ebx, 0x1860
call fcn.004047f0
mov dword [ebp - 0x38], eax
test eax, eax
je 0x46035d
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, dword [ebp - 0x38]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x10
test ebx, ebx
je 0x460045
test ebx, 0xffff0000
jne 0x46002f
movzx eax, bx
lea ecx, [ebp - 0x14]
push eax
call fcn.004043d0
jmp 0x460051
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460034
sub ecx, edx
sar ecx, 1
jmp 0x460047
xor ecx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x14]
call fcn.00403870
mov byte [ebp - 4], 0x11
mov ebx, dword [edi + 0x20]
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x460086
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [0x525578]
mov ecx, ebx
call esi
mov dword [ebp - 0x30], eax
call fcn.0042b830
cmp byte [eax + 0x1c], 0
je 0x460262
call fcn.0042b830
test byte [eax + 0x20], 4
je 0x460262
call fcn.0042b830
mov dword [ebp - 0x3c], eax
call fcn.004047f0
mov ebx, eax
test ebx, ebx
je 0x46035d
mov edx, dword [ebx]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x10]
push 8
push str.Command
call fcn.00402660
mov edi, dword [edi]
mov byte [ebp - 4], 0x15
call fcn.004047f0
mov ebx, eax
test ebx, ebx
je 0x46035d
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x15
lea eax, [edi + 0x1860]
push eax
lea eax, [edi + 0x1040]
mov dword [ebp - 0x28], 1
push eax
lea eax, [edi + 0x820]
push eax
push edi
lea eax, [ebp - 0x34]
push str._s___s_____s_____s__
push eax
call fcn.00408fe0
mov esi, dword [ebp - 0x34]
add esp, 0x18
test esi, esi
je 0x460169
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460150
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00402660
push str._executed._Return_code:
lea ecx, [ebp - 0x10]
call fcn.0040da80
push dword [ebp - 0x30]
lea ecx, [ebp - 0x10]
call fcn.0042b240
mov dword [ebp - 0x38], eax
call fcn.004047f0
mov ebx, eax
test ebx, ebx
je 0x46035d
mov edx, dword [ebx]
mov edi, dword [edx + 0xc]
mov ecx, edi
call dword [0x525578]
mov ecx, ebx
call edi
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x24]
push 0
push 0x530654
call fcn.00402660
push ecx
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x3c]
push eax
call fcn.0042bba0
mov byte [ebp - 4], 0x15
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x24]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4601fe
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x525578]
mov ecx, ebx
call edi
or ebx, 0xffffffff
mov eax, 1
mov dword [ebp - 0x28], eax
and eax, 0xfffffffe
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 0x14
lea ecx, [esi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x460233
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x11
mov eax, ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x46025d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x2c]
jmp 0x460265
or ebx, 0xffffffff
mov eax, dword [edi]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x2080], ecx
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov byte [ebp - 4], 0xf
mov eax, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4602a3
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0xd
mov eax, ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4602cd
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0xb
mov eax, ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4602f7
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x46034b
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ecx + 0x2080], eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004027d0
int3