Function at 0x23ad13f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x23bd7160
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x64]
push eax
lea ecx, [esp + 0x28]
call fcn.23ad2c30
xor edi, edi
mov dword [esp + 0x34], edi
cmp dword [esp + 0x28], edi
je 0x23ad16a0
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0xb
push ecx
call ebp
mov eax, dword [esi + 0x34]
mov edx, dword [eax + 0x20]
push 0xffff0000
push edi
push 0x1101
push edx
call ebp
mov ecx, dword [esi + 0x64]
mov eax, dword [esi]
mov edx, dword [eax + 0xc8]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esi + 0x64]
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push ecx
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x23ad148b
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x84]
push ebx
push eax
push ecx
mov ecx, esi
call edx
cmp dword [esp + 0x14], edi
je 0x23ad1502
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x20], vtable.CXTPShellPidl::CShellMalloc.0
mov dword [esp + 0x24], edi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x23ad14cb
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x23ad14cf
mov eax, dword [esp + 0x20]
mov byte [esp + 0x34], 1
cmp eax, edi
je 0x23ad14e9
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x34], 0
mov dword [esp + 0x1c], vtable.CXTPShellPidl::CShellMalloc.0
cmp eax, edi
je 0x23ad1502
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xd0]
push ebx
mov ecx, esi
call edx
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x20]
push edi
push edi
push 0x110a
push eax
call ebp
mov edi, eax
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x20]
push edi
push 2
push 0x1102
push ecx
call ebp
mov eax, dword [esi + 0x34]
cmp ebx, 0xffff0000
je 0x23ad15b6
mov edx, dword [eax + 0x20]
push ebx
push 4
push 0x110a
push edx
call ebp
mov edi, eax
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x20]
push edi
push 9
push 0x110b
push eax
call ebp
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx + 0x20]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400
jne 0x23ad1585
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 0x20]
push edi
push 2
push 0x1102
push eax
call ebp
call fcn.23a36735
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x23ad159f
push 0x80004005
call fcn.23a0ef50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x34], 2
jmp 0x23ad15f3
mov ecx, dword [eax + 0x20]
push edi
push 9
push 0x110b
push ecx
call ebp
call fcn.23a36735
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x23ad15de
push 0x80004005
call fcn.23a0ef50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x34], 3
mov edx, dword [esi]
mov edx, dword [edx + 0xb8]
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
push eax
call fcn.23a10570
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esi]
mov edx, dword [eax + 0xcc]
add esp, 4
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x34], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23ad1653
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x20]
push 0
push 1
push 0xb
push ecx
call ebp
mov eax, dword [esi + 0x34]
mov edx, dword [eax + 0x20]
push 0x105
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esi + 0x34]
call fcn.23a35d54
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x24], vtable.CXTPShellPidl::CShellSpecialFolder.0
test eax, eax
je 0x23ad16a0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret