Function at 0x4017b0
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x419014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0xa0
push 0x419808
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp byte [esi], 0
jne 0x401912
push 0x208
lea eax, [ebp - 0x2ac]
push 0
push eax
call fcn.00402b80
add esp, 0xc
lea eax, [ebp - 0x2ac]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push 0x412390
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4018f9
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x2f0], 0x44
push eax
lea eax, [ebp - 0x2f0]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2ac]
movlpd qword [ebp - 0x2ec], xmm0
push eax
movlpd qword [ebp - 0x2e4], xmm0
movlpd qword [ebp - 0x2dc], xmm0
movlpd qword [ebp - 0x2d4], xmm0
movlpd qword [ebp - 0x2cc], xmm0
movlpd qword [ebp - 0x2c4], xmm0
movlpd qword [ebp - 0x2bc], xmm0
movlpd qword [ebp - 0x2b4], xmm0
movups xmmword [ebp - 0x31c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401ada
push 0x10
push 0x4123a4
call fcn.00401030
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x401ada
push 0x10
push 0x4123a4
push 0x4123b4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x401ada
push 0xa0
lea eax, [ebp - 0xa4]
mov dword [0x4197fc], edi
push 0
push eax
call fcn.00402b80
lea eax, [ebp - 0xa4]
push str.ck_W_vN
push eax
call fcn.00401000
add esp, 0x14
mov dword [ebp - 0x34c], 0x30
mov dword [ebp - 0x348], 3
mov dword [ebp - 0x344], 0x4010d0
mov dword [ebp - 0x340], 0
push 0x65
push edi
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], edi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x334], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0xf0f0f0
mov dword [ebp - 0x330], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0x32
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], 0
mov dword [ebp - 0x324], str.UpdateClass
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 0x65
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x401a0c
push 0x10
push 0x412408
push 0x41240c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x401ada
push 0
call ebx
push 1
mov esi, eax
call ebx
push 0
push edi
push 0
cdq
push 0
sub eax, edx
push 0x50
sar eax, 1
sub eax, 0x3c
push 0x190
push eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sub eax, 0xc8
push eax
push 0xc80000
lea eax, [ebp - 0xa4]
push eax
push str.UpdateClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x419800], eax
test eax, eax
jne 0x401a71
push 0x10
push 0x412408
push 0x41241c
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x401ada
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x419800]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x30c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x401ada
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax + eax]
cmp eax, 0xffffffff
je 0x401ada
lea eax, [ebp - 0x30c]
push eax
call edi
lea eax, [ebp - 0x30c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x30c]
push eax
call esi
test eax, eax
jne 0x401ab0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401b0d
mov esp, ebp
pop ebp
ret 0x10