Function at 0x180036720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rax, qword [0x18007d010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
movzx r12d, r9b
mov rbx, rcx
movzx edx, dx
mov rcx, qword [rcx + 8]
xor r13d, r13d
test r8b, r8b
je 0x180036843
mov edi, r13d
lea r8d, [r13 + 5]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x180036781
mov esi, r13d
jmp 0x180036817
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x180036798
mov rsi, r13
jmp 0x180036817
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
jne 0x1800367ae
mov rsi, r13
jmp 0x180036817
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r15d, eax
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
jne 0x1800367d8
mov rsi, r13
jmp 0x180036817
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
jne 0x1800367ee
mov rsi, r13
jmp 0x180036817
mov r8, r15
mov rdx, r14
mov rcx, rdi
call fcn.18003c5e0
mov eax, 0xffff
cmp word [rdi + 2], ax
jne 0x180036810
or dword [rdi + 8], 0x400000
jmp 0x180036817
or dword [rdi + 4], 0x400000
mov qword [rsp + 0x20], rbx
lea r9, [0x180036a60]
mov r8, qword [rbx + 0x10]
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov qword [rbx + 0x18], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x18003685d
mov qword [rsp + 0x20], rbx
lea r9, [0x180036a60]
mov r8, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [rbx + 0x18], rax
mov r9, qword [rbx + 0x18]
test r9, r9
jne 0x1800369fa
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r13w
lea r8d, [r9 + 0x31]
lea rdx, str.CreateDialogParam___return_NULL._rGetLastError__:
lea rcx, [rbp - 1]
call fcn.180006040
nop
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
xor r8d, r8d
lea rdx, [0x18006db8c]
lea rcx, [rbp - 0x21]
call fcn.180006040
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18003691e
mov qword [rbp - 0x29], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdx, qword [rbp - 0x29]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x180036900
lea rcx, [rbp - 0x21]
call fcn.180036b00
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm1, xmmword [rbp - 0x11]
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x21], r13w
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r13
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 8
cmovae rdx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.180036b00
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x18003699b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036996
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036a4e
call fcn.180038400
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
xor r9d, r9d
lea r8, str.In_StaticDialog::create__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x180036a21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800369f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036a48
call fcn.180038400
jmp 0x180036a21
mov rax, qword [rbx + 0x10]
test r12b, r12b
jne 0x180036a10
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov r9, qword [rbx + 0x18]
xor r8d, r8d
mov edx, 0x7f4
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800383a0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180042fbc
nop
call fcn.180042fbc
nop
int3