Function at 0x180035d60
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 [0x180080238]
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 0x180035e83
mov edi, r13d
lea r8d, [r13 + 5]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x180035dc1
mov esi, r13d
jmp 0x180035e57
mov rdx, rsi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x180035dd8
mov rsi, r13
jmp 0x180035e57
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
jne 0x180035dee
mov rsi, r13
jmp 0x180035e57
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 0x180035e18
mov rsi, r13
jmp 0x180035e57
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
test rax, rax
jne 0x180035e2e
mov rsi, r13
jmp 0x180035e57
mov r8, r15
mov rdx, r14
mov rcx, rdi
call fcn.18003a9c0
mov eax, 0xffff
cmp word [rdi + 2], ax
jne 0x180035e50
or dword [rdi + 8], 0x400000
jmp 0x180035e57
or dword [rdi + 4], 0x400000
mov qword [rsp + 0x20], rbx
lea r9, [0x180036170]
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 0x180035e9d
mov qword [rsp + 0x20], rbx
lea r9, [0x180036170]
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 0x1800360d0
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.1800089b0
nop
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
xor r8d, r8d
lea rdx, [0x18005cc28]
lea rcx, [rbp - 0x21]
call fcn.1800089b0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180035fa5
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 r9, qword [rbp - 0x29]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x180035f40
mov rcx, qword [rbp - 0x11]
mov r8, qword [rbp - 9]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x180035f8a
lea rdi, [rcx + rdx]
mov qword [rbp - 0x11], rdi
lea rbx, [rbp - 0x21]
cmp r8, 8
cmovae rbx, qword [rbp - 0x21]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.18003a9c0
mov word [rbx + rdi*2], r13w
jmp 0x180035f9b
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rcx, [rbp - 0x21]
call fcn.180035bb0
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 r9, [rbp - 0x49]
mov rsi, qword [rbp - 0x49]
mov r14, qword [rbp - 0x31]
cmp r14, 8
cmovae r9, rsi
mov rcx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x17]
mov rax, r8
sub rax, rcx
mov rdx, qword [rbp - 0x39]
cmp rdx, rax
ja 0x18003601d
lea rdi, [rdx + rcx]
mov qword [rbp + 0xf], rdi
lea rbx, [rbp - 1]
cmp r8, 8
cmovae rbx, qword [rbp - 1]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.18003a9c0
mov word [rbx + rdi*2], r13w
jmp 0x180036036
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rcx, [rbp - 1]
call fcn.180035bb0
mov r14, qword [rbp - 0x31]
mov rsi, qword [rbp - 0x49]
cmp r14, 8
jb 0x180036071
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180036069
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036124
mov rcx, rsi
call fcn.180037d20
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 0x1800360f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800360c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003611e
call fcn.180037d20
jmp 0x1800360f7
mov rax, qword [rbx + 0x10]
test r12b, r12b
jne 0x1800360e6
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.180037cc0
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.180042a4c
nop
call fcn.180042a4c
nop
int3