Function at 0x1400128a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbp
push rbx
push r13
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rbp + 0x48], rax
xorps xmm0, xmm0
mov qword [r11 + 0x20], rsi
mov qword [r11 - 0x20], rdi
mov r13, rcx
mov rcx, qword [0x1402bfe50]
mov edi, r8d
mov qword [r11 - 0x28], r12
mov r12, rdx
mov qword [r11 - 0x38], r15
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x18], rdx
lea rbx, [rdi*8]
mov r15d, r8d
mov edx, 4
movups xmmword [rbp + 0x20], xmm0
mov r8, rbx
mov dword [rbp + 0x20], edi
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1401dff50
xor edx, edx
mov qword [rbp + 0x28], rsi
test edi, edi
je 0x140012a70
mov qword [rsp + 0x158], r14
mov rbx, r12
mov edi, edx
nop word [rax + rax]
mov rax, qword [rbx]
lea r14, [rdi + rsi]
mov esi, dword [0x1402c2f94]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x48], rdx
lea r8, [rsp + 0x68]
mov qword [rsp + 0x70], rdx
xorps xmm0, xmm0
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov rcx, r14
mov dword [rbp - 0x80], edx
mov qword [rsp + 0x78], rdx
mov edx, 0xc20
mov dword [rsp + 0x68], 0x30
movdqu xmmword [rbp - 0x78], xmm0
call qword [sym.imp.ntdll.dll_NtOpenThread]
nop
cmp eax, 0xc0000022
jne 0x1400129be
cmp esi, 5
jne 0x1400129c8
lea r8, [rsp + 0x48]
mov edx, 0xc20
mov rcx, r14
call fcn.14016e1a0
nop
test eax, eax
jns 0x140012a4d
mov rax, qword [rbx]
lea r9, [rsp + 0x58]
mov r14, qword [rbp + 0x28]
lea r8, [rbp - 0x68]
mov esi, dword [0x1402c2f94]
xor edx, edx
mov qword [rsp + 0x58], rdx
xorps xmm0, xmm0
mov rcx, qword [rax]
add r14, rdi
mov qword [rsp + 0x60], rcx
mov rcx, r14
mov qword [rbp - 0x60], rdx
mov dword [rbp - 0x50], edx
mov qword [rbp - 0x58], rdx
mov edx, 0xc00
mov dword [rbp - 0x68], 0x30
movdqu xmmword [rbp - 0x48], xmm0
call qword [sym.imp.ntdll.dll_NtOpenThread]
cmp eax, 0xc0000022
jne 0x140012a37
nop
cmp esi, 5
jne 0x140012a3b
lea r8, [rsp + 0x58]
mov edx, 0xc00
mov rcx, r14
call fcn.14016e1a0
test eax, eax
jns 0x140012a4d
mov rax, qword [rbp + 0x28]
mov rcx, rbx
sub rcx, r12
mov qword [rcx + rax], 0xffffffffffffffff
add rdi, 8
add rbx, 8
sub r15, 1
je 0x140012a66
mov rsi, qword [rbp + 0x28]
xor edx, edx
jmp 0x140012950
mov r14, qword [rsp + 0x158]
xor edx, edx
mov rbx, qword [0x1402bfd08]
lea r9, ds:[rsp + 0x38]
mov qword [rbp + 0x40], rdx
mov rcx, rbx
mov r8d, 3
mov qword [rbp + 0x30], 5
lea rdx, [rbp + 0x30]
mov qword [rbp + 0x38], 0x95
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
mov r15, qword [rsp + 0x150]
mov r12, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x1a8]
test eax, eax
js 0x140012b0b
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140012b0b
mov rdx, qword [rsp + 0x40]
lea rax, [rbp - 0x30]
lea r9, [0x140012e60]
mov qword [rsp + 0x20], rax
mov r8, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x170
pop r13
pop rbx
pop rbp
ret