Function at 0x476a20
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x5e8024]
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 dword [ebp - 4], 0
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [edi + 0x130]
mov dword [ebp - 0x354], eax
call eax
mov ebx, eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x34c], eax
lea eax, [ebp + 8]
push eax
call fcn.00407250
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x350]
push eax
lea ecx, [edi + 0x190]
call fcn.004787d0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x360], eax
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.00408570
push 1
sub esp, 0x18
lea eax, [ebp + 8]
mov dword [ebp - 0x364], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x358], esp
push eax
call fcn.00407250
mov byte [ebp - 4], 6
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.0048de20
add esp, 0x18
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0048e260
mov byte [ebp - 4], 9
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0048db40
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x476b46
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34c]
call fcn.00416070
mov byte [ebp - 4], 0xb
mov edx, 1
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x476b87
push 0x104
lea ecx, [ebp - 0x34c]
call fcn.00409790
mov eax, dword [ebp - 0x34c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, dword [ebp - 0x34c]
push dword [eax - 8]
push eax
call fcn.00535a1f
mov edx, eax
add esp, 8
test edx, edx
js 0x476fec
mov ecx, dword [ebp - 0x34c]
cmp edx, dword [ecx - 8]
jg 0x476fec
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x34c]
push 0x2b4
push ecx
mov word [eax + edx*2], cx
lea eax, [ebp - 0x348]
push eax
call fcn.00530250
add esp, 0xc
lea eax, [ebp - 0x348]
push 0x4013
push 0x2b4
push eax
push 0x10
push dword [ebp - 0x34c]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [ebp - 0x344]
mov byte [ebp - 4], 0xa
or eax, 0xffffffff
mov edx, dword [ebp - 0x34c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x476c24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x94]
push eax
call fcn.0048f320
add esp, 8
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x476c4d
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x354]
push eax
push 0
push 0x104d
push dword [edi + 0x130]
mov dword [ebp - 0x34], 0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], ebx
call esi
mov ebx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x94]
call fcn.00408570
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
call fcn.00408570
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
call fcn.0054ddb0
mulsd xmm0, qword [0x5ad868]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 8]
movaps xmm2, xmm0
call fcn.004ea890
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x476cf2
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
push eax
push 0
push 0x104c
push dword [edi + 0x130]
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
call fcn.00408570
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
call fcn.0054ddb0
mulsd xmm0, qword [0x5ad868]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 8]
movaps xmm2, xmm0
call fcn.004ea890
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x476d88
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
push eax
push 0
push 0x104c
push dword [edi + 0x130]
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
call fcn.00408570
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 8]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
lea eax, [ebp - 0x64]
cvtdq2pd xmm2, xmm0
push eax
call fcn.004ea890
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x476e18
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
push eax
push 0
push 0x104c
push dword [edi + 0x130]
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
call fcn.00408570
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
call fcn.0054ddb0
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 8]
mulsd xmm0, qword [0x5ad868]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
lea eax, [ebp - 0x64]
cvtdq2pd xmm1, xmm1
push eax
subsd xmm0, xmm1
movaps xmm2, xmm0
movsd qword [ebp - 0x35c], xmm0
call fcn.004ea890
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x476eca
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x34], 0
push eax
push 0
push 0x104c
push dword [edi + 0x130]
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
call fcn.00408570
xorps xmm0, xmm0
comisd xmm0, xmmword [ebp - 0x35c]
jbe 0x476fb3
lea esi, [edi + 0x1b4]
mov dword [ebp - 0x35c], esi
mov eax, dword [esi]
mov byte [ebp - 0x358], 0
inc eax
mov byte [ebp - 4], 0x12
mov dword [esi], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x354]
push ebx
push 0x102b
push dword [edi + 0x130]
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 2
call eax
mov byte [ebp - 4], 9
dec dword [esi]
mov byte [ebp - 0x358], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408570
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.0052df57
mov esp, ebp
pop ebp
ret 0x30
push 0x80070057
call fcn.00409a00
int3