Function at 0x140014820
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 [0x1402caaf0]
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.14020ab40
xor edx, edx
mov qword [rbp + 0x28], rsi
test edi, edi
je 0x1400149f0
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 [0x1402cddd8]
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 0x14001493e
cmp esi, 5
jne 0x140014948
lea r8, [rsp + 0x48]
mov edx, 0xc20
mov rcx, r14
call fcn.140177c60
nop
test eax, eax
jns 0x1400149cd
mov rax, qword [rbx]
lea r9, [rsp + 0x58]
mov r14, qword [rbp + 0x28]
lea r8, [rbp - 0x68]
mov esi, dword [0x1402cddd8]
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 0x1400149b7
nop
cmp esi, 5
jne 0x1400149bb
lea r8, [rsp + 0x58]
mov edx, 0xc00
mov rcx, r14
call fcn.140177c60
test eax, eax
jns 0x1400149cd
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 0x1400149e6
mov rsi, qword [rbp + 0x28]
xor edx, edx
jmp 0x1400148d0
mov r14, qword [rsp + 0x158]
xor edx, edx
mov rbx, qword [0x1402ca9a8]
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 0x140014a8b
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 0x140014a8b
mov rdx, qword [rsp + 0x40]
lea rax, [rbp - 0x30]
lea r9, [0x140014dc0]
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.1401e4a20
add rsp, 0x170
pop r13
pop rbx
pop rbp
ret