Function at 0x427b80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x328
push ebx
push ebp
mov ebp, dword [esp + 0x334]
push esi
push edi
xor edi, edi
mov eax, dword [ebp]
mov esi, ecx
cmp eax, edi
je 0x427e1d
mov ecx, dword [esi + 0x18]
cmp ecx, 1
jne 0x427bb1
test byte [esi + 0x10], cl
je 0x427bb1
mov edx, ecx
jmp 0x427bb3
xor edx, edx
cmp ecx, 7
jne 0x427bce
test byte [esi + 0x10], 1
je 0x427bce
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 0xc], 2
jne 0x427bce
mov ecx, 1
jmp 0x427bd0
xor ecx, ecx
cmp edx, edi
je 0x427c4d
mov edx, dword [0x4f83ec]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi + 0xc]
xor edx, edx
mov ebx, dword [ecx + 0x290]
mov ecx, dword [esi + 8]
cmp ebx, 2
sete dl
push edx
push edi
push eax
call fcn.00417350
test eax, eax
je 0x427c17
pop edi
mov dword [ebp], 1
pop esi
pop ebp
pop ebx
add esp, 0x328
ret 4
mov dword [ebp], edi
mov esi, dword [esi + 8]
mov ecx, dword [0x4ed220]
push edi
mov edx, dword [esi + 0xcc]
mov eax, dword [esi + 0x144]
push ecx
push 0x223
push edx
push eax
call fcn.00471450
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x328
ret 4
cmp ecx, edi
je 0x427cce
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
cmp ecx, edi
jle 0x427cba
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp edi, ecx
jge 0x427c77
test edi, edi
jl 0x427c77
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi*4]
jmp 0x427c79
xor eax, eax
lea edx, [esp + 0x234]
push 0x104
push edx
push eax
call ebp
mov ecx, dword [esi + 0x1c]
push 5
lea eax, [esp + 0x238]
push 0
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + 8]
push edx
push 0
mov ecx, dword [eax + 0xcc]
push ecx
call ebx
mov eax, dword [esi + 0xc]
inc edi
cmp edi, dword [eax + 8]
jl 0x427c6b
mov ebp, dword [esp + 0x33c]
pop edi
mov dword [ebp], 1
pop esi
pop ebp
pop ebx
add esp, 0x328
ret 4
dec eax
je 0x427ce4
dec eax
je 0x427ce0
sub eax, 2
jne 0x427ceb
mov ebx, 2
jmp 0x427cef
xor ebx, ebx
jmp 0x427cef
mov ebx, 1
jmp 0x427cef
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x124], edi
mov dword [esp + 0x128], edi
mov dword [esp + 0x230], edi
mov byte [esp + 0x20], 0
mov byte [esp + 0x12c], 0
mov edx, dword [eax + 0x144]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0xcc]
lea edx, [esi + 0x24]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x130], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
push ecx
call fcn.00444420
add esp, 4
test eax, eax
jne 0x427d76
mov dword [ebp], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x328
ret 4
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x14c]
cmp eax, edi
je 0x427dae
mov eax, dword [eax + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x427dae
mov eax, dword [esi + 8]
cmp dword [eax + 0x1c84], edi
jne 0x427dae
push 1
lea ecx, [eax + 0x1b88]
call fcn.0042efe0
cmp ebx, 2
je 0x427e1d
mov ecx, dword [esi + 0xc]
test byte [ecx + 0x1c], 1
je 0x427e1d
mov ecx, dword [esi + 8]
add ecx, 0x2548
mov edx, dword [ecx]
call dword [edx + 0xc8]
test eax, eax
je 0x427e1d
mov ecx, dword [esi + 8]
push edi
add ecx, 0x2548
call fcn.004371d0
mov ecx, dword [esi + 8]
push 1
push edi
add ecx, 0x2548
call fcn.00434c10
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x14c]
cmp ecx, edi
je 0x427e0d
mov ecx, dword [ecx + 0x28]
push ecx
lea ecx, [eax + 0x2548]
call fcn.00434a00
mov ecx, dword [esi + 8]
push 1
add ecx, 0x2548
call fcn.004371d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x328
ret 4