Function at 0x4a2f30
Capabilities:
Get file system object information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7cdd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x348
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x328], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CDPI____thiscall_DuiLib::CPaintManagerUI::GetDPIObj_void_]
mov dword [ebp - 0x320], eax
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4a3378
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x314], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x314]
push 0x6531e0
call fcn.0040c5a0
test al, al
jne 0x4a2fe6
push 1
push 0x6531e0
lea ecx, [ebp - 0x314]
call fcn.0040c9d0
mov dword [ebp - 4], 1
or edi, 0xffffffff
cmp dword [0x6b0c54], 1
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x124]
jne 0x4a30c6
call eax
test eax, eax
je 0x4a30ff
add eax, 0x128
lea ecx, [ebp - 0x31c]
push eax
call fcn.0040c2f0
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov esi, dword [ebp - 0x314]
lea eax, [edx - 0x10]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x324], ecx
cmp eax, ecx
je 0x4a30a3
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4a308e
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4a308e
mov ecx, dword [ebp - 0x318]
call fcn.0040c950
mov dword [ebp - 0x318], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4a3083
mov esi, dword [ebp - 0x324]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x318]
lea esi, [eax + 0x10]
mov dword [ebp - 0x314], esi
jmp 0x4a30a3
push dword [edx - 0xc]
lea ecx, [ebp - 0x314]
push edx
call fcn.0040c9d0
mov esi, dword [ebp - 0x314]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x31c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a3105
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4a3105
call eax
test eax, eax
je 0x4a30ff
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edx, eax
test edx, edx
jne 0x4a30de
xor ecx, ecx
jmp 0x4a30f2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a30e3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x314]
call fcn.0040c9d0
mov esi, dword [ebp - 0x314]
cmp dword [esi - 0xc], 0
jle 0x4a3127
push 0x2e
push esi
call fcn.00588565
add esp, 8
test eax, eax
je 0x4a3127
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4a31dd
lea eax, [ebp - 0x314]
mov edx, 0x6531e0
push eax
lea ecx, [ebp - 0x318]
call fcn.00435920
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [esi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x324], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x31c], eax
cmp eax, ecx
je 0x4a31bc
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4a31a7
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4a31a7
mov ecx, dword [ebp - 0x31c]
call fcn.0040c950
mov dword [ebp - 0x31c], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4a319c
mov esi, dword [ebp - 0x324]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x31c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x314], esi
jmp 0x4a31bc
push dword [edx - 0xc]
lea ecx, [ebp - 0x314]
push edx
call fcn.0040c9d0
mov esi, dword [ebp - 0x314]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x318]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a31dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x111
push 0x2b4
lea eax, [ebp - 0x310]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jle 0x4a333c
lea eax, [ebp - 0x340]
push eax
push dword [ebp - 0x310]
call dword [sym.imp.USER32.dll_GetIconInfo]
movaps xmm0, xmmword [0x664ed0]
mov eax, dword [ebp - 0x320]
movups xmmword [ebp - 0x24], xmm0
test eax, eax
je 0x4a323c
cmp dword [0x6b8f7c], 0
je 0x4a323c
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CDPI::Scale_struct_tagRECT__]
lea eax, [ebp - 0x358]
xorps xmm0, xmm0
push eax
push 0x18
push dword [ebp - 0x330]
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0
push 0
push 0
push 0
push dword [ebp - 0x330]
call dword [sym.imp.USER32.dll_CopyImage]
mov edx, dword [ebp - 0x320]
mov edi, eax
mov eax, dword [ebp - 0x328]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
test edx, edx
je 0x4a32a0
cmp dword [0x6b8f7c], 0
je 0x4a32a0
lea eax, [ebp - 0x54]
mov ecx, edx
push eax
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CDPI::ScaleBack_struct_tagRECT__]
mov edx, dword [ebp - 0x320]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
add eax, 3
add ecx, 0x14
mov dword [ebp - 0x50], eax
add eax, 0x10
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x48], eax
lea eax, [ecx + 0x10]
mov dword [ebp - 0x4c], eax
test edx, edx
je 0x4a32ea
cmp dword [0x6b8f7c], 0
je 0x4a32ea
movups xmm0, xmmword [ebp - 0x54]
sub esp, 0x10
mov ecx, edx
mov eax, esp
movups xmmword [eax], xmm0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.ycomuiu.dll_public:_struct_tagRECT___thiscall_DuiLib::CDPI::Scale_struct_tagRECT_]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
push 0
push 0
push 0
push 0xff
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x54]
push eax
push eax
push edi
push dword [ebp - 0x32c]
call dword [sym.imp.ycomuiu.dll_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawImage_struct_HDC_____struct_HBITMAP_____struct_tagRECT_const___struct_tagRECT_const___struct_tagRECT_const___struct_tagRECT_const___bool__unsigned_char__bool__bool__bool_]
add esp, 0x2c
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [ebp - 0x330]
call edi
push dword [ebp - 0x334]
call edi
push dword [ebp - 0x310]
call dword [sym.imp.USER32.dll_DestroyIcon]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4a3358
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push 0x80004005
call fcn.0040b250
int3