Function at 0x10011a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100310fe
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x10046270]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10047b20], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x278], 0
je 0x10011adf
cmp dword [0x10047b18], 0
je 0x10011adf
mov dword [ebp - 4], 0
jmp 0x10011eb5
call fcn.10010ec0
cmp dword [0x10048cfc], 6
jae 0x10011b44
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.10022720
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x801c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x10011b38
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x10047b14
call fcn.1000a4f0
mov dword [ebp - 4], 1
jmp 0x10011eb5
mov dword [ebp - method.CUtils.virtual_0], vtable.CUtils.0
mov dword [ebp - 4], 2
mov eax, dword [0x10048d0c]
test eax, eax
jne 0x10011b6f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.10013b30
mov dword [0x10048d0c], eax
cmp eax, 4
jne 0x10011ea9
call fcn.10011f90
test eax, eax
jne 0x10011ea9
lea eax, [ebp - 0x25c]
push eax
call fcn.10012900
mov byte [ebp - 4], 3
cmp dword [ebp - 0x250], 0
je 0x10011e8b
cmp dword [ebp - 0x258], 0
je 0x10011e8b
lea eax, [ebp - 0x25c]
push eax
mov ecx, 0x10047b14
call fcn.1000a580
push str.AppDataLocalLow
mov ecx, 0x10047b14
call fcn.1000a6f0
push ecx
push 0x1003ae70
lea ecx, [ebp - 0x22c]
call fcn.1000a1d0
push ecx
push 0x1003ae70
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.1000a1d0
mov dword [ebp - method.CStringBufferW.virtual_0], vtable.CStringBufferW.0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x248], 0
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 6
call fcn.100126b0
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 7
call fcn.1000a580
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.1000a240
mov ebx, dword [ebp - 0x240]
test ebx, ebx
je 0x10011cc1
mov edi, ebx
lea ecx, [edi + 2]
jmp 0x10011c60
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10011c60
sub edi, ecx
sar edi, 1
cmp dword [ebp - 0x220], 0
lea ecx, [ebp - 0x22c]
jne 0x10011c87
push edi
push ebx
call fcn.1000a470
jmp 0x10011cc1
mov eax, dword [ebp - 0x228]
add eax, edi
push eax
call fcn.1000a840
test eax, eax
je 0x10011cc1
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
sub eax, ecx
push ebx
push eax
mov eax, dword [ebp - 0x220]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
add dword [ebp - 0x228], edi
cmp dword [ebp - 0x220], 0
lea ecx, [ebp - 0x22c]
jne 0x10011cde
push 1
push 0x1003ae70
call fcn.1000a470
jmp 0x10011d1b
mov eax, dword [ebp - 0x228]
inc eax
push eax
call fcn.1000a840
test eax, eax
je 0x10011d1b
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
sub eax, ecx
push 0x1003ae70
push eax
mov eax, dword [ebp - 0x220]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
inc dword [ebp - 0x228]
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call fcn.10012b00
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 8
call fcn.1000a580
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.1000a240
mov ebx, dword [ebp - 0x240]
test ebx, ebx
je 0x10011e41
cmp dword [ebp - 0x248], 0
je 0x10011e41
mov edi, ebx
lea ecx, [edi + 2]
lea ebx, [ebx]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10011d70
sub edi, ecx
sar edi, 1
cmp dword [ebp - 0x230], 0
lea ecx, [ebp - 0x23c]
jne 0x10011d97
push edi
push ebx
call fcn.1000a470
jmp 0x10011dd1
mov eax, dword [ebp - 0x238]
add eax, edi
push eax
call fcn.1000a840
test eax, eax
je 0x10011dd1
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x234]
sub eax, ecx
push ebx
push eax
mov eax, dword [ebp - 0x230]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
add dword [ebp - 0x238], edi
cmp dword [ebp - 0x230], 0
lea ecx, [ebp - 0x23c]
jne 0x10011dee
push 1
push 0x1003ae70
call fcn.1000a470
jmp 0x10011e2b
mov eax, dword [ebp - 0x238]
inc eax
push eax
call fcn.1000a840
test eax, eax
je 0x10011e2b
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x234]
sub eax, ecx
push 0x1003ae70
push eax
mov eax, dword [ebp - 0x230]
lea eax, [eax + ecx*2]
push eax
call fcn.1001e135
add esp, 0xc
inc dword [ebp - 0x238]
push dword [ebp - 0x230]
mov ecx, 0x10047b14
push dword [ebp - 0x220]
call fcn.1000a950
push 0x10047b14
mov ecx, esi
call fcn.1000a2c0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 5
call fcn.1000a240
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.1000a240
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.1000a240
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 2
call fcn.1000a240
jmp 0x10011ee3
push ecx
push 0x1003a25c
mov ecx, esi
call fcn.1000a1d0
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 2
call fcn.1000a240
jmp 0x10011ee3
sub esp, 8
call fcn.10011f10
mov byte [ebp - 4], 9
mov dword [esi], vtable.CStringBufferW.0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
push dword [0x10047b18]
mov ecx, esi
push dword [0x10047b20]
call fcn.1000a470
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001d3d5
mov esp, ebp
pop ebp
ret 4