Function at 0x465b9c
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x49a823
call fcn.0046bcf0
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push esi
call fcn.00430f83
pop ecx
test al, al
je 0x465bcc
push 0x7b
call fcn.00458bb0
pop ecx
xor al, al
jmp 0x465f22
mov edi, 0x49cd2d
cmp dword [ebp + 0x10], 0
cmovne edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
cmp byte [esi], 0x7c
je 0x465e26
cmp byte [edi], 0x7c
je 0x465e26
lea ecx, [ebp - 0x24]
call fcn.00428bf1
push 8
push str.file:___
push esi
call fcn.0047e912
add esp, 0xc
test eax, eax
jne 0x465d6d
lea eax, [esi + 8]
mov ebx, closesocket
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.0042f82b
mov eax, 0x49bb60
cmp dword [ebp - 0x24], 0
cmovne eax, dword [ebp - 0x24]
push eax
call fcn.0044434b
pop ecx
test al, al
jne 0x465c65
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.0043e995
pop ecx
pop ecx
test al, al
je 0x465d6d
mov eax, 0x49bb60
cmp dword [ebp - 0x24], 0
cmovne eax, dword [ebp - 0x24]
push eax
call fcn.0044434b
pop ecx
test al, al
je 0x465c7a
mov esi, 0x49bb60
cmp dword [ebp - 0x24], 0
cmovne esi, dword [ebp - 0x24]
mov dword [ebp + 8], esi
jmp 0x465d6d
lea ecx, [ebp - 0x30]
call fcn.00428bf1
push 0xfde9
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0045983d
add esp, 0xc
test al, al
je 0x465d65
lea ecx, [ebp - 0x54]
call fcn.00428bf1
lea ecx, [ebp - 0x48]
call fcn.00428bf1
lea ecx, [ebp - 0x3c]
call fcn.00428bf1
push 0
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.00459862
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.00428bf1
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.0042f82b
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00446303
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00426528
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 0x14]
call fcn.00459862
mov esi, 0x49bb64
mov edx, esi
cmp dword [ebp - 0x3c], 0
cmovne edx, dword [ebp - 0x3c]
mov ecx, esi
cmp dword [ebp - 0x48], 0
cmovne ecx, dword [ebp - 0x48]
mov eax, esi
cmp dword [ebp - 0x54], 0
cmovne eax, dword [ebp - 0x54]
cmp dword [ebp - 0x30], 0
cmovne esi, dword [ebp - 0x30]
push dword [ebp + 0x18]
push edx
push ecx
push eax
push esi
call fcn.00465f31
add esp, 0x24
mov bl, al
lea ecx, [ebp - 0x3c]
call fcn.00426528
lea ecx, [ebp - 0x48]
call fcn.00426528
lea ecx, [ebp - 0x54]
call fcn.00426528
lea ecx, [ebp - 0x30]
call fcn.00426528
jmp 0x465e0a
lea ecx, [ebp - 0x30]
call fcn.00426528
call fcn.00458ba7
and dword [ebp - 4], 0
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push esi
mov ebx, dword [ebp + 0x14]
push ebx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
jmp 0x465db0
cmp eax, 5
jne 0x465e03
test ebx, ebx
je 0x465dca
push str.open
push ebx
call fcn.00430d94
pop ecx
pop ecx
test eax, eax
jne 0x465e08
mov dword [ebp - 4], 2
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push esi
push 0x4b3b04
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
jmp 0x465e03
cmp eax, 0x20
jg 0x465e12
xor bl, bl
lea ecx, [ebp - 0x24]
jmp 0x465f1b
call fcn.00458ba7
lea ecx, [ebp - 0x24]
call fcn.00426528
mov al, 1
jmp 0x465f22
lea ecx, [ebp - 0x30]
call fcn.00428bf1
lea ecx, [ebp - 0x3c]
call fcn.00428bf1
lea ecx, [ebp - 0x48]
call fcn.00428bf1
lea ecx, [ebp - 0x54]
call fcn.00428bf1
lea ecx, [ebp - 0x60]
call fcn.00428bf1
mov ebx, closesocket
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.0042f82b
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00446303
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00426528
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.00459862
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.00428bf1
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.0042f82b
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00446303
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00426528
push 0
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp + 0x14]
call fcn.00459862
mov esi, 0x49bb64
mov edx, esi
cmp dword [ebp - 0x54], 0
cmovne edx, dword [ebp - 0x54]
mov ecx, esi
cmp dword [ebp - 0x48], 0
cmovne ecx, dword [ebp - 0x48]
mov eax, esi
cmp dword [ebp - 0x3c], 0
cmovne eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x30], 0
cmovne esi, dword [ebp - 0x30]
push dword [ebp + 0x18]
push edx
push ecx
push eax
push esi
call fcn.00465f31
add esp, 0x24
mov bl, al
lea ecx, [ebp - 0x54]
call fcn.00426528
lea ecx, [ebp - 0x48]
call fcn.00426528
lea ecx, [ebp - 0x3c]
call fcn.00426528
lea ecx, [ebp - 0x30]
call fcn.00426528
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret