Function at 0x140129490
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 [0x1402a6808]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx r15d, r9b
mov rdi, rcx
xor r12d, r12d
movzx edx, dx
test r8b, r8b
je 0x1401295a6
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 0x1401294f9
mov ebp, r12d
jmp 0x14012957a
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140129510
mov rbp, r12
jmp 0x14012957a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
jne 0x140129526
mov rbp, r12
jmp 0x14012957a
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.14019dbf0
mov eax, 0xffff
cmp word [rsi + 2], ax
jne 0x140129573
or dword [rsi + 8], 0x400000
jmp 0x14012957a
or dword [rsi + 4], 0x400000
mov qword [rsp + 0x20], rdi
lea r9, [0x140129a60]
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 0x1401295c4
mov qword [rsp + 0x20], rdi
lea r9, [0x140129a60]
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 0x1401296fb
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1401e3030]
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.140006d60
nop
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140027820
nop
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14012961e
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140006a90
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14012966f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012966a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140129754
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
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 0x1401296e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401296e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012974e
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r12w
jmp 0x140129725
test r15b, r15b
je 0x140129706
mov rax, qword [rdi + 0x10]
jmp 0x140129714
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.14017f700
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.1401a10ac
nop
call fcn.1401a10ac
nop
int3