Function at 0x140059e30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov edx, 0x7d1
mov r8d, 0x100
mov rcx, qword [0x1403b2220]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14005a051
mov rdx, rax
mov rcx, qword [0x1403b2220]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14005a051
mov rdx, rbx
mov rcx, qword [0x1403b2220]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14005a051
xor edi, edi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], send
mov byte [rbp + 0x27], dil
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.140054c10
nop
lea ecx, [rdi + 0x28]
call fcn.140229738
mov rbx, rax
mov qword [rbp + 0x1f], rax
test rax, rax
je 0x140059f5c
lea rax, [0x14023d1f8]
mov qword [rbx + 8], rax
lea rax, vtable.CefBaseRefCounted.0
mov qword [rbx + 0x20], rax
lea rax, vtable.CefV8Handler.0
mov qword [rbx], rax
movsxd rcx, dword [0x14023d1fc]
lea rax, vtable.CefV8Handler.1.0
mov qword [rcx + rbx + 8], rax
lea rax, vtable.CEPEngineExtensionHandler.0
mov qword [rbx], rax
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.CEPEngineExtensionHandler.1.0
mov qword [rcx + rbx + 8], rax
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rcx + rbx + 4], edx
mov qword [rbx + 0x10], rdi
mov qword [0x1403b2008], rbx
jmp 0x140059f5f
mov rbx, rdi
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rdx, qword [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.140058b60
nop
lea rdx, [0x14023d3a4]
lea rcx, [rbp - 0x11]
call fcn.140058b60
nop
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x140059fa5
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rbx
mov rax, qword [rcx]
call qword [rax]
lea r8, [rbp - 0x19]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x11]
call fcn.140001dd0
nop
lea rbx, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rbp - 0x11], rbx
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140059fec
cmp byte [rbp - 1], 0
je 0x140059fe4
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, qword [rbp - 9]
call fcn.140229774
mov qword [rbp - 9], rdi
mov byte [rbp - 1], 0
mov qword [rbp + 7], rbx
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14005a013
cmp byte [rbp + 0x17], 0
je 0x14005a013
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, qword [rbp + 0xf]
call fcn.140229774
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14005a051
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a04c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a04c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140229810
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
jmp 0x140059e30