Function at 0x405a00
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x46ff56
mov eax, dword fs:[0]
push eax
sub esp, 0x7e0
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x7dc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ab20]
xor eax, esp
push eax
lea eax, [esp + 0x7f4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x804]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edi, [ebp + 0x2c]
push edi
lea eax, [esp + 0x3e4]
push eax
mov esi, ecx
call ebx
push 0x4858e4
lea ecx, [esp + 0x18]
call fcn.00405330
push 0x701
push 4
lea ecx, [esp + 0x6c]
push ecx
push 0
lea edx, [esp + 0x3f0]
push edx
mov dword [esp + 0x810], 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push edi
lea eax, [esp + 0x3e4]
push eax
call ebx
lea ecx, [esp + 0x278]
push ecx
lea edx, [esp + 0x5ec]
push edx
call ebx
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push eax
mov dword [esp + 0x38], 7
call edi
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x3e0]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x28]
push ecx
push 0
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x810]
push 0x104d
push edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x58], eax
call edi
cmp dword [esp + 0x808], 0
mov dword [esp + 0x18], eax
jne 0x405b2b
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.004040b0
push eax
lea edx, [esp + 0x31c]
push edx
jmp 0x405b38
push 0x4858e4
lea eax, [esp + 0x31c]
push eax
call ebx
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
mov eax, 1
push 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x20]
push 0x104c
lea ecx, [esp + 0x324]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ecx
call edi
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x28]
push edx
push 0
push 0x104c
lea ecx, [esp + 0x5f4]
push eax
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 2
mov dword [esp + 0x4c], ecx
call edi
xor eax, eax
push 0xffffffffffffffff
add ebp, 0x14
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00403f00
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0x475c00
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], edx
call fcn.00405970
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x800], 1
call fcn.00404d00
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x7fc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edx, 1
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 3
mov ebx, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, ebx
or eax, edx
jge 0x405c49
push ebx
lea ecx, [esp + 0x18]
call fcn.004043f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x104c
push edx
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x7fc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x7f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7dc]
xor ecx, esp
call fcn.004522e0
add esp, 0x7ec
ret 8