Function at 0x1400d3978
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 [0x140192630]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor r12d, r12d
mov r14, r9
cmp qword [0x14019b708], r12
mov r15b, r8b
mov rbp, rdx
mov word [0x1401faa20], r12w
setne dil
mov esi, ecx
test dil, dil
jne 0x1400d3a00
mov al, r12b
mov byte [0x1401f8a1e], r12b
mov byte [0x1401f8a1d], al
mov byte [0x1401fc0af], r12b
mov byte [0x1401fc140], r12b
mov dword [0x1401f8a18], ecx
mov word [0x1401fbb20], r12w
mov byte [0x1401f8a1c], r12b
mov byte [0x1401fc143], r12b
jmp 0x1400d3a0c
mov al, byte [0x1401f8a1d]
mov ecx, dword [0x1401f8a18]
mov ebx, 0x880
mov r13d, 1
cmp ecx, 8
jg 0x1400d3ba9
je 0x1400d3b97
test ecx, ecx
je 0x1400d3b85
jle 0x1400d3c20
cmp ecx, 2
jle 0x1400d3acd
cmp ecx, 3
je 0x1400d3abe
cmp ecx, 4
je 0x1400d3a90
cmp ecx, 5
je 0x1400d3a89
cmp ecx, 6
je 0x1400d3a82
cmp ecx, 7
jne 0x1400d3c20
mov ecx, 0x672
call fcn.140090e20
mov rdx, rax
lea rcx, [0x1401faa20]
mov r8, rbx
call fcn.140096ef0
lea rax, str.CMDWNDOTHER
jmp 0x1400d3c19
mov ecx, 0x223
jmp 0x1400d3a5f
mov ecx, 0x24e
jmp 0x1400d3a5f
mov rcx, rbp
call fcn.1400810ec
mov ecx, 0x212
mov rbx, rax
call fcn.140090e20
mov r8, rax
lea rcx, [0x1401faa20]
mov r9, rbx
mov edx, 0x880
call fcn.140002910
jmp 0x1400d3a76
mov rcx, rbp
call fcn.1400810ec
mov ecx, 0x211
jmp 0x1400d3a9d
mov rcx, rbp
call fcn.1400810ec
cmp dword [0x1401f8a18], r13d
mov ecx, r12d
mov rbx, rax
setne cl
add ecx, 0x20f
call fcn.140090e20
mov r8, rax
lea rcx, [0x1401faa20]
mov r9, rbx
mov edx, 0x880
call fcn.140002910
test dil, dil
jne 0x1400d3b79
cmp dword [0x14019b724], r12d
je 0x1400d3b1e
cmp qword [0x14019c768], r13
ja 0x1400d3b2e
cmp dword [0x1401c40e4], r13d
mov byte [0x1401f8a1d], r12b
ja 0x1400d3b35
mov byte [0x1401f8a1d], r13b
lea rdx, [rsp + 0xc0]
lea rcx, [0x1401c40e0]
call fcn.140006bb8
cmp byte [rsp + 0x1e2], r12b
je 0x1400d3b72
lea rdx, [0x140142d10]
lea rcx, [rsp + 0xc0]
call fcn.140099fe4
mov byte [0x1401f8a1e], r13b
test eax, eax
je 0x1400d3b79
mov byte [0x1401f8a1e], r12b
lea rax, str.CMDWNDADD
jmp 0x1400d3c19
test dil, dil
movzx eax, al
cmove eax, r13d
mov byte [0x1401f8a1d], al
jmp 0x1400d3b79
mov rcx, rbp
call fcn.1400810ec
mov ecx, 0x216
jmp 0x1400d3a9d
sub ecx, 9
je 0x1400d3c12
sub ecx, r13d
je 0x1400d3bed
sub ecx, r13d
je 0x1400d3be3
sub ecx, r13d
je 0x1400d3bd9
sub ecx, r13d
je 0x1400d3bd0
cmp ecx, r13d
jne 0x1400d3c20
lea rax, str.CMDWNDREAD
jmp 0x1400d3c19
lea rax, str.CMDWNDBENCH
jmp 0x1400d3c19
mov ecx, 0x556
jmp 0x1400d3a5f
mov ecx, 0x543
jmp 0x1400d3a5f
mov ecx, 0x50b
call fcn.140090e20
mov rdx, rax
lea rcx, [0x1401faa20]
mov r8, rbx
call fcn.140096ef0
lea rax, str.CMDWNDCONVERT
jmp 0x1400d3c19
lea rax, str.CMDWNDFIND
mov qword [0x1401fc3a8], rax
test dil, dil
je 0x1400d3c31
call fcn.1400d5758
xor al, al
jmp 0x1400d40c1
call fcn.1400d0390
test al, al
je 0x1400d3c7a
mov rcx, rbp
mov dword [rsp + 0x30], esi
call fcn.140127b08
mov rcx, qword [0x14019b6f0]
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 0x1400d40c1
mov word [0x1401f8a20], r12w
mov word [0x1401fbc20], r12w
mov word [0x1401fc0b0], r12w
mov qword [0x1401fc118], r12
mov qword [0x1401fc138], r12
mov qword [0x1401fc130], r12
mov qword [0x1401fc128], r12
mov qword [0x1401fc120], r12
mov byte [0x1401fc0ad], r12b
mov byte [0x1401fc0ae], r12b
mov dword [0x1401fc114], r12d
call fcn.140126d74
mov dword [0x1401fc0a8], eax
mov qword [0x1401f8a10], r12
mov word [0x1401fc150], r12w
mov qword [0x1401fc0a0], r12
call fcn.14004ecb4
mov byte [0x1401fc141], r12b
mov byte [0x1401fc142], r12b
call fcn.1400d03e8
movzx r8d, al
lea rdx, str.SystemProgressBar
lea rcx, [0x1401434a0]
call fcn.1400a86cc
test eax, eax
setne byte [0x1401f8a1f]
call fcn.140073bfc
cmp eax, 0x601
lea rdx, str.TaskbarProgressBar
mov r8d, r12d
lea rcx, [0x1401434a0]
setae r8b
call fcn.1400a86cc
test eax, eax
setne byte [0x1401fc0ac]
cmp dword [0x1401f8a18], 2
ja 0x1400d3d72
mov eax, dword [0x14019b724]
neg eax
mov qword [0x14019c770], r12
sbb rcx, rcx
and qword [0x14019c788], rcx
mov rdx, qword [0x1401fc3a8]
mov r8d, 5
mov rcx, qword [0x1401d5590]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x1401d5590]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x1401d5590]
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.140120d20
cmp dword [0x14019b724], r13d
je 0x1400d3df0
mov rcx, qword [0x14019b6f0]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400d3df0
mov dil, r12b
jmp 0x1400d3e29
cmp dword [0x1401f8a18], 0xe
mov dil, r13b
je 0x1400d3e29
mov ecx, dword [rsi]
mov edx, 0xffff0000
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x1400d3e1b
and dword [rsi + 0xc], 0x3ff5f7ff
or dword [rsi + 0xc], 0x800a0800
jmp 0x1400d3e29
and ecx, 0x3ff5f7ff
or ecx, 0x800a0800
mov dword [rsi], ecx
mov r8, qword [0x14019b6f0]
lea r9, [fcn.1400d27d0]
mov rcx, qword [0x1401d5590]
test r14, r14
mov rdx, rsi
mov qword [rsp + 0x20], r12
cmovne r9, r14
cmp dword [0x14019b724], r13d
cmove r8, r12
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov qword [0x14019b708], rax
test dil, dil
je 0x1400d3eb6
mov dl, r13b
lea rcx, [0x1401c9200]
call fcn.1400b2eb0
mov rcx, qword [0x14019b708]
mov ebx, 0x80
mov edx, ebx
mov r9, rax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [0x1401c9200]
call fcn.1400b2eb0
mov rcx, qword [0x14019b708]
mov r9, rax
mov r8, r13
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1401f8a18], 0xe
jne 0x1400d3eee
mov rcx, qword [0x14019b708]
xor r8d, r8d
mov edx, 0x9a
call fcn.140010b28
mov rcx, qword [0x14019b708]
xor r8d, r8d
mov edx, 0xa3
call fcn.140010b28
mov byte [0x1401fc140], r13b
cmp dword [0x1401f8a18], 8
jne 0x1400d3fb6
cmp dword [0x1401af2fc], r12d
jne 0x1400d3fb6
cmp word [0x1401aa1c8], r12w
lea rbx, str.___s
je 0x1400d3f5b
lea rcx, [0x1401aa1c8]
call fcn.1400810ec
mov rcx, rax
movzx eax, word [rax]
cmp ax, word [0x140146f10]
jne 0x1400d3f46
movzx eax, word [rcx + 2]
mov ecx, 0x215
cmp ax, word [0x140146f12]
je 0x1400d3f4b
mov ecx, 0x214
call fcn.140090e20
mov rdx, rax
mov rcx, rbx
call fcn.1400d2034
cmp word [0x1401ac1ce], r12w
je 0x1400d3f7a
mov ecx, 0x213
call fcn.140090e20
mov rdx, rax
mov rcx, rbx
call fcn.1400d2034
cmp dword [0x1401af2f8], r12d
je 0x1400d3f98
mov ecx, 0x218
call fcn.140090e20
mov rdx, rax
mov rcx, rbx
call fcn.1400d2034
cmp byte [0x1401af5e0], r12b
je 0x1400d3fb6
mov ecx, 0x217
call fcn.140090e20
mov rdx, rax
mov rcx, rbx
call fcn.1400d2034
test r15b, r15b
je 0x1400d3fd6
mov rcx, qword [0x14019b708]
mov edx, 0x111
xor r9d, r9d
lea r8d, [rdx - 0x69]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400d401e
mov eax, dword [0x1401f8a18]
sub eax, 0xe
neg eax
sbb ebx, ebx
and ebx, 5
test dil, dil
je 0x1400d400f
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [rsp + 0x8c], r13b
je 0x1400d400f
movzx eax, word [rsp + 0x90]
neg ax
sbb ecx, ecx
and ebx, ecx
mov rcx, qword [0x14019b708]
mov edx, ebx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x1401f8a18]
cmp eax, 2
jbe 0x1400d4037
cmp eax, 0xe
jne 0x1400d407a
mov rcx, qword [0x14019b708]
mov ebx, 0xa6
mov edx, ebx
mov r8, rbp
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [0x14019b708]
mov edx, ebx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call fcn.14004b780
mov r8d, 0x800
lea rcx, [0x1401f9a20]
mov rdx, rbp
call fcn.140096ef0
cmp word [0x1401faa20], r12w
jne 0x1400d409e
mov rcx, qword [0x14019b708]
lea rdx, [0x1401faa20]
mov r8d, 0x880
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp qword [0x14019b708], r12
je 0x1400d3c2a
call fcn.1400d5758
cmp dword [0x1401f8a18], r12d
jne 0x1400d40be
call fcn.1400d5a94
mov al, r13b
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140101680
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret