Function at 0x464576
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x498dd9
call fcn.0046a2a4
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push esi
call fcn.00430653
pop ecx
test al, al
je 0x4645a6
push 0x7b
call fcn.00457a13
pop ecx
xor al, al
jmp 0x4648fc
mov edi, 0x49bd2d
cmp dword [ebp + 0x10], 0
cmovne edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
cmp byte [esi], 0x7c
je 0x464800
cmp byte [edi], 0x7c
je 0x464800
lea ecx, [ebp - 0x24]
call fcn.004282a8
push 8
push str.file:___
push esi
call fcn.0047ced2
add esp, 0xc
test eax, eax
jne 0x464747
lea eax, [esi + 8]
mov ebx, closesocket
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.0042ef3b
mov eax, 0x49ab60
cmp dword [ebp - 0x24], 0
cmovne eax, dword [ebp - 0x24]
push eax
call fcn.00443832
pop ecx
test al, al
jne 0x46463f
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.0043df7d
pop ecx
pop ecx
test al, al
je 0x464747
mov eax, 0x49ab60
cmp dword [ebp - 0x24], 0
cmovne eax, dword [ebp - 0x24]
push eax
call fcn.00443832
pop ecx
test al, al
je 0x464654
mov esi, 0x49ab60
cmp dword [ebp - 0x24], 0
cmovne esi, dword [ebp - 0x24]
mov dword [ebp + 8], esi
jmp 0x464747
lea ecx, [ebp - 0x30]
call fcn.004282a8
push 0xfde9
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00458523
add esp, 0xc
test al, al
je 0x46473f
lea ecx, [ebp - 0x54]
call fcn.004282a8
lea ecx, [ebp - 0x48]
call fcn.004282a8
lea ecx, [ebp - 0x3c]
call fcn.004282a8
push 0
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.00458548
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.004282a8
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.0042ef3b
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004457ea
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00425c1b
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 0x14]
call fcn.00458548
mov esi, 0x49ab64
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.0046490b
add esp, 0x24
mov bl, al
lea ecx, [ebp - 0x3c]
call fcn.00425c1b
lea ecx, [ebp - 0x48]
call fcn.00425c1b
lea ecx, [ebp - 0x54]
call fcn.00425c1b
lea ecx, [ebp - 0x30]
call fcn.00425c1b
jmp 0x4647e4
lea ecx, [ebp - 0x30]
call fcn.00425c1b
call fcn.00457a0a
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 0x46478a
cmp eax, 5
jne 0x4647dd
test ebx, ebx
je 0x4647a4
push str.open
push ebx
call fcn.00430464
pop ecx
pop ecx
test eax, eax
jne 0x4647e2
mov dword [ebp - 4], 2
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push esi
push 0x4b0c04
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
jmp 0x4647dd
cmp eax, 0x20
jg 0x4647ec
xor bl, bl
lea ecx, [ebp - 0x24]
jmp 0x4648f5
call fcn.00457a0a
lea ecx, [ebp - 0x24]
call fcn.00425c1b
mov al, 1
jmp 0x4648fc
lea ecx, [ebp - 0x30]
call fcn.004282a8
lea ecx, [ebp - 0x3c]
call fcn.004282a8
lea ecx, [ebp - 0x48]
call fcn.004282a8
lea ecx, [ebp - 0x54]
call fcn.004282a8
lea ecx, [ebp - 0x60]
call fcn.004282a8
mov ebx, closesocket
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.0042ef3b
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004457ea
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00425c1b
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.00458548
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.004282a8
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.0042ef3b
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004457ea
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00425c1b
push 0
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp + 0x14]
call fcn.00458548
mov esi, 0x49ab64
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.0046490b
add esp, 0x24
mov bl, al
lea ecx, [ebp - 0x54]
call fcn.00425c1b
lea ecx, [ebp - 0x48]
call fcn.00425c1b
lea ecx, [ebp - 0x3c]
call fcn.00425c1b
lea ecx, [ebp - 0x30]
call fcn.00425c1b
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret