joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002618c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400261d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400261d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400261d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400261d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400261d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400261d8
xor al, al
add rsp, 0x28
ret

Function at 0x14002b178
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14002afe3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002afe3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002afe3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002afe3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002afe3
cmp dword [rcx + 0x84], 0xe
jbe 0x14002afe3
cmp dword [rcx + 0xf8], 0
je 0x14002afe3
mov ecx, ebx
call fcn.14002b094
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14002ae70
nop
cmp dword [rbp + 0x20], 0
je 0x14002b031
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002b03c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002af74
Function at 0x14003ca00
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14003ca87
mov rsi, rbx
cmp word [rax], bp
je 0x14003ca46
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003ca30
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003ca2c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003806c
mov rdi, rax
test rax, rax
je 0x14003ca74
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140026530
mov rbp, rdi
xor ecx, ecx
call fcn.140038bb4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400401a0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400401b6
mov al, 1
jmp 0x140040216
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400401c7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140040214
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003cd48
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140040214
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140040214
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140040214
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140040216
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800028c0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbp, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002967
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002967
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0xc85bccd6
lea rdx, [r11 + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002962
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002940
cmp r8d, 0xb1e6a70
je 0x18000296c
test r9d, r9d
jne 0x180002920
mov rax, qword [rax]
jmp 0x1800028f0
mov ecx, dword [rbx + 0x24]
mov edx, dword [rbx + 0x1c]
add rcx, r10
add rdx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
mov rcx, rbp
add rax, r10
call rax
mov rcx, 0xffffffffffffffff
lea rsi, [rax + 1]
mov eax, 2
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.180011a00
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180002a35
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180002a35
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0xdf7e834d
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x180002a30
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x180002a10
cmp edx, 0xec6a3a8d
je 0x180002a3a
test r9d, r9d
jne 0x1800029f0
mov rcx, qword [rcx]
jmp 0x1800029c0
mov ecx, dword [r11 + 0x24]
mov r8, rsi
add rcx, r10
mov rdx, rbp
movzx r9d, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + r9*4]
mov rcx, rdi
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002a80
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002b27
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002b27
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xbdd6fcbc
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002b22
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002b00
cmp r8d, 0xf07fcaf0
je 0x180002b2c
test r9d, r9d
jne 0x180002ae0
mov rax, qword [rax]
jmp 0x180002ab0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002f40
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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 r14
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180003017
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180003017
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x8be1458a
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180003012
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002ff0
cmp r8d, 0xa6e33ab4
je 0x18000301c
test r9d, r9d
jne 0x180002fd0
mov rax, qword [rax]
jmp 0x180002fa0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x180014c58]
addsd xmm8, qword [0x180014c58]
movups xmm9, xmmword [0x180014b90]
movups xmm10, xmmword [0x18001b8a8]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.1800028c0
cmp word [rax], 0
je 0x180003096
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180003080
xor edx, edx
add ecx, 1
je 0x18000309a
mov rdx, rax
jmp 0x18000309a
xor edx, edx
mov ecx, edx
mov rax, qword [0x1800178c8]
movaps xmm0, xmmword [0x180014ec0]
mov rbx, qword [0x1800178e0]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001bd58]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x100
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x180003148
mov rax, qword [0x180017a68]
lea r8, str.Canvas.K2_DrawText
add rax, 0x13efec8
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18001bd58], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x260]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret
Function at 0x1800031a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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 r14
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180003277
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180003277
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x8ccb80ce
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180003272
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180003250
cmp r8d, 0xcc1842e8
je 0x18000327c
test r9d, r9d
jne 0x180003230
mov rax, qword [rax]
jmp 0x180003200
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x180014c58]
addsd xmm8, qword [0x180014c58]
movups xmm9, xmmword [0x180014b90]
movups xmm10, xmmword [0x18001b8a8]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.1800028c0
cmp word [rax], 0
je 0x1800032f6
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800032e0
xor edx, edx
add ecx, 1
je 0x1800032fa
mov rdx, rax
jmp 0x1800032fa
xor edx, edx
mov ecx, edx
mov rax, qword [0x1800178c8]
movaps xmm0, xmmword [0x180014ec0]
mov rbx, qword [0x1800178e0]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001bd58]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x101
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x1800033a8
mov rax, qword [0x180017a68]
lea r8, str.Canvas.K2_DrawText
add rax, 0x13efec8
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18001bd58], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x260]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret
Function at 0x142fe6820
Capabilities:
Encode data using xor

Disassembly:
jmp 0x142fe682a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x142fe6853
pop rbp
sub rbp, 0x33
sub rbp, 0x2fe6820
sub rsp, 0x20
jmp 0x142fe6872
mov rax, 0x2fe6820
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffabca6c68
xor byte [rax], dl
inc rax
dec rcx
jne 0x142fe6891
jmp 0x142fe68a8
and cl, ah
and ebx, 0x686854e1
push 0x60a9e920
imul ebp, dword [rax + 0x68], 0x20816920
scasd eax, dword [rdi]
test al, 0x60
push 0xffffffffaf206868
stosb byte [rdi], al
push 0xffffffff9f206868
mov ah, byte [rax]
imul ebp, dword [rcx + 0x6864e9e3], 0x69206868
cmp byte [rax], 0x38
and al, dl
jl 0x142fe6872
in al, dx
push 0x68686868
and cl, dl
invalid
Function at 0x10001e024
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1000301f8], rdi
je 0x10001e07d
cmp rax, rdi
jne 0x10001e070
mov esi, 1
jmp 0x10001e07d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001e057
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e092
lea ecx, [rax + 0x1e]
call fcn.100162000
jmp 0x10001e0f7
mov eax, dword [0x1000301f0]
test eax, eax
jne 0x10001e0ed
mov dword [0x1000301f0], 1
lea r12, [0x100001690]
lea rdi, [0x100001678]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x10001e0df
test eax, eax
jne 0x10001e0df
mov rcx, qword [rdi]
test rcx, rcx
je 0x10001e0d4
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x10001e0bd
test eax, eax
je 0x10001e0f7
mov eax, 0xff
jmp 0x10001e241
mov dword [0x10002f924], 1
mov eax, dword [0x1000301f0]
cmp eax, 1
jne 0x10001e11f
lea rdx, [0x100001670]
lea rcx, [0x1000015f8]
call sub.msvcrt.dll__initterm
mov dword [0x1000301f0], 2
test esi, esi
jne 0x10001e12c
xor eax, eax
xchg qword [0x1000301f8], rax
cmp qword [0x100030210], 0
je 0x10001e155
lea rcx, [0x100030210]
call fcn.10001e5dc
test eax, eax
je 0x10001e155
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100030210]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e176
test esi, esi
jne 0x10001e1e0
cmp byte [rdi], 0
je 0x10001e18a
cmp byte [rdi], 0x20
ja 0x10001e18a
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e176
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.100008db4
mov dword [0x10002f920], eax
cmp dword [0x10002f904], 0
jne 0x10001e1c9
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10002f924], 0
jne 0x10001e1de
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10002f920]
jmp 0x10001e241
cmp byte [rdi], 0x22
jne 0x10001e1f2
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x10001e207
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x10001e168
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.10001e6e4
add rsp, 0x28
jmp 0x10001e024
Function at 0x18000a750
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, 0x40
shl rax, 4
mov rbx, rcx
cmp rax, 0x400
cmovbe edi, edx
cmp edi, dword [rcx]
je 0x18000a8c6
mov rax, qword [0x180132378]
test rax, rax
je 0x18000a787
call rax
mov ecx, edi
shl rcx, 4
call fcn.1800060b0
mov rcx, qword [0x180132380]
mov rdi, rax
test rcx, rcx
je 0x18000a7a3
call rcx
test rdi, rdi
je 0x18000a8c6
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rsi
call fcn.180006540
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x18012ae60]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call fcn.1800d31b0
mov rcx, qword [rbx + 8]
xor r10d, r10d
mov qword [rbx + 8], r10
test rcx, rcx
je 0x18000a8b1
lea r11, [0x1801153f0]
nop dword [rax]
mov r9, qword [rcx + 0x18]
mov eax, r10d
movzx edx, byte [r9]
test dl, dl
je 0x18000a831
nop
movzx edx, dl
lea r9, [r9 + 1]
movzx r8d, byte [rdx + r11]
lea edx, [rax*8]
xor r8d, edx
movzx edx, byte [r9]
xor eax, r8d
test dl, dl
jne 0x18000a810
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x18000a889
mov eax, dword [r8]
test eax, eax
je 0x18000a851
mov rdx, qword [r8 + 8]
jmp 0x18000a854
mov rdx, r10
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x18000a889
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x18000a87f
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x18000a8a5
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x18000a8a5
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x18000a89d
mov qword [rax + 8], rcx
mov qword [rcx + 8], r10
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x18000a800
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x18000a8e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r11, qword [rcx + 0x10]
lea rsi, [0x1801153f0]
xor r9d, r9d
mov rdi, rdx
mov rbx, rcx
test r11, r11
je 0x18000a94d
movzx eax, byte [rdx]
mov r10, rdx
test al, al
je 0x18000a932
movzx eax, al
lea r10, [r10 + 1]
movzx ecx, byte [rax + rsi]
lea eax, [r9*8]
xor ecx, eax
movzx eax, byte [r10]
xor r9d, ecx
test al, al
jne 0x18000a912
mov eax, r9d
xor edx, edx
div dword [rbx]
mov eax, edx
shl rax, 4
add rax, r11
mov r9d, edx
mov r11, qword [rax + 8]
mov ebx, dword [rax]
jmp 0x18000a954
mov r11, qword [rcx + 8]
mov ebx, dword [rcx + 4]
mov dword [r8], r9d
test ebx, ebx
je 0x18000a9c0
nop dword [rax + rax]
mov r10, qword [r11 + 0x18]
dec ebx
mov r8, rdi
movzx r9d, byte [r10]
test r9b, r9b
je 0x18000a9a5
movzx eax, r9b
sub r10, rdi
nop dword [rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + rsi]
cmp byte [rcx + rsi], al
jne 0x18000a9a5
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x18000a980
movzx eax, byte [r8]
movzx ecx, byte [rax + rsi]
movzx eax, r9b
movzx eax, byte [rax + rsi]
cmp eax, ecx
je 0x18000a9d2
mov r11, qword [r11]
test ebx, ebx
jne 0x18000a960
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x18000a9f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rsi, rdx
lea r8, [rsp + 0x58]
mov rdi, rcx
call fcn.18000a8e0
mov rcx, rax
test rax, rax
je 0x18000aae8
mov qword [rsp + 0x40], r14
mov r14, qword [rax + 0x10]
test rbp, rbp
jne 0x18000aacb
mov rdx, qword [rax + 8]
mov rax, qword [rax]
test rdx, rdx
je 0x18000aa3e
mov qword [rdx], rax
jmp 0x18000aa42
mov qword [rdi + 8], rax
mov rdx, qword [rcx]
test rdx, rdx
je 0x18000aa52
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x18000aa75
mov edx, dword [rsp + 0x58]
shl rdx, 4
add rdx, rax
cmp qword [rdx + 8], rcx
jne 0x18000aa73
mov rax, qword [rcx]
mov qword [rdx + 8], rax
dec dword [rdx]
call fcn.180006540
add dword [rdi + 4], 0xffffffff
jne 0x18000aad3
mov rsi, qword [rdi + 8]
xor ebp, ebp
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 8], rbp
call fcn.180006540
mov qword [rdi + 0x10], rbp
mov dword [rdi], ebp
test rsi, rsi
je 0x18000aab3
nop
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.180006540
mov rsi, rbx
test rbx, rbx
jne 0x18000aaa0
mov rax, r14
mov dword [rdi + 4], ebp
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, r14
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
test rbp, rbp
je 0x18000ac05
mov ecx, 0x20
call fcn.1800060b0
mov rbx, rax
test rax, rax
jne 0x18000ab13
mov rax, rbp
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
xor ebp, ebp
mov qword [rax + 0x18], rsi
inc dword [rdi + 4]
mov edx, dword [rdi + 4]
cmp edx, 0xa
jb 0x18000ab74
mov eax, dword [rdi]
add eax, eax
cmp edx, eax
jbe 0x18000ab74
add edx, edx
mov rcx, rdi
call fcn.18000a750
test eax, eax
je 0x18000ab74
movzx ecx, byte [rsi]
mov eax, ebp
test cl, cl
je 0x18000ab6e
lea r8, [0x1801153f0]
nop
movzx ecx, cl
lea rsi, [rsi + 1]
movzx edx, byte [rcx + r8]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [rsi]
xor eax, edx
test cl, cl
jne 0x18000ab50
xor edx, edx
div dword [rdi]
jmp 0x18000ab78
mov edx, dword [rsp + 0x58]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x18000abe9
mov ecx, edx
shl rcx, 4
add rcx, rax
je 0x18000abe9
mov eax, dword [rcx]
test eax, eax
je 0x18000ab98
mov rdx, qword [rcx + 8]
jmp 0x18000ab9b
mov rdx, rbp
inc eax
mov qword [rcx + 8], rbx
mov dword [rcx], eax
test rdx, rdx
je 0x18000abe9
mov qword [rbx], rdx
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x18000abd2
mov qword [rax], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rdi + 8], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x18000abfd
mov qword [rax + 8], rbx
mov qword [rbx + 8], rbp
mov qword [rdi + 8], rbx
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret