Function at 0x41a2a0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1878
call fcn.00488190
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x1870], ebx
cmp byte [ebx + 0xea0c], 0
jne 0x41a2dd
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004866f0
push 0x104
lea eax, [ebx + 0x3b8a]
push eax
push dword [ebx + 4]
call fcn.004135d0
push 0x104
lea eax, [ebx + 0x3d92]
push eax
push dword [ebx + 4]
call fcn.00413670
add esp, 0x24
lea eax, [ebp - 0x414]
push 0x104
push eax
mov ecx, ebx
call fcn.00419d10
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
jne 0x41a359
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push esi
lea eax, [ebp - 0x414]
push eax
push str._sDownloader.ini
lea esi, [ebx + 0x585e]
push 0x103
push esi
mov dword [ebp - 0x1874], esi
call fcn.00401690
add esp, 0x10
push esi
call edi
test eax, eax
jne 0x41a3d9
push 0x40e
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.004866f0
push esi
push str._ERROR__InitBundleInfo____No_bundle_info_exist______s_
lea eax, [ebp - 0x824]
push 0x207
push eax
call fcn.00405510
lea eax, [ebp - 0x824]
push eax
call fcn.004010d0
add esp, 0x20
xor eax, eax
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
lea edi, [ebx + 0x3f9a]
push edi
push 0x4a1b98
push 0x4a7864
push str.Bundle
call esi
push dword [ebp - 0x1874]
add ebx, 0x5a66
push 0x104
push ebx
push 0x4a1b98
push str.Eula
push str.Bundle
call esi
push dword [ebp - 0x1874]
mov eax, dword [ebp - 0x1870]
push 0x104
add eax, 0x43aa
push eax
push 0x4a1b98
push str.Language
push str.Bundle
mov dword [ebp - 0x1878], eax
call esi
push dword [ebp - 0x1874]
mov eax, dword [ebp - 0x1870]
push 0x104
add eax, 0x6aac
push eax
push 0x4a1b98
push str.WindowClassName
push str.Bundle
call esi
push 0x104
push edi
call fcn.004138f0
push 0x823
push ebx
call fcn.004138f0
push 0x104
push dword [ebp - 0x1878]
call fcn.004138f0
mov esi, dword [ebp - 0x1870]
push 0x104
add esi, 0x6aac
push esi
call fcn.004138f0
xor eax, eax
push 0x1044
push eax
mov word [ebp - 0x186c], ax
lea eax, [ebp - 0x186a]
push eax
call fcn.004866f0
push edi
push str.InitBundleInfo____SR___s
lea eax, [ebp - 0x186c]
push 0x822
push eax
call fcn.004146d0
lea eax, [ebp - 0x186c]
push eax
call fcn.004010d0
add esp, 0x40
lea eax, [ebp - 0x186c]
push ebx
push str.InitBundleInfo____Eula___s
push 0x822
push eax
call fcn.004146d0
lea eax, [ebp - 0x186c]
push eax
call fcn.004010d0
mov ebx, dword [ebp - 0x1878]
push ebx
push str.InitBundleInfo____Language___s
push 0x822
lea eax, [ebp - 0x186c]
push eax
call fcn.004146d0
lea eax, [ebp - 0x186c]
push eax
call fcn.004010d0
push esi
push str.InitBundleInfo____WindowClassName___s
lea eax, [ebp - 0x186c]
push 0x822
push eax
call fcn.004146d0
lea eax, [ebp - 0x186c]
push eax
call fcn.004010d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004866f0
add esp, 0x48
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00488884
push str.EULA
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00411ff0
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a5d2
lea eax, [ebp - 0x20c]
push eax
call fcn.00412700
add esp, 4
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.Eula.txt
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00411ff0
mov esi, dword [ebp - 0x1870]
lea eax, [ebp - 0x20c]
push eax
add esi, 0x5656
push 0x104
push esi
call fcn.00488884
push esi
push str.InitBundleInfo____EulaFile___s
lea eax, [ebp - 0x186c]
push 0x822
push eax
call fcn.004146d0
lea eax, [ebp - 0x186c]
push eax
call fcn.004010d0
push ebx
call fcn.00413c80
mov ecx, dword [ebp - 4]
add esp, 0x30
xor ecx, ebp
pop esi
pop edi
mov eax, 1
pop ebx
call fcn.00487c50
mov esp, ebp
pop ebp
ret