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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e598
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5cca0c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
push 0xffffffffffffffff
lea eax, [ebx + 0xc4]
push edi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
call fcn.0040a080
mov dword [ebp - 4], edi
lea esi, [ebx + 0x118]
jmp 0x411990
mov eax, dword [esi + 4]
test eax, eax
je 0x4119de
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 0x4119de
push edi
mov ecx, esi
call fcn.0040fb40
cmp byte [eax + 0x59], 0
jne 0x4119c6
add edi, 1
jmp 0x411990
push edi
mov ecx, esi
call fcn.0040fb40
push 0xffffffffffffffff
add eax, 0x3c
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a080
mov eax, dword [ebx + 0x48]
push eax
call fcn.00501a60
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 0x2d], al
jb 0x411a3b
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x411a40
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x411a40
lea eax, [edi + edi]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x411a40
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x411a42
lea ebx, [ebp - 0x28]
jmp 0x4119fa
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebx + 4]
mov dword [ebp - 0x34], eax
call fcn.004a1350
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x411a79
push str.uiview_enable_window
push eax
call esi
test eax, eax
je 0x411a79
mov ecx, dword [ebp + 8]
push ecx
push 0x7d1
push edi
call eax
mov edi, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x411a9d
push str.uiview_enable_window
push eax
call esi
test eax, eax
je 0x411a9d
mov edx, dword [ebp + 8]
push edx
push 0x7d4
push edi
call eax
mov edi, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x411ac1
push str.uiview_enable_window
push eax
call esi
test eax, eax
je 0x411ac1
mov ecx, dword [ebp + 8]
push ecx
push 0x7d6
push edi
call eax
mov edi, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x411ae5
push str.uiview_enable_window
push eax
call esi
test eax, eax
je 0x411ae5
mov edx, dword [ebp + 8]
push edx
push 0x7dc
push edi
call eax
cmp byte [ebp - 0x2d], 0
je 0x411b51
cmp dword [ebp - 0x34], 0
je 0x411b51
mov edi, dword [ebx + 4]
call fcn.004a1350
cmp dword [ebp + 8], 0
je 0x411b16
test eax, eax
je 0x411b33
push str.uiview_set_text_color
push eax
call esi
test eax, eax
je 0x411b33
push str.color_light_btn_txt_normal
jmp 0x411b2b
test eax, eax
je 0x411b33
push str.uiview_set_text_color
push eax
call esi
test eax, eax
je 0x411b33
push 0x59636c
push 0x7da
push edi
call eax
mov edi, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x411b98
push str.uiview_enable_window
push eax
call esi
test eax, eax
je 0x411b98
mov ecx, dword [ebp + 8]
push ecx
jmp 0x411b90
mov edi, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x411b76
push str.uiview_set_text_color
push eax
call esi
test eax, eax
je 0x411b76
push 0x59636c
push 0x7da
push edi
call eax
mov edi, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x411b98
push str.uiview_enable_window
push eax
call esi
test eax, eax
je 0x411b98
push 0
push 0x7da
push edi
call eax
mov edi, dword [ebx + 4]
call fcn.004a1350
cmp dword [ebp - 0x34], 0
je 0x411bfe
cmp dword [ebp + 8], 0
je 0x411bc3
test eax, eax
je 0x411be0
push str.uiview_set_text_color
push eax
call esi
test eax, eax
je 0x411be0
push str.color_light_btn_txt_normal
jmp 0x411bd8
test eax, eax
je 0x411be0
push str.uiview_set_text_color
push eax
call esi
test eax, eax
je 0x411be0
push 0x59636c
push 0x7d9
push edi
call eax
mov ebx, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x411c3d
push str.uiview_enable_window
push eax
call esi
test eax, eax
je 0x411c3d
mov edx, dword [ebp + 8]
push edx
jmp 0x411c35
test eax, eax
je 0x411c1b
push str.uiview_set_text_color
push eax
call esi
test eax, eax
je 0x411c1b
push 0x59636c
push 0x7d9
push edi
call eax
mov ebx, dword [ebx + 4]
call fcn.004a1350
test eax, eax
je 0x411c3d
push str.uiview_enable_window
push eax
call esi
test eax, eax
je 0x411c3d
push 0
push 0x7d9
push ebx
call eax
cmp dword [ebp - 0x14], 0x10
jb 0x411c4f
mov eax, dword [ebp - 0x28]
push eax
call fcn.0055215c
add esp, 4
lea esp, [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00552d63
mov esp, ebp
pop ebp
ret 4