Function at 0x404820
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e7861
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
push ebx
push esi
push edi
mov dword [esp + 0x1c], ecx
xor eax, eax
xor esi, esi
mov dword [esp + 0x20], esi
mov ecx, 0xac
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.004044c0
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2ec], esi
call fcn.00401ee0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x4048a1
cmp ecx, esi
jge 0x404897
push 0x80070057
call fcn.00401430
cmp word [eax], 0x5c
jne 0x4048a1
xor bl, bl
jmp 0x4048a3
mov bl, 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4048c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4048d3
push 0x4efeb0
lea ecx, [esp + 0x14]
call fcn.00403f10
mov edx, dword [esp + 0x10]
xor eax, eax
mov ax, word [edx]
mov ecx, eax
and ecx, 0xffdf
cmp ax, si
je 0x404915
cmp word [edx + 2], 0x3a
jne 0x404915
cmp word [edx + 4], 0x5c
jne 0x404915
cmp word [edx + 6], si
jne 0x404915
cmp cx, 0x41
mov edi, 1
jb 0x40490e
cmp cx, 0x5a
jbe 0x404917
mov eax, 1
jmp 0x404919
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x10], esi
jne 0x404988
cmp eax, esi
jne 0x404988
cmp edi, esi
jne 0x404929
push esi
jmp 0x40498a
push 0x101
push 0x2b4
lea eax, [esp + 0x28]
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push edx
call esi
mov ecx, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x24]
push ecx
call ebx
mov eax, dword [esp + 0x10]
push 0x103
push 0x2b4
lea edx, [esp + 0x28]
push edx
push 0
push eax
mov dword [esp + 0x34], 0
call esi
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
push ecx
call ebx
mov dword [esp + 0x20], 0
jmp 0x404996
push 1
call fcn.00405e10
mov esi, eax
add esp, 4
mov edi, esi
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
call fcn.00401ee0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x4049c8
test ecx, ecx
jge 0x4049be
push 0x80070057
call fcn.00401430
cmp word [eax], 0x5c
jne 0x4049c8
mov bl, 1
jmp 0x4049ca
xor bl, bl
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 0x4049e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x404a00
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
push 0
dec eax
push eax
lea ecx, [esp + 0x18]
call fcn.00403a60
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff0000
jne 0x404c3f
call fcn.004cc87a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, dword [ebp + 0x10]
test ebx, ebx
mov byte [esp + 0x2e4], 1
je 0x404a7d
push 0x4f0084
call fcn.004b3af1
add esp, 4
push eax
push 0x4f0084
lea ecx, [esp + 0x1c]
call fcn.00402280
push ebx
call fcn.004b3af1
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00402340
push 0x4f0080
call fcn.004b3af1
add esp, 4
push eax
push 0x4f0080
lea ecx, [esp + 0x1c]
call fcn.00402340
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00404560
mov eax, dword [esp + 0x24]
push 0x4f0070
push eax
mov byte [esp + 0x2f8], 2
call fcn.004b3ec2
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x404b40
add eax, 0xfffffff0
mov byte [esp + 0x2e4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ad8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2e4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404afe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2e4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x2dc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp word [eax], 0
lea ecx, [esp + 0x18]
je 0x404b72
push 0x4f0078
call fcn.00403ed0
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403ed0
push 0x4f0074
lea ecx, [esp + 0x1c]
call fcn.00403ed0
jmp 0x404b7c
lea edx, [esp + 0x10]
push edx
call fcn.004024d0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402340
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x5c]
push 0xffff0002
push 0xffff0000
push 0
push 0
push 0
push esi
mov esi, dword [esp + 0x2c]
push edi
push esi
push 0x23
call fcn.004c6c66
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2e4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404bdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x2e4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404bfd
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2e4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
mov ecx, dword [esp + 0x2dc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00404000
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x5c]
push 0xffff0002
push ebx
push 0
push 0
push 0
push esi
push edi
push eax
push 0x23
call fcn.004c6c66
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2e4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404c95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2dc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10