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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ee48
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
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 esi, dword [ebp + 0xc]
mov dword [ebp - 0x70], ecx
xor ebx, ebx
lea edi, [ecx + 0x118]
lea esp, [esp]
mov eax, dword [edi + 4]
test eax, eax
je 0x418034
mov ecx, dword [edi + 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 ebx, eax
jae 0x418034
push ebx
mov ecx, edi
call fcn.0040fb40
cmp esi, dword [eax]
je 0x418034
add ebx, 1
jmp 0x418000
mov eax, dword [edi + 4]
test eax, eax
mov dword [ebp - 0x74], ebx
je 0x41886b
mov ecx, dword [edi + 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 ebx, eax
jae 0x41886b
push ebx
mov ecx, edi
call fcn.0040fb40
cmp byte [eax + 0x59], 0
jne 0x41886b
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea esp, [esp]
mov eax, dword [edi + 4]
test eax, eax
je 0x418110
mov ecx, dword [edi + 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 dword [ebp - 0x6c], eax
jae 0x418110
mov esi, dword [edi + 4]
test esi, esi
je 0x418133
mov ebx, dword [edi + 8]
mov ecx, ebx
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x6c]
jbe 0x418133
cmp esi, ebx
jbe 0x4180db
call fcn.005532de
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x7c], esi
add esi, eax
cmp esi, dword [edi + 8]
ja 0x4180ed
cmp esi, dword [edi + 4]
jae 0x4180f2
call fcn.005532de
cmp esi, dword [edi + 8]
jb 0x4180fc
call fcn.005532de
add dword [ebp - 0x6c], 1
add dword [ebp - 0x68], 0x5c
mov ebx, dword [ebp - 0x74]
mov byte [esi + 0x59], 0
jmp 0x418080
mov esi, dword [edi + 4]
test esi, esi
je 0x418133
mov ecx, dword [edi + 8]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
ja 0x418138
call fcn.0040e2d0
cmp esi, dword [edi + 8]
jbe 0x418142
call fcn.005532de
mov eax, ebx
imul eax, eax, 0x5c
mov dword [ebp - 0x7c], esi
add esi, eax
cmp esi, dword [edi + 8]
mov dword [ebp - 0x6c], eax
ja 0x418159
cmp esi, dword [edi + 4]
jae 0x41815e
call fcn.005532de
mov eax, edi
cmp esi, dword [eax + 8]
jb 0x41816a
call fcn.005532de
mov byte [esi + 0x59], 1
mov esi, dword [edi + 4]
test esi, esi
je 0x418191
mov ecx, dword [edi + 8]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
ja 0x418196
call fcn.0040e2d0
cmp esi, dword [edi + 8]
jbe 0x4181a0
call fcn.005532de
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], esi
add esi, ecx
cmp esi, dword [edi + 8]
ja 0x4181b2
cmp esi, dword [edi + 4]
jae 0x4181b7
call fcn.005532de
mov eax, edi
cmp esi, dword [eax + 8]
jb 0x4181c3
call fcn.005532de
mov ecx, dword [esi]
lea esi, [ebp - 0x64]
call fcn.0040f1b0
cmp dword [ebp - 0x4c], 0x10
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], eax
jb 0x4181f2
mov eax, dword [ebp - 0x60]
test eax, eax
mov dword [ebp - 0x68], eax
jne 0x4181f8
mov dword [ebp - 0x68], eax
jmp 0x418247
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
add ebx, 1
cmp ebx, 0x3fffffff
jg 0x41823f
lea eax, [ebx + ebx]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x41823f
mov eax, dword [ebp - 0x68]
push ebx
push esi
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x418241
xor eax, eax
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
mov esi, dword [edi + 4]
test esi, esi
je 0x41826a
mov ecx, dword [edi + 8]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
ja 0x41826f
call fcn.0040e2d0
cmp esi, dword [edi + 8]
jbe 0x418279
call fcn.005532de
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x84], esi
add esi, ecx
cmp esi, dword [edi + 8]
ja 0x41828e
cmp esi, dword [edi + 4]
jae 0x418293
call fcn.005532de
mov eax, edi
cmp esi, dword [eax + 8]
jb 0x41829f
call fcn.005532de
cmp dword [esi + 0x54], 0x10
jb 0x4182aa
mov esi, dword [esi + 0x40]
jmp 0x4182ad
add esi, 0x40
mov edx, dword [ebp - 0x68]
push 0x20
push esi
push 1
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00417960
mov esi, dword [edi + 4]
test esi, esi
mov byte [ebp - 4], 1
je 0x4182e9
mov ecx, dword [edi + 8]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
ja 0x4182ee
call fcn.0040e2d0
cmp esi, dword [edi + 8]
jbe 0x4182f8
call fcn.005532de
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x84], esi
add esi, ecx
cmp esi, dword [edi + 8]
ja 0x41830d
cmp esi, dword [edi + 4]
jae 0x418312
call fcn.005532de
cmp esi, dword [edi + 8]
jb 0x41831c
call fcn.005532de
cmp dword [esi + 0x1c], 0x10
jb 0x418327
mov esi, dword [esi + 8]
jmp 0x41832a
add esi, 8
test esi, esi
mov dword [ebp - 0x68], esi
jne 0x418335
xor ebx, ebx
jmp 0x418380
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
add ebx, 1
cmp ebx, 0x3fffffff
jg 0x41837c
lea eax, [ebx + ebx]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x41837c
mov eax, dword [ebp - 0x68]
push ebx
push esi
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x41837e
xor eax, eax
mov ebx, eax
mov ecx, dword [ebp - 0x70]
mov esi, dword [ecx + 4]
call fcn.004a1350
test eax, eax
je 0x4183aa
push str.uiview_set_window_text
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4183aa
push ebx
push 1
push 0x7dc
push esi
call eax
cmp dword [ebp - 0x34], 0
je 0x418443
cmp dword [ebp - 0x30], 0x10
jb 0x4183c8
mov eax, dword [ebp - 0x44]
test eax, eax
mov dword [ebp - 0x68], eax
jne 0x4183ce
xor ebx, ebx
jmp 0x418419
lea edx, [ebp - 0x44]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
add ebx, 1
cmp ebx, 0x3fffffff
jg 0x418415
lea eax, [ebx + ebx]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x418415
mov ecx, dword [ebp - 0x68]
push ebx
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0x3a8
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x418417
xor eax, eax
mov ebx, eax
mov edx, dword [ebp - 0x70]
mov esi, dword [edx + 4]
call fcn.004a1350
test eax, eax
je 0x418443
push str.uiview_set_bitmap_path_by_index
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418443
push ebx
push 1
push 0x7dc
push esi
call eax
mov esi, dword [edi + 4]
test esi, esi
je 0x418469
mov ebx, dword [edi + 8]
mov ecx, ebx
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x74]
ja 0x41846e
call fcn.0040e2d0
cmp esi, ebx
jbe 0x418477
call fcn.005532de
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x84], esi
add esi, eax
cmp esi, dword [edi + 8]
ja 0x41848c
cmp esi, dword [edi + 4]
jae 0x418491
call fcn.005532de
cmp esi, dword [edi + 8]
jb 0x41849b
call fcn.005532de
push 0xffffffffffffffff
push 0
add esi, 0x3c
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040a080
mov esi, dword [ebp - 0x18]
cmp esi, 7
mov byte [ebp - 4], 2
jae 0x418560
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
mov ecx, dword [ebp - 0x28]
mov edx, ecx
jae 0x4184dd
lea edx, [ebp - 0x28]
cmp edx, 0x596590
ja 0x41851a
cmp eax, 0x10
mov edx, ecx
jae 0x4184ef
lea edx, [ebp - 0x28]
add edx, esi
cmp edx, 0x596590
jbe 0x41851a
cmp eax, 0x10
mov eax, ecx
jae 0x418503
lea eax, [ebp - 0x28]
push 0xa
mov ecx, 0x596590
sub ecx, eax
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, edx
call fcn.0040a080
jmp 0x418560
cmp eax, 0xa
jae 0x418530
push esi
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.00406c20
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp eax, 0x10
jae 0x418538
lea ecx, [ebp - 0x28]
push 0xa
push 0x596590
push eax
push ecx
call fcn.00552323
mov eax, dword [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], 0xa
jae 0x41855c
lea eax, [ebp - 0x28]
mov byte [eax + 0xa], 0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41856c
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x70]
push eax
call fcn.00411110
mov esi, dword [edi + 4]
test esi, esi
je 0x41859b
mov ebx, dword [edi + 8]
mov ecx, ebx
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x74]
ja 0x4185a0
call fcn.0040e2d0
cmp esi, ebx
jbe 0x4185a9
call fcn.005532de
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x84], esi
add esi, eax
cmp esi, dword [edi + 8]
ja 0x4185be
cmp esi, dword [edi + 4]
jae 0x4185c3
call fcn.005532de
cmp esi, dword [edi + 8]
jb 0x4185cd
call fcn.005532de
mov ecx, dword [esi]
mov edi, dword [ebp - 0x70]
mov edx, dword [edi + 0x48]
push ecx
push edx
call fcn.004024e0
mov ecx, eax
call fcn.004313f0
cmp dword [ebp - 0x14], 0x10
jb 0x418634
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41863c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jg 0x41863c
lea eax, [esi + esi]
call fcn.00553150
mov edi, esp
test edi, edi
je 0x418639
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0x3a8
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp - 0x70]
jmp 0x41863e
lea ebx, [ebp - 0x28]
jmp 0x4185f0
mov edi, dword [ebp - 0x70]
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [edi + 0x48]
push eax
mov dword [ebp - 0x6c], esi
call fcn.00501a60
add esp, 4
test esi, esi
mov byte [ebp - 0x75], al
je 0x41868c
cmp dword [edi + 0xec], 0
je 0x41868c
mov ecx, dword [edi + 0x48]
push ecx
call fcn.00501a60
add esp, 4
test al, al
je 0x41868c
mov edx, dword [edi + 0x4c]
push edx
mov ecx, edi
call fcn.0040da50
test al, al
mov dword [ebp - 0x70], 1
je 0x418693
mov dword [ebp - 0x70], 0
mov esi, dword [edi + 4]
call fcn.004a1350
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x4186bd
push str.uiview_set_check
push eax
call ebx
test eax, eax
je 0x4186bd
mov ecx, dword [ebp - 0x70]
push ecx
push 0x7da
push esi
call eax
cmp dword [ebp - 0x6c], 0
je 0x41870a
cmp byte [ebp - 0x75], 0
je 0x41870a
mov esi, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x4186ee
push str.uiview_set_text_color
push eax
call ebx
test eax, eax
je 0x4186ee
push str.color_light_btn_txt_normal
push 0x7da
push esi
call eax
mov esi, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x418751
push str.uiview_enable_window
push eax
call ebx
test eax, eax
je 0x418751
push 1
jmp 0x418749
mov esi, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x41872f
push str.uiview_set_text_color
push eax
call ebx
test eax, eax
je 0x41872f
push 0x59636c
push 0x7da
push esi
call eax
mov esi, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x418751
push str.uiview_enable_window
push eax
call ebx
test eax, eax
je 0x418751
push 0
push 0x7da
push esi
call eax
cmp dword [ebp - 0x6c], 0
je 0x418767
cmp dword [edi + 0xf0], 0
mov dword [ebp - 0x70], 1
jne 0x41876e
mov dword [ebp - 0x70], 0
mov esi, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x418792
push str.uiview_set_check
push eax
call ebx
test eax, eax
je 0x418792
mov edx, dword [ebp - 0x70]
push edx
push 0x7d9
push esi
call eax
mov esi, dword [edi + 4]
call fcn.004a1350
cmp dword [ebp - 0x6c], 0
je 0x4187d9
test eax, eax
je 0x4187bd
push str.uiview_set_text_color
push eax
call ebx
test eax, eax
je 0x4187bd
push str.color_light_btn_txt_normal
push 0x7d9
push esi
call eax
mov edi, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x418818
push str.uiview_enable_window
push eax
call ebx
test eax, eax
je 0x418818
push 1
jmp 0x418810
test eax, eax
je 0x4187f6
push str.uiview_set_text_color
push eax
call ebx
test eax, eax
je 0x4187f6
push 0x59636c
push 0x7d9
push esi
call eax
mov edi, dword [edi + 4]
call fcn.004a1350
test eax, eax
je 0x418818
push str.uiview_enable_window
push eax
call ebx
test eax, eax
je 0x418818
push 0
push 0x7d9
push edi
call eax
mov esi, 0x10
cmp dword [ebp - 0x14], esi
jb 0x41882e
mov eax, dword [ebp - 0x28]
push eax
call fcn.0055215c
add esp, 4
xor edi, edi
cmp dword [ebp - 0x30], esi
mov ebx, 0xf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
jb 0x418850
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0055215c
add esp, 4
cmp dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
mov byte [ebp - 0x44], 0
jb 0x41886b
mov edx, dword [ebp - 0x60]
push edx
call fcn.0055215c
add esp, 4
xor eax, eax
lea esp, [ebp - 0x98]
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 0x10