Function at 0x140032fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0xd8
cmp qword [rsp + 0xf0], 0
jne 0x140032fe5
mov edx, 0x364
lea rcx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
call fcn.1400495f0
test eax, eax
je 0x140032fe5
int3
call fcn.140042830
mov qword [rsp + 0x40], rax
mov r8d, 5
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400330c8
cmp qword [rsp + 0xf0], 0xffff
jbe 0x140033071
lea rcx, [0x1400a16c0]
call fcn.1400060f0
mov rbx, rax
mov r8d, 0x36a
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
lea rcx, [rsp + 0x58]
call fcn.140006220
mov rcx, rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR:_Cannot_find_dialog_template_named__s._n
xor r8d, r8d
mov rdx, rbx
call fcn.140006250
jmp 0x1400330c1
mov rax, qword [rsp + 0xf0]
and rax, 0xffff
movzx edi, ax
lea rcx, [0x1400a16c0]
call fcn.1400060f0
mov rbx, rax
mov r8d, 0x36d
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
lea rcx, [rsp + 0x68]
call fcn.140006220
mov dword [rsp + 0x20], edi
lea r9, str.ERROR:_Cannot_find_dialog_template_with_IDD_0x_04X._n
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140006250
xor eax, eax
jmp 0x14003331a
cmp dword [rsp + 0xf8], 0
jne 0x1400330dc
mov eax, 1
jmp 0x14003331a
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14003313e
lea rcx, [0x1400a16c0]
call fcn.1400060f0
mov rbx, rax
mov r8d, 0x37a
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
lea rcx, [rsp + 0x78]
call fcn.140006220
lea r9, str.Warning:_LoadResource_failed_for_dialog_template._n
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140006250
mov eax, 1
jmp 0x14003331a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 2]
cmp eax, 0xffff
jne 0x14003316c
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x48], eax
jmp 0x140033177
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x30]
call fcn.14003e630
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [rsp + 0x48]
and eax, 0x10000000
test eax, eax
je 0x140033252
cmp qword [rsp + 0xf0], 0xffff
jbe 0x1400331f8
lea rcx, [0x1400a16c0]
call fcn.1400060f0
mov rbx, rax
mov r8d, 0x38a
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
lea rcx, [rsp + 0x88]
call fcn.140006220
mov rcx, rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR:_Dialog_named__s_must_be_invisible._n
xor r8d, r8d
mov rdx, rbx
call fcn.140006250
jmp 0x14003324b
mov rax, qword [rsp + 0xf0]
and rax, 0xffff
movzx edi, ax
lea rcx, [0x1400a16c0]
call fcn.1400060f0
mov rbx, rax
mov r8d, 0x38d
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
lea rcx, [rsp + 0x98]
call fcn.140006220
mov dword [rsp + 0x20], edi
lea r9, str.ERROR:_Dialog_with_IDD_0x_04X_must_be_invisible._n
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140006250
xor eax, eax
jmp 0x14003331a
mov eax, dword [rsp + 0x48]
and eax, 0x40000000
test eax, eax
jne 0x140033315
cmp qword [rsp + 0xf0], 0xffff
jbe 0x1400332be
lea rcx, [0x1400a16c0]
call fcn.1400060f0
mov rbx, rax
mov r8d, 0x394
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
lea rcx, [rsp + 0xa8]
call fcn.140006220
mov rcx, rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, str.ERROR:_Dialog_named__s_must_have_the_child_style._n
xor r8d, r8d
mov rdx, rbx
call fcn.140006250
jmp 0x140033311
mov rax, qword [rsp + 0xf0]
and rax, 0xffff
movzx edi, ax
lea rcx, [0x1400a16c0]
call fcn.1400060f0
mov rbx, rax
mov r8d, 0x397
lea rdx, str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcdlgcore.cpp
lea rcx, [rsp + 0xb8]
call fcn.140006220
mov dword [rsp + 0x20], edi
lea r9, str.ERROR:_Dialog_with_IDD_0x_04X_must_have_the_child_style._n
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140006250
xor eax, eax
jmp 0x14003331a
mov eax, 1
add rsp, 0xd8
pop rdi
pop rbx
ret