Function at 0x40d2c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43fa70
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x455ac0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455ac0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [str.task_28_r]
mov dl, byte [0x444044]
mov ebp, ecx
mov ecx, dword [0x444040]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], dl
call fcn.004030d0
push 0x2710
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
mov dword [esp + 0x4c], 0
call fcn.004075d0
mov eax, dword [esp + 0x14]
or esi, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x44], esi
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d35e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.InvalidCommand_r
lea ecx, [esp + 0x18]
call fcn.004030d0
push 0xea60
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov dword [esp + 0x4c], 1
call fcn.004075d0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x44], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40d3b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041600b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d3cb
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], 2
jmp 0x40d3f0
push 0x443898
lea ecx, [esp + 0x1c]
call fcn.004030d0
push str.ommand
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call fcn.004030d0
push 0xea60
lea ecx, [esp + 0x1c]
push ecx
push 1
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
mov byte [esp + 0x58], 4
call fcn.00407630
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 5
call fcn.0040a6b0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x44], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d469
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d48e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x44], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x40d4c9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x40d4d7
call fcn.0041600b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push 0x443fac
lea ecx, [esp + 0x30]
call fcn.0040cbc0
mov esi, dword [esp + 0x28]
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x44], 6
test eax, eax
je 0x40d3c1
mov ecx, esi
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d528
test dx, dx
je 0x40d524
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d528
add eax, 4
add ecx, 4
test dx, dx
jne 0x40d502
xor eax, eax
jmp 0x40d52d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
setne bl
mov byte [esp + 0x44], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d553
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40d5ff
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x40d56d
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x40d57b
call fcn.0041600b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
push eax
push 0x444020
lea ecx, [esp + 0x2c]
call fcn.0040cbc0
mov esi, dword [esp + 0x24]
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x44], 7
test eax, eax
je 0x40d3c1
mov ecx, esi
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40d5cc
test dx, dx
je 0x40d5c8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40d5cc
add eax, 4
add ecx, 4
test dx, dx
jne 0x40d5a6
xor eax, eax
jmp 0x40d5d1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
setne bl
mov byte [esp + 0x44], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d5f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x40d3f0
lea eax, [edi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d623
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004239ff
add esp, 0x34
ret 4