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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41528b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x41f080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x41f018
lea ecx, [ebp - 0x258]
call fcn.00401170
mov edi, dword [ebp - 0x244]
lea edx, [ebp - 0x258]
mov esi, dword [ebp - 0x248]
cmp edi, 0xf
mov dword [ebp - 4], 0
cmova edx, dword [ebp - 0x258]
test esi, esi
je 0x4017b4
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x4017b0
cmp ecx, edx
je 0x4017b4
dec ecx
cmp byte [ecx], 0x5c
jne 0x4017a6
sub ecx, edx
jmp 0x4017b7
or ecx, 0xffffffff
inc ecx
cmp esi, ecx
jb 0x401bd6
cmp edi, 0xf
mov dword [ebp - 0x248], ecx
lea eax, [ebp - 0x258]
cmova eax, dword [ebp - 0x258]
mov byte [eax + ecx], 0
lea eax, [ebp - 0x258]
cmp dword [ebp - 0x244], 0xf
cmova eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [0x41f028]
xorps xmm0, xmm0
mov eax, 0x7fffffff
movlpd qword [ebp - 0x2cc], xmm0
sub eax, ecx
movlpd qword [ebp - 0x2c4], xmm0
movlpd qword [ebp - 0x2bc], xmm0
movlpd qword [ebp - 0x2b4], xmm0
movlpd qword [ebp - 0x2ac], xmm0
movlpd qword [ebp - 0x2a4], xmm0
movlpd qword [ebp - 0x29c], xmm0
movlpd qword [ebp - 0x294], xmm0
mov dword [ebp - 0x2d0], 0x44
mov dword [ebp - 0x278], ecx
cmp eax, 1
jb 0x401bdb
cmp dword [0x41f02c], 0xf
lea edi, [ecx + 1]
mov eax, 0x41f018
mov dword [ebp - 0x218], 0
cmova eax, dword [0x41f018]
lea esi, [ebp - 0x228]
mov ecx, 0xf
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x214], 0
movups xmmword [ebp - 0x228], xmm0
cmp edi, ecx
jbe 0x4018f0
mov eax, edi
or eax, ecx
cmp eax, 0x7fffffff
jbe 0x4018b6
mov eax, 0x7fffffff
jmp 0x4018c0
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00401020
mov ecx, dword [ebp - 0x274]
mov esi, eax
mov eax, dword [ebp - 0x27c]
add esp, 8
mov dword [ebp - 0x228], esi
push dword [ebp - 0x278]
mov dword [ebp - 0x218], edi
push eax
push esi
mov dword [ebp - 0x214], ecx
call fcn.00403e30
mov eax, dword [ebp - 0x278]
add esp, 0xc
mov byte [esi + eax], 0x20
mov byte [esi + edi], 0
cmp dword [0x41f014], 0xf
lea ecx, [ebp - 0x228]
push dword [0x41f010]
mov eax, section..data
mov byte [ebp - 4], 1
cmova eax, dword [section..data]
push eax
call fcn.00401cc0
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x28c]
push ecx
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x2d0]
push ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x240], xmm0
push 0
movups xmm0, xmmword [eax]
push 0
push 4
movups xmmword [ebp - 0x240], xmm0
push 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x230], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x22c], 0xf
push 0
cmova eax, dword [ebp - 0x240]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 0x22c]
mov esi, eax
cmp ecx, 0xf
jbe 0x4019fc
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4019f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401be0
push ecx
push edx
call fcn.00402d0e
add esp, 8
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
mov byte [ebp - 0x240], 0
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x401a55
mov edx, dword [ebp - 0x228]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401a4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401be0
push ecx
push edx
call fcn.00402d0e
add esp, 8
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov byte [ebp - 0x228], 0
test esi, esi
je 0x401be5
cmp byte [0x41fb0c], 0
mov eax, dword [ebp - 0x28c]
mov dword [0x41faf8], eax
je 0x401b3d
mov edx, dword [0x41fb08]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x260], 0
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x25c], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ac0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x270]
call fcn.00401080
movzx eax, byte [0x41fb0d]
push eax
push dword [ebp - 0x284]
lea eax, [ebp - 0x270]
push dword [ebp - 0x28c]
push eax
call fcn.00401550
mov ecx, dword [ebp - 0x25c]
add esp, 0x10
mov esi, eax
cmp ecx, 0xf
jbe 0x401b35
mov edx, dword [ebp - 0x270]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401b2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c4b
push ecx
push edx
call fcn.00402d0e
add esp, 8
test esi, esi
jne 0x401c50
push dword [ebp - 0x288]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push dword [0x41fafc]
push 0xffff
call esi
push 0xffffffffffffffff
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push dword [0x41fb00]
push 0xffff
call esi
mov ecx, dword [ebp - 0x244]
cmp ecx, 0xf
jbe 0x401bb9
mov edx, dword [ebp - 0x258]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401baf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c65
push ecx
push edx
call fcn.00402d0e
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.00402f6d
mov esp, ebp
pop ebp
ret
call fcn.00401cb0
call fcn.00401ca0
call fcn.00405f3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0xffffffffffffffff
push dword [0x41fb04]
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
cmp byte [0x41f030], 0
jne 0x401c44
push esi
push 0xffffffffffffffff
push str.Failed_to_launch_application:__d__0x_x_
lea eax, [ebp - 0x210]
push 0x200
push eax
call fcn.004020c0
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.00407e6c
call fcn.00405f3f
movups xmm0, xmmword [ebp - 0x28c]
push esi
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004014d0
call fcn.00405f3f
int3