Function at 0x470660
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555a8d
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x5d8024]
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 - 0x358], 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.00406c70
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x354]
push eax
lea ecx, [edi + 0x190]
call fcn.00472150
mov byte [ebp - 4], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34c], eax
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.00407f50
push 1
sub esp, 0x18
lea eax, [ebp + 8]
mov dword [ebp - 0x34c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x350], esp
push eax
call fcn.00406c70
mov byte [ebp - 4], 6
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00486860
add esp, 0x18
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.00486c90
mov byte [ebp - 4], 9
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00486580
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x470786
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34c]
call fcn.00415360
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 0x4707c7
push 0x104
lea ecx, [ebp - 0x34c]
call fcn.00408d70
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.00529a2f
mov edx, eax
add esp, 8
test edx, edx
js 0x470c2c
mov ecx, dword [ebp - 0x34c]
cmp edx, dword [ecx - 8]
jg 0x470c2c
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.00523b00
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 0x470864
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.00487d60
add esp, 8
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
jb 0x47088d
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 - 0x358]
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.00407f50
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
call fcn.00407f50
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
call fcn.00540080
mulsd xmm0, qword [0x59f340]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 8]
movaps xmm2, xmm0
call fcn.004e2080
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x470932
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.00407f50
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
call fcn.00540080
mulsd xmm0, qword [0x59f340]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 8]
movaps xmm2, xmm0
call fcn.004e2080
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x4709c8
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.00407f50
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.004e2080
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x470a58
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.00407f50
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
call fcn.00540080
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 8]
mulsd xmm0, qword [0x59f340]
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 - 0x354], xmm0
call fcn.004e2080
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x470b0a
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.00407f50
xorps xmm0, xmm0
comisd xmm0, xmmword [ebp - 0x354]
jbe 0x470bf3
lea esi, [edi + 0x1b4]
mov dword [ebp - 0x354], esi
mov eax, dword [esi]
mov byte [ebp - 0x350], 0
inc eax
mov byte [ebp - 4], 0x12
mov dword [esi], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x358]
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 - 0x350], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.00407f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407f50
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.00521781
mov esp, ebp
pop ebp
ret 0x30
push 0x80070057
call fcn.00408fe0
int3