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

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x50
mov rbx, r8
test rdx, rdx
je 0x1400e82ec
test rbx, rbx
je 0x1400e82ec
lea rax, [r11 + 8]
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x18], rax
xor edi, edi
lea rax, [r11 + 0x10]
mov qword [r11 + 0x10], rdi
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400e82a3
xor eax, eax
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete dil
mov eax, edi
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x1400e8300
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 8], rcx
push rbx
sub rsp, 0x50
mov rbx, r8
test rdx, rdx
je 0x1400e83bc
test rbx, rbx
je 0x1400e83bc
lea rax, [r11 + 8]
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x18], rax
xor edi, edi
lea rax, [r11 + 0x10]
mov qword [r11 + 0x10], rdi
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400e8373
xor eax, eax
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 8
mov r9d, 0xb
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete dil
mov eax, edi
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret
xor eax, eax
add rsp, 0x50
pop rbx
ret
Function at 0x1400efe50
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x14035b190]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov qword [r11 - 0x58], rdx
mov qword [r11 - 0x50], rbx
xor r14d, r14d
mov dword [r11 - 0x70], r14d
mov qword [rdx + 0x18], 7
mov qword [rdx + 0x10], r14
cmp qword [rdx + 0x18], 8
jb 0x1400efead
mov rax, qword [rdx]
jmp 0x1400efeb0
mov rax, rdx
mov word [rax], r14w
mov r8d, 7
lea rdx, str.1.0.0.0
mov rcx, rdi
call fcn.1400367c0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x30], r14d
cmp qword [rbx + 0x18], 8
jb 0x1400efeec
mov rcx, qword [rbx]
jmp 0x1400efeef
mov rcx, rbx
lea rdx, [rsp + 0x30]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x1400effc3
mov ecx, esi
call fcn.14017ef5c
mov rbp, rax
cmp qword [rbx + 0x18], 8
jb 0x1400eff1a
mov rcx, qword [rbx]
jmp 0x1400eff1d
mov rcx, rbx
mov r9, rax
mov r8d, esi
mov edx, dword [rsp + 0x30]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400effba
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x40]
lea rdx, [0x14028ef20]
mov rcx, rbp
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400effba
cmp dword [rsp + 0x34], 0
je 0x1400effba
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0xfeef04bd
jne 0x1400effba
movzx r8d, word [rax + 0xa]
movzx r9d, word [rax + 8]
movzx ecx, word [rax + 0xe]
movzx eax, word [rax + 0xc]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x60]
call fcn.14011d390
mov rdx, rax
mov rcx, rdi
call fcn.14003ff60
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x1400effba
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140037050
mov rcx, rbp
call fcn.14017ef54
nop
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1400effdb
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140037050
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 8
jb 0x1400efff1
mov rbx, qword [rbx]
mov word [rbx], r14w
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14017e520
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400fd8e0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x24], 0xca
mov rbx, rcx
jne 0x1400fd945
mov rax, qword [rcx + 8]
mov edx, 1
lea r8d, [rdx + 0x2f]
call qword [rax]
mov qword [rbx + 0x220], rax
lea rcx, [0x140109390]
mov qword [rax], rcx
lea rcx, [0x1401094f0]
mov qword [rax + 8], rcx
mov rcx, rbx
mov byte [rax + 0x10], 0
call fcn.140109150
cmp byte [rbx + 0x58], 0
je 0x1400fd93e
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
mov eax, dword [rbx + 0x24]
cmp eax, 0xcb
jne 0x1400fd9d5
mov rax, qword [rbx + 0x240]
cmp byte [rax + 0x20], 0
je 0x1400fd9bc
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400fd96e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x240]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x1400fd9b4
cmp eax, 2
je 0x1400fd9bc
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400fd960
dec eax
test eax, 0xfffffffd
jne 0x1400fd960
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1400fd960
mov ecx, dword [rbx + 0x190]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1400fd960
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400fda10
cmp eax, 0xcc
je 0x1400fd9f7
mov rax, qword [rbx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400fda10
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x1400fda3e
mov rax, qword [rcx + 0x220]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x1400fdaed
nop dword [rax]
mov eax, dword [rbx + 0x98]
cmp eax, dword [rbx + 0x78]
jae 0x1400fdabd
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400fda8f
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rax, qword [rbx + 0x228]
lea r8, [rbx + 0x98]
mov edi, dword [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov eax, dword [rbx + 0x98]
cmp eax, edi
je 0x1400fdb15
cmp eax, dword [rbx + 0x78]
jb 0x1400fda70
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x10], bpl
jne 0x1400fda60
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1400fdb00
Function at 0x1400fda10
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x24], 0xca
mov rbx, rcx
jne 0x1400fd945
mov rax, qword [rcx + 8]
mov edx, 1
lea r8d, [rdx + 0x2f]
call qword [rax]
mov qword [rbx + 0x220], rax
lea rcx, [0x140109390]
mov qword [rax], rcx
lea rcx, [0x1401094f0]
mov qword [rax + 8], rcx
mov rcx, rbx
mov byte [rax + 0x10], 0
call fcn.140109150
cmp byte [rbx + 0x58], 0
je 0x1400fd93e
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
mov eax, dword [rbx + 0x24]
cmp eax, 0xcb
jne 0x1400fd9d5
mov rax, qword [rbx + 0x240]
cmp byte [rax + 0x20], 0
je 0x1400fd9bc
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400fd96e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x240]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x1400fd9b4
cmp eax, 2
je 0x1400fd9bc
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400fd960
dec eax
test eax, 0xfffffffd
jne 0x1400fd960
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x1400fd960
mov ecx, dword [rbx + 0x190]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x1400fd960
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400fda10
cmp eax, 0xcc
je 0x1400fd9f7
mov rax, qword [rbx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rbx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400fda10
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x1400fda3e
mov rax, qword [rcx + 0x220]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x1400fdaed
nop dword [rax]
mov eax, dword [rbx + 0x98]
cmp eax, dword [rbx + 0x78]
jae 0x1400fdabd
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400fda8f
mov dword [rcx + 8], eax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov rax, qword [rbx + 0x228]
lea r8, [rbx + 0x98]
mov edi, dword [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + 8]
mov eax, dword [rbx + 0x98]
cmp eax, edi
je 0x1400fdb15
cmp eax, dword [rbx + 0x78]
jb 0x1400fda70
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x10], bpl
jne 0x1400fda60
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1400fdb00
Function at 0x1400ff790
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test rdx, rdx
lea rbx, str.undefined
mov rdi, rcx
mov ecx, 2
cmovne rbx, rdx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.libpng_error:__s
mov rcx, rax
call fcn.1400f3230
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x140284b38]
call fcn.1400f3230
test rdi, rdi
je 0x1400ff806
mov rax, qword [rdi + 0x100]
test rax, rax
je 0x1400ff806
mov rcx, qword [rdi + 0x108]
test rcx, rcx
je 0x1400ff806
mov edx, 1
call rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1401057b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
mov qword [rcx + 8], rsi
mov ecx, 0x98
mov dword [rsp + 0x38], esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1401057f7
mov rdx, qword [rdi]
mov dword [rdx + 0x28], 0x38
mov rcx, qword [rdi]
mov dword [rcx + 0x2c], esi
mov rcx, rdi
mov rdx, qword [rdi]
call qword [rdx]
mov dword [rbx + 0x5c], 0x3b9aca00
lea rax, [fcn.140104a20]
mov qword [rbx], rax
lea rcx, str.JPEGMEM
lea rax, [fcn.140104bb0]
mov qword [rbx + 8], rax
lea rax, [fcn.140104ca0]
mov qword [rbx + 0x10], rax
lea rax, [fcn.140104d80]
mov qword [rbx + 0x18], rax
lea rax, [0x140104e70]
mov qword [rbx + 0x20], rax
lea rax, [0x140104f20]
mov qword [rbx + 0x28], rax
lea rax, [0x140104fd0]
mov qword [rbx + 0x30], rax
lea rax, [0x140105170]
mov qword [rbx + 0x38], rax
lea rax, [0x1401053d0]
mov qword [rbx + 0x40], rax
lea rax, [fcn.140105630]
mov qword [rbx + 0x48], rax
lea rax, [0x140105770]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x58], eax
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
mov dword [rbx + 0x90], 0x98
mov qword [rdi + 8], rbx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1401058ff
lea r9, [rsp + 0x30]
mov byte [rsp + 0x30], 0x78
lea r8, [rsp + 0x38]
mov rcx, rax
lea rdx, str._ld_c
call fcn.1401049d0
test eax, eax
jle 0x1401058ff
movzx eax, byte [rsp + 0x30]
sub al, 0x4d
test al, 0xdf
jne 0x1401058f2
imul eax, dword [rsp + 0x38], 0x3e8
jmp 0x1401058f6
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
mov dword [rbx + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140109800
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x30
cmp dword [rcx + 0x64], 1
mov rdi, rcx
mov r13, qword [rcx + 0x270]
jne 0x14010982c
mov ebx, 0x1fe
mov byte [r13 + 0x38], 1
jmp 0x140109832
xor ebx, ebx
mov byte [r13 + 0x38], bl
mov rax, qword [rcx + 8]
lea r8d, [rbx + 0x100]
mov r9d, dword [rcx + 0x7c]
mov edx, 1
call qword [rax + 0x10]
mov ebp, dword [r13 + 0x28]
xor r15d, r15d
mov qword [r13 + 0x30], rax
cmp dword [rdi + 0x7c], r15d
jle 0x140109981
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x28], r12
lea r12, [r13 + 0x3c]
movsxd rcx, ebx
mov qword [rsp + 0x20], r14
xor r14d, r14d
mov qword [rsp + 0x68], rcx
nop dword [rax]
mov esi, dword [r12]
mov eax, ebp
cdq
idiv esi
mov ebp, eax
test rcx, rcx
je 0x14010989c
mov rax, qword [r13 + 0x30]
add qword [rax + r14], 0xff
mov rax, qword [r13 + 0x30]
lea ecx, [rsi - 1]
xor r8d, r8d
xor r10d, r10d
mov rdi, qword [r14 + rax]
lea eax, [rcx + 0xff]
add ecx, ecx
cdq
idiv ecx
xor ebx, ebx
mov r9d, eax
nop dword [rax]
cmp r10d, r9d
jle 0x1401098f7
imul eax, r8d, 0x1fe
lea ecx, [rsi + 0xfe]
lea r11d, [rsi*2 - 2]
add ecx, eax
nop dword [rax]
add ecx, 0x1fe
inc r8d
mov eax, ecx
cdq
idiv r11d
mov r9d, eax
cmp r10d, eax
jg 0x1401098e0
movzx eax, r8b
inc r10d
movzx ecx, bpl
imul ecx, eax
mov byte [rbx + rdi], cl
inc rbx
cmp rbx, 0xff
jle 0x1401098c0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140109958
mov ecx, 1
lea rdx, [rdi - 1]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rdx], al
lea rdx, [rdx - 1]
movzx eax, byte [rdi + 0xff]
mov byte [rdi + rcx + 0xff], al
inc rcx
cmp rcx, 0xff
jle 0x140109930
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
inc r15d
add r12, 4
add r14, 8
cmp r15d, dword [rax + 0x7c]
jl 0x140109880
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
Function at 0x140127d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x30
mov rax, qword [0x14035b190]
xor rax, rsp
mov qword [rsp + 0x20], rax
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r14, r8
xor r9, rax
mov rbp, rdx
mov rbx, rcx
test r9, 0xfffffffffffffffe
je 0x140127daa
xor al, al
jmp 0x140127e07
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], r15
cmp rcx, rdx
je 0x140127df6
mov r15, qword [rsp + 0x70]
movzx edx, word [rbx]
mov rcx, qword [r15 + 8]
movzx esi, word [r14]
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
mov rcx, qword [r15 + 8]
movzx edx, si
movzx edi, ax
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
cmp di, ax
jne 0x140127e1d
add rbx, 2
add r14, 2
cmp rbx, rbp
jne 0x140127dc3
mov al, 1
mov r15, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.14017e520
add rsp, 0x30
pop r14
pop rbp
pop rbx
ret
xor al, al
jmp 0x140127df8

Function at 0x140171640
Capabilities:
Encode data using xor

Disassembly:
push r13
push r14
push r15
sub rsp, 0x30
mov r14, r9
mov r13, rdx
mov r15, rcx
cmp r8d, 0xc
jge 0x140171666
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r13
ret
mov eax, dword [0x14036a450]
mov qword [rsp + 0x50], rbx
inc eax
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov dword [0x14036a450], eax
cmp eax, 1
jne 0x1401716a2
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xor eax, 0xbb40e64e
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rbx, qword [rsp + 0x70]
mov rdx, r14
mov r8, rbx
mov rcx, r15
call fcn.140171820
xor ebp, ebp
mov esi, ebp
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
sar eax, 7
mov rdx, rbx
mov rcx, r14
movzx r8d, al
call fcn.1401717b0
mov rdx, rbx
mov edi, eax
call fcn.1401718a0
xor r8b, dil
mov byte [rsp + rsi + 0x20], r8b
inc rsi
cmp rsi, 0xa
jl 0x1401716c0
mov r8, rbx
mov rdx, r14
mov rcx, r15
call fcn.140171820
lea rax, [rsp + 0x20]
mov r15, r13
sub r15, rax
nop dword [rax]
mov rdx, rbx
mov rcx, r14
call fcn.1401717b0
lea rsi, [rsp + 0x20]
mov rdx, rbx
add rsi, rbp
mov edi, eax
movzx r8d, byte [rsi]
call fcn.1401718a0
xor r8b, dil
inc rbp
mov byte [r15 + rsi], r8b
cmp rbp, 0xa
jl 0x140171710
mov rdx, rbx
mov rcx, r14
call fcn.1401717b0
mov ebp, dword [rsp + 0x78]
mov rdx, rbx
mov edi, ebp
mov esi, eax
shr edi, 0x10
movzx r8d, dil
call fcn.1401718a0
xor dil, sil
mov rdx, rbx
mov rcx, r14
mov byte [r13 + 0xa], dil
call fcn.1401717b0
shr ebp, 0x18
mov rdx, rbx
mov r8d, ebp
mov edi, eax
call fcn.1401718a0
mov rsi, qword [rsp + 0x60]
xor bpl, dil
mov rdi, qword [rsp + 0x68]
mov eax, 0xc
mov rbx, qword [rsp + 0x50]
mov byte [r13 + 0xb], bpl
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
Function at 0x1401718a0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov r10d, dword [rcx]
mov rbx, rcx
mov r11, rdx
mov r9d, r10d
mov eax, r8d
shr r10d, 8
xor r9, rax
movzx eax, r9b
mov r9d, dword [rdx + rax*4]
mov edx, dword [rcx + 8]
xor r9d, r10d
mov dword [rcx], r9d
movzx eax, r9b
add eax, dword [rcx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rcx + 4], eax
mov ecx, eax
shr ecx, 0x18
xor rcx, rdx
shr edx, 8
movzx eax, cl
mov eax, dword [r11 + rax*4]
xor eax, edx
mov dword [rbx + 8], eax
mov eax, r8d
mov rbx, qword [rsp + 8]
ret

Function at 0x140171900
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x10108], 0
mov rbx, rcx
je 0x140171981
mov qword [rsp + 0x30], rbp
xor ebp, ebp
cmp dword [rcx + 0xd4], ebp
jbe 0x14017197c
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], r14
nop
mov r9, qword [rbx + 0x10138]
lea rcx, [rbx + 0x10128]
mov rdx, r9
call fcn.1401717b0
movzx r8d, byte [rbp + rbx + 0x100]
lea rcx, [rbx + 0x10128]
mov rdx, r9
mov esi, eax
call fcn.1401718a0
xor byte [rbp + rbx + 0x100], sil
inc ebp
cmp ebp, dword [rbx + 0xd4]
jb 0x140171930
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r9d, dword [rbx + 0xd4]
lea r8, [rbx + 0x100]
mov rdx, qword [rbx + 0x58]
mov rcx, qword [rbx + 0x38]
mov edi, dword [rbx + 0xd4]
call qword [rbx + 0x10]
or ecx, 0xffffffff
mov dword [rbx + 0xd4], 0
xor edx, edx
cmp eax, edi
cmovne edx, ecx
mov ecx, dword [rbx + 0x84]
add qword [rbx + 0x10118], rdi
mov eax, edx
add qword [rbx + 0x10120], rcx
mov dword [rbx + 0x84], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14017af20
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x30
mov r15d, r8d
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
jne 0x14017af56
xor eax, eax
lea edx, [rsi + 2]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
call fcn.14017de50
xor al, al
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret
mov qword [rsp + 0x58], rbp
call fcn.14017a430
xor edx, edx
mov qword [rdi + 8], 0xffffffffffffffff
mov rcx, rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
movsxd rbp, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test ebp, ebp
jg 0x14017afbc
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 0xc]
call fcn.14017de50
mov rbp, qword [rsp + 0x58]
xor al, al
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret
lea eax, [rbp + 1]
mov qword [rsp + 0x50], rbx
movsxd rcx, eax
mov qword [rsp + 0x60], r14
call fcn.14017ef5c
mov r9, rsi
mov r8d, 1
mov rdx, rbp
mov rcx, rax
mov rbx, rax
mov byte [rax], 0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, 1
je 0x14017b015
call fcn.14017ef54
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 2]
call fcn.14017de50
xor al, al
jmp 0x14017b06c
mov byte [rbp + rbx], 0
mov rax, rbx
cmp byte [rbx], 0
je 0x14017b047
movzx edx, byte [rax]
cmp dl, 0xd
jne 0x14017b03a
mov byte [rcx], 0xa
inc rax
inc rcx
cmp byte [rax], 0xa
jne 0x14017b042
jmp 0x14017b03f
mov byte [rcx], dl
inc rcx
inc rax
cmp byte [rax], 0
jne 0x14017b022
mov byte [rcx], 0
mov r9d, r15d
mov rax, qword [rdi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x10]
mov rcx, rbx
call fcn.14017ef54
xor eax, eax
cmp byte [rdi + 0x50], al
sete al
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop rdi
pop rsi
ret

Function at 0x14017ea64
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14017eaf5
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14017eaf5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14017eaf5
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14017ead9
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14017ead3
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14017eadb
add rdx, 0x28
jmp 0x14017eab8
xor edx, edx
test rdx, rdx
jne 0x14017eae4
xor al, al
jmp 0x14017eafb
test dword [rdx + 0x24], 0x80000000
je 0x14017eaf1
xor al, al
jmp 0x14017eafb
mov al, 1
jmp 0x14017eafb
xor al, al
jmp 0x14017eafb
add rsp, 0x18
ret
Function at 0x14018e9f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov r8d, dword [rcx + 8]
mov rdx, qword [rcx]
movsxd rax, dword [rcx + 0xc]
test r8d, r8d
je 0x14018ea35
movsd xmm0, qword [rdx]
movsd xmm1, qword [0x14029c3f0]
xorps xmm0, xmm1
movsd qword [rdx], xmm0
sub r8d, 1
je 0x14018ea35
lea rax, [rax*8]
add rdx, rax
movsd xmm0, qword [rdx]
xorps xmm0, xmm1
movsd qword [rdx], xmm0
sub r8d, 1
jne 0x14018ea21
ret