Function at 0x42be50
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46cf0c
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x490018]
xor eax, esp
mov dword [esp + 0x548], eax
push ebx
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x560]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 8]
call edx
lea eax, [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x42bebf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0042bcd0
jmp 0x42c058
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x4c]
push 0x4411
push 0x2b4
lea ecx, [esp + 0x2a4]
push ecx
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor edi, edi
cmp eax, edi
je 0x42bead
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x48], edi
test al, 1
je 0x42befc
mov dword [esi + 0x48], 0x80
test al, 0x20
je 0x42bf04
or dword [esi + 0x48], 2
test eax, 0x800
je 0x42bf0f
or dword [esi + 0x48], 4
test eax, 0x4000
je 0x42bf1a
or dword [esi + 0x48], 8
test al, 2
je 0x42bf22
or dword [esi + 0x48], 0x10
test al, al
jns 0x42bf2a
or dword [esi + 0x48], 0x20
test al, 4
je 0x42bf35
or dword [esi + 0x48], 0x400
test eax, 0x100
je 0x42bf43
or dword [esi + 0x48], 0x800
test al, 0x10
je 0x42bf4b
or dword [esi + 0x48], 1
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push eax
push ecx
call fcn.0042bc40
mov dword [esi + 0x5c], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x58]
push edx
push eax
call fcn.0042bc40
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x64], edx
mov edx, dword [esp + 0x60]
push ecx
push edx
mov dword [esi + 0x60], eax
call fcn.0042bc40
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x6c], edx
mov edx, edi
mov cl, 0x20
call fcn.0046bfa0
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0xc], edx
mov dword [esi + 8], eax
add dword [esi + 8], ecx
lea edx, [esp + 0x4b0]
push edx
adc dword [esi + 0xc], edi
lea eax, [esp + 0x18]
push eax
call fcn.00406360
mov dword [esp + 0x568], edi
lea ecx, [esp + 0x14]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edx, [esp + 0x30]
lea ecx, [edi + 0x1c]
push edx
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x56c], 0xffffffff
call fcn.004063d0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2a0]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4010
push 0x2b4
lea edx, [esp + 0x2a4]
push edx
push eax
push ebx
mov dword [esi + 0x50], ecx
call edi
test eax, eax
je 0x42c02b
mov ecx, dword [esp + 0x2a0]
mov dword [esi + 0x54], ecx
mov eax, dword [esp + 0x4c]
push 0x4012
push 0x2b4
lea edx, [esp + 0x2a4]
push edx
push eax
push ebx
call edi
test eax, eax
je 0x42c053
mov ecx, dword [esp + 0x2a0]
mov dword [esi + 0x4c], ecx
mov eax, 1
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.00428cb4
mov esp, ebp
pop ebp
ret 4