Function at 0x1104850e
Capabilities:
Check if file exists

Disassembly:
push 0x32c
mov eax, 0x1105c218
call fcn.11056857
lea eax, [ebp - 0x2d8]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.11044cb9
mov dword [esp], str.skinHiSuitePrivacyURL.csv
push eax
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
call fcn.11043851
add esp, 0xc
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 3
call fcn.11007dbe
push 0x1105f090
lea ecx, [ebp + 8]
call fcn.110466f7
test al, al
jne 0x1104858e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1104858e
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x248]
call fcn.11043fbe
cmp dword [ebp - 0x238], 0x104
jb 0x110485c0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.Andy:GetCurrentCountryURL_the_path_is_too_long.path_s
call fcn.110444ce
pop ecx
pop ecx
jmp 0x11048aad
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
test eax, eax
jne 0x11048617
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push str.Andy:GetCurrentCountryURL_the_path_is_PathCanonicalize_failed.path_s
jmp 0x110485b4
lea eax, [ebp - 0x218]
push 0x1106ab4c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x11048aad
push 2
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 0x10
cmp edi, 4
jge 0x1104865c
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x110485ba
mov ebx, 0x11067974
lea ecx, [ebp - 0x308]
push ebx
call fcn.11043d52
push ebx
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
call fcn.11043d52
xor eax, eax
mov byte [ebp - 4], 5
push eax
push eax
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x324], eax
call fcn.110465d6
mov ebx, eax
mov dword [ebp - 0x328], ebx
inc edi
mov byte [ebp - 4], 6
push edi
call fcn.11056afb
push edi
push 0
push edi
push eax
mov dword [ebp - 0x32c], eax
call fcn.11046c01
push 0
push 3
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push esi
push edi
push dword [ebp - 0x32c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
add esp, 0x2c
test eax, eax
je 0x11048787
push dword [ebp - 0x32c]
lea ecx, [ebp - 0x230]
call fcn.11043d52
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x260]
push eax
mov byte [ebp - 4], 7
call fcn.110467b8
lea eax, [ebp - 0x260]
push eax
push ebx
lea ecx, [ebp - 0x328]
call fcn.110473e4
mov ebx, dword [ebp - 0x32c]
lea eax, [ebp - 0x260]
xor ecx, ecx
cmp dword [ebp - 0x24c], 0x10
push edi
cmovae eax, dword [ebp - 0x260]
push ecx
push edi
mov dword [ebp - 0x250], ecx
push ebx
mov byte [eax], cl
call fcn.11046c01
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
call fcn.1104677c
push esi
push edi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
mov ebx, dword [ebp - 0x328]
add esp, 0xc
jmp 0x110486db
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 0x32c]
call fcn.1105695c
pop ecx
pop ecx
push 0xa
lea ecx, [ebp - 0x308]
call fcn.11048188
mov esi, dword [ebx]
lea ecx, [ebp - 0x308]
lea eax, [esi + 8]
push eax
call fcn.11043f6c
push 0
push str.languageID_Locale_ID_
lea ecx, [ebp - 0x308]
call fcn.11046abd
test eax, eax
je 0x11048a7d
jmp 0x11048a73
and dword [ebp - 0x220], 0
lea eax, [esi + 8]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
push eax
call fcn.11046655
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0x2c
cmovae eax, dword [ebp - 0x230]
push 0
push dword [ebp - 0x220]
mov byte [ebp - 4], 8
push eax
call fcn.11047cf2
add esp, 0x10
mov dword [ebp - 0x2ac], 0xf
xor ecx, ecx
mov dword [ebp - 0x2b0], ecx
mov byte [ebp - 0x2c0], cl
push eax
push ecx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.1104686f
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0x2c
cmovae eax, dword [ebp - 0x230]
push 0xffffffffffffffff
push dword [ebp - 0x220]
mov byte [ebp - 4], 9
push eax
call fcn.11047d58
and dword [ebp - 0x298], 0
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x294], 0xf
lea eax, [ebp - 0x230]
mov byte [ebp - 0x2a8], 0
push dword [ebp - 0x220]
lea ecx, [edi + 1]
push ecx
push eax
lea ecx, [ebp - 0x2a8]
call fcn.1104686f
xor eax, eax
mov byte [ebp - 4], 0xa
push edi
push eax
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x278]
mov byte [ebp - 0x278], al
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x264], 0xf
call fcn.1104686f
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.11043f43
lea ecx, [ebp - 0x278]
call fcn.1104677c
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0x2c
cmovae eax, dword [ebp - 0x230]
push 0xffffffffffffffff
push dword [ebp - 0x220]
push eax
call fcn.11047d58
and dword [ebp - 0x280], 0
add esp, 0x10
mov dword [ebp - 0x27c], 0xf
inc eax
mov byte [ebp - 0x290], 0
push dword [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x290]
call fcn.1104686f
mov edi, 0x1105f090
mov byte [ebp - 4], 0xb
push edi
lea ecx, [ebp - 0x2f0]
call fcn.110064d5
push edi
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xc
call fcn.110064d5
push edi
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 0xd
call fcn.110064d5
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x2c0]
push eax
call fcn.11046429
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.11046429
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.11046429
add esp, 0x18
lea eax, [ebp - 0x2f0]
mov ecx, 0x11080b38
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.11047dee
mov ecx, dword [ebp - 0x330]
lea eax, [ebp - 0x320]
push eax
add ecx, 0x28
call fcn.11043fbe
lea eax, [ebp - 0x2f0]
mov ecx, 0x11080b28
push eax
lea eax, [ebp - 0x338]
push eax
call fcn.11047dee
mov ecx, dword [ebp - 0x338]
lea eax, [ebp - 0x2d8]
push eax
add ecx, 0x28
call fcn.11043fbe
lea ecx, [ebp - 0x320]
call fcn.11007dbe
lea ecx, [ebp - 0x2d8]
call fcn.11007dbe
lea ecx, [ebp - 0x2f0]
call fcn.11007dbe
lea ecx, [ebp - 0x290]
call fcn.1104677c
lea ecx, [ebp - 0x2a8]
call fcn.1104677c
lea ecx, [ebp - 0x2c0]
call fcn.1104677c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 6
call fcn.1104677c
mov esi, dword [esi]
cmp esi, ebx
jne 0x110487d8
lea ecx, [ebp - 0x328]
call fcn.1104bc3e
push 0x20
push dword [ebp - 0x328]
call fcn.11006431
pop ecx
pop ecx
lea ecx, [ebp - 0x260]
call fcn.1104677c
lea ecx, [ebp - 0x308]
call fcn.1104677c
lea ecx, [ebp - 0x248]
call fcn.11007dbe
lea ecx, [ebp + 8]
call fcn.11007dbe
call fcn.11056801
ret