Function at 0x4a3108
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4a3111
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a364a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x4c26a4], eax
mov byte [ebp - 0x1a], 0
mov eax, dword [ebp - 4]
cmp eax, 5
ja case.default.0x4a314b
jmp dword [eax*4 + 0x4a3152]
cmp dword [esi + 0x7c], 0
je 0x4a317b
lea eax, [esi + 0x78]
mov edx, dword [esi + 0x7c]
call fcn.004045f8
lea eax, [esi + 0x70]
mov edx, dword [edi + 4]
call fcn.0040479c
cmp dword [esi + 0x70], 0
je 0x4a31be
lea eax, [ebp - 0x2c]
mov edx, dword [edi + 0xc]
call fcn.0040479c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x20]
mov edx, 1
call fcn.004a2784
mov edx, dword [ebp - 0x20]
lea eax, [esi + 0x70]
call fcn.004045f8
lea eax, [esi + 0x74]
mov edx, dword [edi + 8]
call fcn.0040479c
cmp word [esi + 0x42], 0
je 0x4a3212
lea eax, [ebp - 0x30]
mov edx, dword [edi + 8]
call fcn.0040479c
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [edi + 0xc]
call fcn.0040479c
mov eax, dword [ebp - 0x34]
push eax
mov ax, word [edi + 0x1e]
push eax
mov ax, word [edi + 0x20]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [edi + 4]
call fcn.0040479c
mov ecx, dword [ebp - 0x38]
mov edx, esi
mov eax, dword [esi + 0x44]
call dword [esi + 0x40]
cmp byte [ebp - 0x1a], 0
je 0x4a3224
mov dword [ebp - 8], 0xffffffff
jmp 0x4a361a
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4a361a
lea eax, [ebp - 0x3c]
mov edx, dword [edi + 4]
call fcn.0040479c
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4a3263
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x94]
mov ebx, dword [eax]
call dword [ebx + 0xc]
jmp 0x4a326b
lea eax, [ebp - 0xc]
call fcn.004045a4
cmp word [esi + 0x52], 0
je 0x4a32ae
lea eax, [ebp - 0x40]
mov edx, dword [edi + 8]
call fcn.0040479c
mov eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [edi + 0xc]
call fcn.0040479c
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x48]
mov edx, dword [edi + 4]
call fcn.0040479c
mov ecx, dword [ebp - 0x48]
mov edx, esi
mov eax, dword [esi + 0x54]
call dword [esi + 0x50]
cmp byte [ebp - 0x1a], 0
je 0x4a32c0
mov dword [ebp - 8], 0xffffffff
jmp 0x4a361a
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4a361a
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
mov edx, dword [edi + 4]
call fcn.0040479c
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc]
mov edx, 1
call fcn.004a2784
cmp word [esi + 0x4a], 0
je 0x4a332d
mov eax, dword [edi]
push eax
mov ax, word [edi + 0x18]
push eax
mov ax, word [edi + 0x1a]
push eax
mov ax, word [edi + 0x1c]
push eax
mov ax, word [edi + 0x22]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x50]
mov edx, dword [edi + 4]
call fcn.0040479c
mov ecx, dword [ebp - 0x50]
mov edx, esi
mov eax, dword [esi + 0x4c]
call dword [esi + 0x48]
cmp byte [ebp - 0x1a], 0
je 0x4a333f
mov dword [ebp - 8], 0xffffffff
jmp 0x4a361a
cmp dword [ebp - 0xc], 0
jne 0x4a334f
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4a361a
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0xc]
call fcn.00409728
mov eax, dword [ebp - 0x54]
call fcn.004094a4
mov eax, dword [ebp - 0xc]
call fcn.00409470
test al, al
je 0x4a3397
mov eax, dword [ebp - 0xc]
call fcn.0040958c
test al, 1
je 0x4a3397
test byte [esi + 0x3c], 2
je 0x4a338a
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4a361a
mov edx, eax
and edx, 0xfffffffe
mov eax, dword [ebp - 0xc]
call fcn.004095a0
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404a64
mov ecx, 0x180
mov edx, 0x8121
call fcn.004a28dc
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], 0
je 0x4a33c8
mov eax, dword [ebp - 0x14]
mov dword [0x4c26a4], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4a361a
lea eax, [ebp - 0x58]
mov edx, dword [edi + 4]
call fcn.0040479c
mov edx, dword [ebp - 0x58]
mov eax, dword [esi + 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x94]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a361a
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov eax, dword [edi + 0x14]
call fcn.004a29d4
lea eax, [ebp - 0x5c]
mov edx, dword [edi + 4]
call fcn.0040479c
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4a347d
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x94]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x90]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x94]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov ax, word [edi + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404a64
mov cx, word [edi + 0x1a]
mov dx, word [edi + 0x18]
call fcn.004a2a1c
jmp 0x4a3485
lea eax, [ebp - 0xc]
call fcn.004045a4
mov eax, dword [edi]
and eax, 1
dec eax
sete byte [ebp - 0x19]
cmp word [esi + 0x5a], 0
je 0x4a34cc
mov ax, word [edi + 0x18]
push eax
mov ax, word [edi + 0x1a]
push eax
mov ax, word [edi + 0x1c]
push eax
mov ax, word [edi + 0x22]
push eax
lea eax, [ebp - 0x19]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x60]
mov edx, dword [edi + 4]
call fcn.0040479c
mov ecx, dword [ebp - 0x60]
mov edx, esi
mov eax, dword [esi + 0x5c]
call dword [esi + 0x58]
cmp byte [ebp - 0x1a], 0
je 0x4a34de
mov dword [ebp - 8], 0xffffffff
jmp 0x4a361a
cmp byte [ebp - 0x19], 0
je 0x4a350b
test byte [esi + 0x3c], 1
je 0x4a350b
cmp dword [ebp - 0xc], 0
je 0x4a350b
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404a64
push eax
push 0x4a365c
push 0
call sub.shell32.dll_ShellExecuteA
mov dword [ebp - 8], 1
jmp 0x4a361a
cmp word [esi + 0x62], 0
je 0x4a3586
lea eax, [ebp - 0x10]
mov edx, dword [edi + 0xc]
call fcn.0040479c
lea eax, [ebp - 0x64]
mov edx, dword [edi + 8]
call fcn.0040479c
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x24]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x68]
mov edx, dword [edi + 4]
call fcn.0040479c
mov ecx, dword [ebp - 0x68]
mov edx, esi
mov eax, dword [esi + 0x64]
call dword [esi + 0x60]
cmp byte [ebp - 0x1a], 0
je 0x4a3569
mov dword [ebp - 8], 0xffffffff
jmp 0x4a359a
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call fcn.0040da04
mov edx, dword [ebp - 0x6c]
mov eax, dword [edi + 0xc]
call fcn.0040994c
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4a359a
cmp dword [edi + 0x24], 0
jne 0x4a3593
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4a359a
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0x74]
mov edx, dword [edi + 0xc]
call fcn.0040479c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x78]
mov edx, dword [edi + 4]
call fcn.0040479c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x70]
mov edx, 1
call fcn.004a2784
mov edx, dword [ebp - 0x70]
lea eax, [esi + 0x7c]
call fcn.004045f8
mov byte [esi + 0x80], 1
jmp 0x4a361a
xor eax, eax
mov dword [ebp - 8], eax
cmp word [esi + 0x6a], 0
je 0x4a361a
push edi
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [esi + 0x6c]
call dword [esi + 0x68]
jmp 0x4a361a
xor eax, eax
mov dword [ebp - 8], eax
cmp word [esi + 0x6a], 0
je 0x4a361a
push edi
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [esi + 0x6c]
call dword [esi + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3651
lea eax, [ebp - 0x78]
mov edx, 0x14
call fcn.004045c8
lea eax, [ebp - 0x20]
call fcn.004045a4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004045c8
ret