Function at 0x4023a0
Capabilities:
Create process on windows

Disassembly:
push 0x144
mov eax, 0x43cc37
call fcn.0043c0ef
mov esi, ecx
and dword [ebp - 0xec], 0
call fcn.004083b8
test al, al
je 0x4023da
mov edx, dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea ecx, [ebp - 0x58]
call fcn.0040b409
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push 5
jmp 0x4023f4
mov edx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x40]
call fcn.0040b409
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
pop ebx
mov dword [ebp - 0xec], ebx
mov byte [ebp - 0xf0], 0
jb 0x40240d
mov eax, dword [eax]
push dword [ebp - 0xf0]
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.00406dc6
add esp, 0xc
or ebx, 0x10
mov dword [ebp - 4], 2
test bl, 2
je 0x40243d
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffd
call fcn.00404757
mov byte [ebp - 4], 4
test bl, 1
je 0x40244e
lea ecx, [ebp - 0x58]
call fcn.00404757
xor eax, eax
lea edi, [ebp - 0x104]
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 - 0x150]
pop edi
push edi
push ebx
push eax
call fcn.00422e80
add esp, 8
mov dword [ebp - 0x150], edi
lea ecx, [ebp - 0xa0]
push 0x44b64c
call fcn.00404aa1
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xb8]
call fcn.0040625d
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.004077fc
lea ecx, [ebp - 0xb8]
call fcn.0040794e
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.0040794e
mov eax, 0x7ffffffe
sub eax, dword [ebp - 0x18]
cmp eax, 1
jb 0x402663
push 8
pop edi
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jb 0x4024f2
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
push 1
push 0x44b4b4
push ecx
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x40]
call fcn.00404ff7
push 0x44b4ac
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.00404a68
pop ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00405860
push eax
lea ecx, [ebp - 0x58]
call fcn.0040435b
push 0x44b4a4
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd0]
call fcn.00404a68
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
mov edx, eax
mov dword [esp], str._T__Q__C__reset
call fcn.00404a68
pop ecx
lea ecx, [ebp - 0xd0]
call fcn.0040794e
lea ecx, [ebp - 0x58]
call fcn.0040794e
lea ecx, [ebp - 0xe8]
call fcn.0040794e
lea ecx, [ebp - 0x40]
call fcn.0040794e
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], edi
jb 0x402597
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jb 0x4025a2
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x104]
push edx
lea edx, [ebp - 0x150]
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 0x4025ec
push 0xffffffffffffffff
push dword [ebp - 0x104]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x104]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x70]
call fcn.0040794e
mov eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x402642
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf0], ecx
cmp eax, 0x1000
jb 0x402639
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00407f7a
mov eax, dword [ebp - 0xec]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xf0]
push eax
push ecx
call fcn.0041ec23
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040794e
call fcn.0043c09e
ret
call fcn.00407d76
int3