Function at 0x45582e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0042e596
pop ecx
test al, al
je 0x455852
push 0x7b
call fcn.00449755
pop ecx
xor al, al
jmp 0x455b3f
cmp dword [ebp + 0x10], 0
push ebx
push edi
mov edi, 0x481222
cmovne edi, dword [ebp + 0x10]
cmp byte [esi], 0x7c
je 0x455a43
cmp byte [edi], 0x7c
je 0x455a43
lea ecx, [ebp - 0xc]
call fcn.0042717c
push 8
push str.file:___
push esi
call fcn.00461e9d
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x4559e7
push closesocket
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042cf82
cmp dword [ebp - 0xc], ebx
mov eax, 0x47e730
cmovne eax, dword [ebp - 0xc]
push eax
call fcn.0043fe3e
pop ecx
test al, al
jne 0x4558e8
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0043a9f9
pop ecx
pop ecx
test al, al
je 0x4559e7
cmp dword [ebp - 0xc], ebx
mov eax, 0x47e730
cmovne eax, dword [ebp - 0xc]
push eax
call fcn.0043fe3e
pop ecx
test al, al
je 0x4558f9
cmp dword [ebp - 0xc], ebx
mov esi, 0x47e730
cmovne esi, dword [ebp - 0xc]
jmp 0x4559e7
lea ecx, [ebp - 0x18]
call fcn.0042717c
push 0xfde9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0044a1e6
add esp, 0xc
test al, al
je 0x4559df
lea ecx, [ebp - 0x3c]
call fcn.0042717c
lea ecx, [ebp - 0x30]
call fcn.0042717c
lea ecx, [ebp - 0x24]
call fcn.0042717c
push ebx
lea eax, [ebp - 0x3c]
mov esi, closesocket
push eax
push esi
push dword [ebp + 0xc]
call fcn.0044a20b
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.0042717c
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.0042cf82
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00441f02
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00424b62
push ebx
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp + 0x14]
call fcn.0044a20b
cmp dword [ebp - 0x24], ebx
mov esi, 0x47e734
push dword [ebp + 0x18]
mov edx, esi
mov ecx, esi
cmovne edx, dword [ebp - 0x24]
mov eax, esi
cmp dword [ebp - 0x30], ebx
push edx
cmovne ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x3c], ebx
push ecx
cmovne eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x18], ebx
push eax
cmovne esi, dword [ebp - 0x18]
push esi
call fcn.00455b42
add esp, 0x24
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00424b62
lea ecx, [ebp - 0x30]
call fcn.00424b62
lea ecx, [ebp - 0x3c]
call fcn.00424b62
lea ecx, [ebp - 0x18]
call fcn.00424b62
jmp 0x455a3b
lea ecx, [ebp - 0x18]
call fcn.00424b62
call fcn.0044974c
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push esi
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 5
jne 0x455a2f
cmp dword [ebp + 0x14], ebx
je 0x455a1b
push str.open
push dword [ebp + 0x14]
call fcn.0042e3f1
pop ecx
pop ecx
test eax, eax
jne 0x455a3b
push dword [ebp + 0x18]
push edi
push dword [ebp + 0xc]
push esi
push 0x48dec4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x455a3b
call fcn.0044974c
mov bl, 1
lea ecx, [ebp - 0xc]
jmp 0x455b36
lea ecx, [ebp - 0x18]
call fcn.0042717c
lea ecx, [ebp - 0x24]
call fcn.0042717c
lea ecx, [ebp - 0x30]
call fcn.0042717c
lea ecx, [ebp - 0x3c]
call fcn.0042717c
lea ecx, [ebp - 0x48]
call fcn.0042717c
push closesocket
push esi
lea ecx, [ebp - 0x48]
call fcn.0042cf82
xor ebx, ebx
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00441f02
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00424b62
push ebx
lea eax, [ebp - 0x24]
mov esi, closesocket
push eax
push esi
push dword [ebp + 0xc]
call fcn.0044a20b
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.0042717c
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.0042cf82
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00441f02
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00424b62
push ebx
lea eax, [ebp - 0x3c]
push eax
push esi
push dword [ebp + 0x14]
call fcn.0044a20b
cmp dword [ebp - 0x3c], ebx
mov esi, 0x47e734
push dword [ebp + 0x18]
mov edx, esi
mov ecx, esi
cmovne edx, dword [ebp - 0x3c]
mov eax, esi
cmp dword [ebp - 0x30], ebx
push edx
cmovne ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x24], ebx
push ecx
cmovne eax, dword [ebp - 0x24]
cmp dword [ebp - 0x18], ebx
push eax
cmovne esi, dword [ebp - 0x18]
push esi
call fcn.00455b42
add esp, 0x24
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.00424b62
lea ecx, [ebp - 0x30]
call fcn.00424b62
lea ecx, [ebp - 0x24]
call fcn.00424b62
lea ecx, [ebp - 0x18]
call fcn.00424b62
pop edi
mov al, bl
pop ebx
pop esi
leave
ret