Function at 0x401560
Capabilities:
Create process on windows
Create process suspended
Resume thread
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x41f054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x41faa8]
lea ecx, [ebp - 0x240]
xorps xmm0, xmm0
mov byte [ebp - 0x272], al
push 0x41f004
movlpd qword [ebp - 0x2d0], xmm0
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
movlpd qword [ebp - 0x2b0], xmm0
movlpd qword [ebp - 0x2a8], xmm0
movlpd qword [ebp - 0x2a0], xmm0
movlpd qword [ebp - 0x298], xmm0
mov dword [ebp - 0x2d4], 0x44
call fcn.004010d0
mov edi, dword [ebp - 0x22c]
lea edx, [ebp - 0x240]
mov esi, dword [ebp - 0x230]
cmp edi, 0x10
mov dword [ebp - 4], 0
cmovae edx, dword [ebp - 0x240]
test esi, esi
je 0x40163e
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x40163a
nop
cmp ecx, edx
je 0x40163e
dec ecx
cmp byte [ecx], 0x5c
jne 0x401630
sub ecx, edx
jmp 0x401641
or ecx, 0xffffffff
inc ecx
cmp esi, ecx
jb 0x4019f6
cmp edi, 0x10
mov dword [ebp - 0x230], ecx
lea eax, [ebp - 0x240]
cmovae eax, dword [ebp - 0x240]
mov byte [eax + ecx], 0
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x22c], 0x10
cmovae eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [0x41f014]
mov eax, 0x7fffffff
sub eax, ecx
mov dword [ebp - 0x278], ecx
cmp eax, 1
jb 0x4019fb
cmp dword [0x41f018], 0x10
lea edi, [ebp - 0x228]
mov eax, 0x41f004
mov dword [ebp - 0x228], 0
cmovae eax, dword [0x41f004]
mov esi, 0xf
mov dword [ebp - 0x280], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x27c], eax
cmp eax, esi
jbe 0x40172b
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x4016fe
mov esi, 0x7fffffff
jmp 0x401708
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401ae0
mov ecx, dword [ebp - 0x278]
mov edi, eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x228], edi
push ecx
push dword [ebp - 0x280]
mov dword [ebp - 0x218], eax
push edi
mov dword [ebp - 0x214], esi
call fcn.00404010
mov eax, dword [ebp - 0x278]
add esp, 0xc
mov word [edi + eax], 0x20
cmp dword [0x41f030], 0x10
lea ecx, [ebp - 0x228]
push dword [0x41f02c]
mov eax, 0x41f01c
mov byte [ebp - 4], 1
cmovae eax, dword [0x41f01c]
push eax
call fcn.00401b40
lea ecx, [ebp - 0x290]
push ecx
lea ecx, [ebp - 0x2d4]
movups xmm0, xmmword [eax]
push ecx
push 0
push 0
movups xmmword [ebp - 0x258], xmm0
push 4
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x248], xmm0
push 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x244], 0x10
push 0
cmovae eax, dword [ebp - 0x258]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [ebp - 0x244]
test eax, eax
sete byte [ebp - 0x271]
cmp edx, 0x10
jb 0x40181e
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401814
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a00
push edx
push ecx
call fcn.00402e33
add esp, 8
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x401877
mov ecx, dword [ebp - 0x228]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40186d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a00
push edx
push ecx
call fcn.00402e33
add esp, 8
cmp byte [ebp - 0x271], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
jne 0x401a05
cmp byte [ebp - 0x272], 0
mov eax, dword [ebp - 0x290]
mov dword [0x41fa88], eax
je 0x40195d
mov edx, dword [0x41faac]
mov ecx, edx
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0xf
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4018e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x270]
call fcn.00401ca0
movzx eax, byte [0x41faa9]
push eax
push dword [ebp - 0x288]
lea eax, [ebp - 0x270]
push dword [ebp - 0x290]
push eax
call fcn.00401380
mov edx, dword [ebp - 0x25c]
add esp, 0x10
mov esi, eax
cmp edx, 0x10
jb 0x401955
mov ecx, dword [ebp - 0x270]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40194b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a6b
push edx
push ecx
call fcn.00402e33
add esp, 8
test esi, esi
jne 0x401a70
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push dword [0x41fa8c]
push 0xffff
call esi
push 0xffffffffffffffff
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push dword [0x41fa90]
push 0xffff
call esi
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x4019d9
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4019cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401a85
push edx
push ecx
call fcn.00402e33
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403092
mov esp, ebp
pop ebp
ret
call fcn.00401ad0
call fcn.00401ac0
call fcn.00406112
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xffffffffffffffff
push dword [0x41fa94]
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
cmp byte [section..data], 0
jne 0x401a64
push esi
push 0xffffffffffffffff
push str.Failed_to_launch_application:__d__0x_x_
lea eax, [ebp - 0x210]
push 0x200
push eax
call fcn.004020b0
add esp, 0x14
lea eax, [ebp - 0x210]
push 0x50010
push str.TechViz_AppLoader_Error
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040648f
call fcn.00406112
movups xmm0, xmmword [ebp - 0x290]
push esi
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00401300
call fcn.00406112
int3