joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400278a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x30], 0
mov rdi, rdx
mov rsi, rcx
movzx r15d, r9b
mov rdx, r8
lea rcx, [rbp - 0x30]
mov r14, r8
call fcn.140027320
mov ebx, eax
test eax, eax
je 0x1400278f0
jle 0x140027a43
movzx ebx, ax
jmp 0x1400279c7
cmp qword [rdi + 0x18], 8
lea r9d, [r15*2 + 1]
mov eax, dword [rdi + 0x10]
lea ecx, [rax*2 + 2]
mov rax, rdi
jb 0x14002790f
mov rax, qword [rdi]
cmp qword [rsi + 0x18], 8
mov rdx, rsi
jb 0x14002791c
mov rdx, qword [rsi]
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400279cf
call fcn.140008d5c
cmp dword [rax], 3
jbe 0x1400279c0
cmp qword [rdi + 0x18], 8
jb 0x140027956
mov rdi, qword [rdi]
cmp qword [r14 + 0x18], 8
mov qword [rbp - 0x28], rdi
jb 0x140027964
mov r14, qword [r14]
cmp qword [rsi + 0x18], 8
mov qword [rbp - 0x20], r14
jb 0x140027972
mov rsi, qword [rsi]
lea rcx, str.Failed_to_set_registry_key
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rcx
lea rdx, [0x14003a65a]
lea rcx, [rbp - 0x28]
mov dword [rbp + 0x40], ebx
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140001a18
test ebx, ebx
jle 0x140027a43
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140027a43
call fcn.140008d5c
cmp dword [rax], 4
jbe 0x140027a41
cmp qword [rdi + 0x18], 8
jb 0x1400279e3
mov rdi, qword [rdi]
cmp qword [r14 + 0x18], 8
mov qword [rbp - 0x10], rdi
jb 0x1400279f1
mov r14, qword [r14]
cmp qword [rsi + 0x18], 8
mov qword [rbp - 0x18], r14
jb 0x1400279ff
mov rsi, qword [rsi]
lea rcx, str.Write_registry_value
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x28], rcx
lea rdx, [0x14003a573]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140001b78
xor ebx, ebx
lea rcx, [rbp - 0x30]
call fcn.14000dfec
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140027dc0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x20], 0
mov rdi, rcx
lea rcx, [rbp - 0x20]
mov rdx, r8
mov rsi, r8
call fcn.140027320
mov ebx, eax
test eax, eax
je 0x140027e03
jle 0x140027f35
movzx ebx, ax
jmp 0x140027ec1
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x140027e10
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x20]
lea rax, [rbp + 0x28]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x140027ec9
call fcn.140008d5c
cmp dword [rax], 3
jbe 0x140027eba
cmp qword [rsi + 0x18], 8
mov ecx, dword [rbp + 0x28]
mov dword [rbp + 0x38], ecx
jb 0x140027e5e
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
mov qword [rbp - 0x18], rsi
jb 0x140027e6c
mov rdi, qword [rdi]
lea rcx, str.Failed_to_set_registry_key
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rcx
lea rdx, [0x14003a75a]
lea rcx, [rbp + 0x38]
mov dword [rbp + 0x40], ebx
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400017e0
test ebx, ebx
jle 0x140027f35
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140027f35
call fcn.140008d5c
cmp dword [rax], 4
jbe 0x140027f33
cmp qword [rsi + 0x18], 8
mov ecx, dword [rbp + 0x28]
mov dword [rbp + 0x38], ecx
jb 0x140027ee3
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
mov qword [rbp - 8], rsi
jb 0x140027ef1
mov rdi, qword [rdi]
lea rcx, str.Write_registry_value
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x18], rcx
lea rdx, [0x14003a719]
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140001cc8
xor ebx, ebx
lea rcx, [rbp - 0x20]
call fcn.14000dfec
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
push rsi
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
add r8, rdx
push rax
jrcxz 0x1400040ca
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
ror r9d, 0xd
lodsb al, byte [rsi]
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x140006980
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rsi, qword [rsp + 0x3a8]
mov rbp, rcx
mov ecx, 0x810
mov rbx, r9
mov r13d, r8d
mov r14, rdx
call fcn.1400a9554
mov rcx, r14
mov dword [rax], r13d
mov qword [rax + 8], rbx
mov r12, rax
call fcn.14006b38c
lea rdx, [r12 + 0x10]
xor r15d, r15d
movzx ecx, word [rax]
add rax, 2
mov word [rdx], cx
add rdx, 2
cmp cx, r15w
jne 0x1400069e1
cmp dword [rbp + 8], 0x50000
jb 0x140006a11
call fcn.14003ed2c
cmp eax, 0x400
mov al, byte [rsp + 0x3c0]
jne 0x140006a14
mov al, r15b
mov ebx, dword [rsp + 0x3a0]
or rdi, 0xffffffffffffffff
cmp al, r15b
jne 0x140006a6f
cmp ebx, edi
je 0x140006a2d
cmp rsi, r15
jne 0x140006a6f
mov eax, 0x4201
cmp r13d, 2
lea r8, [rsp + 0x70]
lea ecx, [rax + 2]
mov r9d, 0x2b8
cmove eax, ecx
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, edi
cmove ebx, dword [rsp + 0x78]
cmp rsi, r15
lea rax, [rsp + 0x80]
cmovne rax, rsi
mov rsi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
call fcn.1400a9314
mov rax, qword [rsp + 0x3b8]
mov rcx, qword [rbp]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x3b0]
cmp rsi, r15
cmovne rdi, rsi
lea r9, [rsp + 0x30]
mov edx, 0x40b
xor r8d, r8d
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x30], 0x37
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000777c
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x350
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x348], rax
cmp dword [rcx + 8], 0
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
jne 0x1400077bc
lea rcx, str.comctl32.dll
call fcn.140085ed4
mov dword [rbx + 8], eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400077ca
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
or r12, 0xffffffffffffffff
lea rdx, str.ComboBoxEx32
mov qword [rbx + 0x10], r12
mov rax, qword [0x1400ec658]
mov r9d, 0x44200046
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0xdc
mov dword [rsp + 0x30], 0x3c
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r8, [rsp + 0x68]
xor edx, edx
xor ecx, ecx
mov qword [rbx], rax
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0x70]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4209
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rbx]
xor r8d, r8d
mov r9, rax
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x140126b70]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], r12
and dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x78]
lea r8d, [r12 + 2]
lea rdx, [rsp + 0x80]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.140006980
mov rcx, qword [rbx]
lea r8d, [r12 + 5]
xor r9d, r9d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400078eb
mov rcx, rax
call fcn.1400875b8
and qword [rsp + 0x60], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140007917
mov rdx, qword [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.140006e94
test al, al
jne 0x14000797c
call fcn.14008630c
xor edi, edi
mov esi, eax
bt esi, edi
jae 0x140007975
lea r9d, [rdi + 0x41]
lea r8, [0x1400c3260]
lea rcx, [rsp + 0x330]
mov edx, 0xa
call fcn.1400287d0
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 2
and qword [rsp + 0x28], 0
lea rdx, [rsp + 0x330]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.140006980
inc edi
cmp edi, 0x20
jl 0x140007920
mov rcx, rbx
call fcn.1400074d8
mov rcx, qword [rsp + 0x348]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x388]
add rsp, 0x350
pop r12
pop rdi
pop rsi
ret
Function at 0x1400079a8
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x830
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rbx, rcx
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.140046fb8
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x140007a37
mov rcx, qword [rbx]
xor r9d, r9d
mov r8, rax
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140007658
cmp byte [0x1400fec05], 0
mov rcx, rbx
je 0x140007a30
call fcn.1400072b8
jmp 0x140007a92
call fcn.140006dec
jmp 0x140007a92
cmp byte [0x1400fec05], 0
je 0x140007a61
lea rcx, [rsp + 0x20]
call fcn.140053d90
test al, al
jne 0x140007a61
lea rdx, [rsp + 0x20]
lea rcx, [0x1401055a0]
call fcn.140044af0
jmp 0x140007a92
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140007a88
test al, 0x10
jne 0x140007a88
lea rdx, [rsp + 0x20]
lea rcx, [0x1401055a0]
call fcn.1400450c0
jmp 0x140007a92
lea rcx, [rsp + 0x20]
call fcn.14008f644
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x830
pop rbx
ret

Function at 0x140007aac
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, qword [rsp + 0x340]
mov r11, r9
mov eax, r8d
mov r10, rdx
cmp r8d, 0x4e
jne 0x140007baa
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x140007b16
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x140007b0f
cmp dword [rbx + 0x228], 2
jne 0x140007b0f
lea rcx, [0x1400ffd88]
call fcn.1400079a8
xor eax, eax
jmp 0x140007bbb
mov rax, qword [rbx + 0x48]
mov ebp, dword [rbx + 0x18]
mov ecx, dword [rax]
cmp ecx, 4
jne 0x140007b2a
mov rsi, qword [rax + 8]
jmp 0x140007b2e
lea rsi, [rax + 0x10]
xor edi, edi
cmp ecx, 4
lea eax, [rdi + 8]
cmove edi, eax
test bpl, 1
je 0x140007b6d
mov eax, edi
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
bts eax, 9
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140007b6d
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test bpl, 6
je 0x140007ba0
or edi, 0x4001
lea r8, [rsp + 0x30]
mov r9d, 0x2b8
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], edi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r11d, dword [rsp + 0x38]
mov dword [rbx + 0x38], r11d
mov dword [rbx + 0x34], r11d
bts dword [rbx + 0x18], 0x1c
jmp 0x140007b0f
mov r9, rbx
mov r8, r11
mov edx, eax
mov rcx, r10
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010fa4
Capabilities:
Get common file path
Get disk information
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x840
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rbx, rdx
mov byte [rdx], 0
lea r9, [0x1400c3786]
lea rdx, str.TempFolder
lea r8, [rsp + 0x30]
lea rcx, [0x1400c3760]
mov esi, 0x400
mov dword [rsp + 0x20], esi
call fcn.14005c8b0
cmp byte [rsp + 0x30], 0
jne 0x140011012
cmp byte [0x14010d6d0], 0
je 0x1400110dd
lea rdx, [rsp + 0x30]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jle 0x140011045
cmp eax, esi
jae 0x140011045
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov r8, rsi
call fcn.1400a9e28
lea rcx, [rsp + 0x30]
xor edx, edx
call fcn.1400310fc
test al, al
jne 0x140011062
lea rdx, [rsp + 0x30]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, str.TempRemovableOnly
lea rcx, [0x1400c3760]
mov r8d, 1
call fcn.14005c490
test eax, eax
je 0x1400110b8
cmp byte [0x14010d6d0], 0
jne 0x1400110b8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x14001109a
cmp eax, 5
jne 0x1400110d5
lea rax, [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x30]
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x1400110aa
jmp 0x1400110d5
lea rax, [rsp + 0x30]
mov r8, rbx
lea rdx, [rsp + 0x30]
sub r8, rax
mov al, byte [rdx]
mov byte [r8 + rdx], al
inc rdx
test al, al
jne 0x1400110c8
mov rcx, rbx
call fcn.140052fb0
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x850]
add rsp, 0x840
pop rsi
ret
Function at 0x140018718
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rdi
push r12
mov eax, 0x1690
call fcn.1400baa60
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x16b8], rbx
mov qword [rsp + 0x16c8], rbp
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1680], rax
mov r12, r8
mov bpl, dl
mov rbx, rcx
mov rax, qword [rcx + 0x1450]
cmp byte [rcx + 0x8f5d], 0
je 0x1400188fe
cmp byte [rax + 0x3975], 0
jne 0x1400188fe
cmp byte [rcx + 0x8f58], 0
jne 0x1400188fe
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140063a48
nop
movzx edx, word [rbx + 0x685c]
shl rdx, 0x20
mov eax, dword [rbx + 0x6860]
add rdx, rax
xor r8d, r8d
mov rcx, rbx
call fcn.1400307bc
mov rcx, rbx
call fcn.14000efc8
test bpl, bpl
je 0x1400187f8
mov r8d, 0x200
lea rdx, [rsp + 0x1280]
mov rcx, qword [0x1400fec08]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0x34a
call fcn.140061d94
mov rcx, rax
call fcn.1400877dc
call fcn.140087f58
xor edx, edx
mov r8d, 0x1238
lea rcx, [rsp + 0x40]
call fcn.1400a9314
mov eax, dword [rbx + 0x682c]
sub eax, 0x76
je 0x140018863
mov ecx, 3
sub eax, ecx
je 0x140018851
cmp eax, 1
jne 0x14001888b
lea rsi, [rbx + 0x75b0]
lea rdi, [0x1400c34e0]
repe cmpsb byte [rsi], byte [rdi]
jne 0x140018847
lea r8, [rsp + 0x40]
mov dl, bpl
mov rcx, rbx
call fcn.140017ee4
jmp 0x14001888b
mov byte [rsp + 0x1276], 1
jmp 0x14001888b
lea r8, [rsp + 0x40]
mov dl, bpl
mov rcx, rbx
call fcn.1400176ac
jmp 0x14001888b
test byte [rbx + 0x6858], 0x20
jne 0x14001887b
lea rcx, [rsp + 0x20]
call fcn.140063a80
jmp 0x1400188fe
lea r8, [rsp + 0x40]
mov dl, bpl
mov rcx, rbx
call fcn.140017b54
test bpl, bpl
je 0x1400188a2
lea rcx, [rsp + 0x1280]
call fcn.1400877dc
call fcn.140087f58
test r12, r12
je 0x1400188ba
mov r8d, 0x1238
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.1400a8fe0
cmp byte [rsp + 0x1276], 0
je 0x1400188f4
test bpl, bpl
je 0x1400188f4
mov ecx, 0x2a9
call fcn.140061d94
mov rdx, rax
lea rcx, [rbx + 0x420]
call fcn.14009666c
mov edx, 1
lea rcx, [0x1400ec668]
call fcn.140028678
nop
lea rcx, [rsp + 0x20]
call fcn.140063a80
mov rcx, qword [rsp + 0x1680]
xor rcx, rsp
call fcn.1400a86e0
lea r11, [rsp + 0x1690]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x14001dd94
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1400c45b8]
call fcn.1400aaf20
test rax, rax
je 0x14001ddb9
mov rdx, rax
mov rcx, rbx
call fcn.14001dbcc
add rsp, 0x20
pop rbx
ret
Function at 0x1400205dc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor r8d, r8d
lea r9, [0x1400e8690]
mov r10d, r8d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x1400205ef
inc r8d
mov dword [r9], r10d
add r9, 4
cmp r8d, 0x100
jl 0x1400205e6
repz ret

Function at 0x140020624
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, r8
mov rbp, rdx
mov ebx, ecx
cmp dword [0x1400e8694], esi
jne 0x14002064f
call fcn.1400205dc
lea r9, [0x1400e8690]
jmp 0x140020679
test bpl, 7
je 0x14002067e
movzx ecx, byte [rbp]
movzx eax, bl
dec rdi
xor rcx, rax
mov eax, ebx
mov ebx, dword [r9 + rcx*4]
shr eax, 8
xor ebx, eax
inc rbp
cmp rdi, rsi
ja 0x140020658
cmp rdi, 8
jb 0x140020709
mov r8, rdi
shr r8, 3
mov rax, r8
imul rax, rax, 0xfffffffffffffff8
add rdi, rax
xor ebx, dword [rbp]
add rbp, 8
movzx eax, bl
shr ebx, 8
mov ecx, dword [r9 + rax*4]
xor ecx, ebx
movzx eax, cl
shr ecx, 8
mov edx, dword [r9 + rax*4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [r9 + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [r9 + rax*4]
xor edx, dword [rbp - 4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [r9 + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [r9 + rax*4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [r9 + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov ebx, dword [r9 + rax*4]
xor ebx, ecx
sub r8, 1
jne 0x140020699
cmp rdi, rsi
jbe 0x14002072b
movzx ecx, byte [rsi + rbp]
movzx eax, bl
inc rsi
xor rcx, rax
mov eax, ebx
mov ebx, dword [r9 + rcx*4]
shr eax, 8
xor ebx, eax
cmp rsi, rdi
jb 0x14002070e
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140020774
Capabilities:
Encode data using add xor sub operations

Disassembly:
inc rdx
mov r8d, 4
lea r9, [0x1400e8690]
movzx eax, byte [rdx - 1]
mov eax, dword [r9 + rax*4]
xor dword [rcx + 0x204], eax
movzx eax, byte [rdx]
add rdx, 4
mov eax, dword [r9 + rax*4]
xor dword [rcx + 0x208], eax
movzx eax, byte [rdx - 3]
mov eax, dword [r9 + rax*4]
xor dword [rcx + 0x20c], eax
movzx eax, byte [rdx - 2]
mov eax, dword [r9 + rax*4]
xor dword [rcx + 0x210], eax
sub r8, 1
jne 0x140020784
repz ret
Function at 0x140020b20
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov ebx, dword [rcx + 0x204]
mov r11d, dword [rcx + 0x208]
mov esi, dword [rdx + 8]
mov ebp, dword [rdx + 0xc]
xor r11d, dword [rdx + 4]
xor esi, dword [rcx + 0x20c]
xor ebp, dword [rcx + 0x210]
mov edi, ebx
mov r9, rdx
xor edi, dword [rdx]
xor r13d, r13d
mov r10, rcx
lea r14d, [r13 + 0x20]
mov rax, r13
mov edx, ebp
inc r13
and eax, 3
rol edx, 0xb
mov r8d, dword [r10 + rax*4 + 0x204]
add edx, esi
xor edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r12d, byte [rax + r10 + 0x104]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0x104]
mov eax, edx
shr eax, 8
shl ecx, 8
movzx eax, al
or r12d, ecx
movzx ecx, dl
movzx eax, byte [rax + r10 + 0x104]
shl r12d, 8
mov edx, esi
or r12d, eax
movzx eax, byte [rcx + r10 + 0x104]
shl r12d, 8
or r12d, eax
xor r12d, edi
ror edx, 0xf
mov edi, esi
xor edx, ebp
mov esi, r12d
add edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r8d, byte [rax + r10 + 0x104]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0x104]
mov eax, edx
shr eax, 8
shl ecx, 8
or r8d, ecx
movzx eax, al
movzx ecx, dl
movzx eax, byte [rax + r10 + 0x104]
shl r8d, 8
or r8d, eax
movzx eax, byte [rcx + r10 + 0x104]
shl r8d, 8
or r8d, eax
xor r8d, r11d
sub r14, 1
mov r11d, ebp
mov ebp, r8d
jne 0x140020b71
xor ebx, r12d
mov rdx, r9
mov rcx, r10
mov dword [r9], ebx
mov eax, dword [r10 + 0x208]
xor eax, r8d
mov dword [r9 + 4], eax
mov eax, dword [r10 + 0x20c]
xor eax, edi
mov dword [r9 + 8], eax
xor r11d, dword [r10 + 0x210]
mov dword [r9 + 0xc], r11d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
jmp fcn.140020774
Function at 0x140020ca8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x30], rax
movdqu xmm0, xmmword [rdx]
mov ebx, dword [rcx + 0x204]
mov edi, dword [rdx]
mov r11d, dword [rcx + 0x208]
mov esi, dword [rdx + 8]
mov ebp, dword [rdx + 0xc]
movdqu xmmword [rsp + 0x20], xmm0
xor r11d, dword [rdx + 4]
xor esi, dword [rcx + 0x20c]
mov r12d, 0x1f
xor edi, ebx
xor ebp, dword [rcx + 0x210]
mov r9, rdx
mov r10, rcx
mov r14, r12
mov rax, r14
mov edx, ebp
dec r14
and eax, 3
rol edx, 0xb
mov r8d, dword [r10 + rax*4 + 0x204]
add edx, esi
xor edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r13d, byte [rax + r10 + 0x104]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0x104]
mov eax, edx
shr eax, 8
shl ecx, 8
movzx eax, al
or r13d, ecx
movzx ecx, dl
movzx eax, byte [rax + r10 + 0x104]
shl r13d, 8
mov edx, esi
or r13d, eax
movzx eax, byte [rcx + r10 + 0x104]
shl r13d, 8
or r13d, eax
xor r13d, edi
ror edx, 0xf
mov edi, esi
xor edx, ebp
mov esi, r13d
add edx, r8d
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx r8d, byte [rax + r10 + 0x104]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [rax + r10 + 0x104]
mov eax, edx
shr eax, 8
shl ecx, 8
or r8d, ecx
movzx eax, al
movzx ecx, dl
movzx eax, byte [rax + r10 + 0x104]
shl r8d, 8
or r8d, eax
movzx eax, byte [rcx + r10 + 0x104]
shl r8d, 8
or r8d, eax
xor r8d, r11d
sub r12d, 1
mov r11d, ebp
mov ebp, r8d
jns 0x140020d0d
xor ebx, r13d
lea rdx, [rsp + 0x20]
mov rcx, r10
mov dword [r9], ebx
mov eax, dword [r10 + 0x208]
xor eax, r8d
mov dword [r9 + 4], eax
mov eax, dword [r10 + 0x20c]
xor eax, edi
mov dword [r9 + 8], eax
xor r11d, dword [r10 + 0x210]
mov dword [r9 + 0xc], r11d
call fcn.140020774
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a86e0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret