Function at 0x40eea0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x43055c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0xfc]
mov dword [ebp - 0x2c0], edi
mov dword [ebp - 0x2c4], ebx
cmp ebx, dword [edi + 0xf8]
je 0x40efe4
push 0x208
call fcn.00414f98
mov eax, dword [0x43422c]
mov ecx, dword [edi + 0xf8]
mov esi, dword [eax]
add esp, 4
mov eax, esi
test ecx, ecx
jle 0x40eefd
mov edx, ecx
dec edx
mov eax, dword [eax]
jne 0x40eef8
mov eax, dword [eax + 8]
mov dword [ebp - 0x2bc], eax
cmp ebx, ecx
jl 0x40ef5d
lea eax, [ebx + 1]
test eax, eax
jle 0x40ef16
dec eax
mov esi, dword [esi]
jne 0x40ef11
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x2bc]
push ecx
push edx
push esi
mov ecx, 0x43422c
call fcn.004122a0
mov ecx, 0x3ffffffe
sub ecx, dword [0x434230]
cmp ecx, 1
jae 0x40ef46
push 0x427a50
call fcn.00424cfc
inc dword [0x434230]
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov edx, dword [edi + 0xf8]
push edx
jmp 0x40efac
test ebx, ebx
jle 0x40ef66
dec ebx
mov esi, dword [esi]
jne 0x40ef61
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x2bc]
push eax
push ecx
push esi
mov ecx, 0x43422c
call fcn.004122a0
mov edx, 0x3ffffffe
sub edx, dword [0x434230]
cmp edx, 1
jae 0x40ef96
push 0x427a50
call fcn.00424cfc
inc dword [0x434230]
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [edi + 0xf8]
inc eax
push eax
mov ecx, edi
call fcn.0040c400
mov ecx, dword [edi + 0x148]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1ac]
call eax
mov eax, dword [0x43422c]
mov ebx, dword [eax]
mov dword [ebp - 0x2bc], ebx
mov dword [0x432118], 0
cmp ebx, eax
jne 0x40f016
mov ebx, dword [ebp - 0x2c4]
mov ecx, dword [edi + 0x148]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
add ecx, 4
push ebx
call edx
mov ecx, dword [ebp - 4]
mov byte [edi + 0xf4], 0
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004138ed
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x2bc]
mov edx, dword [ebx + 8]
push pe_nt_image_headers32
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [ebp - 0x2b8]
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1bc]
push 1
push edx
lea edx, [ebp - 0x2c8]
push edx
call eax
mov eax, dword [eax]
mov edi, dword [0x434228]
lea esi, [eax - 0x10]
add edi, 0xfffffff0
cmp esi, edi
je 0x40f10f
cmp dword [edi + 0xc], 0
jl 0x40f100
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x40f100
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40f09b
cmp eax, dword [esi]
jne 0x40f09b
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40f0d6
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x40f22c
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00414626
add esp, 0x10
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f0ef
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebx, 0x10
mov dword [0x434228], ebx
mov ebx, dword [ebp - 0x2bc]
jmp 0x40f10f
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, 0x434228
call fcn.004027a0
mov eax, dword [ebp - 0x2c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f131
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4304e4]
mov eax, dword [edx + 0xc]
mov esi, dword [ebx + 8]
push ecx
mov ecx, 0x4304e4
mov edi, esp
call eax
add eax, 0x10
mov dword [edi], eax
test esi, esi
je 0x40f175
test esi, 0xffff0000
jne 0x40f179
movzx esi, si
push 0
push esi
call fcn.004022c0
add esp, 8
test eax, eax
je 0x40f198
push esi
push eax
mov ecx, edi
call fcn.00402700
jmp 0x40f198
xor eax, eax
jmp 0x40f18f
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f180
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, edi
call fcn.004027a0
mov esi, dword [0x434228]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov ebx, esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x40f1c7
cmp eax, dword [esi - 0x10]
jne 0x40f1c7
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40f1f7
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40f22c
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea eax, [eax + eax + 2]
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00414626
add esp, 0x10
mov ecx, dword [ebp - 0x2c0]
add edi, 0x10
mov dword [ebx], edi
call fcn.0040d130
mov edx, dword [ebp - 0x2bc]
mov eax, dword [edx]
mov edi, dword [ebp - 0x2c0]
mov dword [ebp - 0x2bc], eax
cmp eax, dword [0x43422c]
jne 0x40f010
jmp 0x40efde
call fcn.00402410
int3