Function at 0x6513a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x6513a9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0xd], cl
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040b54c
xor eax, eax
push ebp
push 0x6517fc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp byte [0x68a223], 0
je 0x6513f2
mov eax, 0x65181c
call fcn.00641db8
test al, al
jne 0x6517bd
cmp byte [0x68a231], 0
je 0x65140d
mov eax, 0x651848
call fcn.00641db8
test al, al
jne 0x6517bd
mov eax, 0x651874
call fcn.00641db8
test al, al
jne 0x65160b
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x65189c
call fcn.0040c520
test eax, eax
jle 0x65160b
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6518ac
call fcn.0040c520
test eax, eax
jle 0x65160b
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042705c
mov eax, dword [ebp - 0x18]
mov ecx, 1
mov edx, eax
mov eax, 0x6518bc
call fcn.0040c520
test eax, eax
jle 0x6514e5
cmp byte [0x68a22e], 0
jne 0x6514e5
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042705c
mov eax, dword [ebp - 0x1c]
mov ecx, 1
mov edx, eax
mov eax, 0x6518bc
call fcn.0040c520
mov edi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6514ac
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
lea edx, [edi + 4]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0040c3c4
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6518ac
call fcn.0040c520
mov ebx, eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040c3c4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0042705c
mov eax, dword [ebp - 0x20]
mov ecx, 1
mov edx, eax
mov eax, 0x6518d4
call fcn.0040c520
test eax, eax
jle 0x651577
cmp byte [0x68a22e], 0
jne 0x651577
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0042705c
mov eax, dword [ebp - 0x24]
mov ecx, 1
mov edx, eax
mov eax, 0x6518d4
call fcn.0040c520
mov edi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x65153e
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
lea edx, [edi + 4]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0040c3c4
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6518ac
call fcn.0040c520
mov ebx, eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040c3c4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0042705c
mov eax, dword [ebp - 0x28]
mov ecx, 1
mov edx, eax
mov eax, 0x6518ec
call fcn.0040c520
test eax, eax
jle 0x65160b
cmp byte [0x68a22e], 1
jne 0x65160b
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0042705c
mov eax, dword [ebp - 0x2c]
mov ecx, 1
mov edx, eax
mov eax, 0x6518ec
call fcn.0040c520
mov edi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6515d0
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
lea edx, [edi + 4]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0040c3c4
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x6518ac
call fcn.0040c520
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040c3c4
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040b890
lea eax, [ebp - 0xc]
call fcn.0040b458
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x651904
call fcn.0040c520
mov ebx, eax
test bx, bx
jne 0x65164b
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x651918
call fcn.0040c520
mov ebx, eax
mov eax, 0x65192c
call fcn.00641db8
test al, al
jne 0x6516cb
test bx, bx
jbe 0x6516cb
lea eax, [ebp - 8]
push eax
movzx edi, bx
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040c3c4
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x651954
call fcn.0040c520
test eax, eax
jle 0x6516b1
movzx eax, byte [0x651958]
push eax
lea eax, [ebp - 0x30]
push eax
xor ecx, ecx
mov edx, 0x651954
mov eax, dword [ebp - 8]
call fcn.004316b8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.0040b890
mov ecx, edi
lea eax, [ebp - 4]
mov edx, 1
call fcn.0040c40c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040b890
mov bx, 1
cmp byte [0x68a223], 0
je 0x6516e8
mov eax, 0x651968
call fcn.00641db8
test al, al
jne 0x6516e8
xor ebx, ebx
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x65199c
call fcn.0040c520
mov edi, eax
test edi, edi
jne 0x65173a
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00642150
mov eax, dword [ebp - 0x34]
mov dl, 1
call fcn.00428a20
test al, al
je 0x65173a
push ebx
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0064fd18
mov ebx, eax
jmp 0x6517bd
movzx eax, bx
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040bff0
push eax
push 0
push esi
call sub.shell32.dll_ShellExecuteW
mov bl, 1
cmp byte [ebp + 0xc], 0
je 0x6517bd
push 0x35
lea edx, [ebp - 0x38]
mov eax, dword [0x68a1e0]
call fcn.005516f4
mov eax, dword [ebp - 0x38]
call fcn.0040bff0
push eax
push 0x6519b0
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x651a14
mov edx, 0x651a28
mov eax, dword [0x68a218]
mov esi, dword [eax]
call dword [esi + 8]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
xor edx, edx
call fcn.00646d00
mov eax, dword [ebp - 0x3c]
call fcn.0040bff0
push eax
mov eax, dword [0x68a1e0]
call fcn.0055b354
push eax
call sub.user32.dll_MessageBoxW
cmp eax, 7
jne 0x6517bd
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x651803
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0040b4b8
lea eax, [ebp - 0x38]
call fcn.0040b458
lea eax, [ebp - 0x34]
mov edx, 8
call fcn.0040b4b8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b4b8
pop eax
jmp eax