joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001af80
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x28], 0
mov rsi, rdx
mov rbx, rcx
jne 0x18001afa6
mov rcx, rdx
call fcn.18001b3c0
test eax, eax
jne 0x18001b0e9
mov rax, qword [0x1806b7ab0]
test rax, rax
jne 0x18001b07d
cmp dword [rbx + 0x28], 0
mov qword [rsp + 0x58], rdi
mov rdi, qword [0x1806b7aa8]
movzx eax, byte [rdi + 8]
mov dword [rsp + 0x50], eax
jne 0x18001afd6
dec eax
mov dword [rsp + 0x50], eax
cmp eax, dword [rbx + 0x2c]
je 0x18001b003
mov rcx, qword [rbx + 0x20]
lea r9, [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x20], 4
lea r8d, [rdx + 4]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x18001b003
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x2c], eax
movzx eax, byte [rdi + 1]
mov dword [rsp + 0x30], eax
cmp eax, dword [rbx + 0x30]
je 0x18001b038
mov rcx, qword [rbx + 0x20]
lea r9, [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x20], 4
lea r8d, [rdx + 3]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x18001b038
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x30], eax
movzx eax, byte [rdi + 6]
mov rdi, qword [rsp + 0x58]
and al, 0x40
neg al
sbb ecx, ecx
add ecx, 2
mov dword [rsp + 0x34], ecx
cmp ecx, dword [rbx + 0x34]
je 0x18001b0c1
mov rcx, qword [rbx + 0x20]
lea r9, [rsp + 0x34]
xor edx, edx
mov dword [rsp + 0x20], 4
lea r8d, [rdx + 0x47]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x18001b0c1
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x34], eax
jmp 0x18001b0c1
cmp dword [rbx + 0x28], 0
movzx eax, byte [rax + 7]
mov dword [rsp + 0x50], eax
jne 0x18001b091
dec eax
mov dword [rsp + 0x50], eax
cmp eax, dword [rbx + 0x2c]
je 0x18001b0c1
mov rcx, qword [rbx + 0x20]
lea r9, [rsp + 0x50]
mov edx, 0x29
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 0x25]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x18001b0c1
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x2c], eax
mov rax, qword [rbx + 0x18]
cmp word [rax + 0x32], 0x35
jne 0x18001b0cf
inc dword [rbx + 0x38]
mov rcx, qword [rbx + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call fcn.1800188a0
mov rcx, rsi
call fcn.18000efe0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
Function at 0x18001b4e0
Capabilities:
Resolve dns
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x50
xor r14d, r14d
mov qword [rsp + 0x80], rdi
xor ebp, ebp
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x18001b642
xor edx, edx
mov rax, rdi
cmp qword [rdi], rdx
je 0x18001b642
inc rdx
lea rax, [rax + 8]
cmp qword [rax], rbp
jne 0x18001b513
test rdx, rdx
je 0x18001b642
mov ecx, 0x1c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r14, rax
test rax, rax
je 0x18001b642
mov rax, qword [rdi]
xorps xmm0, xmm0
mov dword [rsp + 0x4c], ebp
xorps xmm1, xmm1
mov dword [rsp + 0x24], ebp
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], listen
movdqu xmmword [rsp + 0x2c], xmm0
movdqu xmmword [rsp + 0x3c], xmm1
test rax, rax
je 0x18001b636
mov qword [rsp + 0x88], r15
mov r15, r14
mov qword [rsp + 0x78], rbx
nop word [rax + rax]
lea r9, [rsp + 0x70]
mov rcx, rax
lea r8, [rsp + 0x20]
lea rdx, [0x1800253fc]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x18001b613
mov rbx, qword [rsp + 0x70]
mov eax, dword [rbx + 4]
cmp eax, 2
je 0x18001b5cb
cmp eax, 0x17
je 0x18001b5cb
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x18001b613
mov r8, qword [rbx + 0x10]
cmp r8, 0x1c
jbe 0x18001b5e0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x18001b613
cmp eax, 0x17
jne 0x18001b5f7
cmp qword [rsi + 8], 0xffffffffffffffff
jne 0x18001b5f7
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x18001b613
mov rdx, qword [rbx + 0x20]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
inc rbp
add r15, 0x1c
mov rax, qword [rdi + 8]
add rdi, 8
test rax, rax
jne 0x18001b590
mov r15, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x78]
test rbp, rbp
jne 0x18001b642
mov rcx, r14
call qword [sym.imp.VBoxRT.dll_RTMemFree]
xor r14d, r14d
inc qword [rsi + 0x58]
mov rcx, qword [rsi + 0x68]
mov rdi, qword [rsp + 0x80]
test rcx, rcx
je 0x18001b65d
call qword [sym.imp.VBoxRT.dll_RTMemFree]
mov qword [rsi + 0x60], rbp
mov qword [rsi + 0x68], r14
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret

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

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
add rdx, 0x98
imul rax, qword [rbx + 0x10], 0x1c
mov r8d, dword [rbx + 0x90]
add rax, qword [rcx + 0x68]
movzx r9d, word [rax]
cmp r9w, 2
jne 0x18001b6a8
mov rcx, qword [rcx]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
jmp 0x18001b6c1
cmp r9w, 0x17
jne 0x18001b6e6
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x18001b6e6
mov dword [rsp + 0x28], 0x1c
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
movsxd rcx, eax
cmp rcx, qword [rbx + 0x90]
jne 0x18001b6e6
mov eax, 1
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x18001be10
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x58]
mov rbx, rdx
mov rdi, rcx
cmp qword [rdx + 8], rax
jne 0x18001beb7
nop
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp rax, qword [rdi + 0x60]
je 0x18001beb7
mov r8d, dword [rbx + 0x90]
lea rdx, [rbx + 0x98]
imul rcx, rax, 0x1c
add rcx, qword [rdi + 0x68]
movzx eax, word [rcx]
cmp ax, 2
jne 0x18001be72
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi]
jmp 0x18001be92
cmp ax, 0x17
jne 0x18001be30
mov rax, qword [rdi + 8]
cmp rax, 0xffffffffffffffff
je 0x18001be30
mov dword [rsp + 0x28], 0x1c
mov qword [rsp + 0x20], rcx
mov rcx, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_sendto]
movsxd rcx, eax
cmp rcx, qword [rbx + 0x90]
jne 0x18001be30
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x18001cc90
Capabilities:
Resolve dns

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov dword [rcx], edx
mov rdi, rcx
mov dword [rcx + 4], r8d
mov rsi, r9
mov ecx, 2
lea r9, [r11 + 8]
xor r14d, r14d
xorps xmm0, xmm0
cmp edx, ecx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x4c], xmm0
mov eax, reloc.WS2_32.dll_socket
cmove eax, ecx
xor edx, edx
movdqu xmmword [rsp + 0x5c], xmm1
mov dword [r11 - 0x1c], r14d
mov rcx, rsi
mov dword [rsp + 0x44], eax
mov dword [r11 - 0x40], r8d
lea r8, [r11 - 0x48]
mov dword [rsp + 0x40], 4
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebp, eax
test eax, eax
jne 0x18001cd50
mov rbx, qword [rsp + 0x90]
lea rcx, [rdi + 8]
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rsi, qword [rsp + 0xb8]
lea r9, [rsp + 0x90]
mov rcx, rsi
mov qword [rsp + 0x90], r14
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebp, eax
test eax, eax
je 0x18001cdbe
mov ecx, 0x1540010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
mov rbx, rax
test rax, rax
je 0x18001cdb7
mov qword [rsp + 0x30], r14
lea rdi, [0x1806a4800]
mov dword [rsp + 0x28], 0x400
mov r9d, 0x400
mov r8d, ebp
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0x12ff
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea r9, str.__s_:__s_n
mov qword [rsp + 0x28], rdi
mov r8d, 0x154
mov qword [rsp + 0x20], rsi
mov edx, reloc.WS2_32.dll_recv
mov rcx, rbx
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov eax, 0xffffffff
jmp 0x18001ce0c
mov rbx, qword [rsp + 0x90]
lea rcx, [rdi + 0x24]
mov r8, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
movzx ecx, word [rsp + 0xb0]
mov qword [rsp + 0x90], r14
call fcn.180007da0
movzx ecx, word [rsp + 0xc0]
mov word [rdi + 0xa], ax
call fcn.180007da0
mov word [rdi + 0x26], ax
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18001d480
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dx, word [rcx + 0xc]
jne 0x18001d565
mov rdx, rcx
mov qword [rsp + 0x30], rdi
lea rcx, [0x18001d570]
call fcn.1800152a0
mov rax, qword [rbx + 0x10]
xor edi, edi
mov dword [rbx + 0x20], edi
movzx ecx, word [rax + 0x12]
cmp ecx, dword [rbx + 0x44]
jae 0x18001d4cb
mov rcx, rbx
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
jmp fcn.18001d6b0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18001d4dd
call fcn.18000efe0
mov qword [rbx + 0x18], rdi
inc dword [rbx + 0xc]
movzx ecx, word [rbx + 0xc]
call fcn.180007da0
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rcx + 8]
mov word [rdx + 2], ax
mov rax, qword [rbx + 0x10]
mov r8d, dword [rbx + 0x44]
mov ecx, dword [rbx + 8]
mov rdx, qword [rax + 8]
add rdx, 4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
test eax, eax
jns 0x18001d529
lea r8, str.Read_failed
movzx edx, di
mov rcx, rbx
call fcn.18001d170
jmp 0x18001d535
lea edx, [rcx + 4]
mov rcx, qword [rbx + 0x10]
call fcn.18000f240
mov rdx, qword [rbx + 0x18]
test rdx, rdx
jne 0x18001d542
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
call fcn.180015e90
imul ecx, dword [rbx + 0x4c], 0x3e8
lea rdx, [0x18001d570]
mov r8, rbx
call fcn.1800150b0
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret

Function at 0x18001e380
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x18002f108]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18001e473
cmp dword [rsp + 0x24], 6
jb 0x18001e3e9
lea rax, [0x18001e1e0]
mov qword [0x1806a47d8], rax
lea rax, [0x18001e350]
jmp 0x18001e3fe
lea rax, [0x18001e1e0]
mov qword [0x1806a47d8], rax
lea rax, [0x18001e350]
mov qword [0x1806a47e0], rax
call qword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov qword [0x1806a47c0], rax
cmp rax, 0xffffffffffffffff
je 0x18001e42b
lea rdx, [0x1806a47c0]
lea rcx, [0x18001e490]
call fcn.180008780
call qword [sym.imp.IPHLPAPI.DLL_Icmp6CreateFile]
mov qword [0x1806a47c8], rax
cmp rax, 0xffffffffffffffff
je 0x18001e458
lea rdx, [0x1806a47c0]
lea rcx, [0x18001e6b0]
call fcn.18000a110
mov rax, qword [0x1806a47c8]
cmp qword [0x1806a47c0], 0xffffffffffffffff
jne 0x18001e468
cmp rax, 0xffffffffffffffff
je 0x18001e473
mov qword [0x1806a47d0], rbx
xor al, al
jmp 0x18001e475
mov al, 0xf2
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18001f500
add rsp, 0x150
pop rbx
ret
Function at 0x180022260
Capabilities:
Query or enumerate registry value

Disassembly:
cmp rdx, 0x1000
jb 0x1800223a1
push rbx
sub rsp, 0x40
movabs rax, 0xffff800000000000
mov rbx, rdx
test rax, rdx
jne 0x18002239c
mov qword [rsp + 0x50], rdi
xor edi, edi
mov qword [rdx], rdi
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jne 0x180022397
lea rax, [rsp + 0x38]
xor r8d, r8d
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.Interface
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18002238c
mov rdx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
lea r9d, [rdi + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180022381
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180022376
cmp dword [rsp + 0x60], 1
jne 0x180022376
mov edx, dword [rsp + 0x58]
xor ecx, ecx
inc edx
shr edx, 1
inc edx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
lea rcx, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rbx], rax
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x180022376
mov rcx, qword [rbx]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, qword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
Function at 0x180011c50
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 0x180011cad
lea rbx, [0x1800539c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180011c94
cmp r10, 2
jb 0x180011c94
cmp byte [r9], r8b
jne 0x180011c94
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180011c70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180011cef
lea rbx, [0x1800539c0]
cmp r8b, 0x23
jne 0x180011cd3
cmp byte [r9], r8b
jne 0x180011cd3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180011cc0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180011e50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180011e6a
mov qword [r8], 0
lea rdx, [0x1800517c0]
call fcn.180011d00
mov rbx, rax
test rax, rax
jne 0x180011e8a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180011f63
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180011f63
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180011f63
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180011f63
cmp rdi, 0xffffffffffffffff
je 0x180011f63
mov rax, qword [0x1800650b0]
test rax, rax
je 0x180011f00
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180011f63
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180011f50
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800650b0]
test rax, rax
je 0x180011f45
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180011f6c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180011f5e
mov qword [r14], rdi
mov rax, rsi
jmp 0x180011f6e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180015340
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xf0]
lea r8, [0x1800539c0]
movsxd rcx, dword [rcx + 0xe8]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1800650b0]
not ebx
cmp dword [rcx + 0x3f00], ebx
jne 0x1800153d5
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180027bd0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180018cd0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180018d20
lea r11, [0x1800539c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180018d03
cmp byte [r8], r9b
jne 0x180018d03
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180018cf0
mov rcx, qword [0x1800650b0]
not eax
movsxd rdx, dword [rcx + 0x3e98]
mov r9, qword [rcx + 0x3ea0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180018d81
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180018d79
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180018d7c
mov rdx, r8
test rdx, rdx
jne 0x180018d50
cmp r9, r10
je 0x180018d90
cmp dword [r9], eax
jne 0x180018d90
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x1800262c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c38], 0
lea rbx, [rcx + 0x5c40]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180026367
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18002631a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180028d70
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180012370
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c38]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c48]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800650a8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18002636f
mov rcx, rbx
call fcn.180012370
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800267f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800650b0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180026853
mov qword [rsp], rbx
lea rbx, [0x1800539c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180026833
cmp byte [r8], r9b
jne 0x180026833
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180026820
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bb0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180026887
mov r10, qword [r10 + 0x5bb8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18002688e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180026874
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 0x180047f20
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x180047f6f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800652c0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x180047fad
cmp rsi, r14
jb 0x180047fa5
cmp rsi, r15
jae 0x180047fa5
cmp qword [rsi + 8], 0
jne 0x180048177
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180047f90
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180048042
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180048039
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180048039
cmp dword [rsp + 0x40], 0x10000
je 0x1800480bb
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180048039
sub rbx, rbp
cmp rbx, r14
jae 0x180048000
test rsi, rsi
jne 0x180048120
cmp rdi, r15
ja 0x18004815f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18004815f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004815f
cmp dword [rsp + 0x40], 0x10000
je 0x1800480f1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180048072
jmp 0x18004815f
test rbx, rbx
je 0x180048039
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180048120
cmp rbx, r14
jae 0x180047fe0
jmp 0x180048042
test rdi, rdi
je 0x18004815f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180048120
cmp rdi, r15
jbe 0x180048050
jmp 0x18004815f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180048130
mov rax, qword [0x1800652c0]
mov qword [rsi], rax
mov qword [0x1800652c0], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18004e910
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret