Function at 0x4145bf
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
mov esi, ecx
push edi
cmp dword [esi + 0x460], 1
jne 0x4145e2
mov ecx, esi
call fcn.00415259
jmp 0x41499e
lea edi, [esi + 0x44c]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x4145f6
push 2
call fcn.00407337
pop ecx
mov edi, dword [edi]
cmp edi, ebx
je 0x41465c
cmp edi, 1
je 0x41461a
jle 0x41499e
cmp edi, 3
jg 0x41499e
push 5
call fcn.00407337
pop ecx
jmp 0x4145d6
push 6
call fcn.00407563
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.0041c2f5
mov ecx, eax
call fcn.0041ecb9
mov ecx, esi
call fcn.00414d52
jmp 0x41499e
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 0x4146bb
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.0041c2f5
push dword [eax + 0x48]
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [ebp - 0x62c]
push 0x438aa0
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 0x414966
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x4147e1
lea eax, [ebp - 0x21c]
push eax
call fcn.00420705
test eax, eax
pop ecx
jne 0x4147e1
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.00407563
pop ecx
push eax
push 0x438aa0
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 + 0xc6c], 0x4545c8
push eax
push dword [esi + 0xc50]
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 0x4148a7
lea eax, [ebp - 0x21c]
push eax
call fcn.00420789
test al, al
pop ecx
jne 0x4148b6
cmp dword [ebp - 0x14], 0
jne 0x414809
lea eax, [ebp - 0x21c]
push eax
call fcn.0042081e
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.00407563
pop ecx
push eax
push 0x438aa0
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 + 0xc6c], 0x4545c8
push eax
push dword [esi + 0xc50]
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 0x41499e
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 0x4148f3
lea eax, [ebp - 0x62c]
push eax
push 0x438aa0
lea eax, [esi + 0x38]
push 0x103
push eax
call edi
add esp, 0x10
mov dword [esi + 0x34], 1
jmp 0x414914
lea eax, [ebp - 0x62c]
mov dword [esi + 0x34], 2
push eax
push 0x438aa0
lea eax, [esi + 0x38]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call fcn.0041c2f5
mov ecx, eax
call fcn.0041f37b
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.00407563
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
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x414650
mov ecx, esi
call fcn.00415d6d
push 0x3e9
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
call fcn.00407563
pop ecx
push eax
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, esi
call fcn.0041545e
pop edi
pop esi
pop ebx
leave
ret