Function at 0x140018d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x320
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x140076010]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r14, rdx
mov qword [rsp + 0x78], rdx
mov r13, rcx
mov qword [rsp + 0x70], rdx
call fcn.14001920c
mov edx, 0xa438
xor ecx, ecx
lea r8d, [rcx + 0x17]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140018d79
mov rcx, r14
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
jmp 0x1400191d9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rax, vtable.Cmm::A2BT_65001__char__wchar_t_.0
mov qword [rbp - 0x80], rax
test rdi, rdi
je 0x140018de2
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140018da4
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t____ptr64___cdecl_Cmm::CStringT_wchar_t_::GetBuffer_unsigned_long_long_unsigned___int64_____ptr64]
mov rdx, rax
mov qword [rsp + 0x20], rbx
mov r9, rdi
mov r8, rbx
mov ecx, 0xfde9
call qword [sym.imp.Cmmlib.dll_unsigned_long_long_unsigned___int64____cdecl_cmm_str_convert_int__wchar_t____ptr64__unsigned_long_long_unsigned___int64___char_const____ptr64__unsigned_long_long_unsigned___int64__]
mov rdx, rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::SetLength_unsigned_long_long_unsigned___int64_____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp - 0x10]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
test eax, eax
jne 0x1400191c5
mov r15d, dword [r13 + 8]
sub r15d, dword [r13]
mov dword [rsp + 0x6c], r15d
test r15d, r15d
jle 0x1400191c5
xor edi, edi
mov dword [rsp + 0x50], edi
lea rcx, [rbp + 0x108]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
mov r12, qword [r13 + 0x20]
mov rax, qword [r13 + 0x28]
cmp r12, rax
je 0x140019127
movd xmm6, r15d
cvtdq2ps xmm6, xmm6
lea rbx, [r12 + 0x38]
mov qword [rsp + 0x70], rbx
lea rdi, [0x140050224]
mov r14, rax
mov r15d, dword [rsp + 0x50]
mov rdx, r12
lea rcx, [rbp - 0x50]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
mov eax, dword [rbx - 0x10]
mov dword [rbp - 0x28], eax
mov rax, qword [rbx - 8]
mov qword [rbp - 0x20], rax
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
nop
lea rcx, [rbp + 0xb8]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp + 0x90]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rax, qword [rbp - 0x18]
sub rax, qword [r13]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, xmm6
mulss xmm0, dword [0x140056a28]
cvttss2si eax, xmm0
mov dword [rsp + 0x60], eax
mov eax, dword [rbp - 0x20]
sub eax, dword [rbp - 0x18]
mov dword [rsp + 0x68], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm6
mulss xmm0, dword [0x140056a28]
cvttss2si eax, xmm0
mov ecx, 0x64
test eax, eax
cmovs eax, ecx
mov dword [rsp + 0x64], eax
mov eax, dword [rbp - 0x28]
mov dword [rsp + 0x50], eax
lea rcx, [rbp + 0x160]
call qword [sym.imp.zUnifyWebView.dll_public:_void___cdecl_UnifyWebView::UrlParser::constructor_void____ptr64]
nop
mov r8b, 1
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x160]
call qword [sym.imp.zUnifyWebView.dll_public:_bool___cdecl_UnifyWebView::UrlParser::SetUrl_class_Cmm::CStringT_wchar_t__const____ptr64__bool____ptr64]
test al, al
jne 0x140018f57
lea rcx, [rbp + 0x40]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
jmp 0x140018faa
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x160]
call qword [sym.imp.zUnifyWebView.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_UnifyWebView::UrlParser::GetPath_void____ptr64]
nop
mov rdx, rax
lea rcx, [rbp + 0x18]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
mov rax, qword [sym.imp.Cmmlib.dll_const_Cmm::CFileName::vftable]
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x130]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x40]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_class_Cmm::CFileName____ptr64____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x160]
call qword [sym.imp.zUnifyWebView.dll_public:_void___cdecl_UnifyWebView::UrlParser::destructor_void____ptr64]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CFileName____ptr64___cdecl_Cmm::CFileName::operator_class_Cmm::CFileName____ptr64____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CFileName::GetExt_int_const___ptr64]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call qword [reloc.Cmmlib.dll___4__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rcx, [rbp + 0x68]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
mov rdx, rdi
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64_const___ptr64]
test al, al
je 0x14001900e
mov qword [rsp + 0x58], rdi
jmp 0x14001901d
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CFileName::GetName_void_const___ptr64]
mov qword [rsp + 0x58], rax
lea rcx, [rbp + 0xb8]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rsi, rax
lea rcx, [rbp + 0x90]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdi, rax
test r15b, 1
lea rax, [0x140050548]
lea rbx, str.even
cmove rbx, rax
lea rcx, [0x1400865e0]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rbx
lea rcx, [rbp + 0x68]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::Format_wchar_t_const____ptr64____ptr64]
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x108]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
inc r15d
lea rcx, [rbp + 0x68]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x90]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xb8]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
add r12, 0x40
mov rbx, qword [rsp + 0x70]
add rbx, 0x40
mov qword [rsp + 0x70], rbx
cmp r12, r14
lea rdi, [0x140050224]
jne 0x140018e72
mov dword [rsp + 0x50], r15d
mov r14, qword [rsp + 0x78]
mov r15d, dword [rsp + 0x6c]
mov edi, dword [rsp + 0x50]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rbp + 0x108]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rbx, rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov rdx, rax
mov qword [rsp + 0x20], rbx
mov r9d, r15d
mov r8d, edi
lea rcx, [rbp + 0xe0]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::Format_wchar_t_const____ptr64____ptr64]
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x130]
lea rcx, [0x1400865b8]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
lea r8, [0x140086590]
mov rdx, r14
mov rcx, rax
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t____cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x130]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xe0]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x108]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
jmp 0x1400191cf
mov rcx, r14
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov rax, r14
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140042f10
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret