Function at 0x140014840
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 [0x1402bf040]
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 [0x1402caad0]
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.14020a280
xor edx, edx
mov qword [rbp + 0x28], rsi
test edi, edi
je 0x140014a10
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 [0x1402cddb8]
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 0x14001495e
cmp esi, 5
jne 0x140014968
lea r8, [rsp + 0x48]
mov edx, 0xc20
mov rcx, r14
call fcn.1401773e0
nop
test eax, eax
jns 0x1400149ed
mov rax, qword [rbx]
lea r9, [rsp + 0x58]
mov r14, qword [rbp + 0x28]
lea r8, [rbp - 0x68]
mov esi, dword [0x1402cddb8]
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 0x1400149d7
nop
cmp esi, 5
jne 0x1400149db
lea r8, [rsp + 0x58]
mov edx, 0xc00
mov rcx, r14
call fcn.1401773e0
test eax, eax
jns 0x1400149ed
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 0x140014a06
mov rsi, qword [rbp + 0x28]
xor edx, edx
jmp 0x1400148f0
mov r14, qword [rsp + 0x158]
xor edx, edx
mov rbx, qword [0x1402ca988]
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 0x140014aab
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 0x140014aab
mov rdx, qword [rsp + 0x40]
lea rax, [rbp - 0x30]
lea r9, [0x140014de0]
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.1401e4160
add rsp, 0x170
pop r13
pop rbx
pop rbp
ret