Function at 0x1400226b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x140086de8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, rcx
mov qword [rbp - 0x19], rcx
movzx ebx, dx
mov r8d, 0xf0
mov edx, ebx
mov rcx, qword [0x14008fe10]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor edi, edi
mov qword [rbp - 0x29], rdi
mov esi, edi
test rax, rax
je 0x140022728
mov rdx, rax
mov rcx, qword [0x14008fe10]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140022728
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp - 0x29], rax
mov r12d, 5
mov r8d, r12d
mov rdx, rbx
mov rcx, qword [0x14008fe10]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor ebx, ebx
test rax, rax
je 0x140022afb
mov rdx, rax
mov rcx, qword [0x14008fe10]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140022af4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140022af4
movzx r14d, word [rax + 2]
mov edx, 0xffff
mov ecx, ebx
cmp r14w, dx
sete cl
mov dword [rbp - 0x31], ecx
lea ecx, [rbx + 0x10]
lea r8d, [r12 + 3]
cmovne ecx, r8d
movzx r13d, word [rcx + rax]
mov word [rbp - 0x49], r13w
mov rcx, rax
call fcn.14000b9cc
mov rdi, rax
mov edx, r12d
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetWindow]
mov r15, rax
mov qword [rbp - 0x41], rax
movzx r12d, bx
cmp bx, r13w
jae 0x140022afb
lea eax, [rbx + 0x12]
lea ecx, [rbx + 0x18]
mov edx, 0xffff
cmp r14w, dx
cmove eax, ecx
mov qword [rbp - 0x11], rax
cmp r14w, dx
jne 0x1400227f1
mov edx, dword [rdi + 0x14]
jmp 0x1400227f5
movzx edx, word [rdi + 0x10]
lea r13, [rax + rdi]
cmp word [r13], 0x7b
jne 0x140022a81
mov r15, rbx
mov rax, qword [rbp - 0x29]
mov rcx, rax
test rax, rax
je 0x140022831
movzx eax, word [rcx]
movzx r9d, word [rcx + 2]
mov r8d, dword [rcx + 4]
cmp eax, edx
je 0x1400228e9
add rcx, 8
add rcx, r8
jne 0x140022814
mov eax, ebx
mov rcx, rbx
mov qword [rbp + 7], rbx
test eax, eax
je 0x1400228b0
mov ebx, eax
mov edx, eax
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140022acc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140022ac3
mov r8d, ebx
mov rcx, rax
test r15, r15
je 0x140022b24
lfence
mov rdx, r15
call fcn.14002e010
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rbp + 7]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
xor ebx, ebx
test eax, eax
js 0x140022ad1
mov rcx, qword [rbp + 7]
mov qword [rbp - 0x21], rbx
lea rdx, [rbp - 0x21]
call fcn.14000e500
mov esi, eax
mov rbx, qword [rbp - 0x21]
xor r15d, r15d
test eax, eax
js 0x140022a59
mov qword [rbp - 0x39], r15
call fcn.1400127fc
mov r8d, 0xffff
cmp r14w, r8w
jne 0x140022905
movzx eax, word [rdi + 0xc]
jmp 0x140022909
mov eax, 0x378
cmp r9w, ax
je 0x140022831
lea r15, [rcx + 2]
lea eax, [r8 + 6]
jmp 0x140022833
movzx eax, word [rdi + 8]
movsx ecx, ax
mov dword [rbp + 0xf], ecx
jne 0x140022917
movzx eax, word [rdi + 0xe]
jmp 0x14002291b
movzx eax, word [rdi + 0xa]
movsx edx, ax
mov dword [rbp + 0x13], edx
jne 0x140022929
movzx eax, word [rdi + 0x10]
jmp 0x14002292d
movzx eax, word [rdi + 0xc]
cwde
add eax, ecx
mov dword [rbp + 0x17], eax
cmp r14w, r8w
jne 0x14002293f
movzx eax, word [rdi + 0x12]
jmp 0x140022943
movzx eax, word [rdi + 0xe]
cwde
add eax, edx
mov dword [rbp + 0x1b], eax
lea rdx, [rbp + 0xf]
mov rsi, qword [rbp - 0x19]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MapDialogRect]
mov eax, 0xffff
cmp r14w, ax
jne 0x140022972
mov eax, dword [rdi + 0x14]
mov edx, dword [rdi + 4]
lea rcx, [rdi + 8]
jmp 0x14002297c
movzx eax, word [rdi + 0x10]
mov edx, r15d
mov rcx, rdi
mov ecx, dword [rcx]
mov qword [rbp - 9], rax
lea r8, [rbp + 0xf]
mov qword [rbp - 1], r8
bts ecx, 0x10
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xf]
mov r8, qword [rsi + 8]
lea rdx, str.AtlAxWinLic140
lea rcx, [rbp - 0x39]
call fcn.14002260c
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140022a52
mov eax, 0xffff
cmp r14w, ax
jne 0x1400229e1
mov edx, dword [rdi]
test edx, edx
je 0x1400229e1
call qword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r15
lea rax, [0x1400689d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rbp + 7]
mov rdx, r13
lea rcx, [rbp - 0x39]
call fcn.140022b48
mov esi, eax
test eax, eax
js 0x140022ae9
movzx eax, r12w
neg ax
sbb rdx, rdx
and rdx, qword [rbp - 0x41]
mov dword [rsp + 0x30], 0x13
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov r15, qword [rbp - 0x39]
mov qword [rbp - 0x41], r15
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x140022a5d
call fcn.140008ef4
mov esi, eax
mov r15, qword [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp + 7]
xor ebx, ebx
test rcx, rcx
je 0x140022a9c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400629f0]
jmp 0x140022a9c
test r12w, r12w
je 0x140022a9c
mov edx, 2
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindow]
mov r15, rax
mov qword [rbp - 0x41], rax
mov edx, dword [rbp - 0x31]
mov rcx, rdi
call fcn.14000ba60
mov rdi, rax
inc r12w
cmp r12w, word [rbp - 0x49]
jae 0x140022afb
mov rax, qword [rbp - 0x11]
mov edx, 0xffff
jmp 0x1400227e6
call fcn.140008ef4
mov esi, eax
jmp 0x140022ad1
mov esi, 0x8007000e
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140022afb
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400629f0]
jmp 0x140022afb
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140022ad1
call fcn.140008ef4
mov esi, eax
mov eax, esi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400293b0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
call fcn.14002d0a0
call fcn.140032788
mov dword [rax], 0x16
call fcn.14003261c
mov ecx, 0x80070057
call fcn.1400099e0
int3