Function at 0x4157e7
Capabilities:
Check if file exists
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041cb69
inc dword [eax + 0x14c8]
cmp dword [esi + 0x460], 1
jne 0x415815
mov ecx, esi
call fcn.00415c7d
jmp 0x415c5b
xor ebx, ebx
cmp dword [esi + 0x34], ebx
jne 0x415824
push 2
call fcn.00407330
pop ecx
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x41588b
cmp eax, 1
je 0x415849
jle 0x415c5b
cmp eax, 3
jg 0x415c5b
push 5
call fcn.00407330
pop ecx
jmp 0x415809
push 6
call fcn.0040755c
pop ecx
mov edi, 0x3e8
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
call fcn.0041cb69
mov ecx, eax
call fcn.0041f8dd
mov ecx, esi
call fcn.00415798
jmp 0x415c5b
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f7
push dword [esi + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call ebx
lea ecx, [ebp - 0x21c]
push 0x103
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp word [ebp + eax*2 - 0x21e], 0x5c
lea eax, [ebp + eax*2 - 0x21e]
pop ecx
jne 0x4158ea
and word [eax], 0
and word [ebp - 0x62c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x62a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0041cb69
push dword [eax + 0x4c]
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [ebp - 0x62c]
push 0x43baa0
push 0x103
push eax
call edi
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x415bf4
cmp dword [esi + 0x464], 0
je 0x415973
lea eax, [ebp - 0x21c]
push 0x43e5b4
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x21c]
push str.360se
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x415a40
lea eax, [ebp - 0x21c]
push eax
call fcn.004240e3
test eax, eax
pop ecx
jne 0x415a40
and word [ebp - 0x424], ax
mov ecx, 0x81
lea edi, [ebp - 0x422]
push 0xc
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0040755c
pop ecx
push eax
push 0x43baa0
lea eax, [ebp - 0x424]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x3e8
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call edi
push 0x3e9
push dword [esi + 4]
call ebx
push 0
push eax
call edi
lea eax, [ebp - 0x424]
mov dword [esi + 0xdc4], 0x4545c8
push eax
push dword [esi + 0xda8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 0x10], 0xa0
mov dword [ebp - 0xc], 0x50
mov dword [ebp - 8], 0x204
mov dword [ebp - 4], 0x6e
push 1
lea eax, [ebp - 0x10]
jmp 0x415b06
lea eax, [ebp - 0x21c]
push eax
call fcn.00424167
test al, al
pop ecx
jne 0x415b15
cmp dword [ebp - 0x14], 0
jne 0x415a68
lea eax, [ebp - 0x21c]
push eax
call fcn.004241fc
pop ecx
and word [ebp - 0x424], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x422]
rep stosd dword es:[edi], eax
push 0xe
stosw word es:[edi], ax
call fcn.0040755c
pop ecx
push eax
push 0x43baa0
lea eax, [ebp - 0x424]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x3e8
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call edi
push 0x3e9
push dword [esi + 4]
call ebx
push 0
push eax
call edi
lea eax, [ebp - 0x424]
mov dword [esi + 0xdc4], 0x4545c8
push eax
push dword [esi + 0xda8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 0x10], 0xa0
mov dword [ebp - 0xc], 0x50
mov dword [ebp - 8], 0x204
mov dword [ebp - 4], 0x6e
push 1
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x415c5b
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
pop ecx
test eax, eax
pop ecx
jne 0x415b52
lea eax, [ebp - 0x62c]
push eax
push 0x43baa0
lea eax, [esi + 0x3c]
push 0x103
push eax
call edi
add esp, 0x10
mov dword [esi + 0x38], 1
jmp 0x415b73
lea eax, [ebp - 0x62c]
mov dword [esi + 0x38], 2
push eax
push 0x43baa0
lea eax, [esi + 0x3c]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call fcn.0041cb69
mov ecx, eax
call fcn.00422259
mov edi, 0x3e8
push edi
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 3
call fcn.0040755c
pop ecx
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3e9
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 0x3ef
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x419
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x3fc
push dword [esi + 4]
call ebx
push 0
push eax
call edi
jmp 0x41587f
mov ecx, esi
call fcn.00416700
push 0x3e9
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 0x3ef
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x419
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 0x3fc
push dword [esi + 4]
call ebx
push 0
push eax
call edi
push 3
call fcn.0040755c
pop ecx
push eax
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, esi
call fcn.00415eb7
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10