Function at 0x110235f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xd8
mov eax, 0x1104580f
call fcn.11043260
call sym.DuiLib_ext.dll_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetUserDefinedResourcePath_void_
push eax
lea ecx, [ebp - 0xc0]
call sym.DuiLib_ext.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], ebx
call sym.DuiLib_ext.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0xc0]
call sym.DuiLib_ext.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x11023663
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call sym.DuiLib_ext.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
xor eax, eax
call fcn.110432e3
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x1102364c
push esi
mov dword [ebp - 0xdc], ebx
call fcn.1104300a
pop ecx
push ebx
lea ecx, [ebp - 0xdc]
push ecx
push esi
push eax
push edi
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xdc], esi
je 0x110236b2
push dword [ebp - 0xcc]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x1102364c
push 4
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xd8]
push eax
push esi
push dword [ebp - 0xcc]
call fcn.110109fb
push dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 0x1c
cmp dword [ebp - 0xd4], ebx
je 0x1102364c
push 0x2c
lea eax, [ebp - 0x3c]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x38], eax
imul eax, dword [ebp - 0xd0]
add esp, 0xc
neg ecx
mov dword [ebp - 0x34], ecx
push 0x20
xor ecx, ecx
inc ecx
mov word [ebp - 0x30], cx
pop ecx
push ebx
shl eax, 2
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc8]
push eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push ebx
mov dword [ebp - 0x3c], 0x28
mov word [ebp - 0x2e], cx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0xc1], bl
mov dword [ebp - 0xc8], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0xe0], eax
cmp eax, ebx
jne 0x1102377e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call sym.DuiLib_ext.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov eax, ebx
jmp 0x1102365d
mov eax, dword [ebp - 0xd8]
imul eax, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], ebx
test eax, eax
jle 0x11023882
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xc8]
lea esi, [eax + ecx*4 + 3]
mov al, byte [esi]
mov byte [edx + ecx*4 + 3], al
mov eax, dword [ebp - 0xc8]
lea edi, [eax + ecx*4]
cmp byte [edi + 3], 0xff
jae 0x1102380e
movzx edx, byte [esi]
movzx eax, byte [esi - 1]
imul eax, edx
xor edx, edx
mov ebx, 0xff
div ebx
mov byte [ebp - 0xc1], 1
mov byte [edi], al
movzx edx, byte [esi]
movzx eax, byte [esi - 2]
imul eax, edx
xor edx, edx
mov edi, ebx
div edi
mov edx, dword [ebp - 0xc8]
mov byte [edx + ecx*4 + 1], al
movzx edx, byte [esi]
movzx eax, byte [esi - 3]
imul eax, edx
xor edx, edx
mov esi, ebx
div esi
xor ebx, ebx
jmp 0x11023823
mov al, byte [esi - 1]
mov byte [edi], al
mov al, byte [esi - 2]
mov edx, dword [ebp - 0xc8]
mov byte [edx + ecx*4 + 1], al
mov al, byte [esi - 3]
mov edx, dword [ebp - 0xc8]
mov byte [edx + ecx*4 + 2], al
mov eax, dword [ebp - 0xc8]
mov edx, dword [eax + ecx*4]
cmp edx, dword [ebp + 0xc]
jne 0x11023863
mov byte [eax + ecx*4], bl
mov eax, dword [ebp - 0xc8]
mov byte [eax + ecx*4 + 1], bl
mov eax, dword [ebp - 0xc8]
mov byte [eax + ecx*4 + 2], bl
mov eax, dword [ebp - 0xc8]
mov byte [eax + ecx*4 + 3], bl
mov byte [ebp - 0xc1], 1
mov eax, dword [ebp - 0xd8]
imul eax, dword [ebp - 0xd0]
inc dword [ebp - 0xcc]
cmp dword [ebp - 0xcc], eax
jl 0x11023799
push dword [ebp - 0xd4]
call fcn.11008d46
push 0x98
call fcn.11043382
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0xd4], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x110238b3
lea ecx, [esi + 0x10]
call sym.DuiLib_ext.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_
mov ebx, esi
mov eax, dword [ebp - 0xe0]
mov dword [ebx], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebx + 8], eax
mov al, byte [ebp - 0xc1]
mov byte [ebx + 0xc], al
jmp 0x11023768