Function at 0x411ed0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x498797
mov eax, dword fs:[0]
push eax
sub esp, 0x7e0
mov eax, dword [0x4c5280]
xor eax, esp
mov dword [esp + 0x7d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x7f4]
mov dword fs:[0], eax
cmp byte [0x4cad31], 0
mov ebp, dword [esp + 0x804]
jne 0x4122ef
mov eax, dword [0x4cad38]
test eax, eax
je 0x411f35
push 0
push ebp
call eax
add esp, 8
jmp 0x4122ef
lea ecx, [esp + 0x26c]
call fcn.00410770
lea esi, [esp + 0x5e4]
mov dword [esp + 0x7fc], 0
call fcn.00411c90
test eax, eax
je 0x41222a
lea ecx, [esp + 0x1c]
call fcn.00410770
mov eax, esi
mov ebx, esi
test eax, eax
jne 0x411f76
mov ebx, 0x4b75b8
mov eax, ebx
lea edx, [eax + 2]
jmp 0x411f80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411f80
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.00411640
cmp byte [esp + 0x138], 0
lea eax, [esp + 0x28]
jne 0x411fb3
mov eax, dword [esp + 0x24]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebx
push eax
call fcn.004797f0
add esp, 0xc
lea ecx, [esp + 0x144]
call fcn.00410770
lea ebx, [esp + 0x5e4]
mov edx, ebx
test edx, edx
jne 0x411fe2
mov ebx, 0x4b75b8
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411fe7
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x14c]
mov dword [esp + 0x148], eax
call fcn.00411640
cmp byte [esp + 0x260], 0
lea eax, [esp + 0x150]
jne 0x412026
mov eax, dword [esp + 0x14c]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebx
push eax
call fcn.004797f0
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
lea eax, [esp + 0x20]
call fcn.00410f60
lea ebx, [esp + 0x20]
call fcn.00410d20
lea eax, [esp + 0x144]
call fcn.00410f60
inc eax
push eax
xor eax, eax
lea ebx, [esp + 0x148]
call fcn.00410d20
lea ecx, [esp + 0x394]
call fcn.00410770
push str.____
lea edi, [esp + 0x4c0]
call fcn.004108a0
mov byte [esp + 0x7fc], 4
cmp byte [esp + 0x260], 0
lea esi, [esp + 0x150]
jne 0x4120a7
mov esi, dword [esp + 0x14c]
push 0x4b9cb4
push 0x4b8ff4
lea edx, [esp + 0x39c]
call fcn.00410f90
add esi, 4
push esi
push 0x4b8ff4
lea edx, [esp + 0x3a4]
call fcn.00410f90
mov eax, ebp
add esp, 0x10
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4120e0
sub eax, edx
sar eax, 1
xor ecx, ecx
lea eax, [eax + eax + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004746b5
mov esi, eax
add esp, 4
cmp word [ebp], 0
mov dword [esp + 0x18], esi
mov ecx, ebp
mov edx, esi
je 0x41217c
lea ecx, [ecx]
mov ebx, dword [esp + 0x4c0]
test ebx, ebx
jbe 0x412166
cmp byte [esp + 0x5d8], 0
lea edi, [esp + 0x4c8]
jne 0x412143
mov edi, dword [esp + 0x4c4]
movzx esi, word [ecx]
xor eax, eax
cmp word [edi + eax*2 + 4], si
je 0x412156
inc eax
cmp eax, ebx
jb 0x412148
jmp 0x412166
cmp eax, 0xffffffff
je 0x412166
mov eax, 0x5e
mov word [edx], ax
add edx, 2
mov ax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp word [ecx], 0
jne 0x412120
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov word [edx], cx
push 0x4b77e4
push 0x4b8ff4
lea edx, [esp + 0x39c]
call fcn.00410f90
push esi
push 0x4b8ff4
lea edx, [esp + 0x3a4]
call fcn.00410f90
push esi
call fcn.00475685
add esp, 0x14
cmp byte [esp + 0x138], 0
lea ecx, [esp + 0x28]
jne 0x4121c4
mov ecx, dword [esp + 0x24]
cmp byte [esp + 0x4b0], 0
lea eax, [esp + 0x3a0]
jne 0x4121dc
mov eax, dword [esp + 0x39c]
push 0
add ecx, 4
push ecx
add eax, 4
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x4bc]
call fcn.0040e2d0
lea ecx, [esp + 0x394]
call fcn.0040e2d0
lea ecx, [esp + 0x144]
call fcn.0040e2d0
lea ecx, [esp + 0x1c]
call fcn.0040e2d0
jmp 0x4122bf
lea edx, [esp + 0x5e4]
push edx
call fcn.00411870
add esp, 4
test eax, eax
je 0x4122ae
push 0x4b8238
push 0x4b8ff4
lea edx, [esp + 0x274]
call fcn.00410f90
lea eax, [esp + 0x5ec]
push eax
push 0x4b8ff4
lea edx, [esp + 0x27c]
call fcn.00410f90
push 0x4b8238
push 0x4b8ff4
lea edx, [esp + 0x284]
call fcn.00410f90
add esp, 0x18
cmp byte [esp + 0x388], 0
lea eax, [esp + 0x278]
jne 0x41229e
mov eax, dword [esp + 0x274]
push 5
push 0
push ebp
add eax, 4
push eax
push str.open
jmp 0x4122b7
push 5
push 0
push 0
push ebp
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [esp + 0x388], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x4122ef
mov eax, dword [esp + 0x274]
lea ecx, [esp + 0x278]
cmp eax, ecx
je 0x4122ef
push eax
call fcn.00475125
add esp, 4
mov ecx, dword [esp + 0x7f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7d8]
xor ecx, esp
call fcn.00474db0
add esp, 0x7ec
ret