Function at 0x10051bf2
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086fa1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push esi
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x10051ead
mov dword [ebp - 0x88], 0xffff
mov dword [ebp - 0xd4], 0x874b28e
mov dword [ebp - 0x14c], 0xf07c70ab
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x124], 0x714ffd81
mov dword [ebp - 0x12c], 0x74579933
mov dword [ebp - 0xb4], 0x5e495761
mov dword [ebp - 0xe0], 0xfffffffb
push 2
lea ecx, [ebp - 0x5c]
call fcn.1001740b
and dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x537c
mov dword [ebp - 0x74], 0xfffffffc
mov dword [ebp - 0xbc], 0x6717
mov dword [ebp - 0xdc], 2
mov dword [ebp - 0x38], 0
jmp 0x10051cb8
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10051cce
push dword [ebp - 0x38]
lea ecx, [ebp - 0x5c]
call fcn.100174a9
and dword [eax], 0
jmp 0x10051cb1
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x144], eax
mov esi, dword [ebp - 0xd4]
push 1
lea ecx, [ebp - 0x5c]
call fcn.100174a9
cmp esi, dword [eax]
jge 0x10051d12
mov dword [ebp - 0xb8], 1
jmp 0x10051d19
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xb8], eax
jl 0x10051d30
mov dword [ebp - 0xb0], 1
jmp 0x10051d37
and dword [ebp - 0xb0], 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.100174a9
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jle 0x10051d57
mov dword [ebp - 0x8c], 1
jmp 0x10051d5e
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x8c], eax
jg 0x10051d75
mov dword [ebp - 0x64], 1
jmp 0x10051d79
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x64]
cmp eax, 0x31d26ec1
jne 0x10051d9a
mov dword [ebp - 0xa4], 1
jmp 0x10051da1
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xffffffff
jge 0x10051db6
mov dword [ebp - 0xcc], 1
jmp 0x10051dbd
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x114], eax
push 1
lea ecx, [ebp - 0x5c]
call fcn.100174a9
cmp dword [eax], 0
je 0x10051dea
cmp dword [ebp - 0xb4], 0
je 0x10051dea
mov dword [ebp - 0x6c], 1
jmp 0x10051dee
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x6c], eax
jl 0x10051e02
mov dword [ebp - 0x94], 1
jmp 0x10051e09
and dword [ebp - 0x94], 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.100174a9
mov ecx, dword [ebp - 0x94]
sub ecx, dword [eax]
cmp ecx, dword [ebp - 0xdc]
jge 0x10051e3f
push 0xfffffffffffffffd
pop eax
test eax, eax
jne 0x10051e3f
push 0
lea ecx, [ebp - 0x5c]
call fcn.100174a9
cmp dword [eax], 0
jne 0x10051e3f
and dword [ebp - 0x48], 0
jmp 0x10051e46
mov dword [ebp - 0x48], 1
push 0
lea ecx, [ebp - 0x5c]
call fcn.100174a9
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x48], eax
jle 0x10051e69
mov dword [ebp - 0xd0], 1
jmp 0x10051e70
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10051e94
push 0x118b
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.1001748d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x3c], 0
jmp 0x10051ebd
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10051ed3
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x104], 8
jmp 0x10051eb6
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x104]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x104], eax
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x10051f09
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x1c], 0x13dd33a4
push 1
lea ecx, [ebp - 0xf0]
call fcn.1001740b
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 0xe507
push 1
lea ecx, [ebp - 0x110]
call fcn.1001740b
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x10], 0
jmp 0x10051f5d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10051f73
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xfc], 0xd97a888a
jmp 0x10051f56
mov dword [ebp - 0x10], 0
jmp 0x10051f83
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10051f9f
push dword [ebp - 0x10]
lea ecx, [ebp - 0xf0]
call fcn.100174a9
mov dword [eax], 0x26128f3b
jmp 0x10051f7c
mov dword [ebp - 0x10], 0
jmp 0x10051faf
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10051fc8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x110]
call fcn.100174a9
and dword [eax], 0
jmp 0x10051fa8
mov dword [ebp - 0x1c], 0xfffffff7
jmp 0x10051fd8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x15
jl 0x10052022
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x30], 0
jmp 0x10051ff5
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jg 0x10052020
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1005201e
push 0xc7b
push 0x815
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetClassLongA]
jmp 0x10051fee
jmp 0x10051fd1
cmp dword [ebp - 0x1c], 0
jne 0x10052148
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xfc]
cmp eax, dword [ebp - 0x34]
je 0x10052051
mov dword [ebp - 0x9c], 1
jmp 0x10052058
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 2
jge 0x1005206d
mov dword [ebp - 0x84], 1
jmp 0x10052074
and dword [ebp - 0x84], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0x84], eax
jg 0x10052094
mov dword [ebp - 0xac], 1
jmp 0x1005209b
and dword [ebp - 0xac], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0xac], eax
jge 0x100520bf
cmp dword [ebp - 0x34], 0
je 0x100520bf
mov dword [ebp - 0x50], 1
jmp 0x100520c3
and dword [ebp - 0x50], 0
push 0
lea ecx, [ebp - 0xf0]
call fcn.100174a9
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax]
jle 0x100520e0
mov dword [ebp - 0x60], 1
jmp 0x100520e4
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x110]
call fcn.100174a9
cmp esi, dword [eax]
jge 0x10052107
mov dword [ebp - 0x68], 1
jmp 0x1005210b
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xfffffffd
jge 0x1005211d
mov dword [ebp - 0xe4], 1
jmp 0x10052124
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0x44], 0xfffffff8
jg 0x10052133
mov dword [ebp - 0x70], 1
jmp 0x10052137
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x70], eax
je 0x10052148
and dword [ebp - 0x78], 0
jmp 0x1005214f
mov dword [ebp - 0x78], 1
push 0
lea ecx, [ebp - 0xf0]
call fcn.100174a9
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [eax]
je 0x1005216c
mov dword [ebp - 0x80], 1
jmp 0x10052170
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x80]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0xfc]
jge 0x1005218f
mov dword [ebp - 0x4c], 1
jmp 0x10052193
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.1001748d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.1001748d
mov dword [ebp - 0x2c], 0x3fa75c1
mov dword [ebp - 0x14], 0
jmp 0x100521ce
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100521e1
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x28], 0xc58a
jmp 0x100521c7
mov dword [ebp - 0x14], 0
jmp 0x100521f1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10052207
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xc4], 0x3cef3392
jmp 0x100521ea
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x10052386
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x2c], 0
jne 0x10052240
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x28], 0
jne 0x10052240
and dword [ebp - 0x90], 0
jmp 0x1005224a
mov dword [ebp - 0x90], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x28]
cmp dword [ebp - 0x90], eax
je 0x10052275
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x28], 0
je 0x10052275
mov dword [ebp - 0x98], 1
jmp 0x1005227c
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0x5a65
jge 0x10052386
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x28], 0
je 0x10052331
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x28], 0
je 0x10052331
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x28]
mov dword [ebp - 0x138], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
mov dword [ebp - 0x128], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x28]
cmp dword [ebp + eax - 0x28], ecx
je 0x100522f1
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x28], 0
je 0x10052304
push 0xfffffffffffffff9
pop eax
test eax, eax
je 0x10052304
mov dword [ebp - 0xa0], 1
jmp 0x1005230b
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
add eax, 0x3fc2
je 0x10052331
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x28], 0
je 0x10052331
mov dword [ebp - 0xc0], 1
jmp 0x10052338
and dword [ebp - 0xc0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x148], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xc4], 0x6a08376f
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10052384
push 0x23b7
push 0x1054
push 0
push 0x2f2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x100523bb
mov dword [ebp - 0x130], 0xfffffff8
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0xb4b26d8f
mov dword [ebp - 0xa8], 0xea3d8810
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret