joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ef60
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [0x140093050]
mov rdi, rax
test rax, rax
je 0x14004efdd
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x14004f008
cmp ebx, esi
je 0x14004f008
cmp ebx, 0x8000
ja 0x14004f008
cmp ebx, esi
jb 0x14004f003
mov edx, ebx
mov rcx, rdi
call qword [0x140093050]
mov rdi, rax
test rax, rax
jne 0x14004efa0
mov rcx, rbp
call qword [fcn.1400732a8]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x14004efe8
mov rcx, rdi
jmp 0x14004efe0

Function at 0x1400553e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400930a8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbp, qword [rcx + 0x4c8]
lea r8, [rsp + 0x20]
mov rsi, qword [rcx]
lea rdx, [rsp + 0x30]
mov rdi, rcx
mov dword [rsp + 0x20], 0x80
mov rcx, rbp
mov rbx, 0xffffffffffffffff
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14005545a
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
call fcn.14003a360
mov rcx, rsi
cmp rbx, 0xffffffffffffffff
jne 0x14005547f
lea rdx, str.Error_accept__ing_server_connect
call fcn.140039700
lea eax, [rbx + 0x1f]
jmp 0x1400554f8
lea rdx, str.Connection_accepted_from_server_n
call fcn.140039880
mov edx, 1
mov byte [rdi + 0x660], 0
mov rcx, rbx
mov qword [rdi + 0x4c8], rbx
call fcn.140047cb0
mov byte [rdi + 0xb2c], 1
cmp qword [rsi + 0x728], 0
je 0x1400554f6
mov dl, 1
mov rcx, rsi
call fcn.14002a0e0
mov rcx, qword [rsi + 0x730]
mov r8d, 1
mov rdx, rbx
call qword [rsi + 0x728]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call fcn.14002a0e0
test ebx, ebx
je 0x1400554f6
mov rcx, rdi
call fcn.140055a10
mov eax, Ordinal_46
jmp 0x1400554f8
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140072550
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400564f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
add rcx, 0xa00
cmp byte [rax + 0xf09], 0
jne 0x140056515
cmp dword [rax + 0x9f8], 0
je 0x140056541
mov r8, qword [rcx + 0x88]
test r8, r8
je 0x140056541
lea rdx, str.MDTM__s
call fcn.14006d540
test eax, eax
jne 0x14005654e
mov dword [rbx + 0xab8], 0x12
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140057380
add rsp, 0x20
pop rbx
ret
Function at 0x1400573e0
Capabilities:
Check http status code

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea eax, [rdx - 0xc8]
mov rdi, rcx
mov rcx, qword [rcx]
mov esi, r8d
cmp eax, 0x64
jb 0x140057415
lea rdx, str.Couldnt_set_desired_mode
call fcn.140039700
lea eax, [rbx + 0x11]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
cmp edx, 0xc8
je 0x14005742c
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.140039880
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r14
cmp esi, 0x13
jne 0x140057448
mov rcx, rdi
call fcn.140057320
jmp 0x14005757f
cmp esi, 0x14
jne 0x140057561
mov rsi, qword [rdi]
mov rbp, rbx
cmp dword [rsi + 0xba0], 2
jne 0x1400574c9
mov rax, qword [rsi + 0x1e0]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400574c9
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rsp + 0x50], rbx
call fcn.140022f40
test eax, eax
jne 0x14005757f
mov rcx, qword [rsp + 0x50]
lea edx, [rax + 0x2f]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400574be
mov rbp, qword [rsp + 0x50]
mov ecx, 1
sub rax, rbp
cmovne rcx, rax
mov byte [rcx + rbp], bl
jmp 0x1400574c9
mov rcx, qword [rsp + 0x50]
call qword [fcn.1400732a8]
mov rdx, qword [rsi + 0xc08]
test rdx, rdx
jne 0x1400574ed
cmp byte [rsi + 0xf0d], bl
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x140076fb6]
test rbp, rbp
mov r9, r8
lea rax, [0x140077258]
cmovne r9, rbp
lea rcx, [0x14007cbb4]
cmovne r8, rax
call fcn.140027fb0
mov rcx, rbp
mov r14, rax
call qword [fcn.1400732a8]
test r14, r14
jne 0x14005752c
lea ebx, [r14 + 0x1b]
jmp 0x140057581
lea rcx, [rdi + 0xa00]
mov r8, r14
lea rdx, [0x1400813c0]
call fcn.14006d540
mov rcx, r14
mov esi, eax
call qword [fcn.1400732a8]
test esi, esi
je 0x140057555
mov ebx, esi
jmp 0x140057581
mov dword [rdi + 0xab8], 0x1f
jmp 0x140057581
cmp esi, 0x15
jne 0x14005756c
lea r8d, [rsi - 8]
jmp 0x140057575
cmp esi, 0x16
jne 0x140057581
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rdi
call fcn.140056e50
mov ebx, eax
mov r14, qword [rsp + 0x60]
mov eax, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005ce70
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x14005cf94
cmp r8d, 0xff
jne 0x14005ced1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14005cebb
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x82f40]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140039880
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140039880
cmp r8d, 0xfb
jne 0x14005cee3
lea r9, str.WILL
jmp 0x14005cf21
cmp r8d, 0xfc
jne 0x14005cef5
lea r9, str.WONT
jmp 0x14005cf21
cmp r8d, 0xfd
jne 0x14005cf07
lea r9, [0x140083964]
jmp 0x14005cf21
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14005cf7d
cmp r10d, 0x27
jg 0x14005cf54
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x83560]
test r8, r8
jne 0x14005cf64
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140039880
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14005cf3b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140039880
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140039880
add rsp, 0x38
ret

Function at 0x14005d2e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005d33f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140039700
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.14005ce70
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14005ee00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400930a8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14005ee95
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14005eef6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140039700
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140072550
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14005efb1
sub ecx, 1
je 0x14005f024
sub ecx, 1
je 0x14005ef60
cmp ecx, 1
je 0x14005ef43
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400813c0]
call fcn.140039700
jmp 0x14005f024
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14005eb30
test eax, eax
je 0x14005f024
jmp 0x14005eeca
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14005f024
sub rax, rsi
cmp rax, rbp
jae 0x14005f024
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140039880
jmp 0x14005f024
cmp r8d, 4
jle 0x14005f024
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14005f024
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140039620
mov esi, eax
test eax, eax
je 0x14005f003
mov edx, 5
mov rcx, rbx
call fcn.14005faf0
mov eax, esi
jmp 0x14005eeca
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140047f20
mov rcx, r14
call fcn.140048200
test eax, eax
je 0x14005eec8
mov edx, 5
mov rcx, rbx
call fcn.14005faf0
mov eax, Ordinal_46
jmp 0x14005eeca
Function at 0x140071dc0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140071e02
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140071e49
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140071ea2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140071e60
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140071ee3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140086b4a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140086b4b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140071eb0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140072efc
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140f2a116
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r8
cmovle r8w, dx
xchg r8d, r8d
push r9
not r9b
movzx r8, r12w
xchg r8w, r9w
push rdx
setae r8b
bswap dx
pushfq
cwd
push r13
bswap dx
not r9b
push rdi
movsx edx, r12w
movsx r8w, r11b
btc rdx, 0x4b
push rax
push rbx
push rsi
rdtsc
movsxd r8, r12d
push r12
cmc
btr r8d, 3
push r11
cbw
lahf
cdq
push r10
rdtsc
rcl eax, cl
bt r8, 0xaf
push r15
cbw
cqo
jmp 0x140ff3ef1
push r14
push rbp
push rcx
bts rax, r15
movabs rdi, 0
push rdi
mov rsi, qword [rsp + 0x90]
rol esi, 1
movzx r9w, sil
bswap esi
stc
movzx r11, bp
rcr ebx, cl
ror esi, 2
dec esi
xadd r8b, r11b
cwde
shld dx, bp, 0x42
bswap esi
xor esi, 0x6a1d0eb6
add r11w, 0x51a9
stc
rcl dl, cl
add rsi, rdi
cwde
movabs r9, 0x100000000
xor bl, dil
adc r8b, 0x7a
add rsi, r9
rcr ebx, 0x46
sbb r8d, 0xa9d6742
adc ax, 0xb19
mov r11, rsp
adc bx, 0x7216
shl bh, cl
sub rsp, 0x180
stc
test r12b, 0x35
and rsp, 0xfffffffffffffff0
shr rbx, 6
setno bl
adc ebx, 0x64284332
mov r8, rsi
movabs rax, 0
bts dx, sp
sub r8, rax
sal edx, cl
lea rbx, [0x140ff3fa2]
cmp r11b, 0xfa
adc dh, 0x70
test r13b, 0xd6
sub rsi, 4
cdq
cmovs dx, r12w
mov edx, dword [rsi]
cmp r13b, bl
xor edx, r8d
cmp r13b, 0xb3
not edx
clc
xor edx, 0x3f0f5f84
ror edx, 2
jmp 0x141003893
bswap edx
not edx
dec edx
cmp r9, rdi
cmp rbx, 0x60474893
test sil, r12b
push r8
bts r8w, bp
sal r8b, 0xb1
xor dword [rsp], edx
sub r8b, 0x5c
pop r8
clc
cmp bp, dx
movsxd rdx, edx
test dl, r11b
add rbx, rdx
push rbx
ret
Function at 0x1400013b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000d73c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 5]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000d73c
mov qword [rbx], rax
lea r9d, [rsi + 2]
mov r11d, 1
lea r8, [rdi + 2]
mov r14d, r9d
lea r12, [0x140047570]
lea rcx, [rax + 5]
mov r10, rdi
mov qword [rbx + 0x10], rcx
sub r11, rdi
xor ecx, ecx
sub r14, rdi
mov dword [rax], ecx
mov r15, 0xfffffffffffffffe
mov byte [rax + 4], cl
not r10
add rax, 5
movabs rbp, 0x948b0fcd6e9e0653
mov qword [rbx + 8], rax
sub r15, rdi
nop word [rax + rax]
lea rcx, [r15 + r8]
mov rax, rbp
mul rsi
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 - 2]
shr rax, 8
imul rax, rax, 0x144
sub rsi, rax
mov rax, qword [rbx]
xor dl, byte [rsi + r12]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
dec rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 - 1]
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r10 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8]
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
mov rcx, r8
sub rcx, rdi
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 + 1]
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r11 + r8]
mov byte [rcx + rax], dl
mov rax, rbp
movsxd rcx, r9d
add r9d, 5
add rcx, 2
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
movzx edx, byte [r8 + 2]
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
mov rax, qword [rbx]
xor dl, byte [rcx + r12]
lea rcx, [r14 + r8]
mov byte [rcx + rax], dl
add r8, 5
lea eax, [r9 - 2]
movsxd rsi, eax
cmp rsi, 5
jb 0x140001450
mov rbp, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140001b80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000d73c
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 2]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000d73c
mov qword [rbx], rax
lea r11, [0x140047570]
mov r9d, edi
mov r8d, edi
movabs r10, 0x948b0fcd6e9e0653
lea rcx, [rax + 2]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov word [rax], cx
add rax, 2
mov qword [rbx + 8], rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r9 + rsi]
lea r9, [r9 + 2]
mov rax, r10
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub r8, rax
mov rax, qword [rbx]
xor cl, byte [r8 + r11]
mov byte [r9 + rax - 2], cl
mov rax, r10
movzx ecx, byte [r9 + rsi - 1]
movsxd r8, edi
add edi, 2
inc r8
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub r8, rax
mov rax, qword [rbx]
xor cl, byte [r8 + r11]
movsxd r8, edi
mov byte [rax + r9 - 1], cl
cmp r8, 2
jb 0x140001bf0
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003240
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x18
call fcn.14000d73c
xor esi, esi
mov rbx, rax
mov qword [rax], rsi
lea ecx, [rsi + 0xc]
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call fcn.14000d73c
mov qword [rbx], rax
lea r8, [rdi + 4]
mov r9d, 2
lea r13, [0x1400476c0]
mov r10, 0xfffffffffffffffe
mov r11d, r9d
lea rcx, [rax + 0xc]
mov r14d, 4
mov qword [rbx + 0x10], rcx
mov r15d, 6
xor ecx, ecx
sub r10, rdi
mov qword [rax], rcx
sub r11, rdi
mov dword [rax + 8], ecx
sub r14, rdi
add rax, 0xc
sub r15, rdi
mov r12, 0xfffffffffffffffc
mov qword [rbx + 8], rax
sub r12, rdi
movabs rbp, 0x948b0fcd6e9e0653
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx]
mov rax, rbp
mul rsi
add rcx, r12
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub rsi, rax
movzx eax, byte [r8 - 4]
xor al, byte [rsi + r13]
movsx edx, al
mov rax, rbp
mov word [rcx + r8], dx
movsxd rcx, r9d
dec rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
movzx eax, byte [r8 - 2]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
movsx edx, al
add rcx, r10
mov rax, rbp
mov word [rcx + r8], dx
movsxd rcx, r9d
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
movzx eax, byte [r8]
xor al, byte [rcx + r13]
movsx ecx, al
mov rax, qword [rbx]
sub rax, rdi
mov word [rax + r8], cx
mov rax, rbp
movsxd rcx, r9d
inc rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
movzx eax, byte [r8 + 2]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
movsx edx, al
add rcx, r11
mov rax, rbp
mov word [rcx + r8], dx
movsxd rcx, r9d
add rcx, 2
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
movzx eax, byte [r8 + 4]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
add rcx, r14
movsx edx, al
mov word [rcx + r8], dx
lea r8, [r8 + 0xc]
movsxd rcx, r9d
mov rax, rbp
add rcx, 3
add r9d, 6
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
movzx eax, byte [r8 - 6]
xor al, byte [rcx + r13]
mov rcx, qword [rbx]
add rcx, r15
movsx edx, al
lea eax, [r9 - 2]
movsxd rsi, eax
mov word [rcx + r8 - 0xc], dx
cmp rsi, 6
jb 0x1400032f0
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140003c30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140003c61
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x140003cdb
mov rdi, r14
mov rcx, rbx
call fcn.140006250
test rax, rax
jle 0x140003cb3
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14000f960
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140003ccb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003cd3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140003c75
sub r14, rdi
jmp 0x140003dbf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140003cf2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003cf4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003d26
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14000f960
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140003dbc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003d61
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140003d9d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140016ec4
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140003dbc
cmp rbp, rax
ja 0x140003d70
test rbp, rbp
je 0x140003dbc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140016ec4
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140004810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
call fcn.14000d73c
xor edi, edi
mov rbx, rax
mov qword [rax], rdi
lea ecx, [rdi + 4]
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
call fcn.14000d73c
mov qword [rbx], rax
lea r10, [0x1400476c0]
mov r8d, edi
movabs r9, 0x948b0fcd6e9e0653
lea rcx, [rax + 4]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov dword [rax], ecx
add rax, 4
mov qword [rbx + 8], rax
nop
mov rax, r9
lea r8, [r8 + 4]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
movzx eax, byte [r8 + rsi - 4]
xor al, byte [rcx + r10]
movsx ecx, al
mov rax, qword [rbx]
mov word [r8 + rax - 4], cx
mov rax, r9
movsxd rcx, edi
add edi, 2
inc rcx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x144
sub rcx, rax
movzx eax, byte [r8 + rsi - 2]
xor al, byte [rcx + r10]
movsx ecx, al
mov rax, qword [rbx]
mov word [r8 + rax - 2], cx
movsxd rcx, edi
cmp rcx, 2
jb 0x140004870
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret