Function at 0x46564a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x49a2c3
call fcn.0046b790
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push esi
call fcn.00430e83
pop ecx
test al, al
je 0x46567a
push 0x7b
call fcn.00458880
pop ecx
xor al, al
jmp 0x4659d0
mov edi, 0x49cd2d
cmp dword [ebp + 0x10], 0
cmovne edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
cmp byte [esi], 0x7c
je 0x4658d4
cmp byte [edi], 0x7c
je 0x4658d4
lea ecx, [ebp - 0x24]
call fcn.00428af1
push 8
push str.file:___
push esi
call fcn.0047e3b2
add esp, 0xc
test eax, eax
jne 0x46581b
lea eax, [esi + 8]
mov ebx, closesocket
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.0042f72b
mov eax, 0x49bb60
cmp dword [ebp - 0x24], 0
cmovne eax, dword [ebp - 0x24]
push eax
call fcn.00444249
pop ecx
test al, al
jne 0x465713
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.0043e893
pop ecx
pop ecx
test al, al
je 0x46581b
mov eax, 0x49bb60
cmp dword [ebp - 0x24], 0
cmovne eax, dword [ebp - 0x24]
push eax
call fcn.00444249
pop ecx
test al, al
je 0x465728
mov esi, 0x49bb60
cmp dword [ebp - 0x24], 0
cmovne esi, dword [ebp - 0x24]
mov dword [ebp + 8], esi
jmp 0x46581b
lea ecx, [ebp - 0x30]
call fcn.00428af1
push 0xfde9
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004593b8
add esp, 0xc
test al, al
je 0x465813
lea ecx, [ebp - 0x54]
call fcn.00428af1
lea ecx, [ebp - 0x48]
call fcn.00428af1
lea ecx, [ebp - 0x3c]
call fcn.00428af1
push 0
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.004593dd
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.00428af1
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.0042f72b
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00446201
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00426428
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 0x14]
call fcn.004593dd
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.004659df
add esp, 0x24
mov bl, al
lea ecx, [ebp - 0x3c]
call fcn.00426428
lea ecx, [ebp - 0x48]
call fcn.00426428
lea ecx, [ebp - 0x54]
call fcn.00426428
lea ecx, [ebp - 0x30]
call fcn.00426428
jmp 0x4658b8
lea ecx, [ebp - 0x30]
call fcn.00426428
call fcn.00458877
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 0x46585e
cmp eax, 5
jne 0x4658b1
test ebx, ebx
je 0x465878
push str.open
push ebx
call fcn.00430c94
pop ecx
pop ecx
test eax, eax
jne 0x4658b6
mov dword [ebp - 4], 2
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push esi
push 0x4b3a34
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
jmp 0x4658b1
cmp eax, 0x20
jg 0x4658c0
xor bl, bl
lea ecx, [ebp - 0x24]
jmp 0x4659c9
call fcn.00458877
lea ecx, [ebp - 0x24]
call fcn.00426428
mov al, 1
jmp 0x4659d0
lea ecx, [ebp - 0x30]
call fcn.00428af1
lea ecx, [ebp - 0x3c]
call fcn.00428af1
lea ecx, [ebp - 0x48]
call fcn.00428af1
lea ecx, [ebp - 0x54]
call fcn.00428af1
lea ecx, [ebp - 0x60]
call fcn.00428af1
mov ebx, closesocket
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.0042f72b
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00446201
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00426428
push 0
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.004593dd
add esp, 0x10
lea ecx, [ebp - 0x60]
call fcn.00428af1
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.0042f72b
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00446201
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00426428
push 0
lea eax, [ebp - 0x54]
push eax
push ebx
push dword [ebp + 0x14]
call fcn.004593dd
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.004659df
add esp, 0x24
mov bl, al
lea ecx, [ebp - 0x54]
call fcn.00426428
lea ecx, [ebp - 0x48]
call fcn.00426428
lea ecx, [ebp - 0x3c]
call fcn.00426428
lea ecx, [ebp - 0x30]
call fcn.00426428
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret