Function at 0x4db808
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4db810
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4dbb2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004d9cb4
test al, al
je 0x4dbadb
mov eax, dword [0x4e20a0]
call fcn.0040975c
lea edx, [ebp - 0x2c]
mov eax, 0x4dbb44
call fcn.004d4c78
push dword [ebp - 0x2c]
push dword [0x4e20b8]
lea edx, [ebp - 0x30]
mov eax, 0x4dbb5c
call fcn.004d4c78
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.004dae30
mov ecx, dword [0x4e20a0]
mov dl, 1
mov eax, dword [0x46cc30]
call fcn.0046cce0
mov ebx, eax
push 0
mov ecx, 0x4dbb80
mov edx, 0x4dbb90
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebp - 0xc], eax
push 0
mov ecx, 0x4dbba0
mov edx, 0x4dbb90
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebp - 0x10], eax
push 0
mov ecx, 0x4dbbb0
mov edx, 0x4dbb90
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, 0x4dbbc4
mov edx, 0x4dbb90
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4dbbd0
mov edx, 0x4dbb90
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
push 0
mov ecx, 0x4dbbe0
mov edx, 0x4dbb90
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, 0x4dbbf0
mov edx, 0x4dbb90
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4dbc04
mov edx, 0x4dbb90
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 0x4dbc18
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404c5c
cmp dword [ebp - 0x14], 0
jne 0x4db9a0
cmp dword [ebp - 0xc], 1
jne 0x4db9db
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.004dae30
mov byte [ebp - 0x15], al
jmp 0x4db9db
mov edx, dword [0x4e2090]
mov eax, esi
call fcn.004dbc78
cmp eax, dword [ebp - 0x14]
jne 0x4db9db
cmp dword [ebp - 0xc], 1
jne 0x4db9db
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.004dae30
mov byte [ebp - 0x15], al
cmp dword [0x4e20d0], 1
jne 0x4db9f4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.004dae30
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x4dbadb
cmp dword [ebp - 0x10], 1
jne 0x4dba25
push 5
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404d94
push eax
push 0x4dbc1c
mov eax, esi
call fcn.0044fc20
push eax
call sub.shell32.dll_ShellExecuteA
cmp dword [0x4e20d0], 1
jne 0x4dba84
lea edx, [ebp - 0x48]
mov eax, 0x4dbb44
call fcn.004d4c78
push dword [ebp - 0x48]
push dword [0x4e20b8]
lea edx, [ebp - 0x4c]
mov eax, 0x4dbc2c
call fcn.004d4c78
push dword [ebp - 0x4c]
push dword [ebp - 0x20]
push 0x4dbc60
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.00489760
jmp 0x4dbadb
lea edx, [ebp - 0x58]
mov eax, 0x4dbb44
call fcn.004d4c78
push dword [ebp - 0x58]
push dword [0x4e20b8]
lea edx, [ebp - 0x5c]
mov eax, 0x4dbc2c
call fcn.004d4c78
push dword [ebp - 0x5c]
push dword [0x4e20bc]
push 0x4dbc60
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.00489760
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbb34
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