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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x4a40
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x4a30], rax
xor r14d, r14d
mov r12, r9
mov r13b, r8b
cmp qword [0x1400fec08], r14
mov rbp, rdx
mov word [0x140124e30], r14w
setne sil
cmp sil, r14b
jne 0x14008a08c
mov byte [0x140124896], r14b
mov byte [0x140124895], r14b
mov dword [0x14012489c], ecx
mov word [0x140124d30], r14w
jmp 0x14008a092
mov ecx, dword [0x14012489c]
cmp ecx, 6
lea rbx, [0x140124e30]
jg 0x14008a3b4
je 0x14008a3a2
cmp ecx, r14d
je 0x14008a1ed
jle 0x14008a46e
cmp ecx, 2
jle 0x14008a138
cmp ecx, 3
je 0x14008a129
cmp ecx, 4
je 0x14008a0ff
cmp ecx, 5
jne 0x14008a46e
mov ecx, 0x223
call fcn.140061d2c
mov rcx, rbx
mov rdx, rax
movzx eax, word [rdx]
add rdx, 2
mov word [rcx], ax
add rcx, 2
cmp ax, r14w
jne 0x14008a0df
lea rax, str.CMDWNDOTHER
jmp 0x14008a467
mov rcx, rdx
call fcn.140052abc
mov ecx, 0x20d
mov rdi, rax
call fcn.140061d2c
mov r9, rdi
mov edx, 0x480
mov rcx, rbx
mov r8, rax
call fcn.14005b860
jmp 0x14008a0f3
mov rcx, rdx
call fcn.140052abc
mov ecx, 0x20c
jmp 0x14008a10c
mov rcx, rdx
call fcn.140052abc
cmp dword [0x14012489c], 1
mov ecx, r14d
setne cl
mov rdi, rax
add ecx, 0x20a
call fcn.140061d2c
mov r9, rdi
mov edx, 0x480
mov r8, rax
mov rcx, rbx
call fcn.14005b860
cmp sil, r14b
jne 0x14008a1e1
cmp dword [0x1400fec18], r14d
je 0x14008a186
cmp qword [0x1400ff4b8], 1
ja 0x14008a1b2
cmp dword [0x1401063c4], r14d
je 0x14008a1b2
lea rcx, [0x140105fb0]
call fcn.1400129e8
cmp eax, r14d
jne 0x14008a1a9
cmp dword [0x1401063c4], 1
je 0x14008a1b2
mov byte [0x140124896], r14b
jmp 0x14008a1b9
mov byte [0x140124896], 1
lea rcx, [0x140105fb0]
call fcn.1400129e8
cmp eax, r14d
je 0x14008a1da
mov byte [0x140124895], 1
cmp dword [0x1401063c4], r14d
jne 0x14008a1e1
mov byte [0x140124895], r14b
lea rax, str.CMDWNDADD
jmp 0x14008a467
lea rax, str.CMDWNDADD
mov qword [0x1401245a8], rax
cmp sil, r14b
jne 0x14008a477
mov byte [0x140124896], 1
mov byte [0x140125f30], r14b
mov word [0x140125730], r14w
mov word [0x140124930], r14w
mov word [0x140124830], r14w
mov qword [0x140124828], r14
mov qword [0x140124608], r14
mov qword [0x140124810], r14
mov qword [0x140124818], r14
mov qword [0x140124820], r14
mov byte [0x1401245a2], r14b
mov byte [0x1401245a1], r14b
mov dword [0x1401245a4], r14d
call fcn.1400a95fc
mov qword [0x1401248a8], r14
mov word [0x140124610], r14w
mov dword [0x140124898], eax
mov qword [0x1401248a0], r14
call fcn.140050068
mov byte [0x1401245a0], r14b
call fcn.1400867d8
lea rdx, str.SystemProgressBar
lea rcx, [0x1400c4ad8]
movzx r8d, al
call fcn.14005c420
cmp eax, r14d
setne byte [0x140124894]
call fcn.14003ec88
mov r8d, r14d
cmp eax, 0x601
lea rdx, str.TaskbarProgressBar
lea rcx, [0x1400c4ad8]
setae r8b
call fcn.14005c420
cmp eax, r14d
mov eax, dword [0x14012489c]
setne byte [0x1401245a3]
cmp eax, r14d
je 0x14008a2f8
cmp eax, 1
je 0x14008a2f8
cmp eax, 2
jne 0x14008a318
mov eax, dword [0x1400fec18]
mov qword [0x1400ffcd8], r14
neg eax
sbb rcx, rcx
and rcx, qword [0x1400ff4b0]
mov qword [0x1400ff4b0], rcx
mov rdx, qword [0x1401245a8]
mov rcx, qword [0x1400ec660]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x1400ec660]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x1400ec660]
mov rdx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
xor ecx, ecx
movsxd rdi, eax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call fcn.1400a8e30
cmp dword [0x1400fec18], 1
je 0x14008a483
mov rcx, qword [0x1400ffd80]
call qword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, r14d
je 0x14008a483
mov dil, r14b
jmp 0x14008a4b3
mov rcx, rdx
call fcn.140052abc
mov ecx, 0x211
jmp 0x14008a10c
sub ecx, 7
je 0x14008a460
sub ecx, 1
je 0x14008a433
sub ecx, 1
je 0x14008a40a
sub ecx, 1
je 0x14008a3e1
cmp ecx, 1
jne 0x14008a46e
lea rax, str.CMDWNDBENCH
jmp 0x14008a467
mov ecx, 0x556
call fcn.140061d2c
mov rcx, rbx
mov rdx, rax
movzx eax, word [rdx]
add rdx, 2
mov word [rcx], ax
add rcx, 2
cmp ax, r14w
jne 0x14008a3f1
jmp 0x14008a0f3
mov ecx, 0x543
call fcn.140061d2c
mov rcx, rbx
mov rdx, rax
movzx eax, word [rdx]
add rdx, 2
mov word [rcx], ax
add rcx, 2
cmp ax, r14w
jne 0x14008a41a
jmp 0x14008a0f3
mov ecx, 0x50b
call fcn.140061d2c
mov rcx, rbx
mov rdx, rax
movzx eax, word [rdx]
add rdx, 2
mov word [rcx], ax
add rcx, 2
cmp ax, r14w
jne 0x14008a443
lea rax, str.CMDWNDCONVERT
jmp 0x14008a467
lea rax, str.CMDWNDFIND
mov qword [0x1401245a8], rax
cmp sil, r14b
je 0x14008a20b
call fcn.140087dc8
xor al, al
jmp 0x14008a753
mov ecx, dword [rbx]
mov edx, 0xffff0000
mov dil, 1
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x14008a4a5
and dword [rbx + 0xc], 0x3ff5f7ff
or dword [rbx + 0xc], 0x800a0800
jmp 0x14008a4b3
and ecx, 0x3ff5f7ff
or ecx, 0x800a0800
mov dword [rbx], ecx
mov r8, qword [0x1400ffd80]
mov rcx, qword [0x1400ec660]
cmp r12, r14
lea r9, [fcn.140089270]
mov rdx, rbx
mov qword [rsp + 0x20], r14
cmovne r9, r12
cmp dword [0x1400fec18], 1
cmove r8, r14
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov qword [0x1400fec08], rax
cmp dil, r14b
je 0x14008a540
lea rcx, [0x140107960]
mov dl, 1
call fcn.14006cce4
mov rcx, qword [0x1400fec08]
mov edi, 0x80
xor r8d, r8d
mov edx, edi
mov r9, rax
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [0x140107960]
xor edx, edx
call fcn.14006cce4
mov rcx, qword [0x1400fec08]
lea r8d, [rdi - 0x7f]
mov r9, rax
mov edx, edi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x14012489c], 6
jne 0x14008a69c
mov word [rsp + 0xa30], r14w
lea r12, [0x1400cae20]
mov edi, 0x2000
cmp word [0x140108b40], r14w
je 0x14008a5c3
lea rcx, [0x140108b40]
call fcn.140052abc
lea rdi, [0x1400c410c]
mov ecx, 2
mov rsi, rax
repe cmpsw word [rsi], word [rdi]
mov ecx, 0x210
je 0x14008a596
mov ecx, 0x20f
call fcn.140061d2c
mov edi, 0x2000
lea rcx, [rsp + 0xa30]
mov r8, r12
mov rdx, rdi
mov r9, rax
call fcn.14005b860
lea rcx, [rsp + 0xa30]
call fcn.140087804
cmp word [0x14010a340], r14w
je 0x14008a5fa
mov ecx, 0x20e
call fcn.140061d2c
lea rcx, [rsp + 0xa30]
mov r8, r12
mov r9, rax
mov rdx, rdi
call fcn.14005b860
lea rcx, [rsp + 0xa30]
call fcn.140087804
cmp dword [0x14010bc5c], r14d
je 0x14008a630
mov ecx, 0x214
call fcn.140061d2c
lea rcx, [rsp + 0xa30]
mov r8, r12
mov r9, rax
mov rdx, rdi
call fcn.14005b860
lea rcx, [rsp + 0xa30]
call fcn.140087804
cmp byte [0x14010bd71], r14b
je 0x14008a666
mov ecx, 0x213
call fcn.140061d2c
lea rcx, [rsp + 0xa30]
mov r8, r12
mov r9, rax
mov rdx, rdi
call fcn.14005b860
lea rcx, [rsp + 0xa30]
call fcn.140087804
cmp byte [0x14010bc72], r14b
je 0x14008a69c
mov ecx, 0x349
call fcn.140061d2c
lea rcx, [rsp + 0xa30]
mov r8, r12
mov r9, rax
mov rdx, rdi
call fcn.14005b860
lea rcx, [rsp + 0xa30]
call fcn.140087804
mov rcx, qword [0x1400fec08]
cmp r13b, r14b
je 0x14008a6bc
xor r9d, r9d
mov edx, 0x111
lea r8d, [r9 + 0x6e]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14008a6c7
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [0x14012489c]
cmp edx, r14d
je 0x14008a6e5
cmp edx, 1
je 0x14008a6e5
cmp edx, 2
jne 0x14008a71b
mov ecx, 0x28a
call fcn.140061d2c
lea rcx, [rsp + 0x30]
mov r9, rbp
mov r8, rax
mov edx, 0x500
call fcn.14005b860
mov rcx, qword [0x1400fec08]
lea r8, [rsp + 0x30]
mov edx, 0xa5
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp word [0x140124e30], r14w
jne 0x14008a73f
mov rcx, qword [0x1400fec08]
lea rdx, [0x140124e30]
mov r8d, 0x480
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp qword [0x1400fec08], r14
je 0x14008a47c
call fcn.140087dc8
mov al, 1
mov rcx, qword [rsp + 0x4a30]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x4a40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret