Function at 0x4073ee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4417a4
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x448138]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x448138]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
cmp byte [esi + 0x184], cl
mov dword [esp + 0x10], esi
mov edi, edx
je 0x407d05
push 7
pop eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe4], ecx
mov word [esp + 0xd4], cx
mov dword [esp + 0x138], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ecx
mov word [esp + 0x7c], cx
lea ebx, [esp + 0x78]
mov ecx, esi
mov byte [esp + 0x138], 1
call fcn.00407d77
lea eax, [esp + 0xd0]
push eax
push edi
call fcn.00424702
cmp dword [esi + 0x154], 0x10
pop ecx
pop ecx
jb 0x4074ab
mov ecx, dword [esi + 0x140]
jmp 0x4074b1
lea ecx, [esi + 0x140]
mov edi, 0x403b68
call fcn.00407e1a
test al, al
je 0x4077a0
call fcn.00407d29
test al, al
jne 0x40752b
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x4074de
lea eax, [esp + 0x7c]
call fcn.00426c21
test al, al
jne 0x40752b
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x154], 0x10
jb 0x4074fc
mov eax, dword [eax + 0x140]
jmp 0x407501
add eax, 0x140
push eax
push 0x59b
lea eax, [esp + 0xf4]
push 2
push eax
call fcn.0040897e
add esp, 0x10
push 0x443060
lea eax, [esp + 0xf0]
push eax
call fcn.0042d76b
push 0xf
pop esi
push 0
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], esi
call fcn.00408384
lea ecx, [esp + 0xb4]
mov byte [esp + 0x138], 2
call fcn.0042387a
test al, al
mov ebx, 0x403b70
je 0x4075e9
push 0
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], esi
call fcn.00408384
mov byte [esp + 0x138], 3
cmp dword [esp + 0xcc], 0x10
mov edi, dword [esp + 0xb8]
jae 0x407599
lea edi, [esp + 0xb8]
lea eax, [esp + 0x94]
push 0
push eax
xor esi, esi
call fcn.00424198
cmp dword [esp + 0xb4], 0x10
mov eax, dword [esp + 0xa0]
pop ecx
pop ecx
jae 0x4075c4
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 1
lea ecx, [esp + 0x9c]
mov edi, eax
mov byte [esp + 0x140], 2
call fcn.00408339
test edi, edi
jne 0x4075fa
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407784
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403b78
push edi
call esi
push 0x403b8c
push edi
mov dword [esp + 0x20], eax
call esi
cmp dword [esp + 0x18], 0
mov esi, eax
je 0x40777d
test esi, esi
je 0x40777d
mov ecx, dword [esp + 0xd4]
push 8
pop ebx
cmp dword [esp + 0xe8], ebx
jae 0x407643
lea ecx, [esp + 0xd4]
cmp dword [esp + 0x90], ebx
mov eax, dword [esp + 0x7c]
jae 0x407654
lea eax, [esp + 0x7c]
push ecx
mov ecx, dword [0x449634]
push eax
push 0x403ba0
call fcn.004088a8
add esp, 0xc
push 0
push 5
call esi
cmp dword [esp + 0xe8], ebx
mov ecx, dword [esp + 0xd4]
jae 0x407686
lea ecx, [esp + 0xd4]
cmp dword [esp + 0x90], ebx
mov eax, dword [esp + 0x7c]
jae 0x407697
lea eax, [esp + 0x7c]
push ecx
push eax
call dword [esp + 0x20]
mov esi, dword [0x449634]
mov ebx, eax
push ebx
push 0x403c2c
call fcn.0040883c
pop ecx
pop ecx
mov eax, ebx
call fcn.004072b0
test al, al
je 0x407750
lea eax, [esp + 0x17]
push eax
mov eax, 0x400
lea ecx, [esp + 0x110]
mov byte [esp + 0x1b], 0
call fcn.004081bc
push 0x3ff
lea esi, [esp + 0x110]
mov byte [esp + 0x13c], 4
call fcn.004081a3
push eax
push ebx
push edi
call dword [sym.imp.USER32.dll_LoadStringA]
call fcn.004081a3
push eax
lea ecx, [esp + 0xf0]
call fcn.00408751
mov byte [esp + 0x138], 5
cmp dword [esp + 0x104], 0x10
mov eax, dword [esp + 0xf0]
jae 0x407730
lea eax, [esp + 0xf0]
push eax
push ebx
lea eax, [esp + 0x9c]
push eax
call fcn.004086fc
push 0x443060
lea eax, [esp + 0x98]
jmp 0x407525
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
push edi
push 1
lea ecx, [esp + 0xbc]
call fcn.00408339
push edi
push 1
lea esi, [esp + 0x80]
call fcn.00408d21
push edi
jmp 0x407cf7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0x140], 1
call fcn.00408339
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x16c], 0
je 0x407873
cmp dword [esp + 0x90], 8
mov ecx, dword [esp + 0x7c]
jae 0x4077bf
lea ecx, [esp + 0x7c]
test ecx, ecx
je 0x4077e2
mov eax, ecx
lea edi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4077c8
sub eax, edi
sar eax, 1
je 0x4077e2
lea edi, [esi + 0xc]
call fcn.00413a09
jmp 0x4077e4
xor al, al
test al, al
jne 0x407873
push 0
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], 0xf
call fcn.00408384
mov byte [esp + 0x138], 6
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x40781f
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x94]
push ecx
push eax
call fcn.00424680
cmp dword [esp + 0xb4], 0x10
mov eax, dword [esp + 0xa0]
pop ecx
pop ecx
jae 0x407847
lea eax, [esp + 0x98]
push eax
push 0x579
lea eax, [esp + 0xf4]
push 0x4c6
push eax
call fcn.0040897e
add esp, 0x10
push 0x443060
lea eax, [esp + 0xf0]
jmp 0x407525
xor ebx, ebx
xor edi, edi
call fcn.00423a29
test al, al
je 0x407af9
push 0xf
pop esi
push edi
lea ecx, [esp + 0x110]
mov dword [esp + 0x128], esi
call fcn.00408384
push edi
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], esi
call fcn.00408384
mov byte [esp + 0x138], 8
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x4078c9
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x10c]
push ecx
push eax
call fcn.00424680
cmp dword [esp + 0xf0], 8
mov eax, dword [esp + 0xdc]
pop ecx
pop ecx
jae 0x4078f1
lea eax, [esp + 0xd4]
lea ecx, [esp + 0xb4]
push ecx
push eax
call fcn.00424680
push 0x3c
pop esi
push esi
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00432e00
mov eax, dword [esp + 0x124]
add esp, 0x14
push 0x10
pop ebx
cmp dword [esp + 0x124], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x400
jb 0x407936
mov dword [esp + 0x2c], eax
jmp 0x407941
lea ecx, [esp + 0x110]
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0xcc], ebx
mov ecx, dword [esp + 0xb8]
jb 0x407957
mov dword [esp + 0x30], ecx
jmp 0x407962
lea edx, [esp + 0xb8]
mov dword [esp + 0x30], edx
cmp dword [esp + 0xcc], ebx
mov dword [esp + 0x38], 1
jae 0x40797a
lea ecx, [esp + 0xb8]
cmp dword [esp + 0x124], ebx
jae 0x40798a
lea eax, [esp + 0x110]
mov esi, dword [0x449634]
push ecx
push eax
push 0x403c4c
call fcn.0040883c
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 0x154], ebx
jb 0x4079b3
mov eax, dword [eax + 0x140]
jmp 0x4079b8
add eax, 0x140
mov edi, 0x403c78
mov ecx, eax
call fcn.00407e1a
test al, al
je 0x4079cd
or dword [esp + 0x20], 0xc
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x407adb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x449634]
mov edi, eax
push edi
push 0x403c88
call fcn.0040883c
test edi, edi
pop ecx
pop ecx
je 0x407adb
push 0xf
pop esi
push 0
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], esi
call fcn.00408384
lea eax, [esp + 0x94]
push eax
push edi
mov byte [esp + 0x140], 9
call fcn.00424774
test al, al
pop ecx
pop ecx
push 0
je 0x407acd
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], esi
call fcn.00408384
mov byte [esp + 0x138], 0xa
cmp dword [esp + 0xac], ebx
mov ecx, dword [esp + 0x98]
jae 0x407a6f
lea ecx, [esp + 0x98]
cmp dword [esp + 0x124], ebx
mov eax, dword [esp + 0x110]
jae 0x407a86
lea eax, [esp + 0x110]
push ecx
push eax
push 0x5a6
lea esi, [esp + 0xf8]
call fcn.00422d33
mov eax, dword [esp + 0xfc]
add esp, 0xc
cmp dword [esp + 0x104], ebx
jae 0x407ab3
lea eax, [esp + 0xf0]
push eax
push edi
lea eax, [esp + 0x60]
push eax
call fcn.004086fc
push 0x443060
lea eax, [esp + 0x5c]
jmp 0x407525
push 1
lea ecx, [esp + 0x9c]
call fcn.00408339
push 0
push 1
lea ecx, [esp + 0xbc]
call fcn.00408339
push 0
lea ecx, [esp + 0x110]
jmp 0x407cde
push 0x3c
pop esi
push esi
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00432e00
mov eax, dword [esp + 0x88]
add esp, 0xc
push 8
pop ebx
cmp dword [esp + 0x90], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x400
jb 0x407b31
mov dword [esp + 0x2c], eax
jmp 0x407b39
lea ecx, [esp + 0x7c]
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0xe8], ebx
mov ecx, dword [esp + 0xd4]
jb 0x407b4f
mov dword [esp + 0x30], ecx
jmp 0x407b5a
lea edx, [esp + 0xd4]
mov dword [esp + 0x30], edx
cmp dword [esp + 0xe8], ebx
mov dword [esp + 0x38], 1
jae 0x407b72
lea ecx, [esp + 0xd4]
cmp dword [esp + 0x90], ebx
jae 0x407b7f
lea eax, [esp + 0x7c]
push ecx
mov ecx, dword [0x449634]
push eax
push 0x403cb8
call fcn.004088a8
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x407ce5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x449634]
push eax
push 0x403c88
mov dword [esp + 0x18], eax
call fcn.0040883c
cmp dword [esp + 0x18], 0
pop ecx
pop ecx
je 0x407ce5
push 0xf
pop esi
xor edi, edi
push edi
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], esi
call fcn.00408384
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x14]
mov byte [esp + 0x140], 0xb
call fcn.00424774
test al, al
pop ecx
pop ecx
push edi
je 0x407cd7
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], esi
call fcn.00408384
push edi
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], esi
call fcn.00408384
mov byte [esp + 0x138], 0xd
cmp dword [esp + 0x90], ebx
mov eax, dword [esp + 0x7c]
jae 0x407c4c
lea eax, [esp + 0x7c]
lea ecx, [esp + 0xec]
push ecx
push eax
call fcn.00424680
cmp dword [esp + 0xb4], 0x10
pop ecx
pop ecx
mov ecx, dword [esp + 0x98]
jae 0x407c74
lea ecx, [esp + 0x98]
cmp dword [esp + 0x104], 0x10
mov eax, dword [esp + 0xf0]
jae 0x407c8c
lea eax, [esp + 0xf0]
push ecx
push eax
push 0x5a6
lea esi, [esp + 0xc0]
call fcn.00422d33
mov eax, dword [esp + 0xc4]
add esp, 0xc
cmp dword [esp + 0xcc], 0x10
jae 0x407cba
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
call fcn.004086fc
push 0x443060
lea eax, [esp + 0x5c]
jmp 0x407525
lea ecx, [esp + 0x98]
push 1
call fcn.00408339
push 0
push 1
lea esi, [esp + 0x80]
call fcn.00408d21
push 0
push 1
lea esi, [esp + 0xd8]
call fcn.00408d21
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0042acb7
mov esp, ebp
pop ebp
ret