Function at 0x1400d1ec4
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
push r15
sub rsp, 0x2d8
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor r12d, r12d
mov r14, r9
cmp qword [0x140167d30], r12
mov r15b, r8b
mov rbp, rdx
mov word [0x1401c0fe0], r12w
setne dil
mov esi, ecx
test dil, dil
jne 0x1400d1f4c
mov al, r12b
mov byte [0x1401befde], r12b
mov byte [0x1401befdd], al
mov byte [0x1401c266f], r12b
mov byte [0x1401c2700], r12b
mov dword [0x1401befd8], ecx
mov word [0x1401c20e0], r12w
mov byte [0x1401befdc], r12b
mov byte [0x1401c2703], r12b
jmp 0x1400d1f58
mov al, byte [0x1401befdd]
mov ecx, dword [0x1401befd8]
mov ebx, 0x880
mov r13d, 1
cmp ecx, 8
jg 0x1400d20f5
je 0x1400d20e3
test ecx, ecx
je 0x1400d20d1
jle 0x1400d216c
cmp ecx, 2
jle 0x1400d2019
cmp ecx, 3
je 0x1400d200a
cmp ecx, 4
je 0x1400d1fdc
cmp ecx, 5
je 0x1400d1fd5
cmp ecx, 6
je 0x1400d1fce
cmp ecx, 7
jne 0x1400d216c
mov ecx, 0x672
call fcn.1400900b8
mov rdx, rax
lea rcx, [0x1401c0fe0]
mov r8, rbx
call fcn.140096188
lea rax, str.CMDWNDOTHER
jmp 0x1400d2165
mov ecx, 0x223
jmp 0x1400d1fab
mov ecx, 0x24e
jmp 0x1400d1fab
mov rcx, rbp
call fcn.1400802e0
mov ecx, 0x212
mov rbx, rax
call fcn.1400900b8
mov r8, rax
lea rcx, [0x1401c0fe0]
mov r9, rbx
mov edx, 0x880
call fcn.140002810
jmp 0x1400d1fc2
mov rcx, rbp
call fcn.1400802e0
mov ecx, 0x211
jmp 0x1400d1fe9
mov rcx, rbp
call fcn.1400802e0
cmp dword [0x1401befd8], r13d
mov ecx, r12d
mov rbx, rax
setne cl
add ecx, 0x20f
call fcn.1400900b8
mov r8, rax
lea rcx, [0x1401c0fe0]
mov r9, rbx
mov edx, 0x880
call fcn.140002810
test dil, dil
jne 0x1400d20c5
cmp dword [0x140167d48], r12d
je 0x1400d206a
cmp qword [0x140168e80], r13
ja 0x1400d207a
cmp dword [0x14018a714], r13d
mov byte [0x1401befdd], r12b
ja 0x1400d2081
mov byte [0x1401befdd], r13b
lea rdx, [rsp + 0xc0]
lea rcx, [0x14018a710]
call fcn.140006628
cmp byte [rsp + 0x1e2], r12b
je 0x1400d20be
lea rdx, [0x14011c628]
lea rcx, [rsp + 0xc0]
call fcn.140099328
mov byte [0x1401befde], r13b
test eax, eax
je 0x1400d20c5
mov byte [0x1401befde], r12b
lea rax, str.CMDWNDADD
jmp 0x1400d2165
test dil, dil
movzx eax, al
cmove eax, r13d
mov byte [0x1401befdd], al
jmp 0x1400d20c5
mov rcx, rbp
call fcn.1400802e0
mov ecx, 0x216
jmp 0x1400d1fe9
sub ecx, 9
je 0x1400d215e
sub ecx, r13d
je 0x1400d2139
sub ecx, r13d
je 0x1400d212f
sub ecx, r13d
je 0x1400d2125
sub ecx, r13d
je 0x1400d211c
cmp ecx, r13d
jne 0x1400d216c
lea rax, str.CMDWNDREAD
jmp 0x1400d2165
lea rax, str.CMDWNDBENCH
jmp 0x1400d2165
mov ecx, 0x556
jmp 0x1400d1fab
mov ecx, 0x543
jmp 0x1400d1fab
mov ecx, 0x50b
call fcn.1400900b8
mov rdx, rax
lea rcx, [0x1401c0fe0]
mov r8, rbx
call fcn.140096188
lea rax, str.CMDWNDCONVERT
jmp 0x1400d2165
lea rax, str.CMDWNDFIND
mov qword [0x1401c2968], rax
test dil, dil
je 0x1400d217d
call fcn.1400d3c90
xor al, al
jmp 0x1400d260d
call fcn.1400ceb70
test al, al
je 0x1400d21c6
mov rcx, rbp
mov dword [rsp + 0x30], esi
call fcn.14010347c
mov rcx, qword [0x140166d18]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 0x800f
mov byte [rsp + 0x40], r15b
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
setne al
jmp 0x1400d260d
mov word [0x1401befe0], r12w
mov word [0x1401c21e0], r12w
mov word [0x1401c2670], r12w
mov qword [0x1401c26d8], r12
mov qword [0x1401c26f8], r12
mov qword [0x1401c26f0], r12
mov qword [0x1401c26e8], r12
mov qword [0x1401c26e0], r12
mov byte [0x1401c266d], r12b
mov byte [0x1401c266e], r12b
mov dword [0x1401c26d4], r12d
call fcn.140103154
mov dword [0x1401c2668], eax
mov qword [0x1401befd0], r12
mov word [0x1401c2710], r12w
mov qword [0x1401c2660], r12
call fcn.14004e824
mov byte [0x1401c2701], r12b
mov byte [0x1401c2702], r12b
call fcn.1400cebc8
movzx r8d, al
lea rdx, str.SystemProgressBar
lea rcx, [0x14011cdc0]
call fcn.1400a789c
test eax, eax
setne byte [0x1401befdf]
call fcn.140072e10
cmp eax, 0x601
lea rdx, str.TaskbarProgressBar
mov r8d, r12d
lea rcx, [0x14011cdc0]
setae r8b
call fcn.1400a789c
test eax, eax
setne byte [0x1401c266c]
cmp dword [0x1401befd8], 2
ja 0x1400d22be
mov eax, dword [0x140167d48]
neg eax
mov qword [0x140168e88], r12
sbb rcx, rcx
and qword [0x140168ea0], rcx
mov rdx, qword [0x1401c2968]
mov r8d, 5
mov rcx, qword [0x14019bb50]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x14019bb50]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x14019bb50]
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.1400fd890
cmp dword [0x140167d48], r13d
je 0x1400d233c
mov rcx, qword [0x140166d18]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400d233c
mov dil, r12b
jmp 0x1400d2375
cmp dword [0x1401befd8], 0xe
mov dil, r13b
je 0x1400d2375
mov ecx, dword [rsi]
mov edx, 0xffff0000
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x1400d2367
and dword [rsi + 0xc], 0x3ff5f7ff
or dword [rsi + 0xc], 0x800a0800
jmp 0x1400d2375
and ecx, 0x3ff5f7ff
or ecx, 0x800a0800
mov dword [rsi], ecx
mov r8, qword [0x140166d18]
lea r9, [fcn.1400d0e00]
mov rcx, qword [0x14019bb50]
test r14, r14
mov rdx, rsi
mov qword [rsp + 0x20], r12
cmovne r9, r14
cmp dword [0x140167d48], r13d
cmove r8, r12
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov qword [0x140167d30], rax
test dil, dil
je 0x1400d2402
mov dl, r13b
lea rcx, [0x14018f7c0]
call fcn.1400b1d58
mov rcx, qword [0x140167d30]
mov ebx, 0x80
mov edx, ebx
mov r9, rax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [0x14018f7c0]
call fcn.1400b1d58
mov rcx, qword [0x140167d30]
mov r9, rax
mov r8, r13
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1401befd8], 0xe
jne 0x1400d243a
mov rcx, qword [0x140167d30]
xor r8d, r8d
mov edx, 0x9a
call fcn.1400102f0
mov rcx, qword [0x140167d30]
xor r8d, r8d
mov edx, 0xa3
call fcn.1400102f0
mov byte [0x1401c2700], r13b
cmp dword [0x1401befd8], 8
jne 0x1400d2502
cmp dword [0x1401799cc], r12d
jne 0x1400d2502
cmp word [0x140174898], r12w
lea rbx, str.___s
je 0x1400d24a7
lea rcx, [0x140174898]
call fcn.1400802e0
mov rcx, rax
movzx eax, word [rax]
cmp ax, word [0x1401208c8]
jne 0x1400d2492
movzx eax, word [rcx + 2]
mov ecx, 0x215
cmp ax, word [0x1401208ca]
je 0x1400d2497
mov ecx, 0x214
call fcn.1400900b8
mov rdx, rax
mov rcx, rbx
call fcn.1400d066c
cmp word [0x14017689e], r12w
je 0x1400d24c6
mov ecx, 0x213
call fcn.1400900b8
mov rdx, rax
mov rcx, rbx
call fcn.1400d066c
cmp dword [0x1401799c8], r12d
je 0x1400d24e4
mov ecx, 0x218
call fcn.1400900b8
mov rdx, rax
mov rcx, rbx
call fcn.1400d066c
cmp byte [0x140179cb0], r12b
je 0x1400d2502
mov ecx, 0x217
call fcn.1400900b8
mov rdx, rax
mov rcx, rbx
call fcn.1400d066c
test r15b, r15b
je 0x1400d2522
mov rcx, qword [0x140167d30]
mov edx, 0x111
xor r9d, r9d
lea r8d, [rdx - 0x69]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400d256a
mov eax, dword [0x1401befd8]
sub eax, 0xe
neg eax
sbb ebx, ebx
and ebx, 5
test dil, dil
je 0x1400d255b
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [rsp + 0x8c], r13b
je 0x1400d255b
movzx eax, word [rsp + 0x90]
neg ax
sbb ecx, ecx
and ebx, ecx
mov rcx, qword [0x140167d30]
mov edx, ebx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x1401befd8]
cmp eax, 2
jbe 0x1400d2583
cmp eax, 0xe
jne 0x1400d25c6
mov rcx, qword [0x140167d30]
mov ebx, 0xa6
mov edx, ebx
mov r8, rbp
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [0x140167d30]
mov edx, ebx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.14004b2fc
mov r8d, 0x800
lea rcx, [0x1401bffe0]
mov rdx, rbp
call fcn.140096188
cmp word [0x1401c0fe0], r12w
jne 0x1400d25ea
mov rcx, qword [0x140167d30]
lea rdx, [0x1401c0fe0]
mov r8d, 0x880
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp qword [0x140167d30], r12
je 0x1400d2176
call fcn.1400d3c90
cmp dword [0x1401befd8], r12d
jne 0x1400d260a
call fcn.1400d3fcc
mov al, r13b
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400fc4d0
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret