Function at 0x403918
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov ebx, eax
lea esi, [ebp - 0x58]
mov edi, 0x4bb434
mov eax, 0x4bc1bc
call fcn.0049bbe4
mov word [esi + 0x10], 8
lea edx, [edi + 0x24a]
lea eax, [ebp - 4]
call fcn.004a6374
inc dword [esi + 0x1c]
xor ecx, ecx
mov edx, dword [eax]
mov dword [ebp - 8], ecx
inc dword [esi + 0x1c]
lea ecx, [ebp - 8]
mov eax, ebx
call fcn.0040376c
lea edx, [ebp - 8]
mov eax, 0x4c4388
call fcn.004a6504
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a64d4
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a64d4
cmp dword [0x4c4388], 0
je 0x4039a7
mov edx, dword [0x4c4388]
mov eax, dword [ebx + 0x350]
call fcn.004519b0
mov word [esi + 0x10], 0x14
lea edx, [edi + 0x254]
lea eax, [ebp - 0xc]
call fcn.004a6374
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x10]
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, ebx
inc dword [esi + 0x1c]
call fcn.0040376c
lea edx, [ebp - 0x10]
mov eax, 0x4c438c
call fcn.004a6504
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a64d4
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a64d4
cmp dword [0x4c438c], 0
je 0x403a19
mov edx, dword [0x4c438c]
mov eax, dword [ebx + 0x354]
call fcn.004519b0
mov word [esi + 0x10], 0x20
lea edx, [edi + 0x25b]
lea eax, [ebp - 0x14]
call fcn.004a6374
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x18]
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, ebx
inc dword [esi + 0x1c]
call fcn.0040376c
lea edx, [ebp - 0x18]
mov eax, 0x4c43a0
call fcn.004a6504
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a64d4
dec dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a64d4
cmp dword [0x4c43a0], 0
je 0x403a93
mov eax, 0x4c43a0
call fcn.004a6808
mov edx, eax
mov eax, dword [ebx + 0x34c]
call fcn.00449cd4
jmp 0x403aa0
xor edx, edx
mov eax, dword [ebx + 0x34c]
call fcn.00449cd4
mov word [esi + 0x10], 0x2c
lea edx, [edi + 0x266]
lea eax, [ebp - 0x1c]
call fcn.004a6374
inc dword [esi + 0x1c]
xor ecx, ecx
mov edx, dword [eax]
mov dword [ebp - 0x20], ecx
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x20]
mov eax, ebx
call fcn.0040376c
lea edx, [ebp - 0x20]
mov eax, 0x4c43a4
call fcn.004a6504
dec dword [esi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a64d4
dec dword [esi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a64d4
cmp dword [0x4c43a4], 0
je 0x403b57
mov word [esi + 0x10], 0x38
lea edx, [edi + 0x270]
lea eax, [ebp - 0x24]
call fcn.004a6374
inc dword [esi + 0x1c]
lea edx, [ebp - 0x24]
mov eax, 0x4c43a4
call fcn.004a65b8
test al, al
lea eax, [ebp - 0x24]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [esi + 0x1c]
call fcn.004a64d4
pop ecx
test ecx, ecx
je 0x403b57
mov dl, 1
mov eax, dword [ebx + 0x3a4]
call fcn.00422b30
mov byte [0x4bb221], 1
cmp dword [0x4c4388], 0
je 0x403b69
cmp dword [0x4c43a0], 0
jne 0x403b83
cmp dword [0x4c438c], 0
je 0x403d41
cmp dword [0x4c43a0], 0
je 0x403d41
mov eax, 0x4c43a0
call fcn.004a6808
sub eax, 1
jb 0x403b9d
je 0x403c73
jmp 0x403d41
push 0
lea edx, [edi + 0x275]
push edx
call sub.USER32.DLL_FindWindowA
test eax, eax
jne 0x403d41
mov eax, dword [0x4c4388]
call fcn.004883f4
test al, al
je 0x403c30
push 5
push 0
push 0
cmp dword [0x4c4388], 0
je 0x403bd8
mov edx, dword [0x4c4388]
jmp 0x403bde
lea edx, [edi + 0x286]
push edx
lea eax, [edi + 0x281]
push eax
mov ecx, dword [0x4c3ea8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push edx
call sub.SHELL32.DLL_ShellExecuteA
mov word [esi + 0x10], 0x44
lea edx, [edi + 0x287]
lea eax, [ebp - 0x28]
call fcn.004a6374
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x344]
call fcn.00464c10
dec dword [esi + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a64d4
jmp 0x403d41
mov ecx, dword [ebx + 0x33c]
lea edx, [edi + 0x29d]
mov word [esi + 0x10], 0x50
add ecx, 0x220
lea eax, [ebp - 0x2c]
mov ebx, ecx
call fcn.004a6374
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [esi + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a64d4
jmp 0x403d41
mov edx, ebx
mov eax, ebx
call fcn.004034c0
cmp dword [0x4bb224], 0
jne 0x403d41
mov eax, dword [0x4c438c]
call fcn.004883f4
test al, al
je 0x403d03
push 5
push 0
push 0
cmp dword [0x4c438c], 0
je 0x403cae
mov edx, dword [0x4c438c]
jmp 0x403cb4
lea edx, [edi + 0x2ea]
push edx
lea eax, [edi + 0x2e5]
push eax
mov ecx, dword [0x4c3ea8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
push edx
call sub.SHELL32.DLL_ShellExecuteA
mov word [esi + 0x10], 0x5c
lea edx, [edi + 0x2eb]
lea eax, [ebp - 0x30]
call fcn.004a6374
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx + 0x344]
call fcn.00464c10
dec dword [esi + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a64d4
jmp 0x403d41
mov ecx, dword [ebx + 0x33c]
lea edx, [edi + 0x2fe]
mov word [esi + 0x10], 0x68
add ecx, 0x220
lea eax, [ebp - 0x34]
mov ebx, ecx
call fcn.004a6374
inc dword [esi + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [esi + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a64d4
mov ecx, dword [esi]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret