Function at 0x4044d0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e3681
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.00404170
push 1
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2ec], esi
call fcn.00401ea0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x404551
cmp ecx, esi
jge 0x404547
push 0x80070057
call fcn.00401430
cmp word [eax], 0x5c
jne 0x404551
xor bl, bl
jmp 0x404553
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 0x404571
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x404583
push 0x4ebe98
lea ecx, [esp + 0x14]
call fcn.00403bc0
mov edx, dword [esp + 0x10]
xor eax, eax
mov ax, word [edx]
mov ecx, eax
and ecx, 0xffdf
cmp ax, si
je 0x4045c5
cmp word [edx + 2], 0x3a
jne 0x4045c5
cmp word [edx + 4], 0x5c
jne 0x4045c5
cmp word [edx + 6], si
jne 0x4045c5
cmp cx, 0x41
mov edi, 1
jb 0x4045be
cmp cx, 0x5a
jbe 0x4045c7
mov eax, 1
jmp 0x4045c9
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x10], esi
jne 0x404638
cmp eax, esi
jne 0x404638
cmp edi, esi
jne 0x4045d9
push esi
jmp 0x40463a
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 0x404646
push 1
call fcn.00405a60
mov esi, eax
add esp, 4
mov edi, esi
push 1
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
call fcn.00401ea0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x404678
test ecx, ecx
jge 0x40466e
push 0x80070057
call fcn.00401430
cmp word [eax], 0x5c
jne 0x404678
mov bl, 1
jmp 0x40467a
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 0x404698
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x4046b0
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
push 0
dec eax
push eax
lea ecx, [esp + 0x18]
call fcn.00403710
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff0000
jne 0x4048f9
call fcn.004c86da
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 0x40472d
push 0x4ec068
call fcn.004aee31
add esp, 4
push eax
push 0x4ec068
lea ecx, [esp + 0x1c]
call fcn.00402240
push ebx
call fcn.004aee31
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00402300
push 0x4ec064
call fcn.004aee31
add esp, 4
push eax
push 0x4ec064
lea ecx, [esp + 0x1c]
call fcn.00402300
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00404210
mov eax, dword [esp + 0x24]
push 0x4ec058
push eax
mov byte [esp + 0x2f8], 2
call fcn.004af242
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x4047f0
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 0x404788
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 0x4047ae
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 0x4047d7
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 0x40482c
push 0x4ec05c
call fcn.00403b80
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00402300
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push 0x29
dec eax
push eax
lea ecx, [esp + 0x20]
call fcn.00403710
jmp 0x404836
lea edx, [esp + 0x10]
push edx
call fcn.00402490
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402300
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.004c2ac6
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 0x404895
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 0x4048b7
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 0x4048e0
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.00403cb0
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.004c2ac6
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 0x40494f
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