Function at 0x4071b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [0x439544]
push 2
call fcn.00408260
test eax, eax
je 0x4071d8
call eax
movzx eax, ax
push eax
push 0x453000
call fcn.00407e60
jmp 0x407234
xor eax, eax
mov dword [0x453000], 0x780030
push eax
push 0x428240
push eax
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov word [0x453004], ax
call fcn.00408310
cmp word [0x428240], 0
jne 0x407225
push 0
push 0x428240
push 0x40c7a4
push str..DEFAULTControl_PanelInternational
push 0x80000003
call fcn.00408310
push 0x428240
push 0x453000
call sub.KERNEL32.dll_lstrcatW
call fcn.004070c0
mov eax, dword [0x439540]
and eax, 0x20
mov dword [0x43961c], 0x10000
push 0x450000
mov dword [0x439600], eax
call fcn.00407e80
test eax, eax
jne 0x4072fb
mov edx, dword [edi + 0x48]
test edx, edx
je 0x4072fb
mov ecx, dword [0x439578]
push eax
mov eax, dword [edi + 0x4c]
push 0x4354c0
lea eax, [ecx + eax*2]
push eax
lea eax, [ecx + edx*2]
push eax
push dword [edi + 0x44]
call fcn.00408310
mov ax, word [0x4354c0]
test ax, ax
je 0x4072fb
mov esi, 0x4354c0
cmp ax, 0x22
jne 0x4072b4
push 0x22
mov esi, 0x4354c2
push esi
call fcn.00407e20
xor ecx, ecx
mov word [eax], cx
push esi
call sub.KERNEL32.dll_lstrlenW
add eax, 0xfffffffc
lea eax, [esi + eax*2]
cmp eax, esi
jbe 0x4072ea
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4072ea
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4072e4
test al, 0x10
jne 0x4072ea
push esi
call fcn.004086f0
push esi
call fcn.00407d50
push eax
push 0x450000
call fcn.00408510
push 0x450000
call fcn.00407e80
test eax, eax
jne 0x407319
push dword [edi + 0x118]
push 0x450000
call fcn.00407660
push 0x8040
push 0
push 0
push 1
push 0x67
push dword [0x437514]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x4374f8], eax
cmp dword [edi + 0x50], 0xffffffff
mov edi, dword [sym.imp.USER32.dll_RegisterClassW]
je 0x4073cd
mov ecx, dword [0x437514]
push 0x4374c0
mov dword [0x4374c4], 0x401000
mov dword [0x4374d0], ecx
mov dword [0x4374d4], eax
mov dword [0x4374e4], 0x40c810
call edi
test ax, ax
je 0x4074b0
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, edx
mov ecx, dword [esp + 8]
push 0
push dword [0x437514]
push 0
push 0
push eax
mov eax, dword [esp + 0x24]
sub eax, ecx
push eax
push edx
push ecx
push 0x80000000
push 0
push 0x40c810
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x42c248], eax
push 0
call fcn.00401490
test eax, eax
jne 0x40749e
call fcn.004070c0
cmp dword [0x439620], 0
jne 0x407483
push 5
push dword [0x42c248]
call dword [sym.imp.USER32.dll_ShowWindow]
push str.RichEd20
call fcn.00407930
test eax, eax
jne 0x407414
push str.RichEd32
call fcn.00407930
mov esi, dword [sym.imp.USER32.dll_GetClassInfoW]
push 0x4374c0
push str.RichEdit20W
push 0
call esi
test eax, eax
jne 0x40744a
push 0x4374c0
push str.RichEdit
push eax
call esi
push 0x4374c0
mov dword [0x4374e4], 0x40c830
call edi
mov eax, dword [0x4374f4]
push 0
push 0x406630
add eax, 0x69
push 0
movzx eax, ax
push eax
push dword [0x437514]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push 5
mov esi, eax
call fcn.00401490
push 1
call fcn.004051b0
pop edi
mov eax, esi
pop esi
add esp, 0x10
ret
push 0
call fcn.00406f80
test eax, eax
je 0x4074a9
cmp dword [0x43750c], 0
jne 0x40749e
push 2
call fcn.00401490
pop edi
mov eax, 2
pop esi
add esp, 0x10
ret
push 1
call fcn.00401490
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret