joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002390
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r9, dword [rcx + 0x3c]
lea rbx, [rcx + 0x18]
add rbx, r9
xor r10d, r10d
xor edi, edi
mov r14, r8
mov r15, rdx
mov rbp, rcx
movzx eax, word [r9 + rcx + 0x14]
movzx esi, word [r9 + rcx + 6]
add rbx, rax
test esi, esi
je 0x140002410
cmp dword [rbx], 0x45474150
je 0x1400023ea
cmp dword [rbx], 0x7865742e
jne 0x140002406
cmp byte [rbx + 4], 0x74
jne 0x140002406
mov ecx, dword [rbx + 0xc]
mov r9, r14
mov edx, dword [rbx + 8]
add rcx, rbp
mov r8, r15
call fcn.14000231c
mov r10, rax
test rax, rax
jne 0x140002410
inc edi
add rbx, 0x28
cmp edi, esi
jb 0x1400023d4
mov rbx, qword [rsp + 0x40]
mov rax, r10
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14000242c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
xor ebp, ebp
lea r9, [rax + 0x18]
and dword [rax + 0x18], ebp
mov rsi, rdx
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea edi, [rbp + 0xb]
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x1400024a8
mov edx, dword [rsp + 0x180]
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x1400024a8
mov r8d, dword [rsp + 0x180]
xor r9d, r9d
mov rdx, rax
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jns 0x1400024c2
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor edi, edi
cmp dword [rbx], edi
jbe 0x140002584
mov eax, edi
lea rcx, [rsp + 0x20]
imul rax, rax, 0x128
mov edx, 2
add rax, 8
add rax, rbx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400024e6
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.1400025d4
mov rcx, rax
mov rdx, r14
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140002574
inc edi
cmp edi, dword [rbx]
jb 0x1400024cc
jmp 0x140002584
mov rbp, qword [rsp + 0x30]
test rsi, rsi
je 0x140002584
mov ecx, dword [rsp + 0x38]
mov dword [rsi], ecx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbp
jmp 0x1400024aa
Function at 0x140002598
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, rcx
test edx, edx
jne 0x1400025a2
xor eax, eax
ret
movzx eax, byte [rcx]
xor eax, 0x4b9ace2f
imul ecx, eax, 0x1000193
cmp edx, 1
jbe 0x1400025cf
inc r8
dec edx
movzx eax, byte [r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
sub rdx, 1
jne 0x1400025ba
mov eax, ecx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov esi, r8d
mov ebx, ecx
mov edx, r8d
mov rcx, rdi
call fcn.140002598
xor ebx, eax
test esi, esi
je 0x1400026d2
mov ecx, esi
imul ebx, ebx, 0x41c64e6d
add ebx, 0x3039
mov eax, ebx
shr eax, 0x10
xor byte [rdi], al
inc rdi
sub rcx, 1
jne 0x1400026b6
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18000b070
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x180057040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov ecx, 2
lea r8d, [rcx - 1]
mov eax, 0x11
cdq
idiv ecx
test edx, edx
je 0x18000b0a6
inc ecx
cmp ecx, 8
jle 0x18000b091
jmp 0x18000b0a9
xor r8d, r8d
test r8d, r8d
lea rax, str._d_is_not_a_prime_number._n
lea rcx, str._d_is_a_prime_number._n
mov edx, 0x11
cmove rcx, rax
call fcn.1800011b0
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, str.Current_Time_1:
lea rcx, [0x18005d270]
call fcn.180018200
movzx edx, word [rsp + 0x50]
mov rcx, rax
call fcn.180015950
mov rcx, rax
lea rdx, [0x180050cfc]
call fcn.180018200
movzx edx, word [rsp + 0x52]
mov rcx, rax
call fcn.180015950
mov rcx, rax
lea rdx, [0x180050cfc]
call fcn.180018200
movzx edx, word [rsp + 0x54]
mov rcx, rax
call fcn.180015950
mov rcx, rax
call fcn.180018470
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x18000b172
lea rdx, str.Computer_Name:
call fcn.180018520
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.1800187c0
mov rcx, rax
call fcn.180018af0
jmp 0x18000b18d
lea rdx, str.Failed_to_get_computer_name_
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
call fcn.180018470
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0x10
lea rdx, [rsp + 0x58]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
je 0x18000b1d1
lea rdx, str.Domain_Name:
call fcn.180018520
mov rcx, rax
lea rdx, [rsp + 0x58]
call fcn.1800187c0
mov rcx, rax
call fcn.180018af0
jmp 0x18000b1ec
lea rdx, str.Failed_to_get_domain_name_
lea rcx, [0x18005d270]
call fcn.180018200
mov rcx, rax
call fcn.180018470
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000
mov dword [rsp + 0x20], 3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18001e8f0
add rsp, 0x70
pop rbx
ret
Function at 0x180018b80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180057040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.18001e918
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
mov qword [rsp + 0x30], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x18001a000]
xor edx, edx
xor ecx, ecx
call fcn.1800238dc
mov qword [rdi], rax
test rax, rax
je 0x180018bfb
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18001e8f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call fcn.18001a3d8
int3

Function at 0x18001ce7c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x180057040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x18001cec0
movzx eax, r14w
jmp 0x18001cff6
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x18001cefc
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x18001cefc
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x18001cff6
cmp qword [rcx + 0x80], r14
je 0x18001cff3
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18001cf3a
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x18001cf63
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.180028274
cmp ax, di
je 0x18001cff3
movzx edi, si
jmp 0x18001cff3
lea r8, [rbp + 0xf]
mov word [rbp + 7], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 9]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [0x180042420]
test eax, eax
je 0x18001cfb8
sub eax, 1
je 0x18001cfb8
cmp eax, 2
jne 0x18001cff3
movzx ecx, word [rbp + 7]
jmp 0x18001cf46
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x18001cfe2
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.180027884
cmp r14, rax
jne 0x18001cff3
lea rax, [rbp + 7]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x17], rax
movzx eax, si
jne 0x18001cff6
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18001e8f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180035fd4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x180035c90
call fcn.1800262c0
mov dword [rax], 0x16
call fcn.180026114
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180035c78
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x180035c78
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x180035cc2
lock or dword [rax + 0x14], 0x10
jmp 0x180035c78
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x180035cdf
mov rcx, qword [rbp + 0x10]
call fcn.1800374e0
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18003323c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.180036dc4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x180035d36
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x180035c78
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x180035da2
mov rcx, qword [rbp + 0x10]
call fcn.18003323c
cmp eax, 0xffffffff
je 0x180035d89
mov rcx, qword [rbp + 0x10]
call fcn.18003323c
cmp eax, 0xfffffffe
je 0x180035d89
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18003323c
movsxd rdi, eax
lea rsi, [0x18005e880]
mov rcx, rbx
sar rdi, 6
call fcn.18003323c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x180035d90
lea rax, [0x180057260]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180035da2
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x180035dd8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x180035dd4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x180035dd4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x180035c7b
jmp 0x180035c48
Function at 0x180035fdc
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x180035e42
call fcn.1800262c0
mov dword [rax], 0x16
call fcn.180026114
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180035e24
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x180035e24
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x180035e74
lock or dword [rax + 0x14], 0x10
jmp 0x180035e24
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x180035e91
mov rcx, qword [rbp + 0x20]
call fcn.1800374e0
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x180035ea6
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x180035eac
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.18003323c
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.180036dc4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x180035eff
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x180035e24
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x180035f6b
mov rcx, qword [rbp + 0x20]
call fcn.18003323c
cmp eax, 0xffffffff
je 0x180035f52
mov rcx, qword [rbp + 0x20]
call fcn.18003323c
cmp eax, 0xfffffffe
je 0x180035f52
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.18003323c
movsxd rdi, eax
lea r15, [0x18005e880]
mov rcx, rbx
sar rdi, 6
call fcn.18003323c
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x180035f59
lea rax, [0x180057260]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180035f6b
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x180035fa1
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x180035f9d
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x180035f9d
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x180035fbf
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x180035fca
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x180035e29
jmp 0x180035df0
Function at 0x14000b080
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000b0bb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b0ae
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000b1ae
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029908]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140030610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b18f
test al, 0x10
je 0x14000b18f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b135
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x1811b0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1811b01df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1811b0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1811b006f
add dl, dl
jne 0x1811b0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1811b00f6
xor eax, eax
add dl, dl
jne 0x1811b00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1811b01ad
add dl, dl
jne 0x1811b00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1811b00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1811b00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1811b00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1811b00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1811b007e
mov eax, 1
add dl, dl
jne 0x1811b0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1811b0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1811b00fb
sub eax, ebx
mov ebx, 1
jne 0x1811b014c
mov ecx, 1
add dl, dl
jne 0x1811b012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1811b013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1811b0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1811b007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1811b0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1811b0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1811b015d
cmp eax, 0x7d00
jae 0x1811b019b
cmp eax, 0x500
jb 0x1811b0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1811b007e
cmp eax, 0x7f
ja 0x1811b019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1811b007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1811b01d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1811b007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140e768bc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140e768c6
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 0x140e768ef
pop rbp
sub rbp, 0x33
sub rbp, 0xe768bc
sub rsp, 0x20
jmp 0x140e7690e
mov rax, 0xe768bc
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff87324301
xor byte [rax], dl
inc rax
dec rcx
jne 0x140e7692d
jmp 0x140e76944
mov r8b, bpl
mov cl, byte [rax + 0x101013d]
add r8b, 9
add byte [rcx], al
add dword [rcx], ecx
call 0x14aa92fa4
add dword [rcx], eax
add dword [rcx - 0x3a], ecx
ret
Function at 0x14001e130
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov rdx, qword [rcx]
xor r8d, r8d
mov r9, rcx
mov eax, r8d
mov r10d, r8d
lea rdi, [0x1400e1b40]
mov byte [rdx + 0x16], al
mov rdx, qword [rcx]
mov byte [rdx + 0x17], al
mov rdx, qword [rcx]
mov byte [rdx + 0x18], al
mov rdx, qword [rcx]
mov byte [rdx + 0x19], al
movsxd r11, dword [rcx + 8]
test r11, r11
jle 0x14001e195
mov qword [rsp + 0x10], rbx
mov rbx, qword [rcx]
nop
movzx edx, byte [rbx + r10]
mov ecx, eax
inc r10
shr rcx, 0x18
xor rdx, rcx
mov ecx, eax
mov eax, dword [rdi + rdx*4]
shl ecx, 8
xor eax, ecx
cmp r10, r11
jl 0x14001e170
mov rbx, qword [rsp + 0x10]
movsxd r10, dword [r9 + 0x18]
test r10, r10
jle 0x14001e1c2
mov r11, qword [r9 + 0x10]
movzx edx, byte [r11 + r8]
mov ecx, eax
inc r8
shr rcx, 0x18
xor rdx, rcx
mov ecx, eax
mov eax, dword [rdi + rdx*4]
shl ecx, 8
xor eax, ecx
cmp r8, r10
jl 0x14001e1a2
mov rcx, qword [r9]
mov edx, eax
mov byte [rcx + 0x16], al
mov rcx, qword [r9]
shr edx, 8
mov byte [rcx + 0x17], dl
mov rcx, qword [r9]
mov edx, eax
shr edx, 0x10
shr eax, 0x18
mov byte [rcx + 0x18], dl
mov rcx, qword [r9]
mov byte [rcx + 0x19], al
pop rdi
ret
Function at 0x140021fc8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15d, r8d
mov rbp, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140022009
lea edx, [rbp + 2]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebx
call fcn.140024368
xor al, al
jmp 0x1400220dd
call fcn.140020f90
or eax, 0xffffffff
xor edx, edx
lea r8d, [rax + 3]
mov rcx, rbp
mov dword [rsi + 0xc], eax
mov dword [rsi + 8], eax
call qword [sym.imp.MSVCR120.dll_fseek]
mov rcx, rbp
call qword [sym.imp.MSVCR120.dll_ftell]
xor r8d, r8d
xor edx, edx
mov rcx, rbp
movsxd r14, eax
call qword [sym.imp.MSVCR120.dll_fseek]
test r14d, r14d
jg 0x14002204f
mov edx, reloc.WS2_32.dll_inet_ntoa
mov rcx, rsi
jmp 0x140021ff3
lea eax, [r14 + 1]
movsxd rcx, eax
call qword [sym.imp.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov r9, rbp
mov ebp, 1
mov rcx, rax
mov r8d, ebp
mov rdx, r14
mov rdi, rax
mov byte [rax], bl
call qword [sym.imp.MSVCR120.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x14002208b
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
lea edx, [rbp + 1]
jmp 0x14002204a
mov byte [r14 + rdi], bl
mov rax, rdi
cmp byte [rdi], bl
je 0x1400220b9
mov dl, byte [rax]
cmp dl, 0xd
jne 0x1400220ad
mov byte [rcx], 0xa
add rax, rbp
add rcx, rbp
cmp byte [rax], 0xa
jne 0x1400220b5
jmp 0x1400220b2
mov byte [rcx], dl
add rcx, rbp
add rax, rbp
cmp byte [rax], bl
jne 0x140022096
mov byte [rcx], bl
mov r10, qword [rsi]
mov r9d, r15d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [r10 + reloc.WS2_32.dll_recv]
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
cmp byte [rsi + 0x50], bl
sete al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret