Function at 0x14012b160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx r15d, r9b
mov rdi, rcx
xor r12d, r12d
movzx edx, dx
test r8b, r8b
je 0x14012b276
mov esi, r12d
lea r8d, [r12 + 5]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14012b1c9
mov ebp, r12d
jmp 0x14012b24a
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14012b1e0
mov rbp, r12
jmp 0x14012b24a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
jne 0x14012b1f6
mov rbp, r12
jmp 0x14012b24a
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
mov r8d, ebx
mov rdx, r14
mov rcx, rax
call fcn.14019f8d0
mov eax, 0xffff
cmp word [rsi + 2], ax
jne 0x14012b243
or dword [rsi + 8], 0x400000
jmp 0x14012b24a
or dword [rsi + 4], 0x400000
mov qword [rsp + 0x20], rdi
lea r9, [0x14012b730]
mov r8, qword [rdi + 0x10]
mov rdx, rsi
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov qword [rdi + 0x18], rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14012b294
mov qword [rsp + 0x20], rdi
lea r9, [0x14012b730]
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [rdi + 0x18], rax
mov r9, qword [rdi + 0x18]
test r9, r9
jne 0x14012b3cb
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], r12w
lea r8d, [r9 + 0x31]
lea rdx, str.CreateDialogParam___return_NULL._rGetLastError__:
lea rcx, [rsp + 0x38]
call fcn.140006d70
nop
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140027880
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14012b2ee
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140006aa0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14012b33f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012b33a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012b424
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
xor r9d, r9d
lea r8, str.In_StaticDialog::create__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14012b3b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012b3b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012b41e
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r12w
jmp 0x14012b3f5
test r15b, r15b
je 0x14012b3d6
mov rax, qword [rdi + 0x10]
jmp 0x14012b3e4
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetParent]
mov r9, qword [rdi + 0x18]
xor r8d, r8d
mov edx, 0x7f4
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401813e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
int3