Function at 0x4db818
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4db820
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4dbb3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d9cb4
test al, al
je 0x4dbaeb
mov eax, dword [0x4e20a0]
call fcn.0040975c
lea edx, [ebp - 0x2c]
mov eax, 0x4dbb54
call fcn.004d940c
push dword [ebp - 0x2c]
push dword [0x4e20b8]
lea edx, [ebp - 0x30]
mov eax, 0x4dbb6c
call fcn.004d940c
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404c5c
mov edx, dword [ebp - 0x28]
mov ecx, dword [0x4e20a0]
mov eax, esi
call fcn.004dae40
mov ecx, dword [0x4e20a0]
mov dl, 1
mov eax, dword [0x46cc30]
call fcn.0046cce0
mov ebx, eax
push 0
mov ecx, 0x4dbb90
mov edx, 0x4dbba0
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebp - 0xc], eax
push 0
mov ecx, 0x4dbbb0
mov edx, 0x4dbba0
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebp - 0x10], eax
push 0
mov ecx, 0x4dbbc0
mov edx, 0x4dbba0
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4dbbd4
mov edx, 0x4dbba0
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4dbbe0
mov edx, 0x4dbba0
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
push 0
mov ecx, 0x4dbbf0
mov edx, 0x4dbba0
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [0x4e20d0], eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4dbc00
mov edx, 0x4dbba0
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4dbc14
mov edx, 0x4dbba0
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx]
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.004d9a68
push dword [ebp - 0x34]
push 0x4dbc28
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404c5c
cmp dword [ebp - 0x14], 0
jne 0x4db9b0
cmp dword [ebp - 0xc], 1
jne 0x4db9eb
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 8]
call fcn.00409888
mov eax, dword [ebp - 0x38]
call fcn.00409678
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004dae40
mov byte [ebp - 0x15], al
jmp 0x4db9eb
mov edx, dword [0x4e2090]
mov eax, esi
call fcn.004dbc88
cmp eax, dword [ebp - 0x14]
jne 0x4db9eb
cmp dword [ebp - 0xc], 1
jne 0x4db9eb
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.00409888
mov eax, dword [ebp - 0x3c]
call fcn.00409678
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004dae40
mov byte [ebp - 0x15], al
cmp dword [0x4e20d0], 1
jne 0x4dba04
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.004dae40
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x4dbaeb
cmp dword [ebp - 0x10], 1
jne 0x4dba35
push 5
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404d94
push eax
push 0x4dbc2c
mov eax, esi
call fcn.0044fc20
push eax
call sub.shell32.dll_ShellExecuteA
cmp dword [0x4e20d0], 1
jne 0x4dba94
lea edx, [ebp - 0x48]
mov eax, 0x4dbb54
call fcn.004d940c
push dword [ebp - 0x48]
push dword [0x4e20b8]
lea edx, [ebp - 0x4c]
mov eax, 0x4dbc3c
call fcn.004d940c
push dword [ebp - 0x4c]
push dword [ebp - 0x20]
push 0x4dbc70
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.00404c5c
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.0040516c
mov edx, dword [ebp - 0x40]
mov eax, dword [esi + 0x334]
call fcn.004bf194
jmp 0x4dbaeb
lea edx, [ebp - 0x58]
mov eax, 0x4dbb54
call fcn.004d940c
push dword [ebp - 0x58]
push dword [0x4e20b8]
lea edx, [ebp - 0x5c]
mov eax, 0x4dbc3c
call fcn.004d940c
push dword [ebp - 0x5c]
push dword [0x4e20bc]
push 0x4dbc70
lea eax, [ebp - 0x54]
mov edx, 5
call fcn.00404c5c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
call fcn.0040516c
mov edx, dword [ebp - 0x50]
mov eax, dword [esi + 0x334]
call fcn.004bf194
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbb44
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00404908
lea eax, [ebp - 0x50]
call fcn.00405000
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404908
lea eax, [ebp - 0x40]
call fcn.00405000
lea eax, [ebp - 0x3c]
mov edx, 9
call fcn.00404908
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404908
ret