Function at 0x4314e0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e4
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
push 8
call fcn.00532695
mov esi, dword [esp + 0x2fc]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x431513
push esi
mov ecx, eax
call fcn.00510710
mov dword [esp + 0x14], eax
jmp 0x431517
mov dword [esp + 0x14], ebx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x547570]
mov ecx, 0xac
mov dword [esp + 0x10], eax
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x40], ebx
rep stosd dword es:[edi], eax
push 0x208
lea ecx, [esp + 0x44]
push 0x2b4
push ecx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4315c4
lea edx, [esp + 0x4c]
test edx, edx
je 0x431572
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 1
jg 0x431581
cmp ebx, dword [edi - 4]
jle 0x43159c
lea ecx, [esp + 0x10]
call fcn.004124c0
push ebx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x4315c4
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
lea esi, [esp + 0x4c]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
mov eax, dword [esp + 0x2fc]
mov ecx, dword [esp + 0x14]
push 1
mov dword [esp + 0x20], 0x37
mov dword [esp + 0x24], eax
call fcn.005114b0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x4315fc
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x431651
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x431609
jne 0x4316cd
mov eax, dword [0x547570]
lea ecx, [ebx + ebx + 2]
lea esi, [ebp + 0xc]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [esp + 0x10], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov dword [eax - 8], ebx
mov eax, dword [0x547574]
cmp ebp, eax
je 0x43164d
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43164d
push ebp
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 3
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ecx
call fcn.005114b0
mov ecx, dword [esp + 0x300]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x38], ecx
push edx
mov ecx, dword [eax + 0x20]
push 0
push 0x40b
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x547574]
mov esi, eax
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4316be
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4316be
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e4
ret 0xc
lea ecx, [ebx + ebx + 0xe]
push ecx
call fcn.00532695
add esp, 4
test eax, eax
je 0x4316f9
mov dword [eax], 1
mov word [eax + ebx*2 + 0xc], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
add eax, 0xc
jmp 0x43160e
xor eax, eax
jmp 0x431651