Function at 0x431430
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.00531ba5
mov esi, dword [esp + 0x2fc]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x431463
push esi
mov ecx, eax
call fcn.0050fe10
mov dword [esp + 0x14], eax
jmp 0x431467
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 [0x546560]
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 0x431514
lea edx, [esp + 0x4c]
test edx, edx
je 0x4314c2
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 0x4314d1
cmp ebx, dword [edi - 4]
jle 0x4314ec
lea ecx, [esp + 0x10]
call fcn.00412670
push ebx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x431514
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.00510bb0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x43154c
mov ecx, dword [eax - 4]
test ecx, ecx
jge 0x4315a1
mov ebx, dword [eax - 8]
test ebx, ebx
jle 0x431559
jne 0x43161d
mov eax, dword [0x546560]
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 [0x546564]
cmp ebp, eax
je 0x43159d
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43159d
push ebp
call fcn.00531732
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.00510bb0
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 [0x546564]
mov esi, eax
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43160e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43160e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
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.00531ba5
add esp, 4
test eax, eax
je 0x431649
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 0x43155e
xor eax, eax
jmp 0x4315a1