Function at 0xaaab20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb17766
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0xb37f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0xaaab5c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp + 8], eax
mov al, byte [0xb3a7d3]
mov byte [ebp - 0x2b4], al
push 0x103
push 0
lea ecx, [ebp - 0x2b3]
push ecx
call fcn.00ad2fc0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x2b4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea ecx, [ebp - 0x2b4]
push ecx
call fcn.00aa7e50
add esp, 8
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jne 0xaaabbf
lea edx, [ebp - 0x2b4]
mov dword [ebp - 0x1ac], edx
push 0x2e
lea eax, [ebp - 0x2b4]
push eax
call fcn.00aa7e50
add esp, 8
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
je 0xaaabed
mov ecx, dword [ebp - 0x1a8]
cmp ecx, dword [ebp - 0x1ac]
jae 0xaaac04
push 0
lea edx, [ebp - 0x2b4]
push edx
call fcn.00aa7dc0
add esp, 8
mov dword [ebp - 0x1a8], eax
cmp dword [ebp + 0xc], 0
je 0xaaac39
mov eax, dword [ebp + 0xc]
push eax
push 0xb3b490
mov ecx, dword [ebp - 0x1a8]
push ecx
call fcn.00ad5ec4
add esp, 0xc
push 0
mov edx, dword [ebp - 0x1a8]
push edx
call fcn.00aa7dc0
add esp, 8
mov dword [ebp - 0x1a8], eax
push str..DbgLog
mov eax, dword [ebp - 0x1a8]
push eax
call fcn.00ad7610
add esp, 8
lea ecx, [ebp - 0x2b4]
push ecx
push 0xb53ac0
call fcn.00ad7610
add esp, 8
mov dl, byte [0xb3a7d3]
mov byte [ebp - 0x1a4], dl
push 0x103
push 0
lea eax, [ebp - 0x1a3]
push eax
call fcn.00ad2fc0
add esp, 0xc
push 0
push 5
lea ecx, [ebp - 0x1a4]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0xaaacb7
push 0
push 5
lea edx, [ebp - 0x1a4]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
movsx eax, byte [ebp - 0x1a4]
test eax, eax
je 0xaaae30
push 0
push str.DbgLogs
lea ecx, [ebp - 0x2c]
call fcn.00aab2f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
lea edx, [ebp - 0x1a4]
push edx
lea ecx, [ebp - 0x48]
call fcn.00aab250
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2d8]
push ecx
lea edx, [ebp - 0x2d0]
push edx
call fcn.00aaca30
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00a7a5a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00a7a5a0
lea eax, [ebp - 0x2d0]
push eax
call fcn.00aacb30
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0xaaad5a
lea edx, [ebp - 0x2d0]
push edx
call fcn.00aacbb0
add esp, 4
lea eax, [ebp - 0x80]
push eax
push 0
push 0xb53ac0
lea ecx, [ebp - 0x64]
call fcn.00aab250
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e0], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2e0]
call fcn.00ac80a0
mov dword [ebp - 0x2e4], eax
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00ac7fd0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00a7a5a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00a7a5a0
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.00aac8d0
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2f0]
call fcn.00a7ad70
push eax
push 0xb53ac0
call fcn.00ad7610
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.00a663e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d0]
call fcn.00a7a5a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00ad1fa3
mov esp, ebp
pop ebp
ret