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

Disassembly:
push 0x3d0
mov eax, 0x10106084
call fcn.100c2a72
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3d4], eax
mov esi, ebx
mov edi, ebx
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CDuiString_const____cdecl_xx_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_class_xx_DuiLib::CDuiString_const__
mov dword [ebp - 4], ebx
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CDuiString_const____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZip_void_
mov ecx, eax
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CDuiString::IsEmpty_void_const
test al, al
je 0x100797a9
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CDuiString_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
cmp eax, 0xffffffff
jne 0x10079753
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
jmp 0x1007993a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x1007973f
push edi
mov dword [ebp - 0x3d8], ebx
call fcn.100c1dfa
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x3d8]
push eax
push edi
push esi
push dword [ebp - 0x3d0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d8], edi
je 0x10079927
push esi
call fcn.100c1e03
pop ecx
mov esi, ebx
jmp 0x1007973f
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CDuiString_const____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZip_void_
push eax
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_class_xx_DuiLib::CDuiString_const____thiscall_xx_DuiLib::CDuiString::operator_class_xx_DuiLib::CDuiString_const__
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
je 0x100797d0
call sym.UserAndPayClient.dll_public:_static_void____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZipHandle_void_
mov dword [ebp - 0x3d0], eax
jmp 0x1007983c
call sym.UserAndPayClient.dll_public:_static_class_xx_DuiLib::CDuiString_const____cdecl_xx_DuiLib::CPaintManagerUI::GetResourceZipPwd_void_
push eax
lea ecx, [ebp - 0x19c]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_class_xx_DuiLib::CDuiString_const__
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.10084ce3
pop ecx
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x3d8], eax
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.10087aff
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d8]
pop ecx
pop ecx
test eax, eax
je 0x10079828
push eax
call fcn.100c1e03
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
mov eax, dword [ebp - 0x3d0]
test eax, eax
je 0x1007973f
push 0xffffffffffffffff
push dword [ebp - 0x3d4]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3dc], ebx
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::constructor_wchar_t_const___int_
push 0x1012bcc0
push 0x1012be54
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call sym.UserAndPayClient.dll_public:_int___thiscall_xx_DuiLib::CDuiString::Replace_wchar_t_const___wchar_t_const__
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x118]
call sym.UserAndPayClient.dll_public:_wchar_t_const____thiscall_xx_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
push dword [ebp - 0x3d0]
call fcn.100874d6
add esp, 0x14
test eax, eax
je 0x100798b4
lea ecx, [ebp - 0x118]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
jmp 0x1007973f
mov edi, dword [ebp - 0x1a0]
test edi, edi
je 0x100798a4
push edi
call fcn.100c1dfa
push edi
mov esi, eax
push esi
push dword [ebp - 0x3dc]
push dword [ebp - 0x3d0]
call fcn.10087f39
add esp, 0x14
test eax, eax
je 0x10079907
cmp eax, 0x600
je 0x10079907
push esi
call fcn.100c1e03
pop ecx
mov esi, ebx
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x100798a4
push dword [ebp - 0x3d0]
call fcn.100872b5
pop ecx
jmp 0x100798a4
call sym.UserAndPayClient.dll_public:_static_bool___cdecl_xx_DuiLib::CPaintManagerUI::IsCachedResourceZip_void_
test al, al
jne 0x1007991c
push dword [ebp - 0x3d0]
call fcn.100872b5
pop ecx
lea ecx, [ebp - 0x118]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call sym.UserAndPayClient.dll_public:_void___thiscall_xx_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x100799b5
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x3d4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d4], eax
cmp eax, 0xffffffff
je 0x100799b1
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x100799b1
push edi
mov dword [ebp - 0x3d0], ebx
call fcn.100c1dfa
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 0x3d0]
push eax
push edi
push esi
push dword [ebp - 0x3d4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d0], edi
je 0x100799b1
push esi
call fcn.100c1e03
pop ecx
mov esi, ebx
test esi, esi
je 0x100799c9
push edi
push esi
call sym.UserAndPayClient.dll_public:_static_class_Gdiplus::Image____cdecl_xx_DuiLib::CRenderEngine::GdiplusLoadImage_void___unsigned_int_
push 1
push esi
mov ebx, eax
call fcn.100c1e2b
add esp, 0x10
mov eax, ebx
call fcn.100c2a2d
ret