Function at 0x402adb
Capabilities:
Create process on windows

Disassembly:
push 0x144
mov eax, 0x437f91
call fcn.0041f07f
mov esi, ecx
and dword [ebp - 0x14], 0
call fcn.00408a4a
test al, al
je 0x402b18
mov edx, dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea ecx, [ebp - 0xf0]
call fcn.0040b996
and dword [ebp - 4], 0
lea eax, [ebp - 0xf0]
push 5
jmp 0x402b38
mov edx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0xd8]
call fcn.0040b996
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 1
push 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
pop ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xac], 0
jb 0x402b4e
mov eax, dword [eax]
push dword [ebp - 0xac]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004075ae
add esp, 0xc
or ebx, 0x10
mov dword [ebp - 4], 2
test bl, 2
je 0x402b7e
lea ecx, [ebp - 0xd8]
and ebx, 0xfffffffd
call fcn.00404e47
mov byte [ebp - 4], 4
test bl, 1
je 0x402b92
lea ecx, [ebp - 0xf0]
call fcn.00404e47
xor eax, eax
lea edi, [ebp - 0xbc]
stosd dword es:[edi], eax
xor ebx, ebx
push 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xa8]
pop edi
push edi
push ebx
push eax
call fcn.00420570
add esp, 8
mov dword [ebp - 0xa8], edi
lea ecx, [ebp - 0x108]
push 0x446bd4
call fcn.004051ca
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x120]
call fcn.00406a2e
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00407fec
lea ecx, [ebp - 0x120]
call fcn.0040812b
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 9
call fcn.0040812b
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x1c]
cmp eax, 1
jb 0x402daa
push 8
pop edi
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x402c33
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x1c]
push eax
push 1
push 0x446a3c
push ecx
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xd8]
call fcn.00405748
push 0x446a34
lea edx, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x150]
call fcn.00405191
pop ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00405feb
push eax
lea ecx, [ebp - 0xf0]
call fcn.00404a3f
push 0x446a2c
lea edx, [ebp - 0xf0]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x138]
call fcn.00405191
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
mov edx, eax
mov dword [esp], str._T__Q__C__reset
call fcn.00405191
pop ecx
lea ecx, [ebp - 0x138]
call fcn.0040812b
lea ecx, [ebp - 0xf0]
call fcn.0040812b
lea ecx, [ebp - 0x150]
call fcn.0040812b
lea ecx, [ebp - 0xd8]
call fcn.0040812b
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jb 0x402cea
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x402cf5
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xbc]
push edx
lea edx, [ebp - 0xa8]
push edx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402d3f
push 0xffffffffffffffff
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x44]
call fcn.0040812b
mov eax, dword [ebp - 0x18]
cmp eax, edi
jb 0x402d8c
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xac], ecx
cmp eax, 0x1000
jb 0x402d83
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0040129b
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xac]
push eax
push ecx
call fcn.0041e729
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0040812b
call fcn.0041f02e
ret
call fcn.00408546
int3