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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f588
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 esi, ecx
xor ebx, ebx
push 0xffffffffffffffff
lea eax, [esi + 0xc4]
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.0040a080
xor edi, edi
mov dword [ebp - 4], ebx
add esi, 0x118
lea esp, [esp]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x42016d
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 0x42016d
push edi
mov ecx, esi
call fcn.0041e330
cmp byte [eax + 0x59], 0
jne 0x420156
add edi, 1
jmp 0x420120
push edi
mov ecx, esi
call fcn.0041e330
push 0xffffffffffffffff
add eax, 0x3c
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a080
cmp dword [ebp - 0x14], 0x10
jb 0x4201bb
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4201c0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x4201c0
lea eax, [edi + edi]
call fcn.00553150
mov esi, esp
test esi, esi
je 0x4201c0
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 0x4201c2
lea ebx, [ebp - 0x28]
jmp 0x42017a
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x34]
mov edi, eax
mov eax, dword [esi + 0x48]
push eax
mov dword [ebp - 0x38], edi
call fcn.00501a60
add esp, 4
test edi, edi
mov byte [ebp - 0x2d], al
je 0x420207
cmp dword [esi + 0xec], 0
je 0x420207
test al, al
je 0x420207
mov ecx, dword [esi + 0x4c]
push ecx
mov ecx, esi
call fcn.0041daf0
test al, al
mov dword [ebp - 0x34], 1
je 0x42020e
mov dword [ebp - 0x34], 0
mov edi, dword [esi + 4]
call fcn.004a1350
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x420238
push str.uiview_set_check
push eax
call ebx
test eax, eax
je 0x420238
mov edx, dword [ebp - 0x34]
push edx
push 0x7da
push edi
call eax
cmp dword [ebp - 0x38], 0
je 0x420285
cmp byte [ebp - 0x2d], 0
je 0x420285
mov edi, dword [esi + 4]
call fcn.004a1350
test eax, eax
je 0x420269
push str.uiview_set_text_color
push eax
call ebx
test eax, eax
je 0x420269
push str.color_light_btn_txt_normal
push 0x7da
push edi
call eax
mov esi, dword [esi + 4]
call fcn.004a1350
test eax, eax
je 0x4202cc
push str.uiview_enable_window
push eax
call ebx
test eax, eax
je 0x4202cc
push 1
jmp 0x4202c4
mov edi, dword [esi + 4]
call fcn.004a1350
test eax, eax
je 0x4202aa
push str.uiview_set_text_color
push eax
call ebx
test eax, eax
je 0x4202aa
push 0x59636c
push 0x7da
push edi
call eax
mov esi, dword [esi + 4]
call fcn.004a1350
test eax, eax
je 0x4202cc
push str.uiview_enable_window
push eax
call ebx
test eax, eax
je 0x4202cc
push 0
push 0x7da
push esi
call eax
cmp dword [ebp - 0x14], 0x10
jb 0x4202de
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