Function at 0x41294b
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
push 0x248
mov eax, 0x423741
call fcn.0042147b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x14]
mov esi, ecx
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x250], eax
call fcn.00414dc4
push str._nbelow_is_AndroidServer_Main_log_n
add esi, 0x40
lea eax, [ebp - 0x220]
push esi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00402040
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00401d11
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401171
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x1a
push ebx
mov dword [ebp - 0x224], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jl 0x412a3c
cmp dword [ebp - 0x224], ebx
je 0x412a50
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp dword [ebp - 0x224], ebx
je 0x412a50
push dword [ebp - 0x224]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x425710
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call fcn.0040760c
pop ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401652
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
push eax
mov byte [ebp - 4], 2
call fcn.00401382
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov dword [esp], str.main.log.xml
push 0x104
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.004013e0
push eax
call edi
or edi, 0xffffffff
push edi
lea ecx, [ebp - 0x22c]
call fcn.00402904
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0041247f
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x220]
push esi
push eax
mov byte [ebp - 4], 4
call fcn.00401fe9
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00401d11
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401171
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.0041277f
mov esi, dword [esi]
push edi
lea eax, [ebp - 0x228]
push esi
push eax
call fcn.0041a0ba
add esp, 0xc
mov eax, dword [ebp - 0x228]
push dword [ebp - 0x238]
mov eax, dword [eax - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.0040434d
push eax
lea ecx, [ebp - 0x24c]
call fcn.00414df4
mov eax, dword [ebp - 0x228]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebp - 0x254]
push ebx
push 0x80
push 3
push ebx
mov dword [ecx], eax
mov eax, dword [ebp - 0x250]
mov eax, dword [eax]
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, edi
je 0x412c21
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x244]
push eax
mov dword [ebp - 0x220], eax
mov dword [ecx], eax
mov dword [ebp - 0x23c], ebx
call fcn.0042129f
pop ecx
push ebx
lea ecx, [ebp - 0x23c]
push ecx
push dword [ebp - 0x220]
mov dword [ebp - 0x21c], eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x412c06
push dword [ebp - 0x240]
lea ecx, [ebp - 0x24c]
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call fcn.00414df4
cmp dword [ebp - 0x21c], ebx
je 0x412c1a
push dword [ebp - 0x21c]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00401171
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00401171
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.00401171
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00401171
lea ecx, [ebp - 0x24c]
mov dword [ebp - 4], edi
call fcn.00414dbd
call fcn.004214fe
ret 0x14