Function at 0x404060
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x453be1
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x46b8c4]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46b8c4]
xor eax, esp
push eax
lea eax, [esp + 0x1b4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1c4]
mov esi, ecx
mov eax, dword [esi]
push 0x2e
push eax
call fcn.0043c45a
xor ebx, ebx
add esp, 8
cmp eax, ebx
jne 0x4040bc
or eax, 0xffffffff
jmp 0x4040be
sub eax, dword [esi]
mov ecx, dword [esi]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004042f0
mov dword [esp + 0x1bc], ebx
mov edi, dword [esp + 0x14]
cmp dword [edi - 4], 1
jle 0x4040f4
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00401580
mov edi, dword [esp + 0x14]
mov eax, edi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404110
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.00405920
lea esi, [ebp + 0x84]
lea ecx, [esp + 0x20]
mov eax, esi
mov byte [esp + 0x1bc], 1
call fcn.00406290
cmp esi, ebx
mov ebp, eax
mov dword [esp + 0x1c], ebp
jne 0x40414e
call fcn.0043bc12
cmp ebp, dword [esi + 4]
mov dword [esp + 0x18], esi
je 0x40416d
lea eax, [ebp + 0xc]
lea edx, [esp + 0x20]
call fcn.004050f0
test al, al
jne 0x40416d
lea eax, [esp + 0x18]
jmp 0x40417c
mov ecx, dword [esi + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], esi
lea eax, [esp + 0x40]
mov ebp, dword [eax]
mov edx, dword [eax + 4]
mov byte [esp + 0x1bc], bl
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x1c], edx
jb 0x4041a0
mov eax, dword [esp + 0x24]
push eax
call fcn.00408c6e
add esp, 4
cmp ebp, ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x44], ecx
je 0x4041bf
cmp ebp, esi
je 0x4041c4
call fcn.0043bc12
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x1c], edx
je 0x4041f1
cmp ebp, ebx
jne 0x4041d7
call fcn.0043bc12
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 4]
jne 0x4041e5
call fcn.0043bc12
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ecx + 0x28]
jmp 0x404296
push 0x4011
push 0x160
lea edx, [esp + 0x54]
push edx
push 0x80
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp dword [edi - 4], 1
mov ebp, dword [esp + 0x50]
jle 0x404227
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00401580
mov edi, dword [esp + 0x14]
mov eax, edi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404240
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x28]
call fcn.00405920
mov dword [esp + 0x3c], ebp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
push esi
mov byte [esp + 0x1c8], 2
call fcn.00404750
cmp dword [esp + 0x38], 0x10
jb 0x404286
mov eax, dword [esp + 0x24]
push eax
call fcn.00408c6e
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea eax, [edi - 0x10]
mov dword [esp + 0x1bc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0043b64b
add esp, 0x1ac
ret 4