Function at 0x10044480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a74e
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x100c90c0]
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 [0x100f0b90], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x278], 0
je 0x100444df
cmp dword [0x100f0b88], 0
je 0x100444df
mov dword [ebp - 4], 0
jmp 0x100448a1
call fcn.10043870
cmp dword [0x100f2538], 6
jae 0x10044544
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.10074d40
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 0x10044538
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x100f0b84
call fcn.1003ec60
mov dword [ebp - 4], 1
jmp 0x100448a1
mov dword [ebp - method.CUtils.virtual_0], vtable.CUtils.0
mov dword [ebp - 4], 2
mov eax, dword [0x100f2540]
test eax, eax
jne 0x1004456f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1004f220
mov dword [0x100f2540], eax
cmp eax, 4
jne 0x10044895
call fcn.10044970
test eax, eax
jne 0x10044895
lea eax, [ebp - 0x25c]
push eax
call fcn.10045240
mov byte [ebp - 4], 3
cmp dword [ebp - 0x250], 0
je 0x1004487b
cmp dword [ebp - 0x258], 0
je 0x1004487b
lea eax, [ebp - 0x25c]
push eax
mov ecx, 0x100f0b84
call fcn.1003ecf0
push str.AppDataLocalLow
mov ecx, 0x100f0b84
call fcn.1003ef30
push ecx
push 0x100a9e7c
lea ecx, [ebp - 0x22c]
call fcn.1003e580
push ecx
push 0x100a9e7c
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 4
call fcn.1003e580
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.10045010
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 7
call fcn.1003ecf0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.10022960
mov ebx, dword [ebp - 0x240]
test ebx, ebx
je 0x100446c1
mov edi, ebx
lea ecx, [edi + 2]
jmp 0x10044660
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10044660
sub edi, ecx
sar edi, 1
cmp dword [ebp - 0x220], 0
lea ecx, [ebp - 0x22c]
jne 0x10044687
push edi
push ebx
call fcn.1003ea90
jmp 0x100446c1
mov eax, dword [ebp - 0x228]
add eax, edi
push eax
call fcn.1003f120
test eax, eax
je 0x100446c1
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.1006fdc7
add esp, 0xc
add dword [ebp - 0x228], edi
cmp dword [ebp - 0x220], 0
lea ecx, [ebp - 0x22c]
jne 0x100446de
push 1
push 0x100a9e7c
call fcn.1003ea90
jmp 0x1004471b
mov eax, dword [ebp - 0x228]
inc eax
push eax
call fcn.1003f120
test eax, eax
je 0x1004471b
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
sub eax, ecx
push 0x100a9e7c
push eax
mov eax, dword [ebp - 0x220]
lea eax, [eax + ecx*2]
push eax
call fcn.1006fdc7
add esp, 0xc
inc dword [ebp - 0x228]
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call fcn.10045440
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 8
call fcn.1003ecf0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.10022960
mov ebx, dword [ebp - 0x240]
test ebx, ebx
je 0x10044841
cmp dword [ebp - 0x248], 0
je 0x10044841
mov edi, ebx
lea ecx, [edi + 2]
lea ebx, [ebx]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10044770
sub edi, ecx
sar edi, 1
cmp dword [ebp - 0x230], 0
lea ecx, [ebp - 0x23c]
jne 0x10044797
push edi
push ebx
call fcn.1003ea90
jmp 0x100447d1
mov eax, dword [ebp - 0x238]
add eax, edi
push eax
call fcn.1003f120
test eax, eax
je 0x100447d1
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.1006fdc7
add esp, 0xc
add dword [ebp - 0x238], edi
cmp dword [ebp - 0x230], 0
lea ecx, [ebp - 0x23c]
jne 0x100447ee
push 1
push 0x100a9e7c
call fcn.1003ea90
jmp 0x1004482b
mov eax, dword [ebp - 0x238]
inc eax
push eax
call fcn.1003f120
test eax, eax
je 0x1004482b
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x234]
sub eax, ecx
push 0x100a9e7c
push eax
mov eax, dword [ebp - 0x230]
lea eax, [eax + ecx*2]
push eax
call fcn.1006fdc7
add esp, 0xc
inc dword [ebp - 0x238]
push dword [ebp - 0x230]
mov ecx, 0x100f0b84
push dword [ebp - 0x220]
call fcn.1003f290
push 0x100f0b84
mov ecx, esi
call fcn.1003e5f0
lea ecx, [ebp - 0x24c]
call fcn.10022960
lea ecx, [ebp - 0x23c]
call fcn.10022960
lea ecx, [ebp - 0x22c]
call fcn.10022960
lea ecx, [ebp - 0x25c]
call fcn.10022960
jmp 0x100448cf
push ecx
push 0x10096ed4
mov ecx, esi
call fcn.1003e580
lea ecx, [ebp - 0x25c]
call fcn.10022960
jmp 0x100448cf
sub esp, 8
call fcn.100448f0
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 [0x100f0b88]
mov ecx, esi
push dword [0x100f0b90]
call fcn.1003ea90
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.1006daee
mov esp, ebp
pop ebp
ret 4