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

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140142088]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r8
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r8
test rdx, rdx
mov ebx, 0x10000
je 0x1400ee022
lea rbx, [rdx + 0x10000]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
xor r14d, r14d
mov r15d, 0x5a4d
nop dword [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400ee131
mov rcx, qword [rsp + 0x30]
add rcx, qword [rsp + 0x48]
cmp rcx, rbx
jb 0x1400ee131
cmp dword [rsp + 0x50], 0x1000
jne 0x1400ee122
mov eax, dword [rsp + 0x54]
cmp al, 1
je 0x1400ee122
bt eax, 8
jb 0x1400ee122
mov qword [rsp + 0x20], r14
mov r9d, 0x40
lea r8, [rsp + 0x70]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400ee122
cmp word [rsp + 0x70], r15w
jne 0x1400ee10d
movsxd rcx, dword [rsp + 0xac]
mov eax, ecx
cmp rax, qword [rsp + 0x48]
ja 0x1400ee10d
cmp ecx, 0x40
jb 0x1400ee10d
lea rdx, [rbx + rcx]
mov qword [rsp + 0x20], r14
mov r9d, 0xf8
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400ee122
cmp dword [rsi], 0x4550
jne 0x1400ee122
mov rax, rbx
jmp 0x1400ee133
jmp 0x1400ee122
mov rbx, qword [rsp + 0x48]
add rbx, qword [rsp + 0x30]
jmp 0x1400ee050
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400fcbc0
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400f14a0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x140142088]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, rcx
xor edi, edi
mov dword [rcx], 0x2710
lea rbp, vtable.SpeedBit::Utils::StackBufferEx_128_.0
mov qword [rsp + 0x30], rbp
mov qword [r11 - 0x28], 0x80
lea rax, [rsp + 0x38]
mov qword [r11 - 0x30], rax
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0x38]
call fcn.1400ff9e0
nop
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x38]
mov rbx, rax
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x10]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test eax, eax
je 0x1400f156e
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x38]
cmp ebx, eax
jae 0x1400f156e
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x10]
mov rdx, rsi
mov rcx, rax
call fcn.1400f15c0
mov edi, eax
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
cmp rcx, rax
je 0x1400f1590
test rcx, rcx
je 0x1400f1590
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400fcbc0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400fd090
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400fd121
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400fd121
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fd121
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 0x1400fd105
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400fd0ff
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400fd107
add rdx, 0x28
jmp 0x1400fd0e4
xor edx, edx
test rdx, rdx
jne 0x1400fd110
xor al, al
jmp 0x1400fd127
test dword [rdx + 0x24], 0x80000000
je 0x1400fd11d
xor al, al
jmp 0x1400fd127
mov al, 1
jmp 0x1400fd127
xor al, al
jmp 0x1400fd127
add rsp, 0x18
ret

Function at 0x14010eb94
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14010e968
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010e968
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010e968
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010e968
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010e968
cmp dword [rcx + 0x84], 0xe
jbe 0x14010e968
cmp dword [rcx + 0xf8], esi
je 0x14010e968
mov ecx, r14d
call fcn.14010eab0
mov ecx, 2
call fcn.14010a5b8
nop
cmp byte [0x140145bb8], 0
jne 0x14010ea32
mov r15d, 1
mov eax, r15d
xchg dword [0x140145ba8], eax
test ebx, ebx
jne 0x14010e9db
mov rdi, qword [0x140142088]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140145bb0]
cmp rcx, rax
je 0x14010e9d2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140002be0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140145df0]
jmp 0x14010e9e7
cmp ebx, r15d
jne 0x14010e9ed
lea rcx, [0x140145e08]
call fcn.14010f500
nop
test ebx, ebx
jne 0x14010ea04
lea rdx, [0x140124490]
lea rcx, [0x140124470]
call fcn.14010f850
lea rdx, [0x1401244a0]
lea rcx, [0x140124498]
call fcn.14010f850
movzx eax, byte [0x140145bb8]
test esi, esi
cmove eax, r15d
mov byte [0x140145bb8], al
jmp 0x14010ea32
mov ecx, 2
call fcn.14010a618
test esi, esi
jne 0x14010ea49
mov ecx, r14d
call fcn.14010ea64
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14010e8f8
Function at 0x1401160ac
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 0x140115f12
call fcn.140102d60
mov dword [rax], 0x16
call fcn.140102c10
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 0x140115ef4
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140115ef4
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x140115f44
lock or dword [rax + 0x14], 0x10
jmp 0x140115ef4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x140115f61
mov rcx, qword [rbp + 0x20]
call fcn.140116b00
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x140115f76
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x140115f7c
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.140113578
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14011e6d4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x140115fcf
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 0x140115ef4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14011603b
mov rcx, qword [rbp + 0x20]
call fcn.140113578
cmp eax, 0xffffffff
je 0x140116022
mov rcx, qword [rbp + 0x20]
call fcn.140113578
cmp eax, 0xfffffffe
je 0x140116022
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.140113578
movsxd rdi, eax
lea r15, [0x140145e60]
mov rcx, rbx
sar rdi, 6
call fcn.140113578
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x140116029
lea rax, [0x140142470]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14011603b
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x140116071
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14011606d
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14011606d
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x14011608f
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x14011609a
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x140115ef9
jmp 0x140115ec0
Function at 0x140003d70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140003dd5
lea rbx, [0x1400a2ee0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003db4
cmp r10, 2
jb 0x140003db4
cmp byte [r9], r8b
jne 0x140003db4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
xor rdx, rcx
mov ecx, eax
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r10, r10
jne 0x140003d90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003e1b
lea rbx, [0x1400a2ee0]
cmp r8b, 0x23
jne 0x140003dfb
cmp byte [r9], r8b
jne 0x140003dfb
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
mov ecx, eax
inc r9
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r8b, r8b
jne 0x140003de8
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003fd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140003fe9
mov qword [r8], 0
lea rdx, [0x1400a2d28]
call fcn.140003e30
mov rbx, rax
test rax, rax
jne 0x140004008
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call fcn.140003f50
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140004039
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x38]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x140100c70]
mov qword [rsp + 0x30], rbp
test rax, rax
je 0x140004050
inc dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
jne 0x14000406e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
jmp 0x1400040c0
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x1400040af
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140100c70]
test rax, rax
je 0x1400040a2
dec dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x1400040c0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400040bd
mov qword [rdi], rsi
mov rax, rbp
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140006660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140100c70]
mov dword [rsp + 0x20], 0x6a0f0f2c
mov dword [rsp + 0x24], 0x4b495e43
mov dword [rsp + 0x28], 0x4259435e
mov rcx, qword [rax + 0x1e10]
xor eax, eax
mov word [rsp + 0x2c], 0x48
mov r9, qword [rcx]
mov cl, 0x2c
nop dword [rax + rax]
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 0xc
jae 0x1400066b4
movzx ecx, byte [rsp + 0x20]
jmp 0x1400066a0
lea r8, [rsp + 0x21]
mov byte [rsp + 0x2d], 0
mov edx, 1
mov rcx, r9
call fcn.140006510
add rsp, 0x38
ret
Function at 0x140008520
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x68]
mov qword [rbp - 0x19], rax
mov byte [rbp - 0x31], 4
mov r10b, 0x53
mov al, 0x6d
mov cl, 0x6a
mov dl, 0x60
mov r8b, 0x6b
mov r9b, reloc.WS2_32.dll_WSAStartup
xor r11d, r11d
xor r10b, 4
mov byte [rbp - 0x30], r10b
xor al, 4
mov byte [rbp - 0x2f], al
xor cl, 4
mov byte [rbp - 0x2e], cl
xor dl, 4
mov byte [rbp - 0x2d], dl
xor r8b, 4
mov byte [rbp - 0x2c], r8b
xor r9b, 4
mov byte [rbp - 0x2b], r9b
mov byte [rbp - 0x2a], r11b
or r9d, 0xffffffff
mov edx, r9d
lea r8, [rbp - 0x2f]
test r10b, r10b
je 0x1400085f6
lea r11, [0x1400a2ee0]
cmp r10b, 0x23
jne 0x1400085d5
cmp byte [r8], r10b
jne 0x1400085d5
cmp byte [r8 + 1], r10b
cmove edx, r9d
movzx ecx, dl
movzx eax, r10b
xor rcx, rax
mov eax, edx
shr eax, 8
mov edx, dword [r11 + rcx*4]
xor edx, eax
movzx r10d, byte [r8]
inc r8
test r10b, r10b
jne 0x1400085c2
not edx
mov dword [rbp - 0x11], edx
lea rax, [0x140015da0]
mov qword [rbp - 9], rax
lea rax, [0x140015e30]
mov qword [rbp + 7], rax
lea rax, [0x140015e60]
mov qword [rbp + 0xf], rax
lea rax, [0x140015f30]
mov qword [rbp + 0x17], rax
lea rax, [0x140016020]
mov qword [rbp + 0x1f], rax
lea rbx, [r14 + 0x30e0]
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx]
mov edi, 8
cmp ecx, r8d
jne 0x14000866e
inc ecx
test r8d, r8d
je 0x14000865d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000865f
mov eax, edi
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1400171d0
movsxd rax, dword [rbx]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 8]
movaps xmm0, xmmword [rbp - 0x19]
movups xmmword [rax + rcx*8], xmm0
movaps xmm1, xmmword [rbp - 9]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm0, xmmword [rbp + 7]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movaps xmm1, xmmword [rbp + 0x17]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd xmm0, qword [rbp + 0x27]
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx]
mov rcx, r14
call fcn.140029c70
mov rax, qword [0x140100c70]
test rax, rax
je 0x1400086c3
inc dword [rax + 0x3b0]
mov ecx, 0xb0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x6f], rax
lea rcx, [rbp + 0x67]
mov qword [rbp + 0x77], rcx
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x1400086f0
mov rcx, rax
call fcn.1400028a0
mov rsi, rax
jmp 0x1400086f2
xor esi, esi
lea rbx, [r14 + 0x1e08]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x140008727
inc r8d
test ecx, ecx
je 0x140008715
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edi, [rcx + rax]
cmp edi, r8d
cmovg r8d, edi
mov edx, r8d
mov rcx, rbx
call fcn.140016e00
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rsi
inc dword [rbx]
mov byte [r14], 1
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000a380
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
or r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x14000a3d4
lea r11, [0x1400a2ee0]
nop
cmp r9b, 0x23
jne 0x14000a3b3
cmp byte [r8], r9b
jne 0x14000a3b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
mov eax, ecx
inc r8
shr eax, 8
mov ecx, dword [r11 + rdx*4]
xor ecx, eax
test r9b, r9b
jne 0x14000a3a0
not ecx
jmp fcn.14000a310
Function at 0x14000f850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140100c70]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
lea r9, [0x1400a2ee0]
mov edx, 4
mov rdi, qword [rax + 0x1c20]
add rdi, 0xc8
mov eax, dword [rdi]
dec eax
movsxd rcx, eax
mov rax, qword [rdi + 8]
mov ebx, dword [rax + rcx*4]
not ebx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8]
lea r8, [r8 + 1]
movzx ecx, bl
xor rcx, rax
mov eax, ebx
shr eax, 8
mov ebx, dword [r9 + rcx*4]
xor ebx, eax
sub rdx, 1
jne 0x14000f8a0
mov ecx, dword [rdi + 4]
not ebx
mov r8d, dword [rdi]
cmp r8d, ecx
jne 0x14000f8f5
inc r8d
test ecx, ecx
je 0x14000f8de
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14000f8e3
mov eax, 8
cmp eax, r8d
mov rcx, rdi
cmovg r8d, eax
mov edx, r8d
call fcn.140017440
movsxd rcx, dword [rdi]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*4], ebx
inc dword [rdi]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140010940
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, qword [0x140100c70]
cmp byte [rdi + 0x1fad], 0
jne 0x140010963
cmp byte [rdi + 0x1fae], 0
je 0x1400109da
movss xmm1, dword [rdi + 0x1628]
xorps xmm2, xmm2
movaps xmm0, xmm1
mulss xmm1, dword [0x1400a7d2c]
mulss xmm0, dword [0x1400a7d38]
addss xmm1, dword [rdi + 0x12c]
addss xmm0, dword [rdi + 0x128]
or dword [rdi + 0x1d18], 1
mov dword [rdi + 0x1d1c], 1
unpcklps xmm0, xmm1
movaps xmm1, xmm2
unpcklps xmm1, xmm2
movsd qword [rdi + 0x1d30], xmm1
movsd qword [rdi + 0x1d28], xmm0
movss xmm1, dword [rdi + 0x1684]
mulss xmm1, dword [0x1400a7c84]
or dword [rdi + 0x1d18], 0x40
movss dword [rdi + 0x1d78], xmm1
movdqa xmm0, xmmword [0x1400a7ea0]
xor ebx, ebx
movdqu xmmword [rsp + 0x20], xmm0
mov ecx, ebx
nop dword [rax]
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rcx + 0x21], al
inc rcx
cmp rcx, 0xe
jb 0x1400109f0
movsx r9d, word [rdi + 0x308e]
lea r8, [rsp + 0x21]
mov edx, reloc.WS2_32.dll_recv
mov byte [rsp + 0x2f], bl
lea rcx, [rsp + 0x30]
call fcn.140003c60
movzx r9d, byte [rsp + 0x30]
lea r8, [rsp + 0x31]
or r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140010a74
lea r11, [0x1400a2ee0]
cmp r9b, 0x23
jne 0x140010a53
cmp byte [r8], r9b
jne 0x140010a53
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
mov eax, edx
inc r8
shr eax, 8
mov edx, dword [r11 + rcx*4]
xor edx, eax
test r9b, r9b
jne 0x140010a40
not edx
mov ecx, edx
call fcn.14000a310
test rax, rax
je 0x140010aef
cmp byte [rax + 0x8e], bl
je 0x140010aef
movdqa xmm0, xmmword [str.eFF1_n_n_t]
mov byte [rax + 0x95], 1
mov byte [rax + 0xb0], 1
movzx ecx, word [rdi + 0x308e]
inc cx
mov word [rdi + 0x308e], cx
movdqu xmmword [rsp + 0x20], xmm0
nop word [rax + rax]
movzx eax, byte [rsp + 0x20]
xor byte [rsp + rbx + 0x21], al
inc rbx
cmp rbx, 0xe
jb 0x140010ac0
movsx r9d, cx
lea r8, [rsp + 0x21]
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x2f], 0
mov edx, reloc.WS2_32.dll_recv
call fcn.140003c60
mov r8d, 0x20c0347
lea rcx, [rsp + 0x30]
call fcn.14000cb80
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140014d10
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov eax, dword [rcx + 0xc]
mov r8, rcx
bt eax, 0x1a
jb 0x140014dc1
bt eax, 0xa
jae 0x140014dc1
xor eax, eax
mov dword [rbp - 0x20], 0x1d737350
mov byte [rbp - 0x12], al
xor ecx, ecx
mov dl, 0x50
mov dword [rbp - 0x1c], 0x1d3e3931
mov dword [rbp - 0x18], 0x12253e35
mov word [rbp - 0x14], 0x2231
nop word [rax + rax]
xor byte [rbp + rax - 0x1f], dl
inc rax
cmp rax, 0xd
jae 0x140014d73
movzx edx, byte [rbp - 0x20]
jmp 0x140014d60
mov rax, qword [r8]
lea r9, [rbp - 0x1f]
sub r9, rax
mov byte [rbp - 0x12], cl
movzx r8d, byte [rax]
movzx edx, byte [rax + r9]
sub r8d, edx
jne 0x140014d95
inc rax
test edx, edx
jne 0x140014d80
test r8d, r8d
jne 0x140014dc1
movdqa xmm0, xmmword [str._n_Gkcdgod]
xor eax, eax
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x10], al
nop dword [rax]
movzx eax, byte [rbp - 0x20]
xor byte [rbp + rcx - 0x1f], al
inc rcx
cmp rcx, 0xf
jb 0x140014db0
lea rax, [rbp - 0x1f]
add rsp, 0x20
pop rbp
ret
Function at 0x140015170
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x3130], 0
mov rbp, r8
mov r14, rdx
mov rdi, rcx
je 0x14001522d
mov qword [rsp + 0x30], rbx
lea rbx, [rcx + 0x3138]
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x38], rsi
xor esi, esi
test ecx, ecx
jns 0x1400151d2
je 0x1400151be
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400151c3
mov eax, 8
test eax, eax
mov edx, esi
mov rcx, rbx
cmovg edx, eax
call fcn.140017010
mov r8, rbp
mov dword [rbx], esi
mov rdx, r14
mov rcx, rbx
call fcn.1400047e0
mov eax, dword [rbx]
test eax, eax
je 0x1400151eb
lea esi, [rax - 1]
mov rax, qword [rbx + 8]
lea rcx, [0x140100c68]
mov r9, qword [rdi + 0x3130]
test rax, rax
movsxd r8, esi
mov edx, 1
cmovne rcx, rax
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rcx, 0x3138
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1400047e0

Function at 0x1400157d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
or r10d, 0xffffffff
mov r11, rcx
mov eax, r10d
test r9b, r9b
je 0x14001582f
mov qword [rsp + 0x20], rbx
lea rbx, [0x1400a2ee0]
cmp r9b, 0x23
jne 0x14001580a
cmp byte [r8], r9b
jne 0x14001580a
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
mov ecx, eax
inc r8
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r9b, r9b
jne 0x1400157f7
mov rbx, qword [rsp + 0x20]
mov r10, qword [0x140100c70]
mov rcx, qword [r10 + 0x30f8]
test rcx, rcx
je 0x14001587e
add rcx, 4
je 0x14001587e
not eax
nop word [rax + rax]
cmp dword [rcx], eax
je 0x14001588a
movsxd r9, dword [rcx - 4]
movsxd r8, dword [r10 + 0x30f0]
add r9, rcx
mov rcx, qword [r10 + 0x30f8]
add rcx, 4
add r8, rcx
xor ecx, ecx
cmp r9, r8
cmovne rcx, r9
test rcx, rcx
jne 0x140015850
mov rcx, r11
add rsp, 0x28
jmp fcn.140015700
mov rax, rcx
add rsp, 0x28
ret

Function at 0x1400158a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140100c70]
or r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140015907
mov qword [rsp], rbx
lea rbx, [0x1400a2ee0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400158e3
cmp byte [r8], r9b
jne 0x1400158e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
mov ecx, eax
inc r8
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r9b, r9b
jne 0x1400158d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x30e0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001593b
mov r10, qword [r10 + 0x30e8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140015942
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140015928
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140015c00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140100c70]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x30cc], ecx
test rbx, rbx
je 0x140015c6f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140015c80
lea rdx, [0x1400a2d2c]
mov rcx, rbx
mov rdi, rax
call fcn.140003e30
mov rbx, rax
test rax, rax
je 0x140015c6a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret