Function at 0x10023360
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0e4b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x100e6008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 1
mov byte [ebp - 0x89], 0
movzx eax, byte [ebp - 0x89]
test eax, eax
jne 0x100233ff
movzx ecx, byte [ebp + 0x3c]
test ecx, ecx
je 0x100233ff
lea ecx, [ebp + 8]
call fcn.10006970
push eax
call fcn.10022c50
mov ecx, eax
call fcn.10022d00
movzx edx, al
test edx, edx
jne 0x100233ff
mov byte [ebp - 0x8a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.100069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.100069e0
mov al, byte [ebp - 0x8a]
jmp 0x100236a7
push 0x44
push 0
lea eax, [ebp - 0xf4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xf4], 0x44
mov dword [ebp - 0xc8], 0x80
lea ecx, [ebp + 0x20]
call fcn.10006960
movzx edx, al
test edx, edx
jne 0x100234a4
lea ecx, [ebp + 0x20]
call fcn.10006970
movzx eax, word [eax]
cmp eax, 0x20
je 0x100234a4
lea ecx, [ebp + 0x20]
push ecx
mov edx, 0x100c7abc
lea ecx, [ebp - 0x70]
call fcn.10018530
add esp, 4
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp + 0x20]
call fcn.10006a20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.100069e0
lea ecx, [ebp - 0x28]
call fcn.10006ad0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
lea ecx, [ebp + 8]
call fcn.100178e0
movzx ecx, al
test ecx, ecx
jne 0x100234ca
lea ecx, [ebp - 0x28]
call fcn.1000b380
lea edx, [ebp + 8]
push edx
mov edx, 0x100c3354
lea ecx, [ebp - 0x88]
call fcn.10018530
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 4
push 0x100c3354
mov edx, dword [ebp - 0xac]
lea ecx, [ebp - 0x58]
call fcn.10018610
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.100069e0
lea ecx, [ebp + 0x20]
push ecx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.10017240
add esp, 4
mov byte [ebp - 4], 7
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x28]
call fcn.10006970
push eax
push 0
push 0x4000020
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.10006970
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100235bc
mov byte [ebp - 0x8b], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.100069e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.100069e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100069e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.100069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.100069e0
mov al, byte [ebp - 0x8b]
jmp 0x100236a7
cmp dword [ebp + 0x40], 0
je 0x100235cd
mov ecx, dword [ebp + 0x40]
mov edx, dword [ebp - 0x94]
mov dword [ecx], edx
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x1002361b
cmp dword [ebp - 0x9c], 0
je 0x1002361b
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x44], 0
je 0x10023604
mov edx, dword [ebp + 0x44]
push edx
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x98], 0
je 0x1002363b
mov edx, dword [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x98], 0
cmp dword [ebp - 0x9c], 0
je 0x1002365b
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0x8c], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.100069e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.100069e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100069e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.100069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.100069e0
mov al, byte [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ab466
mov esp, ebp
pop ebp
ret