Function at 0x41ef50
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x57f488
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x48]
test ebx, ebx
mov ebp, ecx
mov dword [esp + 0x14], ebx
je 0x41f2d5
lea eax, [esp + 0x18]
push eax
call fcn.0041d670
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x40], 0
je 0x41f043
ja 0x41efbc
call fcn.005518cc
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x41efcf
lea eax, [esp + 0x1c]
cmp word [eax], 0x61
jb 0x41f005
cmp dword [esp + 0x2c], 0
ja 0x41efe1
call fcn.005518cc
cmp dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
jae 0x41efef
lea eax, [esp + 0x1c]
cmp word [eax], 0x7a
ja 0x41f005
push 0
lea ecx, [esp + 0x1c]
call fcn.00404e80
add word [eax], 0xffe0
cmp dword [esp + 0x2c], 0
je 0x41f043
cmp dword [esp + 0x30], esi
mov edi, dword [esp + 0x1c]
jae 0x41f01a
lea edi, [esp + 0x1c]
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f069
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.uiview_set_tip_text
push eax
call ebx
test eax, eax
je 0x41f06f
push edi
push 0x7d1
push esi
call eax
jmp 0x41f06f
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f069
push str.uiview_set_tip_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f069
push 0
push 0x7d1
push esi
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
lea esi, [ebp + 0x118]
mov eax, dword [esi + 4]
test eax, eax
je 0x41f0d7
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x41f0d7
push edi
mov ecx, esi
call fcn.0041e330
cmp byte [eax + 0x59], 0
jne 0x41f0ad
add edi, 1
jmp 0x41f077
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41f0b4
mov ecx, dword [esp + 0x14]
sub eax, edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.0041e330
mov ecx, eax
add ecx, 0x3c
call fcn.0040c1c0
cmp dword [esp + 0x30], 8
mov edi, dword [esp + 0x1c]
jae 0x41f0e6
lea edi, [esp + 0x1c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov esi, dword [ebp + 4]
mov dword [esp + 0x14], eax
je 0x41f15b
call fcn.004a1350
test eax, eax
je 0x41f117
push str.uiview_show_window
push eax
call ebx
test eax, eax
je 0x41f117
push 0
push 0x7de
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f139
push str.uiview_show_window
push eax
call ebx
test eax, eax
je 0x41f139
push 1
push 0x7d1
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f1bf
push str.uiview_set_window_text
push eax
call ebx
test eax, eax
je 0x41f1bf
push edi
push 0xffffffffffffffff
push 0x7d1
jmp 0x41f1bc
call fcn.004a1350
test eax, eax
je 0x41f17a
push str.uiview_show_window
push eax
call ebx
test eax, eax
je 0x41f17a
push 0
push 0x7d1
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f19c
push str.uiview_show_window
push eax
call ebx
test eax, eax
je 0x41f19c
push 1
push 0x7de
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f1bf
push str.uiview_set_window_text
push eax
call ebx
test eax, eax
je 0x41f1bf
push edi
push 0xffffffffffffffff
push 0x7de
push esi
call eax
mov edx, dword [ebp + 0x48]
push edx
call fcn.00501a60
add esp, 4
cmp dword [esp + 0x14], 0
mov bl, al
je 0x41f1f7
cmp dword [ebp + 0xec], 0
je 0x41f1f7
test bl, bl
je 0x41f1f7
mov eax, dword [ebp + 0x4c]
push eax
mov ecx, ebp
call fcn.0041daf0
test al, al
jne 0x41f1f7
mov edi, 1
jmp 0x41f1f9
xor edi, edi
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f21e
push str.uiview_set_check
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f21e
push edi
push 0x7da
push esi
call eax
cmp dword [esp + 0x14], 0
je 0x41f272
test bl, bl
je 0x41f272
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f252
push str.uiview_set_text_color
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f252
push str.color_light_btn_txt_normal
push 0x7da
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f2c1
push str.uiview_enable_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f2c1
push 1
jmp 0x41f2b9
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f29b
push str.uiview_set_text_color
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f29b
push 0x59636c
push 0x7da
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41f2c1
push str.uiview_enable_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f2c1
push 0
push 0x7da
push esi
call eax
cmp dword [esp + 0x30], 8
jb 0x41f2d5
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0055215c
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00552d63
add esp, 0x30
ret 4