Function at 0x4010c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53faab
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x5928e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004044ea
mov ecx, edi
call fcn.00401690
lea eax, [edi + 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.00405ae2
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x401125
push 0x80004005
call fcn.00402400
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 4], 0
call fcn.00405ae2
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x401158
push 0x80004005
call fcn.00402400
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 1
call fcn.00405ae2
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x401188
push 0x80004005
call fcn.00402400
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x94], esi
mov byte [ebp - 4], 2
call fcn.00405ae2
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4011b8
push 0x80004005
call fcn.00402400
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], vtable.CUtlCommonPath.0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 3
call fcn.00405ae2
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4011f3
push 0x80004005
call fcn.00402400
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], vtable.CUtlCommonPath.0
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 4
call fcn.00405ae2
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x401234
push 0x80004005
call fcn.00402400
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xdc], vtable.CUtlCommonPath.0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 4], 5
push dword [edi + 0x1e4]
lea eax, [ebp - 0x98]
push 0x571fe8
push eax
call fcn.00401ed0
mov edx, dword [edi + 0x1e4]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
add esp, 0xc
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
cmp eax, ecx
je 0x4012f5
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4012e0
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4012e0
push dword [ebp - 0x90]
call fcn.00401d70
add esp, 4
mov dword [ebp - 0x90], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4012d5
mov esi, dword [ebp - 0x8c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x90]
lea esi, [eax + 0x10]
mov dword [ebp - 0x94], esi
jmp 0x4012f5
push dword [edx - 0xc]
lea ecx, [ebp - 0x94]
push edx
call fcn.00402450
mov esi, dword [ebp - 0x94]
mov edx, dword [edi + 0x1e4]
mov dword [ebp - 0xd4], 0
test edx, edx
jne 0x40130d
xor ecx, ecx
jmp 0x401333
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
jmp 0x401320
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401320
sub ecx, dword [ebp - 0x8c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd8]
call fcn.00402450
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x90], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x40137f
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x8c]
cmp dword [ebp - 0x90], 0
push dword [edi + 0x1e4]
lea eax, [ebp - 0xd8]
je 0x401423
push str._sx64
push eax
call fcn.00401ed0
push dword [edi + 0x1e4]
lea eax, [ebp - 0x48]
push str._sx64SetupARP.exe
push eax
call fcn.00401ed0
add esp, 0x18
lea ecx, [ebp - 0x4c]
push 1
call fcn.00402d30
test al, al
jne 0x401445
push dword [edi + 0x1e4]
lea eax, [ebp - 0x84]
push str._sx86SetupARP.exe
push eax
call fcn.00401ed0
add esp, 0xc
lea ecx, [ebp - 0x88]
push 1
call fcn.00402d30
test al, al
je 0x401445
lea ecx, [ebp - 0xdc]
call fcn.00402bc0
lea eax, [ebp - 0xdc]
push 0x572074
push eax
call fcn.00402a60
add esp, 8
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402cb0
jmp 0x401445
push str._sx86
push eax
call fcn.00401ed0
push dword [edi + 0x1e4]
lea eax, [ebp - 0x48]
push str._sx86SetupARP.exe
push eax
call fcn.00401ed0
add esp, 0x18
mov edi, dword [ebp - 0x98]
push 1
push dword [ebp - 0xd8]
push edi
push dword [ebp - 0x48]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x401597
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x118]
call fcn.004028f0
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 6
call fcn.00402fc0
mov byte [ebp - 4], 7
call fcn.00405ae2
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4014ba
push 0x80004005
call fcn.00402400
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 8
push dword [ebp - 0x8c]
lea eax, [ebp - 0x8c]
push eax
call fcn.00401990
mov byte [ebp - 4], 9
push dword [eax]
lea eax, [ebp - 0x90]
push dword [ebp - 0x48]
push str._s_n_n_s
push eax
call fcn.00401ed0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
add esp, 0x10
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401521
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x90]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401545
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x9c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401569
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x114]
add edx, 0xfffffff0
mov dword [ebp - method.CUtlCommonPath.virtual_0], vtable.CUtlCommonPath.0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401597
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xd8]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4015bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
mov dword [ebp - 0x88], vtable.CUtlCommonPath.0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4015e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
mov dword [ebp - 0x4c], vtable.CUtlCommonPath.0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401611
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x401631
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40164e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40166c
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051914c
mov esp, ebp
pop ebp
ret