Function at 0x1009aa80
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x100ff008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
mov ecx, 0x10100c18
push 0x100f0188
call fcn.100b1950
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b1340
call fcn.10099c50
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b1340
call fcn.1009a0f0
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b1340
call fcn.1009a5c0
add esp, 0x18
lea eax, [ebp + 8]
lea ecx, [ebp - 0x140]
push eax
call fcn.100b1340
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x118], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x114], 0xf
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009ab30
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.100b1950
sub esp, 0x18
lea eax, [ebp - 0x140]
mov ecx, esp
push eax
call fcn.100b1340
sub esp, 0x18
lea ecx, [ebp - 0x128]
mov esi, esp
push str.GajimSettings.sqlite
call fcn.100b11c0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100986a0
mov edx, dword [ebp - 0x114]
add esp, 0x30
cmp edx, 0x10
jb 0x1009abe9
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009abdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009aefd
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x1009ac23
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009ac19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009af07
push edx
push ecx
call fcn.100bd5f4
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x18], 1
jne 0x1009aeaf
cmp byte [eax], 0x30
jne 0x1009aeaf
mov edx, dword [0x101029d0]
test edx, edx
jle 0x1009aeaf
lea ecx, [ebp - 0x188]
call fcn.100833a0
push 7
push str.Gajim__
push ecx
mov ecx, eax
call fcn.100b5c40
push 0x100f973c
lea ecx, [ebp - 0x128]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100b11c0
push 0x100f9738
lea ecx, [ebp - 0x170]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x170], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x160], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100b11c0
push 0x10101008
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x140]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x158], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x148], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100b1da0
add esp, 4
mov ecx, 0x10101008
push eax
call fcn.100b1280
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x1009ad5f
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009ad55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009af02
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp edx, 0x10
jb 0x1009adb4
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009adaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009af02
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp edx, 0x10
jb 0x1009ae09
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009adff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009af02
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp edx, 0x10
jb 0x1009ae5e
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009ae54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009af02
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x1009aeaf
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009aea5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009af02
push edx
push ecx
call fcn.100bd5f4
add esp, 8
push 0x10101008
mov ecx, edi
call fcn.100b1340
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1009aeeb
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009aee1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009af07
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100bd09a
mov esp, ebp
pop ebp
ret
call fcn.100c93fd
call fcn.100c93fd
call fcn.100c93fd
int3