Function at 0x4068c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41a7b7
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x4243c8]
xor eax, esp
mov dword [esp + 0x834], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4243c8]
xor eax, esp
push eax
lea eax, [esp + 0x84c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x864]
mov ebp, dword [esp + 0x868]
mov edi, dword [esp + 0x860]
push esi
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov ebx, esp
push edi
mov dword [esp + 0x860], 1
call fcn.00402240
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esp + 0x868]
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
push eax
mov byte [esp + 0x864], 2
mov dword [esp + 0x28], eax
call fcn.00402240
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [esp + 0x860], 1
call fcn.00405560
add esp, 0xc
push esi
push ecx
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
call fcn.00402240
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x864], 3
call fcn.00402240
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x860], 1
call fcn.00405760
push 0x1e
push 0x1f4
call fcn.004041d0
mov byte [ebp], al
mov edx, dword [0x4258bc]
mov eax, dword [edx + 0xc]
add esp, 0x14
mov ecx, 0x4258bc
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0
lea ecx, [esp + 0x20]
push ecx
push ecx
mov dword [esp + 0x20], esp
mov esi, esp
push edi
mov byte [esp + 0x864], 4
call fcn.00402240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00404c00
mov ebx, dword [esp + 0x28]
add esp, 0xc
add ebx, 0xfffffff0
xor esi, esi
lea esp, [esp]
mov edx, dword [esi + 0x423018]
push 0xa
push 5
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004048e0
push ecx
mov dword [esp + 0x30], esp
mov ebp, esp
push ebx
mov byte [esp + 0x868], 5
call fcn.00402240
add eax, 0x10
mov dword [ebp], eax
lea eax, [esp + 0x28]
add esp, 4
push eax
mov byte [esp + 0x868], 4
call fcn.00404ce0
push 0x40e
lea ecx, [esp + 0x42]
push 0
push ecx
mov byte [esp + 0x874], 6
mov word [esp + 0x48], 0
call fcn.0040b3b0
mov ebp, dword [esp + 0x87c]
push ebp
lea edx, [esp + 0x4c]
push 0x208
push edx
call fcn.0040bbad
mov eax, dword [esp + 0x40]
add esp, 0x2c
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [esi + 0x42301c], 0
je 0x406acd
lea edx, [esp + 0x85c]
push edx
push 0
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004048e0
call fcn.00404a50
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x854], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406af5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0x14
cmp esi, 0x1b8
jb 0x406a10
push 0x40e
lea ecx, [esp + 0x43e]
push 0
push ecx
mov word [esp + 0x444], 0
call fcn.0040b3b0
push ebp
lea edx, [esp + 0x448]
push 0x208
push edx
call fcn.0040bbad
add esp, 0x18
push str.redirect.inf
lea eax, [esp + 0x43c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
lea ecx, [esp + 0x43c]
push 0x80
push ecx
call fcn.00405d20
add esp, 0xc
call fcn.00401420
test al, al
je 0x406b7f
call fcn.004014b0
test al, al
jne 0x406b7f
push 1
push ebp
call fcn.00408140
add esp, 8
call fcn.004015c0
push 0
push 0x41c8a4
push str._c__regsvr32__s_Urlmon.dllregsvr32__s_Actxprxy.dllregsvr32__s_Oleaut32.dllregsvr32__s_Shell32.dll_
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x854], 1
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x406bc3
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x854], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406be8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x854], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c0c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, 1
mov ecx, dword [esp + 0x84c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x834]
xor ecx, esp
call fcn.0040b399
add esp, 0x844
ret