Function at 0x1400c814c
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 0x1400c81b1
mov byte [0x1401a1b48], r12b
mov byte [0x1401a1b49], r12b
mov byte [0x1401a1bb6], r12b
mov dword [0x14019e4b8], ecx
mov word [0x1401a15c0], r12w
jmp 0x1400c81b7
mov ecx, dword [0x14019e4b8]
lea rsi, [0x1401a04c0]
mov r13d, 0x880
cmp ecx, 7
jg 0x1400c8483
je 0x1400c8479
test ecx, ecx
je 0x1400c82da
jle 0x1400c851c
cmp ecx, 2
jle 0x1400c8246
cmp ecx, 3
je 0x1400c8234
cmp ecx, 4
je 0x1400c8222
cmp ecx, 5
je 0x1400c821b
cmp ecx, 6
jne 0x1400c851c
mov ecx, 0x223
call fcn.140088044
mov rdx, rax
mov r8, r13
mov rcx, rsi
call fcn.14008e130
jmp 0x1400c850e
mov ecx, 0x24e
jmp 0x1400c8203
mov rcx, rbp
call fcn.140079330
mov ecx, 0x212
jmp 0x1400c84f5
mov rcx, rbp
call fcn.140079330
mov ecx, 0x211
jmp 0x1400c84f5
mov rcx, rbp
call fcn.140079330
cmp dword [0x14019e4b8], 1
mov ecx, r12d
mov rbx, rax
setne cl
add ecx, 0x20f
call fcn.140088044
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, rsi
call fcn.1400026d0
test dil, dil
jne 0x1400c82ce
cmp dword [0x140146d08], r12d
mov ebx, dword [0x140169344]
je 0x1400c8298
cmp qword [0x140147e40], 1
ja 0x1400c82a4
mov byte [0x1401a1b48], r12b
cmp ebx, 1
ja 0x1400c82ab
mov byte [0x1401a1b48], 1
lea rcx, [0x140169340]
call fcn.140005b3c
test eax, eax
je 0x1400c82c7
mov byte [0x1401a1b49], 1
cmp ebx, 1
ja 0x1400c82ce
mov byte [0x1401a1b49], r12b
lea rax, str.CMDWNDADD
jmp 0x1400c8515
lea rax, str.CMDWNDADD
mov qword [0x1401a1e38], rax
test dil, dil
jne 0x1400c8525
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.1400f599c
mov dword [0x14019e4bc], eax
mov qword [0x14019e4b0], r12
mov word [0x1401a1be0], r12w
mov qword [0x1401a1b40], r12
call fcn.140049404
mov byte [0x1401a1bb7], r12b
mov byte [0x1401a1e40], r12b
call fcn.1400c5424
movzx r8d, al
lea rdx, str.SystemProgressBar
lea rcx, [0x14010dd48]
call fcn.14009f660
test eax, eax
setne byte [0x1401a1b4a]
call fcn.14006c160
cmp eax, 0x601
lea rdx, str.TaskbarProgressBar
mov r8d, r12d
lea rcx, [0x14010dd48]
setae r8b
call fcn.14009f660
test eax, eax
setne byte [0x1401a1b4b]
cmp dword [0x14019e4b8], 2
ja 0x1400c83f0
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.1400effa0
cmp dword [0x140146d08], 1
je 0x1400c8531
mov rcx, qword [0x140145cd8]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c8531
mov bl, r12b
jmp 0x1400c8560
mov ecx, 0x672
jmp 0x1400c8203
sub ecx, 8
je 0x1400c84e8
sub ecx, 1
je 0x1400c84df
sub ecx, 1
je 0x1400c84be
sub ecx, 1
je 0x1400c84b4
sub ecx, 1
je 0x1400c84aa
cmp ecx, 1
jne 0x1400c851c
lea rax, str.CMDWNDBENCH
jmp 0x1400c8515
mov ecx, 0x556
jmp 0x1400c8203
mov ecx, 0x543
jmp 0x1400c8203
mov ecx, 0x50b
call fcn.140088044
mov rdx, rax
mov r8, r13
mov rcx, rsi
call fcn.14008e130
lea rax, str.CMDWNDCONVERT
jmp 0x1400c8515
lea rax, str.CMDWNDFIND
jmp 0x1400c8515
mov rcx, rbp
call fcn.140079330
mov ecx, 0x216
mov rbx, rax
call fcn.140088044
mov r9, rbx
mov r8, rax
mov rdx, r13
mov rcx, rsi
call fcn.1400026d0
lea rax, str.CMDWNDOTHER
mov qword [0x1401a1e38], rax
test dil, dil
je 0x1400c82f8
call fcn.1400c9e0c
xor al, al
jmp 0x1400c875e
mov ecx, dword [rsi]
mov edx, 0xffff0000
mov eax, ecx
mov bl, 1
and eax, edx
cmp eax, edx
jne 0x1400c8552
and dword [rsi + 0xc], 0x3ff5f7ff
or dword [rsi + 0xc], 0x800a0800
jmp 0x1400c8560
and ecx, 0x3ff5f7ff
or ecx, 0x800a0800
mov dword [rsi], ecx
mov r8, qword [0x140145cd8]
lea r9, [fcn.1400c7364]
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 0x1400c85ec
mov dl, 1
lea rcx, [0x14016e3d0]
call fcn.1400a9968
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.1400a9968
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 0x1400c86b4
cmp dword [0x14015885c], r12d
jne 0x1400c86b4
cmp word [0x140153728], r12w
lea rbx, str.___s
je 0x1400c8659
lea rcx, [0x140153728]
call fcn.140079330
mov rcx, rax
movzx eax, word [rax]
cmp ax, word [0x140111868]
jne 0x1400c8644
movzx eax, word [rcx + 2]
mov ecx, 0x215
cmp ax, word [0x14011186a]
je 0x1400c8649
mov ecx, 0x214
call fcn.140088044
mov rdx, rax
mov rcx, rbx
call fcn.1400c6ca4
cmp word [0x14015572e], r12w
je 0x1400c8678
mov ecx, 0x213
call fcn.140088044
mov rdx, rax
mov rcx, rbx
call fcn.1400c6ca4
cmp dword [0x140158858], r12d
je 0x1400c8696
mov ecx, 0x218
call fcn.140088044
mov rdx, rax
mov rcx, rbx
call fcn.1400c6ca4
cmp byte [0x140158a10], r12b
je 0x1400c86b4
mov ecx, 0x217
call fcn.140088044
mov rdx, rax
mov rcx, rbx
call fcn.1400c6ca4
mov rcx, qword [0x140146cf0]
test r15b, r15b
je 0x1400c86d4
xor r9d, r9d
mov edx, 0x111
lea r8d, [r9 + 0x6e]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c86df
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 0x1400c871b
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.14008e130
cmp word [0x1401a04c0], r12w
jne 0x1400c873c
mov rcx, qword [0x140146cf0]
lea rdx, [0x1401a04c0]
mov r8d, r13d
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp qword [0x140146cf0], r12
je 0x1400c852a
call fcn.1400c9e0c
cmp dword [0x14019e4b8], r12d
jne 0x1400c875c
call fcn.1400ca080
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