Function at 0x1400c535c
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 [0x140142bb8], r12
mov r15b, r8b
mov rbp, rdx
mov word [0x14019c090], r12w
setne dil
test dil, dil
jne 0x1400c53c1
mov byte [0x14019d718], r12b
mov byte [0x14019d719], r12b
mov byte [0x14019d786], r12b
mov dword [0x14019b088], ecx
mov word [0x14019d190], r12w
jmp 0x1400c53c7
mov ecx, dword [0x14019b088]
lea rsi, [0x14019c090]
mov r13d, 0x880
cmp ecx, 7
jg 0x1400c5693
je 0x1400c5689
test ecx, ecx
je 0x1400c54ea
jle 0x1400c572c
cmp ecx, 2
jle 0x1400c5456
cmp ecx, 3
je 0x1400c5444
cmp ecx, 4
je 0x1400c5432
cmp ecx, 5
je 0x1400c542b
cmp ecx, 6
jne 0x1400c572c
mov ecx, 0x223
call fcn.1400868b8
mov rdx, rax
mov r8, r13
mov rcx, rsi
call fcn.14008c7ec
jmp 0x1400c571e
mov ecx, 0x24e
jmp 0x1400c5413
mov rcx, rbp
call fcn.140078d7c
mov ecx, 0x212
jmp 0x1400c5705
mov rcx, rbp
call fcn.140078d7c
mov ecx, 0x211
jmp 0x1400c5705
mov rcx, rbp
call fcn.140078d7c
cmp dword [0x14019b088], 1
mov ecx, r12d
mov rbx, rax
setne cl
add ecx, 0x20f
call fcn.1400868b8
mov r8, rax
mov r9, rbx
mov rdx, r13
mov rcx, rsi
call fcn.1400026d0
test dil, dil
jne 0x1400c54de
cmp dword [0x140142c48], r12d
mov ebx, dword [0x140165254]
je 0x1400c54a8
cmp qword [0x140143d30], 1
ja 0x1400c54b4
mov byte [0x14019d718], r12b
cmp ebx, 1
ja 0x1400c54bb
mov byte [0x14019d718], 1
lea rcx, [0x140165250]
call fcn.140005998
test eax, eax
je 0x1400c54d7
mov byte [0x14019d719], 1
cmp ebx, 1
ja 0x1400c54de
mov byte [0x14019d719], r12b
lea rax, str.CMDWNDADD
jmp 0x1400c5725
lea rax, str.CMDWNDADD
mov qword [0x14019da08], rax
test dil, dil
jne 0x1400c5735
mov byte [0x14019d718], 1
mov word [0x14019b090], r12w
mov word [0x14019d290], r12w
mov word [0x14019d720], r12w
mov qword [0x14019d788], r12
mov qword [0x14019d7a8], r12
mov qword [0x14019d7a0], r12
mov qword [0x14019d798], r12
mov qword [0x14019d790], r12
mov byte [0x14019d784], r12b
mov byte [0x14019d785], r12b
mov dword [0x14019d71c], r12d
call fcn.1400f2fbc
mov dword [0x14019b08c], eax
mov qword [0x14019b080], r12
mov word [0x14019d7b0], r12w
mov qword [0x14019d710], r12
call fcn.1400490ac
mov byte [0x14019d787], r12b
mov byte [0x14019da10], r12b
call fcn.1400c2cc0
movzx r8d, al
lea rdx, str.SystemProgressBar
lea rcx, [0x14010aca0]
call fcn.14009dbd0
test eax, eax
setne byte [0x14019d71a]
call fcn.14006bbc0
cmp eax, 0x601
lea rdx, str.TaskbarProgressBar
mov r8d, r12d
lea rcx, [0x14010aca0]
setae r8b
call fcn.14009dbd0
test eax, eax
setne byte [0x14019d71b]
cmp dword [0x14019b088], 2
ja 0x1400c5600
mov eax, dword [0x140142c48]
neg eax
mov qword [0x140143d38], r12
sbb rcx, rcx
and qword [0x140143d50], rcx
mov rdx, qword [0x14019da08]
mov r8d, 5
mov rcx, qword [0x1401790a0]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x1401790a0]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x1401790a0]
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.1400ed5e0
cmp dword [0x140142c48], 1
je 0x1400c5741
mov rcx, qword [0x140142ba0]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c5741
mov bl, r12b
jmp 0x1400c5770
mov ecx, 0x672
jmp 0x1400c5413
sub ecx, 8
je 0x1400c56f8
sub ecx, 1
je 0x1400c56ef
sub ecx, 1
je 0x1400c56ce
sub ecx, 1
je 0x1400c56c4
sub ecx, 1
je 0x1400c56ba
cmp ecx, 1
jne 0x1400c572c
lea rax, str.CMDWNDBENCH
jmp 0x1400c5725
mov ecx, 0x556
jmp 0x1400c5413
mov ecx, 0x543
jmp 0x1400c5413
mov ecx, 0x50b
call fcn.1400868b8
mov rdx, rax
mov r8, r13
mov rcx, rsi
call fcn.14008c7ec
lea rax, str.CMDWNDCONVERT
jmp 0x1400c5725
lea rax, str.CMDWNDFIND
jmp 0x1400c5725
mov rcx, rbp
call fcn.140078d7c
mov ecx, 0x216
mov rbx, rax
call fcn.1400868b8
mov r9, rbx
mov r8, rax
mov rdx, r13
mov rcx, rsi
call fcn.1400026d0
lea rax, str.CMDWNDOTHER
mov qword [0x14019da08], rax
test dil, dil
je 0x1400c5508
call fcn.1400c7008
xor al, al
jmp 0x1400c5959
mov ecx, dword [rsi]
mov edx, 0xffff0000
mov eax, ecx
mov bl, 1
and eax, edx
cmp eax, edx
jne 0x1400c5762
and dword [rsi + 0xc], 0x3ff5f7ff
or dword [rsi + 0xc], 0x800a0800
jmp 0x1400c5770
and ecx, 0x3ff5f7ff
or ecx, 0x800a0800
mov dword [rsi], ecx
mov r8, qword [0x140142ba0]
lea r9, [fcn.1400c45c8]
mov rcx, qword [0x1401790a0]
test r14, r14
mov rdx, rsi
mov qword [rsp + 0x20], r12
cmovne r9, r14
cmp dword [0x140142c48], 1
cmove r8, r12
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov qword [0x140142bb8], rax
test bl, bl
je 0x1400c57fc
mov dl, 1
lea rcx, [0x14016a300]
call fcn.1400a7844
mov rcx, qword [0x140142bb8]
mov ebx, 0x80
mov edx, ebx
mov r9, rax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [0x14016a300]
call fcn.1400a7844
mov rcx, qword [0x140142bb8]
lea r8d, [rbx - 0x7f]
mov r9, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x14019b088], 8
jne 0x1400c58c4
cmp dword [0x14015476c], r12d
jne 0x1400c58c4
cmp word [0x14014f638], r12w
lea rbx, [0x1401177a0]
je 0x1400c5869
lea rcx, [0x14014f638]
call fcn.140078d7c
mov rcx, rax
movzx eax, word [rax]
cmp ax, word [0x14010e788]
jne 0x1400c5854
movzx eax, word [rcx + 2]
mov ecx, 0x215
cmp ax, word [0x14010e78a]
je 0x1400c5859
mov ecx, 0x214
call fcn.1400868b8
mov rdx, rax
mov rcx, rbx
call fcn.1400c3ff4
cmp word [0x14015163e], r12w
je 0x1400c5888
mov ecx, 0x213
call fcn.1400868b8
mov rdx, rax
mov rcx, rbx
call fcn.1400c3ff4
cmp dword [0x140154768], r12d
je 0x1400c58a6
mov ecx, 0x218
call fcn.1400868b8
mov rdx, rax
mov rcx, rbx
call fcn.1400c3ff4
cmp byte [0x140154920], r12b
je 0x1400c58c4
mov ecx, 0x217
call fcn.1400868b8
mov rdx, rax
mov rcx, rbx
call fcn.1400c3ff4
mov rcx, qword [0x140142bb8]
test r15b, r15b
je 0x1400c58e4
xor r9d, r9d
mov edx, 0x111
lea r8d, [r9 + 0x6e]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c58ef
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x14019b088], 2
ja 0x1400c5916
mov rcx, qword [0x140142bb8]
mov r8, rbp
mov edx, 0xa5
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [0x14019c090], r12w
jne 0x1400c5937
mov rcx, qword [0x140142bb8]
lea rdx, [0x14019c090]
mov r8d, r13d
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp qword [0x140142bb8], r12
je 0x1400c573a
call fcn.1400c7008
cmp dword [0x14019b088], r12d
jne 0x1400c5957
call fcn.1400c7268
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