Function at 0x402df0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x42b7d6
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x43abc0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43abc0]
xor eax, esp
push eax
lea eax, [esp + 0x2a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2b8]
mov ebx, dword [esp + 0x2b4]
mov dword [esp + 0x20], eax
call fcn.0040df5c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402e57
push 0x80004005
call fcn.00401140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x2b0], 0
call fcn.00402d00
mov esi, dword [esp + 0x18]
push 0x5c
push esi
call fcn.00417ffd
add esp, 0xc
test eax, eax
jne 0x402e94
or eax, 0xffffffff
jmp 0x402e96
sub eax, esi
mov ebp, dword [esi - 0xc]
lea edx, [ebp - 1]
cmp eax, edx
je 0x402ed6
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x402ec2
push edi
lea ecx, [esp + 0x18]
call fcn.00401560
mov esi, dword [esp + 0x14]
test edi, edi
mov byte [esi + ebp], 0x5c
jl 0x402ede
cmp edi, dword [esi - 8]
jg 0x402ede
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
test ebx, ebx
jne 0x402ee8
xor eax, eax
jmp 0x402efb
push 0x80070057
call fcn.00401140
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402ef0
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00401920
lea ecx, [esp + 0x60]
call fcn.00404530
lea ecx, [esp + 0x70]
call fcn.00404530
lea ecx, [esp + 0x80]
call fcn.00404530
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
push ebx
call fcn.00404bd0
test eax, eax
jne 0x402f73
push 0xffffffffffffffff
push 0x30
push 0x2713
call fcn.00412691
lea eax, [ebx - 0x10]
mov dword [esp + 0x2ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402f6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40316c
call fcn.0040df5c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402f8d
push 0x80004005
call fcn.00401140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0
push 0
lea ecx, [esp + 0x1a4]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xa6]
push eax
mov byte [esp + 0x2c0], 1
call fcn.00418324
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
add esp, 0x14
or eax, ecx
jge 0x402fec
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00401560
mov esi, dword [esp + 0x18]
push 0
push 0
lea ecx, [esp + 0x1a4]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
call fcn.004180ee
add esp, 0x14
test esi, esi
jne 0x40300e
xor eax, eax
jmp 0x403024
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403013
sub eax, edx
js 0x402ede
cmp eax, dword [esi - 8]
jg 0x402ede
push 0x5c
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call fcn.00417ffd
add esp, 8
test eax, eax
jne 0x403048
or eax, 0xffffffff
jmp 0x40304a
sub eax, esi
mov ebp, dword [esi - 0xc]
lea ecx, [ebp - 1]
cmp eax, ecx
je 0x403092
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x403076
push edi
lea ecx, [esp + 0x1c]
call fcn.00401560
mov esi, dword [esp + 0x18]
test edi, edi
mov byte [esi + ebp], 0x5c
jl 0x402ede
cmp edi, dword [esi - 8]
jg 0x402ede
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
push 0x3c
lea edx, [esp + 0x28]
push 0
push edx
call fcn.00417810
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x24]
lea eax, [esp + 0x96]
push edx
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40311c
push 0xffffffffffffffff
push 0x30
push 0x2712
call fcn.00412691
lea eax, [esi - 0x10]
mov byte [esp + 0x2ac], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402f45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x402f45
lea eax, [esi - 0x10]
mov byte [esp + 0x2ac], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403140
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x2ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403167
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28c]
xor ecx, esp
call fcn.00417c51
add esp, 0x29c
ret