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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x460], 1
jne 0x414ffc
mov ecx, esi
call fcn.00415c7d
jmp 0x4153b9
xor ebx, ebx
cmp dword [esi + 0x34], ebx
jne 0x41500b
push 2
call fcn.00407330
pop ecx
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x415077
cmp eax, 1
je 0x415030
jle 0x4153b9
cmp eax, 3
jg 0x4153b9
push 5
call fcn.00407330
pop ecx
jmp 0x414ff0
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]
cmp dword [ebp + 8], ebx
jne 0x41506b
call fcn.0041cb69
mov ecx, eax
call fcn.0041f8bb
mov ecx, esi
call fcn.00415798
jmp 0x4153b9
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], 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 - 0x218]
push 0x103
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp word [ebp + eax*2 - 0x21a], 0x5c
lea eax, [ebp + eax*2 - 0x21a]
pop ecx
jne 0x4150d6
and word [eax], 0
and word [ebp - 0x628], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x626]
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 - 0x628]
push 0x43baa0
push 0x103
push eax
call edi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x415381
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov dword [ebp + 8], eax
jne 0x4151fc
lea eax, [ebp - 0x218]
push eax
call fcn.004240c1
test eax, eax
pop ecx
jne 0x4151fc
and word [ebp - 0x420], ax
mov ecx, 0x81
lea edi, [ebp - 0x41e]
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 - 0x420]
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 - 0x420]
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 0x4152c2
lea eax, [ebp - 0x218]
push eax
call fcn.00424145
test al, al
pop ecx
jne 0x4152d1
cmp dword [ebp + 8], 0
jne 0x415224
lea eax, [ebp - 0x218]
push eax
call fcn.004241da
pop ecx
and word [ebp - 0x420], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x41e]
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 - 0x420]
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 - 0x420]
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 0x4153b9
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
pop ecx
test eax, eax
pop ecx
jne 0x41530e
lea eax, [ebp - 0x628]
push eax
push 0x43baa0
lea eax, [esi + 0x3c]
push 0x103
push eax
call edi
add esp, 0x10
mov dword [esi + 0x38], 1
jmp 0x41532f
lea eax, [ebp - 0x628]
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 - 0x218]
push eax
call fcn.0041cb69
mov ecx, eax
call fcn.00422237
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
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41506b
mov ecx, esi
call fcn.00416700
push 0x3e9
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
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
pop ebx
leave
ret 4