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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor r12d, r12d
mov r14, r9
cmp qword [0x140146cf0], r12
mov r15b, r8b
mov rbp, rdx
mov word [0x1401a04c0], r12w
setne dil
test dil, dil
jne 0x1400c8045
mov byte [0x1401a1b48], r12b
mov byte [0x1401a1b49], r12b
mov byte [0x1401a1bb6], r12b
mov dword [0x14019e4b8], ecx
mov word [0x1401a15c0], r12w
jmp 0x1400c804b
mov ecx, dword [0x14019e4b8]
lea rsi, [0x1401a04c0]
mov r13d, 0x880
cmp ecx, 7
jg 0x1400c8317
je 0x1400c830d
test ecx, ecx
je 0x1400c816e
jle 0x1400c83b0
cmp ecx, 2
jle 0x1400c80da
cmp ecx, 3
je 0x1400c80c8
cmp ecx, 4
je 0x1400c80b6
cmp ecx, 5
je 0x1400c80af
cmp ecx, 6
jne 0x1400c83b0
mov ecx, 0x223
call fcn.140087e6c
mov rdx, rax
mov r8, r13
mov rcx, rsi
call fcn.14008df58
jmp 0x1400c83a2
mov ecx, 0x24e
jmp 0x1400c8097
mov rcx, rbp
call fcn.1400792dc
mov ecx, 0x212
jmp 0x1400c8389
mov rcx, rbp
call fcn.1400792dc
mov ecx, 0x211
jmp 0x1400c8389
mov rcx, rbp
call fcn.1400792dc
cmp dword [0x14019e4b8], 1
mov ecx, r12d
mov rbx, rax
setne cl
add ecx, 0x20f
call fcn.140087e6c
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, rsi
call fcn.1400026d8
test dil, dil
jne 0x1400c8162
cmp dword [0x140146d08], r12d
mov ebx, dword [0x140169344]
je 0x1400c812c
cmp qword [0x140147e40], 1
ja 0x1400c8138
mov byte [0x1401a1b48], r12b
cmp ebx, 1
ja 0x1400c813f
mov byte [0x1401a1b48], 1
lea rcx, [0x140169340]
call fcn.140005c08
test eax, eax
je 0x1400c815b
mov byte [0x1401a1b49], 1
cmp ebx, 1
ja 0x1400c8162
mov byte [0x1401a1b49], r12b
lea rax, str.CMDWNDADD
jmp 0x1400c83a9
lea rax, str.CMDWNDADD
mov qword [0x1401a1e38], rax
test dil, dil
jne 0x1400c83b9
mov byte [0x1401a1b48], 1
mov word [0x14019e4c0], r12w
mov word [0x1401a16c0], r12w
mov word [0x1401a1b50], r12w
mov qword [0x1401a1bb8], r12
mov qword [0x1401a1bd8], r12
mov qword [0x1401a1bd0], r12
mov qword [0x1401a1bc8], r12
mov qword [0x1401a1bc0], r12
mov byte [0x1401a1bb4], r12b
mov byte [0x1401a1bb5], r12b
mov dword [0x1401a1b4c], r12d
call fcn.1400f588c
mov dword [0x14019e4bc], eax
mov qword [0x14019e4b0], r12
mov word [0x1401a1be0], r12w
mov qword [0x1401a1b40], r12
call fcn.140049400
mov byte [0x1401a1bb7], r12b
mov byte [0x1401a1e40], r12b
call fcn.1400c52b8
movzx r8d, al
lea rdx, str.SystemProgressBar
lea rcx, str.Interface
call fcn.14009f550
test eax, eax
setne byte [0x1401a1b4a]
call fcn.14006c10c
cmp eax, 0x601
lea rdx, str.TaskbarProgressBar
mov r8d, r12d
lea rcx, str.Interface
setae r8b
call fcn.14009f550
test eax, eax
setne byte [0x1401a1b4b]
cmp dword [0x14019e4b8], 2
ja 0x1400c8284
mov eax, dword [0x140146d08]
neg eax
mov qword [0x140147e48], r12
sbb rcx, rcx
and qword [0x140147e60], rcx
mov rdx, qword [0x1401a1e38]
mov r8d, 5
mov rcx, qword [0x14017d140]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x14017d140]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x14017d140]
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.1400efeb0
cmp dword [0x140146d08], 1
je 0x1400c83c5
mov rcx, qword [0x140145cd8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c83c5
mov bl, r12b
jmp 0x1400c83f4
mov ecx, 0x672
jmp 0x1400c8097
sub ecx, 8
je 0x1400c837c
sub ecx, 1
je 0x1400c8373
sub ecx, 1
je 0x1400c8352
sub ecx, 1
je 0x1400c8348
sub ecx, 1
je 0x1400c833e
cmp ecx, 1
jne 0x1400c83b0
lea rax, str.CMDWNDBENCH
jmp 0x1400c83a9
mov ecx, 0x556
jmp 0x1400c8097
mov ecx, 0x543
jmp 0x1400c8097
mov ecx, 0x50b
call fcn.140087e6c
mov rdx, rax
mov r8, r13
mov rcx, rsi
call fcn.14008df58
lea rax, str.CMDWNDCONVERT
jmp 0x1400c83a9
lea rax, str.CMDWNDFIND
jmp 0x1400c83a9
mov rcx, rbp
call fcn.1400792dc
mov ecx, 0x216
mov rbx, rax
call fcn.140087e6c
mov r9, rbx
mov r8, rax
mov rdx, r13
mov rcx, rsi
call fcn.1400026d8
lea rax, str.CMDWNDOTHER
mov qword [0x1401a1e38], rax
test dil, dil
je 0x1400c818c
call fcn.1400c9ca0
xor al, al
jmp 0x1400c85f2
mov ecx, dword [rsi]
mov edx, 0xffff0000
mov eax, ecx
mov bl, 1
and eax, edx
cmp eax, edx
jne 0x1400c83e6
and dword [rsi + 0xc], 0x3ff5f7ff
or dword [rsi + 0xc], 0x800a0800
jmp 0x1400c83f4
and ecx, 0x3ff5f7ff
or ecx, 0x800a0800
mov dword [rsi], ecx
mov r8, qword [0x140145cd8]
lea r9, [fcn.1400c71f8]
mov rcx, qword [0x14017d140]
test r14, r14
mov rdx, rsi
mov qword [rsp + 0x20], r12
cmovne r9, r14
cmp dword [0x140146d08], 1
cmove r8, r12
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov qword [0x140146cf0], rax
test bl, bl
je 0x1400c8480
mov dl, 1
lea rcx, [0x14016e3d0]
call fcn.1400a98d0
mov rcx, qword [0x140146cf0]
mov ebx, 0x80
mov edx, ebx
mov r9, rax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [0x14016e3d0]
call fcn.1400a98d0
mov rcx, qword [0x140146cf0]
lea r8d, [rbx - 0x7f]
mov r9, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x14019e4b8], 8
jne 0x1400c8548
cmp dword [0x14015885c], r12d
jne 0x1400c8548
cmp word [0x140153728], r12w
lea rbx, str.___s
je 0x1400c84ed
lea rcx, [0x140153728]
call fcn.1400792dc
mov rcx, rax
movzx eax, word [rax]
cmp ax, word [0x140111868]
jne 0x1400c84d8
movzx eax, word [rcx + 2]
mov ecx, 0x215
cmp ax, word [0x14011186a]
je 0x1400c84dd
mov ecx, 0x214
call fcn.140087e6c
mov rdx, rax
mov rcx, rbx
call fcn.1400c6b38
cmp word [0x14015572e], r12w
je 0x1400c850c
mov ecx, 0x213
call fcn.140087e6c
mov rdx, rax
mov rcx, rbx
call fcn.1400c6b38
cmp dword [0x140158858], r12d
je 0x1400c852a
mov ecx, 0x218
call fcn.140087e6c
mov rdx, rax
mov rcx, rbx
call fcn.1400c6b38
cmp byte [0x140158a10], r12b
je 0x1400c8548
mov ecx, 0x217
call fcn.140087e6c
mov rdx, rax
mov rcx, rbx
call fcn.1400c6b38
mov rcx, qword [0x140146cf0]
test r15b, r15b
je 0x1400c8568
xor r9d, r9d
mov edx, 0x111
lea r8d, [r9 + 0x6e]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c8573
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x14019e4b8], 2
ja 0x1400c85af
mov rcx, qword [0x140146cf0]
mov r8, rbp
mov edx, 0xa5
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov r8d, 0x800
lea rcx, [0x14019f4c0]
mov rdx, rbp
call fcn.14008df58
cmp word [0x1401a04c0], r12w
jne 0x1400c85d0
mov rcx, qword [0x140146cf0]
lea rdx, [0x1401a04c0]
mov r8d, r13d
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp qword [0x140146cf0], r12
je 0x1400c83be
call fcn.1400c9ca0
cmp dword [0x14019e4b8], r12d
jne 0x1400c85f0
call fcn.1400c9f14
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret