Function at 0x42a520
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.004c58a5
mov esi, dword [esp + 0x2fc]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x42a553
push esi
mov ecx, eax
call fcn.004acdc0
mov dword [esp + 0x14], eax
jmp 0x42a557
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 [0x4d9540]
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 0x42a604
lea edx, [esp + 0x4c]
test edx, edx
je 0x42a5b2
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 0x42a5c1
cmp ebx, dword [edi - 4]
jle 0x42a5dc
lea ecx, [esp + 0x10]
call fcn.0040e950
push ebx
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x42a604
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.004ada30
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x42a63c
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x42a691
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x42a649
jne 0x42a70d
mov eax, dword [0x4d9540]
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 [0x4d9544]
cmp ebp, eax
je 0x42a68d
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a68d
push ebp
call fcn.004c5432
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.004ada30
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 [0x4d9544]
mov esi, eax
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42a6fe
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a6fe
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004c5432
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.004c58a5
add esp, 4
test eax, eax
je 0x42a739
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 0x42a64e
xor eax, eax
jmp 0x42a691