Function at 0x466330
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x49b273
call fcn.0046c73c
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push esi
call fcn.004310e3
pop ecx
test al, al
je 0x466360
push 0x7b
call fcn.0045907c
pop ecx
xor al, al
jmp 0x4666b6
mov edi, 0x49dd3d
cmp dword [ebp + 0x10], 0
cmovne edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
cmp byte [esi], 0x7c
je 0x4665ba
cmp byte [edi], 0x7c
je 0x4665ba
lea ecx, [ebp - 0x24]
call fcn.00428cde
push 8
push str.file:___
push esi
call fcn.0047f362
add esp, 0xc
test eax, eax
jne 0x466501
lea eax, [esi + 8]
mov ebx, closesocket
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.0042f986
mov eax, 0x49cb70
cmp dword [ebp - 0x24], 0
cmovne eax, dword [ebp - 0x24]
push eax
call fcn.0044471b
pop ecx
test al, al
jne 0x4663f9
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.0043ecd6
pop ecx
pop ecx
test al, al
je 0x466501
mov eax, 0x49cb70
cmp dword [ebp - 0x24], 0
cmovne eax, dword [ebp - 0x24]
push eax
call fcn.0044471b
pop ecx
test al, al
je 0x46640e
mov esi, 0x49cb70
cmp dword [ebp - 0x24], 0
cmovne esi, dword [ebp - 0x24]
mov dword [ebp + 8], esi
jmp 0x466501
lea ecx, [ebp - 0x30]
call fcn.00428cde
push 0xfde9
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00459d09
add esp, 0xc
test al, al
je 0x4664f9
lea ecx, [ebp - 0x54]
call fcn.00428cde
lea ecx, [ebp - 0x48]
call fcn.00428cde
lea ecx, [ebp - 0x3c]
call fcn.00428cde
push 0
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.00459d2e
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.00428cde
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.0042f986
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004466d3
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00426615
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 0x14]
call fcn.00459d2e
mov esi, 0x49cb74
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.004666c5
add esp, 0x24
mov bl, al
lea ecx, [ebp - 0x3c]
call fcn.00426615
lea ecx, [ebp - 0x48]
call fcn.00426615
lea ecx, [ebp - 0x54]
call fcn.00426615
lea ecx, [ebp - 0x30]
call fcn.00426615
jmp 0x46659e
lea ecx, [ebp - 0x30]
call fcn.00426615
call fcn.00459073
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 0x466544
cmp eax, 5
jne 0x466597
test ebx, ebx
je 0x46655e
push str.open
push ebx
call fcn.00430f27
pop ecx
pop ecx
test eax, eax
jne 0x46659c
mov dword [ebp - 4], 2
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push esi
push 0x4b4bb0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
jmp 0x466597
cmp eax, 0x20
jg 0x4665a6
xor bl, bl
lea ecx, [ebp - 0x24]
jmp 0x4666af
call fcn.00459073
lea ecx, [ebp - 0x24]
call fcn.00426615
mov al, 1
jmp 0x4666b6
lea ecx, [ebp - 0x30]
call fcn.00428cde
lea ecx, [ebp - 0x3c]
call fcn.00428cde
lea ecx, [ebp - 0x48]
call fcn.00428cde
lea ecx, [ebp - 0x54]
call fcn.00428cde
lea ecx, [ebp - 0x60]
call fcn.00428cde
mov ebx, closesocket
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.0042f986
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004466d3
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00426615
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.00459d2e
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.00428cde
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.0042f986
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004466d3
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00426615
push 0
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp + 0x14]
call fcn.00459d2e
mov esi, 0x49cb74
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.004666c5
add esp, 0x24
mov bl, al
lea ecx, [ebp - 0x54]
call fcn.00426615
lea ecx, [ebp - 0x48]
call fcn.00426615
lea ecx, [ebp - 0x3c]
call fcn.00426615
lea ecx, [ebp - 0x30]
call fcn.00426615
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret