Function at 0x11088a50
Capabilities:
Get common file path
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111dee9c
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
push 0
push 0xffffffffffffffff
call edx
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x120]
call edx
mov ebx, eax
lea eax, [ebp - 0x2b8]
push eax
push 0
push ebx
push 5
push 0
mov dword [ebp - 0x2bc], ebx
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathW]
test eax, eax
js 0x11088ca8
lea ecx, [ebp - 0x2c0]
push ecx
lea edx, [ebp - 0x60]
push edx
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x2c0], 0x50
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.1113ccd0
push str.Rewards.bin
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 4], 0
call fcn.1113dca0
mov edx, dword [ebp - 0x2e0]
mov eax, dword [edx]
lea ecx, [ebp - 0x2e0]
call eax
test al, al
jne 0x11088b38
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x2d4]
push 0x1120888c
push ecx
call dword [sym.imp.MSVCR100.dll__wfopen]
add esp, 8
cmp byte [ebp - 0x60], 0
mov esi, eax
je 0x11088c96
test esi, esi
je 0x11088c96
push esi
lea ecx, [ebp - 0x324]
call fcn.1102f660
push esi
lea edx, [ebp - 0xb0]
push 0x50
push edx
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCR100.dll_fgets]
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.110e8d60
add esp, 0x14
lea ecx, [ebp - 0x2cc]
mov esi, eax
call fcn.1104c410
mov bl, 2
lea eax, [ebp - 0x60]
mov byte [ebp - 4], bl
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x11088bb0
sub eax, ecx
push eax
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x2cc]
call fcn.1104ccd0
mov eax, dword [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0xb0]
push ecx
push esi
lea ecx, [ebp - 0x2cc]
call fcn.1104d230
push esi
call dword [sym.imp.MSVCR100.dll_free]
lea edx, [ebp - 0xb0]
push edx
lea esi, [edi + 0x484]
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 8
lea ecx, [ebp - 0x2fc]
mov dword [esi], eax
call fcn.1111a8f0
mov edx, dword [ebp - 0x2fc]
lea eax, [ebp - 0x2c4]
push eax
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2c4], 0xb5
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x48]
push esi
call eax
mov ecx, dword [edi + 4]
mov esi, dword [ecx]
push 0
lea ecx, [ebp - 0x2fc]
call fcn.1104dbf0
push eax
lea ecx, [ebp - 0x2fc]
call fcn.110684f0
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x48]
push eax
call edx
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], bl
call fcn.1111ab70
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 1
call fcn.1104c430
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 0
call fcn.1102f6a0
mov ebx, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 4], 0xffffffff
call fcn.1113cd80
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
push 0
push 0
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret