Function at 0x404210
Capabilities:
Get common file path
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x4364ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042ca25
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
call fcn.0042d634
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov ecx, esi
mov dword [esp + 0x2e4], ebx
call fcn.00402670
test eax, eax
jne 0x4042a7
lea eax, [ebp - 0x10]
mov dword [esp + 0x2e4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40428d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
add esp, 0x2dc
ret
push edi
push 0xffffff
push 1
push 0x10
lea edi, [esi + 0x58]
push 0x81
mov ecx, edi
call fcn.004289c8
cmp edi, ebx
jne 0x4042c8
xor edi, edi
jmp 0x4042cb
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0x1109
push eax
call edi
push eax
call fcn.00428914
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x404320
lea eax, [ebp - 0x10]
mov dword [esp + 0x2e8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404319
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x40444e
test byte [esp + 0x1c], 8
je 0x404332
push ebx
push ebx
push 8
mov ecx, esi
call fcn.0042ca59
mov eax, dword [esi + 0x1c]
push 0xffff0000
push ebx
push 0x1101
push eax
call edi
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push ebx
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4483c0]
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
push edx
mov ecx, esi
call fcn.00402710
mov ecx, dword [esp + 0x10]
push 0x400b
push 0x160
lea eax, [esp + 0x28]
push eax
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push ecx
call ebx
mov eax, dword [esp + 0x10]
push 0x4009
push 0x160
lea edx, [esp + 0x188]
push edx
push 0
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x184]
mov ebx, dword [esp + 0x18]
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
push ecx
push edx
push ebx
push 0x23
mov ecx, esi
call fcn.004287c1
push eax
mov dword [esi + 0x78], eax
mov eax, dword [0x4483c0]
push 0
push eax
mov ecx, esi
call fcn.00403b00
mov ecx, dword [esi + 0x78]
push 0
push 9
push ecx
mov ecx, esi
call fcn.00402f00
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x1c]
push eax
push 2
push 0x1102
push edx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x404415
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x404424
mov eax, dword [eax]
push 0
call dword [eax + 8]
lea eax, [ebx - 0x10]
mov dword [esp + 0x2e8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404449
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x2e0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2dc
ret