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

Disassembly:
push 0xffffffffffffffff
push 0x470088
mov eax, dword fs:[0]
push eax
sub esp, 0x6f4
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x6f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ab20]
xor eax, esp
push eax
lea eax, [esp + 0x708]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov eax, 0x64
push 0xfe
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x60a]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x71c], ebp
mov dword [esp + 0x3c], 0xc8
mov dword [esp + 0x44], 0x96
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov word [esp + 0x610], ax
call fcn.00451660
push 0xfe
lea eax, [esp + 0x316]
xor edx, edx
push ebp
push eax
mov word [esp + 0x31c], dx
call fcn.00451660
push 0xfe
lea edx, [esp + 0x522]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x528], cx
call fcn.00451660
push 0xfe
lea ecx, [esp + 0x42e]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x434], ax
call fcn.00451660
add esp, 0x30
push 0x17
lea edx, [esp + 0x18]
push edx
mov ecx, 0x49e48c
call fcn.0041eb80
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea eax, [esp + 0x608]
push eax
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x18
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x49e48c
call fcn.0041eb80
mov eax, dword [eax]
push eax
lea edx, [esp + 0x308]
push edx
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x19
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x49e48c
call fcn.0041eb80
mov eax, dword [eax]
push eax
lea edx, [esp + 0x508]
push edx
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x1a
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x49e48c
call fcn.0041eb80
mov eax, dword [eax]
push eax
lea edx, [esp + 0x408]
push edx
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40652c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x604]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x304]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x71c]
lea ecx, [esp + 0x404]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x724]
lea eax, [esp + 0x504]
mov dword [esi + 0x6c], edx
mov edx, dword [esp + 0x728]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x720]
mov dword [esi + 0x74], ecx
mov ecx, dword [esp + 0x730]
mov dword [esi + 0x78], edx
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x72c]
lea edx, [esp + 0x718]
mov dword [esi + 0x80], ecx
lea ebx, [esi + 0x54]
push edx
mov ecx, ebx
mov dword [esi + 0x7c], eax
call fcn.00404d00
lea eax, [esp + 0x718]
lea ecx, [esi + 0x58]
push eax
call fcn.00404d00
mov ecx, esi
call fcn.00437a45
mov ecx, dword [eax + 0x20]
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0x1200
push ecx
call ebp
mov dword [esp + 0x1c], eax
xor edi, edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + edi*4 + 0x30]
mov ecx, dword [esp + edi*4 + 0x40]
push edx
mov edx, dword [esp + edi*4 + 0x24]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.00435dd0
inc edi
cmp edi, 4
jl 0x4065d9
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x2b4
lea edx, [esp + 0x54]
push 0
push edx
call fcn.00451660
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0x4009
push 0x2b4
lea eax, [esp + 0x58]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esi + 0x20]
push eax
push 1
push 0x1003
push ecx
call ebp
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.00404440
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00405cc0
mov eax, dword [esp + 0x718]
add eax, 0xfffffff0
mov dword [esp + 0x710], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4066a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x708]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6f0]
xor ecx, esp
call fcn.004522e0
add esp, 0x700
ret 0x1c