Function at 0x401660
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc63d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x50a124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebx + 8]
push 0x4f538c
push 0
mov dword [edi + 8], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x40188a
push str.C:Program_Files__x86_ApowersoftApowersoft_iPhone_RecorderApowersoft_iPhone_Recorder.exe
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4017a7
call fcn.00408b60
push str.Apowersoft_not_found
sub esp, 0x18
mov dword [ebp - 0x18], eax
mov esi, esp
mov dword [ebp - 0x1c], esp
xorps xmm0, xmm0
mov ecx, esi
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00404670
mov dword [esi], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Apowersoft::Init]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x16
sub esp, 0x18
mov dword [ebp - 4], 0
mov esi, esp
xorps xmm0, xmm0
mov ecx, esi
push 0x60
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00404670
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x56
mov ecx, 0x15
mov dword [esi + 0x14], 0x5f
mov esi, str.D:workspacewzzbcef_98_mastercef_98cef_binarySCSCaptureSCSCaptureApowersoft.cpp
rep movsd dword es:[edi], dword [esi]
push 4
push dword [ebp - 0x18]
movsw word es:[edi], word [esi]
mov byte [eax + 0x56], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00409740
add esp, 0x40
push 0
push 0x4f54d8
push 0x4f54e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
call fcn.0041e8a0
xor eax, eax
jmp 0x401b85
call fcn.00401d60
push 0
push 0
push 0
push str.C:Program_Files__x86_ApowersoftApowersoft_iPhone_RecorderApowersoft_iPhone_Recorder.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
jg 0x40188a
call fcn.00408b60
push esi
push str.ShellExecute_failed__ret:_d
sub esp, 0x18
mov dword [ebp - 0x18], eax
mov esi, esp
mov dword [ebp - 0x20], esp
xorps xmm0, xmm0
mov ecx, esi
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00404670
mov dword [esi], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Apowersoft::Init]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x24
sub esp, 0x18
mov dword [ebp - 4], 1
mov esi, esp
xorps xmm0, xmm0
mov ecx, esi
push 0x60
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00404670
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x56
mov ecx, 0x15
mov dword [esi + 0x14], 0x5f
mov esi, str.D:workspacewzzbcef_98_mastercef_98cef_binarySCSCaptureSCSCaptureApowersoft.cpp
rep movsd dword es:[edi], dword [esi]
push 4
push dword [ebp - 0x18]
movsw word es:[edi], word [esi]
mov byte [eax + 0x56], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00409740
add esp, 0x44
xor eax, eax
jmp 0x401b85
mov ecx, edi
call fcn.00401ed0
test eax, eax
jne 0x40195b
mov ecx, dword [edi + 8]
call fcn.0041e8a0
call fcn.00408b60
push str.Connt_find_ApowersoftWnd
sub esp, 0x18
mov dword [ebp - 0x18], eax
mov esi, esp
mov dword [ebp - 0x20], esp
xorps xmm0, xmm0
mov ecx, esi
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00404670
mov dword [esi], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Apowersoft::Init]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x2a
sub esp, 0x18
mov dword [ebp - 4], 2
mov esi, esp
xorps xmm0, xmm0
mov ecx, esi
push 0x60
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00404670
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x56
mov ecx, 0x15
mov dword [esi + 0x14], 0x5f
mov esi, str.D:workspacewzzbcef_98_mastercef_98cef_binarySCSCaptureSCSCaptureApowersoft.cpp
rep movsd dword es:[edi], dword [esi]
push 4
push dword [ebp - 0x18]
movsw word es:[edi], word [esi]
mov byte [eax + 0x56], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00409740
add esp, 0x40
xor eax, eax
jmp 0x401b85
push dword [edi + 0x8c]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x401ae9
call fcn.00408b60
push 0x4f554c
sub esp, 0x18
mov dword [ebp - 0x18], eax
mov esi, esp
mov dword [ebp - 0x20], esp
xorps xmm0, xmm0
mov ecx, esi
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00404670
mov dword [esi], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Apowersoft::Init]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x2e
sub esp, 0x18
mov dword [ebp - 4], 3
mov esi, esp
xorps xmm0, xmm0
mov ecx, esi
push 0x60
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00404670
mov dword [esi], eax
mov edi, eax
mov dword [esi + 0x10], 0x56
mov ecx, 0x15
mov dword [esi + 0x14], 0x5f
mov esi, str.D:workspacewzzbcef_98_mastercef_98cef_binarySCSCaptureSCSCaptureApowersoft.cpp
rep movsd dword es:[edi], dword [esi]
push 4
push dword [ebp - 0x18]
movsw word es:[edi], word [esi]
mov byte [eax + 0x56], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00409740
mov eax, dword [ebp - 0x14]
add esp, 0x40
push 1
push dword [eax + 0x8c]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
call fcn.00408b60
push str.Active_Window
sub esp, 0x18
mov dword [ebp - 0x18], eax
mov esi, esp
mov dword [ebp - 0x20], esp
xorps xmm0, xmm0
mov ecx, esi
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00404670
mov dword [esi], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Apowersoft::Init]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
push 0x30
sub esp, 0x18
mov dword [ebp - 4], 4
mov edi, esp
xorps xmm0, xmm0
mov ecx, edi
push 0x60
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
call fcn.00404670
mov dword [edi], eax
mov dword [edi + 0x10], 0x56
mov ecx, 0x15
mov dword [edi + 0x14], 0x5f
mov esi, str.D:workspacewzzbcef_98_mastercef_98cef_binarySCSCaptureSCSCaptureApowersoft.cpp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push 4
push dword [ebp - 0x18]
movsw word es:[edi], word [esi]
mov byte [eax + 0x56], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00409740
mov edi, dword [ebp - 0x14]
add esp, 0x40
mov eax, dword [edi + 0x88]
test eax, eax
je 0x401b07
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [edi + 0x9c], 1
mov esi, dword [edi + 0x8c]
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80000
and eax, 0xfffffefe
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push 2
push 0xff
push 0xff00ff
push esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.004021e0
test eax, eax
jne 0x401b6f
mov ecx, dword [edi + 8]
call fcn.0041e8a0
xor eax, eax
jmp 0x401b85
movzx eax, byte [edi + 0x2d]
mov ecx, edi
push eax
movzx eax, byte [edi + 0x2c]
push eax
call fcn.00401ba0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4