Function at 0x450340
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x450348
push ebx
push esi
mov eax, 0x450040
call fcn.00406274
mov esi, dword [0x4528b4]
xor eax, eax
push ebp
push 0x450844
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
call fcn.0044ff30
test eax, eax
je 0x450829
lea ecx, [ebp - 0x14]
mov eax, dword [esi]
mov edx, 0x45085c
call fcn.0044fd8c
mov edx, dword [ebp - 0x14]
mov eax, 0x454178
call fcn.00404444
lea edx, [ebp - 0x18]
mov eax, dword [0x454178]
call fcn.00408710
mov edx, dword [ebp - 0x18]
mov eax, 0x45417c
call fcn.00404444
lea ecx, [ebp - 0x1c]
mov eax, dword [esi]
mov edx, 0x450868
call fcn.0044fd8c
mov edx, dword [ebp - 0x1c]
mov eax, 0x454180
call fcn.00404444
lea ecx, [ebp - 0x20]
mov eax, dword [esi]
mov edx, 0x450878
call fcn.0044fd8c
mov edx, dword [ebp - 0x20]
mov eax, 0x454184
call fcn.00404444
lea ecx, [ebp - 0x24]
mov eax, dword [esi]
mov edx, 0x450888
call fcn.0044fd8c
mov edx, dword [ebp - 0x24]
mov eax, 0x454188
call fcn.00404444
lea ecx, [ebp - 0x28]
mov eax, dword [esi]
mov edx, 0x450898
call fcn.0044fd8c
mov edx, dword [ebp - 0x28]
mov eax, 0x45418c
call fcn.00404444
mov eax, dword [esi]
mov edx, 0x4508a8
call fcn.0044fe68
mov byte [0x454190], al
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
mov edx, 0x4508b4
call fcn.0044fd8c
mov eax, dword [ebp - 0x2c]
mov edx, 0x4508c4
call fcn.004047fc
sete bl
mov eax, dword [esi]
mov edx, 0x4508dc
call fcn.0044fe68
xor al, 1
mov byte [0x454191], al
xor ecx, ecx
mov dl, 1
mov eax, dword [0x44dd50]
call fcn.0044ded0
mov esi, eax
lea edx, [ebp - 0x30]
mov eax, dword [0x454184]
call fcn.00407ee0
mov eax, dword [ebp - 0x30]
mov edx, 0x4508f0
call fcn.004047fc
je 0x4504b4
lea edx, [ebp - 0x34]
mov eax, dword [0x454184]
call fcn.00407ee0
cmp dword [ebp - 0x34], 0
je 0x4504b4
mov eax, dword [0x454184]
call fcn.0044e3e0
test al, al
jne 0x4504c0
mov eax, 0x454184
call fcn.004043f0
jmp 0x4504f5
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [0x454184]
call fcn.0044e48c
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
call fcn.0044e218
mov edx, dword [ebp - 0x40]
mov eax, esi
pop ecx
call fcn.0044df7c
mov edx, dword [ebp - 0x38]
mov eax, 0x454184
call fcn.00404444
lea edx, [ebp - 0x44]
mov eax, dword [0x454188]
call fcn.00407ee0
mov eax, dword [ebp - 0x44]
mov edx, 0x4508f0
call fcn.004047fc
je 0x45053b
lea edx, [ebp - 0x48]
mov eax, dword [0x454188]
call fcn.00407ee0
cmp dword [ebp - 0x48], 0
je 0x45053b
mov eax, dword [0x454188]
call fcn.0044e3e0
test al, al
je 0x45053b
cmp dword [0x454184], 0
jne 0x450547
mov eax, 0x454188
call fcn.004043f0
jmp 0x45057c
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [0x454188]
call fcn.0044e48c
mov eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
call fcn.0044e218
mov edx, dword [ebp - 0x54]
mov eax, esi
pop ecx
call fcn.0044df7c
mov edx, dword [ebp - 0x4c]
mov eax, 0x454188
call fcn.00404444
lea edx, [ebp - 0x58]
mov eax, dword [0x45418c]
call fcn.00407ee0
mov eax, dword [ebp - 0x58]
mov edx, 0x4508f0
call fcn.004047fc
je 0x4505b9
lea edx, [ebp - 0x5c]
mov eax, dword [0x45418c]
call fcn.00407ee0
cmp dword [ebp - 0x5c], 0
je 0x4505b9
mov eax, dword [0x45418c]
call fcn.0044e3e0
test al, al
jne 0x4505c5
mov eax, 0x45418c
call fcn.004043f0
jmp 0x4505fa
lea eax, [ebp - 0x60]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x45418c]
call fcn.0044e48c
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
call fcn.0044e218
mov edx, dword [ebp - 0x68]
mov eax, esi
pop ecx
call fcn.0044df7c
mov edx, dword [ebp - 0x60]
mov eax, 0x45418c
call fcn.00404444
mov eax, esi
call fcn.0040367c
test bl, bl
je 0x45068d
push 0
push 0x4508f8
push 0x450904
push dword [0x454178]
push 0x45092c
push 0x450938
push dword [0x45417c]
push 0x45092c
push 0x45094c
push dword [0x454180]
push 0x45092c
push 0x45092c
push 0x450960
push dword [0x454184]
push 0x45092c
push 0x450970
push dword [0x454188]
push 0x45092c
push 0x450980
push dword [0x45418c]
lea eax, [ebp - 0x6c]
mov edx, 0x12
call fcn.00404770
mov eax, dword [ebp - 0x6c]
call fcn.004048b0
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor ebx, ebx
cmp dword [0x454184], 0
je 0x450778
push 0x450994
push dword [0x454178]
push 0x450994
mov eax, 0x454178
mov edx, 3
call fcn.00404770
lea edx, [ebp - 0x70]
mov eax, dword [0x454180]
call fcn.004080d4
cmp dword [ebp - 0x70], 0
je 0x4506ee
push dword [0x454178]
push 0x4509a0
push dword [0x454180]
mov eax, 0x454178
mov edx, 3
call fcn.00404770
mov eax, dword [0x454178]
push eax
push 0x454174
mov ecx, dword [0x45418c]
mov edx, dword [0x454188]
mov eax, dword [0x454184]
call fcn.0044ffa0
mov ebx, eax
xor bl, 1
test bl, bl
je 0x450778
cmp byte [0x454190], 0
je 0x450762
push 0
push 0x4509a4
mov eax, dword [0x454174]
push dword [eax + 4]
push 0x45092c
push 0x4509bc
push dword [0x45417c]
push 0x4509d8
lea eax, [ebp - 0x74]
mov edx, 5
call fcn.00404770
mov eax, dword [ebp - 0x74]
call fcn.004048b0
push eax
push 0
call sub.user32.dll_MessageBoxA_1
cmp byte [0x454191], 0
jne 0x450778
mov eax, dword [0x454174]
mov eax, dword [eax + 0xc]
call fcn.004043d8
cmp dword [0x454184], 0
je 0x45078d
test byte [0x454191], bl
je 0x450829
push 1
lea edx, [ebp - 0x78]
mov eax, dword [0x454178]
call fcn.004086dc
mov eax, dword [ebp - 0x78]
call fcn.004048b0
push eax
mov eax, dword [0x454180]
call fcn.004048b0
push eax
mov eax, dword [0x454178]
call fcn.004048b0
push eax
push 0x4509dc
push 0
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
cmp ebx, 0x20
jg 0x450829
cmp byte [0x454190], 0
je 0x450822
push 0
push 0x4509a4
push 0x4509ec
lea edx, [ebp - 0x80]
mov eax, ebx
call fcn.004081d4
push dword [ebp - 0x80]
push 0x45092c
push 0x450a0c
push dword [0x45417c]
push 0x4509d8
lea eax, [ebp - 0x7c]
mov edx, 6
call fcn.00404770
mov eax, dword [ebp - 0x7c]
call fcn.004048b0
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, ebx
call fcn.004043d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45084b
lea eax, [ebp - 0x80]
mov edx, 0x1c
call fcn.00404414
ret