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

Disassembly:
push 0xffffffffffffffff
push 0x57e528
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 0x411495
lea eax, [esp + 0x18]
push eax
call fcn.0040d5d0
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x40], 0
je 0x411203
ja 0x41117c
call fcn.005518cc
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x41118f
lea eax, [esp + 0x1c]
cmp word [eax], 0x61
jb 0x4111c5
cmp dword [esp + 0x2c], 0
ja 0x4111a1
call fcn.005518cc
cmp dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
jae 0x4111af
lea eax, [esp + 0x1c]
cmp word [eax], 0x7a
ja 0x4111c5
push 0
lea ecx, [esp + 0x1c]
call fcn.00404e80
add word [eax], 0xffe0
cmp dword [esp + 0x2c], 0
je 0x411203
cmp dword [esp + 0x30], esi
mov edi, dword [esp + 0x1c]
jae 0x4111da
lea edi, [esp + 0x1c]
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x411229
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.uiview_set_tip_text
push eax
call ebx
test eax, eax
je 0x41122f
push edi
push 0x7d1
push esi
call eax
jmp 0x41122f
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x411229
push str.uiview_set_tip_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411229
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 0x411297
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 0x411297
push edi
mov ecx, esi
call fcn.0040fb40
cmp byte [eax + 0x59], 0
jne 0x41126d
add edi, 1
jmp 0x411237
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411274
mov ecx, dword [esp + 0x14]
sub eax, edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.0040fb40
mov ecx, eax
add ecx, 0x3c
call fcn.0040c1c0
cmp dword [esp + 0x30], 8
mov edi, dword [esp + 0x1c]
jae 0x4112a6
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 0x41131b
call fcn.004a1350
test eax, eax
je 0x4112d7
push str.uiview_show_window
push eax
call ebx
test eax, eax
je 0x4112d7
push 0
push 0x7de
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x4112f9
push str.uiview_show_window
push eax
call ebx
test eax, eax
je 0x4112f9
push 1
push 0x7d1
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41137f
push str.uiview_set_window_text
push eax
call ebx
test eax, eax
je 0x41137f
push edi
push 0xffffffffffffffff
push 0x7d1
jmp 0x41137c
call fcn.004a1350
test eax, eax
je 0x41133a
push str.uiview_show_window
push eax
call ebx
test eax, eax
je 0x41133a
push 0
push 0x7d1
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41135c
push str.uiview_show_window
push eax
call ebx
test eax, eax
je 0x41135c
push 1
push 0x7de
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41137f
push str.uiview_set_window_text
push eax
call ebx
test eax, eax
je 0x41137f
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 0x4113b7
cmp dword [ebp + 0xec], 0
je 0x4113b7
test bl, bl
je 0x4113b7
mov eax, dword [ebp + 0x4c]
push eax
mov ecx, ebp
call fcn.0040da50
test al, al
jne 0x4113b7
mov edi, 1
jmp 0x4113b9
xor edi, edi
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x4113de
push str.uiview_set_check
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4113de
push edi
push 0x7da
push esi
call eax
cmp dword [esp + 0x14], 0
je 0x411432
test bl, bl
je 0x411432
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x411412
push str.uiview_set_text_color
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411412
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 0x411481
push str.uiview_enable_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411481
push 1
jmp 0x411479
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x41145b
push str.uiview_set_text_color
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41145b
push 0x59636c
push 0x7da
push esi
call eax
mov esi, dword [ebp + 4]
call fcn.004a1350
test eax, eax
je 0x411481
push str.uiview_enable_window
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411481
push 0
push 0x7da
push esi
call eax
cmp dword [esp + 0x30], 8
jb 0x411495
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