Function at 0x14004aa60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b0
mov edi, r9d
mov r9d, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401ee038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], 0
lea ebp, [rdi + 0xf]
test edi, edi
cmovns ebp, edi
mov eax, ebp
sar eax, 4
inc eax
movzx r8d, ax
mov edx, 6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14004acac
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14004ac18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14004ac64
and ebp, 0xfffffff0
sub edi, ebp
test edi, edi
jle 0x14004ab0b
movzx ecx, word [rax]
lea rax, [rax + rcx*2]
add rax, 2
dec edi
jne 0x14004aafc
movzx ecx, word [rax]
add rax, 2
jne 0x14004ab1d
test cx, cx
jne 0x14004adcf
mov rdi, qword [rsp + 0x200]
movzx ebx, cx
mov cl, byte [rsp + 0x1a7]
test cl, cl
js 0x14004ad6d
cmp bx, 0xa
jbe 0x14004ab7d
movzx r9d, cl
mov edx, 0xa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
sub rbx, rdx
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x190]
mov r8, rbx
call fcn.140081b20
jmp 0x14004abb6
mov qword [rsp + 0x198], rbx
jmp 0x14004abaf
lea r14, [rsp + 0x190]
test rbx, rbx
je 0x14004aba0
lea r8, [rbx + rbx]
mov rcx, r14
mov rdx, rax
call fcn.14012dd40
mov cl, byte [rsp + 0x1a7]
test cl, cl
js 0x14004ab73
mov eax, ebx
and al, 0x7f
mov byte [rsp + 0x1a7], al
mov word [r14 + rbx*2], 0
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x14004acba
lea rax, [rsp + 0x190]
movzx edx, byte [rax + 0x17]
mov ecx, edx
and ecx, 0x7f
test dl, dl
cmovs rcx, qword [rax + 8]
cmovs rax, qword [rax]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
test rcx, rcx
js 0x14004ada3
test rax, rax
jne 0x14004ac00
test rcx, rcx
jne 0x14004adfb
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov r8, rdi
xor r9d, r9d
call fcn.14018ffc0
jmp 0x14004ace8
mov ecx, 2
call fcn.1400f6b70
test al, al
je 0x14004acba
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....operadesktopwindowsl10n_handler_resource_l10n_handler.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x3f
mov r9d, 2
call fcn.140196380
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_to_load_string
jmp 0x14004ad55
mov ecx, 2
call fcn.1400f6b70
test al, al
je 0x14004acba
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....operadesktopwindowsl10n_handler_resource_l10n_handler.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x45
mov r9d, 2
call fcn.140196380
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_to_lock_string
jmp 0x14004ad55
mov ecx, 2
call fcn.1400f6b70
test al, al
jne 0x14004ad20
mov rax, qword [rsp + 0x1a0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x190]
movups xmmword [rsi], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], 0
cmp byte [rsp + 0x1a7], 0
jns 0x14004acff
mov rcx, qword [rsp + 0x190]
call fcn.14012a8ec
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14012b460
mov rax, rsi
add rsp, 0x1b0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....operadesktopwindowsl10n_handler_resource_l10n_handler.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x39
mov r9d, 2
call fcn.140196380
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_to_find_string
mov r8d, shutdown
call fcn.140166290
mov rcx, rdi
call fcn.140196400
jmp 0x14004acba
mov rcx, qword [rsp + 0x1a0]
mov rdx, rcx
btr rdx, 0x3f
dec rdx
cmp rdx, rbx
jb 0x14004ad96
shr rcx, 0x38
mov r14, qword [rsp + 0x190]
jmp 0x14004ab85
mov r9, qword [rsp + 0x198]
jmp 0x14004ab46
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.140166ee0
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string
lea r9, str.__n__0____s___nullptr
mov r8d, 0x98a
call fcn.140166ee0
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.140166ee0
int3