Function at 0x40ca80
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0xc3c]
sub esp, 0xc3c
push 0xffffffffffffffff
push 0x47080b
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x49ab20]
xor eax, ebp
mov dword [ebp + 0xc38], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x4858e4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00405330
push 0x4858e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00405330
push 0x4858e4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00405330
push 0x200
lea ecx, [ebp + 0x82a]
xor eax, eax
push ebx
push ecx
mov byte [ebp - 4], 3
mov word [ebp + 0x828], ax
call fcn.00451660
mov eax, dword [ebp + 0xc44]
push 0x100
lea edx, [ebp + 0x828]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.00453073
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
add esp, 0x30
push 0x476a30
lea ecx, [ebp + 0x828]
push ecx
call esi
neg eax
sbb eax, eax
inc eax
cmp eax, ebx
je 0x40cd36
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp + 0xc44]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040b290
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00404d00
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cb95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x208
lea eax, [ebp + 0xa2e]
xor edx, edx
push ebx
push eax
mov word [ebp + 0xa2c], dx
call fcn.00451660
push 0x200
lea edx, [ebp + 0x20e]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0x20c], cx
call fcn.00451660
push 0x208
lea ecx, [ebp + 0x61e]
xor eax, eax
push ebx
push ecx
mov word [ebp + 0x61c], ax
call fcn.00451660
push 0x100
lea edx, [ebp + 0x828]
push edx
push 0x100
lea eax, [ebp + 0x61c]
push eax
mov eax, dword [ebp - 0x14]
push 0x100
lea ecx, [ebp + 0x20c]
push ecx
push 3
lea edx, [ebp + 0xa2c]
push edx
push eax
call fcn.00453073
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0x48
lea ecx, [ebp + 0x20c]
push ecx
lea edx, [ebp + 0xa2c]
push edx
call edi
lea eax, [ebp + 0x828]
push eax
lea ecx, [ebp + 0x61c]
push ecx
call edi
push 0x100
lea edx, [ebp + 0x828]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x49df90
call fcn.00453073
add esp, 0x24
push str..dwg
lea eax, [ebp + 0x828]
push eax
call esi
test eax, eax
jne 0x40ce02
push 0x208
lea edx, [ebp + 0x412]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0x410], cx
call fcn.00451660
push 0x208
lea ecx, [ebp + 2]
xor eax, eax
push ebx
push ecx
mov word [ebp], ax
call fcn.00451660
add esp, 0x14
lea edx, [ebp + 0x828]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
call fcn.00405330
lea ecx, [ebp - 0x6c]
call fcn.00411fe0
lea eax, [ebp - 0x20]
push eax
push ebx
lea ecx, [ebp]
push ecx
lea edx, [ebp + 0x410]
push edx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], ebx
call fcn.00411490
test eax, eax
je 0x40cdf6
push str.THvacStart.exe
lea eax, [ebp + 0x61c]
push eax
call esi
test eax, eax
jne 0x40cd4a
lea ecx, [ebp + 0xa2c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004051c0
lea edx, [ebp + 0x410]
push edx
lea ecx, [ebp - 0x14]
call fcn.004051c0
push str._p_THvac8__t__
lea ecx, [ebp - 0x10]
call fcn.004051c0
lea eax, [ebp + 0xa2c]
push eax
jmp 0x40cde1
lea ecx, [ebp + 0xc44]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404d00
jmp 0x40ce02
push str.TGStart.exe
lea ecx, [ebp + 0x61c]
push ecx
call esi
test eax, eax
jne 0x40cd9d
lea edx, [ebp + 0xa2c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004051c0
lea eax, [ebp + 0x410]
push eax
lea ecx, [ebp - 0x14]
call fcn.004051c0
push str._p_TArch8__t__
lea ecx, [ebp - 0x10]
call fcn.004051c0
lea ecx, [ebp + 0xa2c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004052f0
push str.sys16_acad.dwt_
jmp 0x40cdee
push str.TwtStart.exe
lea edx, [ebp + 0x61c]
push edx
call esi
test eax, eax
jne 0x40cdf6
lea eax, [ebp + 0xa2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004051c0
lea ecx, [ebp + 0x410]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004051c0
push str._p_TWT8__t__
lea ecx, [ebp - 0x10]
call fcn.004051c0
lea edx, [ebp + 0xa2c]
push edx
lea ecx, [ebp - 0x10]
call fcn.004052f0
push str.sys_acad.dwt_
lea ecx, [ebp - 0x10]
call fcn.004052f0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.00410cb0
push 0x4858e4
lea ecx, [ebp - 0x18]
call fcn.00405330
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00404d00
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
mov edx, 0x476910
cmp eax, ebx
je 0x40ce33
mov edx, 0x476930
mov eax, edx
lea esi, [eax + 2]
jmp 0x40ce40
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ce40
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.00404bc0
mov eax, 0x49df90
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ce61
sub eax, edx
sar eax, 1
push eax
push 0x49df90
lea ecx, [ebp - 0x18]
call fcn.00404bc0
push 1
push 0x476910
lea ecx, [ebp - 0x18]
call fcn.00404bc0
mov eax, dword [ebp - 0x18]
mov edi, eax
cmp eax, ebx
jne 0x40ce9a
xor eax, eax
jmp 0x40cec3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x40cead
xor eax, eax
jmp 0x40cec3
lea esi, [eax + eax]
mov eax, esi
call fcn.004522f0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00402960
push eax
push str.OpenDocumentByPath:_cmd_s
call fcn.00414dc0
push 0x3c
lea edx, [ebp - 0x5c]
push ebx
push edx
call fcn.00451660
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], str.open
mov eax, dword [ecx - 0xc]
add esp, 0x14
neg eax
sbb eax, eax
lea edx, [ebp - 0x5c]
and eax, ecx
push edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
or edx, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 3
je 0x40cfef
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cfbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc44]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cfe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40d09b
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d008
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d02b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d04e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d070
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc44]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d099
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
lea esp, [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc38]
xor ecx, ebp
call fcn.004522e0
add ebp, 0xc3c
mov esp, ebp
pop ebp
ret