Function at 0x645224
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x64522d
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.0040b554
xor eax, eax
push ebp
push 0x64567e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp byte [0x67ae1a], 0
je 0x645276
mov eax, 0x64569c
call fcn.00637aac
test al, al
jne 0x64563f
cmp byte [0x67ae25], 0
je 0x645291
mov eax, 0x6456c8
call fcn.00637aac
test al, al
jne 0x64563f
mov eax, 0x6456f4
call fcn.00637aac
test al, al
jne 0x64548f
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64571c
call fcn.0040c4f0
test eax, eax
jle 0x64548f
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64572c
call fcn.0040c4f0
test eax, eax
jle 0x64548f
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00426f98
mov eax, dword [ebp - 0x18]
mov ecx, 1
mov edx, eax
mov eax, 0x64573c
call fcn.0040c4f0
test eax, eax
jle 0x645369
cmp byte [0x67ae22], 0
jne 0x645369
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00426f98
mov eax, dword [ebp - 0x1c]
mov ecx, 1
mov edx, eax
mov eax, 0x64573c
call fcn.0040c4f0
mov edi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x645330
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.0040c394
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64572c
call fcn.0040c4f0
mov ebx, eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040c394
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00426f98
mov eax, dword [ebp - 0x20]
mov ecx, 1
mov edx, eax
mov eax, 0x645754
call fcn.0040c4f0
test eax, eax
jle 0x6453fb
cmp byte [0x67ae22], 0
jne 0x6453fb
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00426f98
mov eax, dword [ebp - 0x24]
mov ecx, 1
mov edx, eax
mov eax, 0x645754
call fcn.0040c4f0
mov edi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x6453c2
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.0040c394
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64572c
call fcn.0040c4f0
mov ebx, eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040c394
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00426f98
mov eax, dword [ebp - 0x28]
mov ecx, 1
mov edx, eax
mov eax, 0x64576c
call fcn.0040c4f0
test eax, eax
jle 0x64548f
cmp byte [0x67ae22], 1
jne 0x64548f
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00426f98
mov eax, dword [ebp - 0x2c]
mov ecx, 1
mov edx, eax
mov eax, 0x64576c
call fcn.0040c4f0
mov edi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x645454
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.0040c394
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x64572c
call fcn.0040c4f0
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.0040c394
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040b898
lea eax, [ebp - 0xc]
call fcn.0040b460
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x645784
call fcn.0040c4f0
mov ebx, eax
test bx, bx
jne 0x6454cf
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x645798
call fcn.0040c4f0
mov ebx, eax
mov eax, 0x6457ac
call fcn.00637aac
test al, al
jne 0x64554f
test bx, bx
jbe 0x64554f
lea eax, [ebp - 8]
push eax
movzx edi, bx
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040c394
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x6457d4
call fcn.0040c4f0
test eax, eax
jle 0x645535
movzx eax, byte [0x6457d8]
push eax
lea eax, [ebp - 0x30]
push eax
xor ecx, ecx
mov edx, 0x6457d4
mov eax, dword [ebp - 8]
call fcn.0043159c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.0040b898
mov ecx, edi
lea eax, [ebp - 4]
mov edx, 1
call fcn.0040c3dc
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040b898
mov bx, 1
cmp byte [0x67ae1a], 0
je 0x64556c
mov eax, 0x6457e8
call fcn.00637aac
test al, al
jne 0x64556c
xor ebx, ebx
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x64581c
call fcn.0040c4f0
mov edi, eax
test edi, edi
jne 0x6455bc
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00637bb4
mov eax, dword [ebp - 0x34]
mov dl, 1
call fcn.0042895c
test al, al
je 0x6455bc
push ebx
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00643b34
mov ebx, eax
jmp 0x64563f
movzx eax, bx
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040bfd8
push eax
push 0
push esi
call sub.shell32.dll_ShellExecuteW
mov bl, 1
cmp byte [ebp + 0xc], 0
je 0x64563f
push 0x35
lea edx, [ebp - 0x38]
mov eax, dword [0x67add4]
call fcn.005513f8
mov eax, dword [ebp - 0x38]
call fcn.0040bfd8
push eax
push 0x645830
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x645894
mov edx, 0x6458a8
mov eax, dword [0x67ae10]
mov esi, dword [eax]
call dword [esi + 8]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
xor edx, edx
call fcn.0063b884
mov eax, dword [ebp - 0x3c]
call fcn.0040bfd8
push eax
mov eax, dword [0x67add4]
call fcn.0055b058
push eax
call sub.user32.dll_MessageBoxW
cmp eax, 7
jne 0x64563f
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x645685
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0040b4c0
lea eax, [ebp - 0x38]
call fcn.0040b460
lea eax, [ebp - 0x34]
mov edx, 8
call fcn.0040b4c0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b4c0
pop eax
jmp eax