Function at 0x468350
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x55ab5c]
sub esp, 0x28
test eax, eax
jne 0x468361
call fcn.004618c0
mov eax, dword [0x55a1fc]
push ebp
push esi
cmp eax, 6
push edi
jb 0x468782
mov esi, dword [esp + 0x38]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x468391
mov dword [esp + 0x38], eax
add eax, 0xfffffff4
push eax
call ebp
jmp 0x4683a5
mov ecx, dword [0x546560]
push eax
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x3c]
call fcn.00405920
push 0
push 0x54b1c0
lea ecx, [esp + 0x40]
call fcn.00405c70
test eax, eax
jne 0x4686de
mov eax, dword [0x546560]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
push 0x3e
push 1
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00518490
mov ecx, dword [esp + 0x48]
push 0x3e
push 2
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00518490
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
add esp, 0x20
cmp ecx, eax
je 0x46844d
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x46841b
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x468422
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x468432
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x20]
call fcn.00405870
jmp 0x468449
lea ecx, [esp + 0x18]
call fcn.00412670
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
add eax, 0xfffffff4
push eax
call ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 8]
test edx, edx
je 0x468491
mov eax, dword [esi]
cmp eax, ecx
je 0x4684d3
mov edi, dword [eax - 0xc]
test edi, edi
jge 0x468472
mov edi, dword [0x546564]
add eax, 0xfffffff4
cmp eax, edi
jne 0x468479
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x468484
push ecx
push edx
mov ecx, esi
call fcn.00405870
jmp 0x4684d3
mov ecx, esi
call fcn.00412670
mov eax, dword [esp + 0x14]
jmp 0x4684cb
mov ecx, dword [esi]
cmp ecx, eax
je 0x4684d3
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4684ab
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4684b2
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4684c0
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, esi
call fcn.00405870
jmp 0x4684d3
mov ecx, esi
call fcn.00412670
mov eax, dword [esp + 0x10]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call ebp
push 0
push str._select
lea ecx, [esp + 0x40]
call fcn.00405c70
test eax, eax
jl 0x4686af
mov edx, dword [esp + 0x38]
add eax, 8
push ebx
mov ecx, dword [edx - 8]
lea edx, [esp + 0x10]
sub ecx, eax
push ecx
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.00413750
lea ecx, [esp + 0x10]
call fcn.004055c0
mov esi, dword [esp + 0x10]
mov ax, word [esi]
push eax
call fcn.005320d3
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
add esp, 4
test eax, eax
je 0x468540
push esi
call ebx
mov esi, eax
mov ax, word [esi]
push eax
call fcn.005320d3
add esp, 4
test eax, eax
jne 0x46852b
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, eax
mov edi, dword [eax - 8]
sar ecx, 1
sub edi, ecx
lea edx, [edi + edi + 2]
push edx
push esi
push eax
call fcn.00531870
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [eax - 8], edi
call fcn.004055c0
mov edi, dword [esp + 0x10]
xor esi, esi
cmp word [edi], si
je 0x4685b2
mov ax, word [edi]
push eax
call fcn.005320d3
add esp, 4
test eax, eax
je 0x468591
test esi, esi
jne 0x468593
mov esi, edi
jmp 0x468593
xor esi, esi
push edi
call ebx
mov edi, eax
cmp word [edi], 0
jne 0x468579
test esi, esi
je 0x4685b2
mov word [esi], 0
mov eax, dword [esp + 0x10]
sub esi, eax
sar esi, 1
mov dword [eax - 8], esi
push 0x553d98
push 0x548a98
lea ecx, [esp + 0x18]
call fcn.004139f0
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea ecx, [esp + 0x38]
call fcn.005106b0
lea edx, [esp + 0x28]
push 0x8000
push edx
lea ecx, [esp + 0x38]
call fcn.005108f0
mov ecx, dword [0x55aa38]
mov esi, eax
pop ebx
mov eax, dword [esi]
cmp ecx, eax
je 0x46863b
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x46860b
mov edx, dword [0x546564]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x468612
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x468623
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, 0x55aa38
call fcn.00405870
jmp 0x46863b
mov ecx, 0x55aa38
call fcn.00412670
mov esi, dword [esi]
mov dword [0x55aa38], esi
add esi, 0xfffffff4
push esi
call ebp
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x46866a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46866a
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
push 0x55aa38
mov ecx, 0x55aa3c
call fcn.004129b0
lea ecx, [esp + 0x2c]
call fcn.0050fe40
lea ecx, [esp + 0xc]
call fcn.00405700
lea ecx, [esp + 0x28]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x10]
jmp 0x468774
push esi
mov ecx, 0x55aa3c
call fcn.004129b0
lea ecx, [esp + 0x28]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
push str.::26EE0668_A00A_44D7_9371_BEB064C98683
lea ecx, [esp + 0x24]
call fcn.00405730
push esi
lea ecx, [esp + 0x20]
call fcn.00405440
lea ecx, [esp + 0x1c]
call fcn.004055c0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
mov ecx, dword [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.00405c70
test eax, eax
jl 0x468767
mov edx, dword [esi]
push 1
push 0
push 0
push edx
push str.explore
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x553dd8
mov ecx, esi
call fcn.00433000
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x38]
call fcn.00405700
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x28
ret
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x38]
call fcn.00405700
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x28
ret