Function at 0x4fe9df
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54235b
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x4fe948
push 0x80004005
call fcn.004063a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x174], esi
mov eax, dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x178], eax
cmp dword [ebx], eax
jne case.default.0x4fe9d8
test byte [ebx + 0xc], 4
jne 0x4fe9c1
mov edi, dword [ebx + 0x10]
lea eax, [ebp - 0x1b0]
push 0x38
push 0
push eax
call fcn.00517590
add esp, 0xc
mov dword [ebp - 0x1b0], edi
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1b4], 4
push eax
push 0
push 0x1005
push dword [ebp - 0x178]
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
test eax, eax
cmovne edi, dword [ebp - 0x194]
jmp 0x4fe9c4
mov edi, dword [ebx + 0x2c]
test edi, edi
je case.default.0x4fe9d8
mov eax, dword [ebx + 0x14]
cmp eax, 8
ja case.default.0x4fe9d8
jmp dword [eax*4 + 0x4fec7c]
test byte [ebx + 0xc], 2
je 0x4fea20
cmp dword [edi + 0x14], 0
jge 0x4fea1a
push 0x4000
push 0x160
lea eax, [ebp - 0x170]
mov dword [ebp - 0x16c], 0xffffffff
push eax
push 0
push dword [edi + 0x2c]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x16c]
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x28], eax
test byte [ebx + 0xc], 1
je case.default.0x4fe9d8
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax - 0xc]
jmp 0x4fec37
test byte [ebx + 0xc], 1
je case.default.0x4fe9d8
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax - 0xc]
jmp 0x4fec37
test byte [ebx + 0xc], 1
je case.default.0x4fe9d8
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
mov eax, dword [eax - 0xc]
jmp 0x4fec37
test byte [ebx + 0xc], 1
je case.default.0x4fe9d8
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x20]
mov eax, dword [eax - 0xc]
jmp 0x4fec37
test byte [ebx + 0xc], 1
je case.default.0x4fe9d8
lea ecx, [ebp - 0x174]
call fcn.00406870
mov eax, dword [edi + 0x10]
sub eax, 2
je 0x4feac1
sub eax, 1
je 0x4feaba
sub eax, 1
jne 0x4fead1
push 0x852f
jmp 0x4feac6
push 0x857a
jmp 0x4feac6
push 0x8579
lea ecx, [ebp - 0x174]
call fcn.00419970
mov esi, dword [ebp - 0x174]
push esi
push 0x546b5c
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0043acc0
add esp, 0x10
jmp 0x4fec34
test byte [ebx + 0xc], 1
je case.default.0x4fe9d8
lea ecx, [ebp - 0x174]
call fcn.00406870
mov eax, dword [edi + 0xc]
dec eax
cmp eax, 6
ja case.default.0x4feb15
movzx eax, byte [eax + 0x4feca8]
jmp dword [eax*4 + 0x4feca0]
push 0x857c
jmp 0x4feb28
push 0x857b
lea ecx, [ebp - 0x174]
call fcn.00419970
mov esi, dword [ebp - 0x174]
push esi
push 0x546b5c
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0043acc0
add esp, 0x10
jmp 0x4fec34
test byte [ebx + 0xc], 1
je case.default.0x4fe9d8
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax - 0xc]
jmp 0x4fec37
test byte [ebx + 0xc], 1
je case.default.0x4fe9d8
cmp dword [edi + 4], 1
jne 0x4feb8d
push dword [edi + 0x2c]
mov ecx, 0x58ce30
call fcn.004fb410
mov dword [edi + 4], eax
movzx eax, word [edi + 4]
sub eax, 0
je 0x4febd0
sub eax, 1
je 0x4febc9
sub eax, 1
jne 0x4febe6
movzx eax, word [edi + 6]
sub eax, 1
je 0x4febc2
lea ecx, [ebp - 0x174]
sub eax, 1
je 0x4febbb
push 0x856f
jmp 0x4febdb
push 0x8571
jmp 0x4febdb
push 0x8570
jmp 0x4febd5
push 0x856e
jmp 0x4febd5
push 0x856d
lea ecx, [ebp - 0x174]
call fcn.00419970
mov esi, dword [ebp - 0x174]
push esi
push 0x546b5c
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0043acc0
add esp, 0x10
jmp 0x4fec34
test byte [ebx + 0xc], 1
je case.default.0x4fe9d8
mov eax, dword [edi]
test eax, eax
je case.default.0x4fe9d8
push eax
lea eax, [ebp - 0x174]
push 0x546b90
push eax
call fcn.00406950
mov esi, dword [ebp - 0x174]
push esi
push 0x546b5c
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.0043acc0
add esp, 0x1c
mov eax, dword [esi - 0xc]
inc eax
mov dword [ebx + 0x24], eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4fec5a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 0xc