Function at 0x4015d0
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x45d62e
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4754f4]
xor eax, esp
mov dword [esp + 0x184], eax
push ebp
push esi
push edi
mov eax, dword [0x4754f4]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x41a]
push eax
lea ecx, [esp + 0x28]
call fcn.00402eb0
mov edi, eax
xor ebp, ebp
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1a4], ebp
call fcn.00402eb0
push 0x465af8
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x1ac], 1
call fcn.00402300
push edi
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x1b8], 2
call fcn.00402240
add esp, 0x18
mov byte [esp + 0x1a0], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401688
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1a0], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4016b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1a0], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4016d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x103
lea ecx, [esp + 0x91]
push ebp
push ecx
mov byte [esp + 0x98], 0
call fcn.004314b0
mov edx, dword [esp + 0x20]
push edx
push 0x465afc
lea edx, [esp + 0xa0]
call fcn.00402740
add esp, 0x14
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x401a0c
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push str.Install_Model:
push eax
call fcn.004023e0
push 0x465b00
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x1b8], 7
call fcn.00402300
add esi, 0x51e
push esi
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x1c4], 8
call fcn.00402300
push 0x465a78
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x1d0], 9
call fcn.00402300
mov eax, dword [eax]
add esp, 0x30
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4017b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1a0], 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4017df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1a0], 7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401807
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1a0], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40182f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 0x2e
push ecx
call fcn.0042d7d0
add esp, 8
cmp eax, ebp
jne 0x401847
or eax, 0xffffffff
jmp 0x40184b
sub eax, dword [esp + 0x14]
inc eax
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402210
lea edi, [esp + 0x1c]
mov byte [esp + 0x1a0], 0xa
call fcn.004021b0
mov edi, dword [esp + 0x1c]
push 0x465b18
push edi
call fcn.0042da2a
add esp, 8
cmp eax, ebp
sete al
test al, al
je 0x4018f0
push 0x3c
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.004314b0
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x3c
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push ebp
push str.MsiDialogCloseClass
call dword [sym.imp.USER32.dll_FindWindowA]
mov eax, dword [esp + 0x6c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4019e8
push 0x465b00
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00402300
push esi
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1b8], 0xb
call fcn.00402300
add esp, 0x18
mov byte [esp + 0x1a0], 0xd
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401943
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x40
lea ecx, [esp + 0x3c]
push ebp
push ecx
call fcn.004314b0
mov eax, dword [esp + 0x24]
mov ecx, 1
mov edx, 5
add esp, 0xc
mov dword [esp + 0x34], 0x44
mov word [esp + 0x64], dx
mov dword [esp + 0x60], ecx
cmp dword [eax - 4], ecx
jle 0x401988
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402c00
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
push ebp
push 0x20
push ebp
push ebp
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4019c0
mov eax, dword [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0x1a0], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4019e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x1a0], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401a0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1a0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401a37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0042d298
add esp, 0x194
ret