Function at 0x1400c78c4
Capabilities:
Extract resource via kernel32 functions
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor r13d, r13d
mov r15, r9
cmp qword [0x140148ba8], r13
mov r12b, r8b
mov r14, rdx
mov word [0x1401a2490], r13w
setne dil
test dil, dil
jne 0x1400c7936
mov byte [0x1401a3b18], r13b
mov byte [0x1401a3b19], r13b
mov byte [0x1401a3b86], r13b
mov dword [0x1401a0488], ecx
mov word [0x1401a3590], r13w
jmp 0x1400c793c
mov ecx, dword [0x1401a0488]
lea rbx, [0x1401a2490]
mov ebp, 5
mov esi, 0x880
cmp ecx, 7
jg 0x1400c7c2b
je 0x1400c7c21
test ecx, ecx
je 0x1400c7a85
jle 0x1400c7cc8
cmp ecx, 2
jle 0x1400c79ce
cmp ecx, 3
je 0x1400c79bc
cmp ecx, 4
je 0x1400c79aa
cmp ecx, ebp
je 0x1400c79a3
cmp ecx, 6
jne 0x1400c7cc8
mov ecx, 0x223
call fcn.140087094
mov rdx, rax
mov r8, rsi
mov rcx, rbx
call fcn.14008d254
jmp 0x1400c7cba
mov ecx, 0x24e
jmp 0x1400c798b
mov rcx, r14
call fcn.140078548
mov ecx, 0x212
jmp 0x1400c7c9d
mov rcx, r14
call fcn.140078548
mov ecx, 0x211
jmp 0x1400c7c9d
mov rcx, r14
call fcn.140078548
cmp dword [0x1401a0488], 1
mov ecx, r13d
mov rbx, rax
setne cl
add ecx, 0x20f
call fcn.140087094
mov r8, rax
lea rcx, [0x1401a2490]
mov r9, rbx
mov rdx, rsi
call fcn.14000269c
test dil, dil
jne 0x1400c7a79
cmp dword [0x140148c38], r13d
je 0x1400c7a1e
cmp qword [0x140149d10], 1
ja 0x1400c7a2e
cmp dword [0x14016b2d4], 1
mov byte [0x1401a3b18], r13b
ja 0x1400c7a35
mov byte [0x1401a3b18], 1
lea rdx, [rsp + 0xa0]
lea rcx, [0x14016b2d0]
call fcn.140005638
cmp byte [rsp + 0x1c2], r13b
je 0x1400c7a72
lea rdx, [0x14010f658]
lea rcx, [rsp + 0xa0]
call fcn.1400902b0
mov byte [0x1401a3b19], 1
test eax, eax
je 0x1400c7a79
mov byte [0x1401a3b19], r13b
lea rax, str.CMDWNDADD
jmp 0x1400c7cc1
lea rax, str.CMDWNDADD
mov qword [0x1401a3e08], rax
test dil, dil
jne 0x1400c7cd1
mov byte [0x1401a3b18], 1
mov word [0x1401a0490], r13w
mov word [0x1401a3690], r13w
mov word [0x1401a3b20], r13w
mov qword [0x1401a3b88], r13
mov qword [0x1401a3ba8], r13
mov qword [0x1401a3ba0], r13
mov qword [0x1401a3b98], r13
mov qword [0x1401a3b90], r13
mov byte [0x1401a3b84], r13b
mov byte [0x1401a3b85], r13b
mov dword [0x1401a3b1c], r13d
call fcn.1400f77fc
mov dword [0x1401a048c], eax
mov qword [0x1401a0480], r13
mov word [0x1401a3bb0], r13w
mov qword [0x1401a3b10], r13
call fcn.1400480ec
mov byte [0x1401a3b87], r13b
mov byte [0x1401a3e10], r13b
call fcn.1400c4b34
movzx r8d, al
lea rdx, str.SystemProgressBar
lea rcx, [0x14010fd88]
call fcn.14009e6d8
test eax, eax
setne byte [0x1401a3b1a]
call fcn.14006b39c
cmp eax, 0x601
lea rdx, str.TaskbarProgressBar
mov r8d, r13d
lea rcx, [0x14010fd88]
setae r8b
call fcn.14009e6d8
test eax, eax
setne byte [0x1401a3b1b]
cmp dword [0x1401a0488], 2
ja 0x1400c7b9b
mov eax, dword [0x140148c38]
neg eax
mov qword [0x140149d18], r13
sbb rcx, rcx
and qword [0x140149d30], rcx
mov rdx, qword [0x1401a3e08]
mov r8, rbp
mov rcx, qword [0x14017f0f0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x14017f0f0]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x14017f0f0]
mov rdx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rbx, eax
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.1400f1f40
cmp dword [0x140148c38], 1
je 0x1400c7cdd
mov rcx, qword [0x140148b90]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c7cdd
mov bl, r13b
jmp 0x1400c7d0c
mov ecx, 0x672
jmp 0x1400c798b
sub ecx, 8
je 0x1400c7c90
sub ecx, 1
je 0x1400c7c87
sub ecx, 1
je 0x1400c7c66
sub ecx, 1
je 0x1400c7c5c
sub ecx, 1
je 0x1400c7c52
cmp ecx, 1
jne 0x1400c7cc8
lea rax, str.CMDWNDBENCH
jmp 0x1400c7cc1
mov ecx, 0x556
jmp 0x1400c798b
mov ecx, 0x543
jmp 0x1400c798b
mov ecx, 0x50b
call fcn.140087094
mov rdx, rax
mov r8, rsi
mov rcx, rbx
call fcn.14008d254
lea rax, str.CMDWNDCONVERT
jmp 0x1400c7cc1
lea rax, str.CMDWNDFIND
jmp 0x1400c7cc1
mov rcx, r14
call fcn.140078548
mov ecx, 0x216
mov rbx, rax
call fcn.140087094
mov r9, rbx
lea rcx, [0x1401a2490]
mov r8, rax
mov rdx, rsi
call fcn.14000269c
lea rax, str.CMDWNDOTHER
mov qword [0x1401a3e08], rax
test dil, dil
je 0x1400c7aa3
call fcn.1400c95c8
xor al, al
jmp 0x1400c7f33
mov ecx, dword [rsi]
mov edx, 0xffff0000
mov eax, ecx
mov bl, 1
and eax, edx
cmp eax, edx
jne 0x1400c7cfe
and dword [rsi + 0xc], 0x3ff5f7ff
or dword [rsi + 0xc], 0x800a0800
jmp 0x1400c7d0c
and ecx, 0x3ff5f7ff
or ecx, 0x800a0800
mov dword [rsi], ecx
mov r8, qword [0x140148b90]
lea r9, [fcn.1400c6aa8]
mov rcx, qword [0x14017f0f0]
test r15, r15
mov rdx, rsi
mov qword [rsp + 0x20], r13
cmovne r9, r15
cmp dword [0x140148c38], 1
cmove r8, r13
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov qword [0x140148ba8], rax
test bl, bl
je 0x1400c7d98
mov dl, 1
lea rcx, [0x140170360]
call fcn.1400a8b0c
mov rcx, qword [0x140148ba8]
mov edi, 0x80
mov edx, edi
mov r9, rax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [0x140170360]
call fcn.1400a8b0c
mov rcx, qword [0x140148ba8]
lea r8d, [rdi - 0x7f]
mov r9, rax
mov edx, edi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1401a0488], 8
jne 0x1400c7e60
cmp dword [0x14015a78c], r13d
jne 0x1400c7e60
cmp word [0x140155658], r13w
lea rdi, str.___s
je 0x1400c7e05
lea rcx, [0x140155658]
call fcn.140078548
mov rcx, rax
movzx eax, word [rax]
cmp ax, word [0x1401136d0]
jne 0x1400c7df0
movzx eax, word [rcx + 2]
mov ecx, 0x215
cmp ax, word [0x1401136d2]
je 0x1400c7df5
mov ecx, 0x214
call fcn.140087094
mov rdx, rax
mov rcx, rdi
call fcn.1400c63e8
cmp word [0x14015765e], r13w
je 0x1400c7e24
mov ecx, 0x213
call fcn.140087094
mov rdx, rax
mov rcx, rdi
call fcn.1400c63e8
cmp dword [0x14015a788], r13d
je 0x1400c7e42
mov ecx, 0x218
call fcn.140087094
mov rdx, rax
mov rcx, rdi
call fcn.1400c63e8
cmp byte [0x14015a970], r13b
je 0x1400c7e60
mov ecx, 0x217
call fcn.140087094
mov rdx, rax
mov rcx, rdi
call fcn.1400c63e8
test r12b, r12b
je 0x1400c7e80
mov rcx, qword [0x140148ba8]
xor r9d, r9d
mov edx, 0x111
lea r8d, [r9 + 0x6e]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c7eb1
test bl, bl
je 0x1400c7ea2
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [rsp + 0x6c], 1
je 0x1400c7ea2
movzx eax, word [rsp + 0x70]
neg ax
sbb ecx, ecx
and ebp, ecx
mov rcx, qword [0x140148ba8]
mov edx, ebp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x1401a0488], 2
ja 0x1400c7eed
mov rcx, qword [0x140148ba8]
mov r8, r14
mov edx, 0xa5
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov r8d, 0x800
lea rcx, [0x1401a1490]
mov rdx, r14
call fcn.14008d254
cmp word [0x1401a2490], r13w
jne 0x1400c7f11
mov rcx, qword [0x140148ba8]
lea rdx, [0x1401a2490]
mov r8d, 0x880
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp qword [0x140148ba8], r13
je 0x1400c7cd6
call fcn.1400c95c8
cmp dword [0x1401a0488], r13d
jne 0x1400c7f31
call fcn.1400c98b4
mov al, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1400f0b80
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret