joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400014a4
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x5f0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x580], ecx
mov qword [rbp + 0x588], rdx
call sym.__main
cmp dword [rbp + 0x580], 2
je 0x1400014d9
mov eax, 1
jmp 0x14000172e
mov rax, qword [rbp + 0x588]
mov rax, qword [rax + 8]
mov qword [rbp + 0x568], rax
lea rax, str.Initializing_Winsock..._n
mov rcx, rax
call sym.printf
lea rax, [rbp + 0x3b0]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
je 0x14000153a
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Failed._Error_Code:__d_n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x14000172e
lea rax, str.Creating_socket..._n
mov rcx, rax
call sym.printf
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x560], rax
cmp qword [rbp + 0x560], 0xffffffffffffffff
jne 0x140001597
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Could_not_create_socket._Error_Code:__d_n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x14000172e
mov word [rbp + 0x3a0], 2
lea rax, str.127.0.0.1
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp + 0x3a4], eax
mov ecx, 0x1f90
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp + 0x3a2], ax
lea rax, [rbp + 0x3a0]
mov rcx, qword [rbp + 0x560]
mov r8d, 0x10
mov rdx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
jns 0x140001616
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Connect_failed._Error_Code:__d_n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x14000172e
lea rax, str.Connected_to_server._n
mov rcx, rax
call sym.printf
mov rax, qword [rbp + 0x568]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov rdx, qword [rbp + 0x568]
mov rax, qword [rbp + 0x560]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rax, qword [rbp + 0x568]
lea rdx, [0x1400090b6]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x558], rax
cmp qword [rbp + 0x558], 0
jne 0x1400016bf
lea rax, str.Could_not_open_file_to_read._n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x14000172e
mov edx, dword [rbp + 0x554]
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0x560]
mov r9d, 0
mov r8d, edx
mov rdx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rdx, qword [rbp + 0x558]
lea rax, [rbp - 0x60]
mov r9, rdx
mov r8d, 0x400
mov edx, 1
mov rcx, rax
call sym.fread
mov dword [rbp + 0x554], eax
cmp dword [rbp + 0x554], 0
jg 0x140001699
lea rax, str.File_sent._n
mov rcx, rax
call sym.printf
mov rax, qword [rbp + 0x558]
mov rcx, rax
call sym.fclose
mov rax, qword [rbp + 0x560]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 0
add rsp, 0x5f0
pop rbp
ret
Function at 0x140001a50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001ac0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000c094]
test esi, esi
mov rbx, rcx
jle 0x140001bf0
mov rax, qword [0x14000c098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001b0b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001b95
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001af0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140001c12
mov rax, qword [0x14000c098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000c098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001bf7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001b8e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001ba0
add dword [0x14000c094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x14000c098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001b18
mov rax, qword [0x14000c098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002180
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000c100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000c0e0]
test rbx, rbx
je 0x1400021dc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400021d3
test rsi, rsi
je 0x1400021d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400021b8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400023f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll_exit]
call qword [rax]
nop
nop

Function at 0x140002400
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.msvcrt.dll__exit]
call qword [rax]
nop
nop
nop

Function at 0x140002410
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002428
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002430
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002440
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14000248d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x140002484
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000248f
add rax, 0x28
cmp rax, r9
jne 0x140002470
xor eax, eax
ret

Function at 0x140002490
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002520
mov rdx, qword [0x140009820]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000250e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000250e
cmp word [rax + 0x18], 0x20b
jne 0x14000250e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002520
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400024f9
add rbx, 0x28
cmp rbx, rdi
je 0x140002520
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400024f0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002530
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009820]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002550
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002558
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002550
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400025ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400025a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002550
add rax, 0x28
cmp rax, r9
jne 0x140002590
xor eax, eax
ret

Function at 0x1400025b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009820]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400025cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400025d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400025cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400025f0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140009820]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002610
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002618
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002610
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140002660
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002657
test rcx, rcx
je 0x140002610
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002648
xor eax, eax
ret

Function at 0x140002670
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009820]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000268f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002698
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400026b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009820]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026d0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x1400026d0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140002724
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002730
add rdx, 0x28
cmp r9, rdx
jne 0x140002710
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002740
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140009820]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002762
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002770
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002762
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002762
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140002762
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x1400027c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400027d8
add rdx, 0x28
cmp rdx, r10
jne 0x1400027b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400027e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400027f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400027ce
test ecx, ecx
jg 0x1400027e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1800035d0
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 0x18000362d
lea rbx, [0x1800d90c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180003614
cmp r10, 2
jb 0x180003614
cmp byte [r9], r8b
jne 0x180003614
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 0x1800035f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000366f
lea rbx, [0x1800d90c0]
cmp r8b, 0x23
jne 0x180003653
cmp byte [r9], r8b
jne 0x180003653
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 0x180003640
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800037b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800037ca
mov qword [r8], 0
lea rdx, [0x1800d8c3c]
call fcn.180003680
mov rbx, rax
test rax, rax
jne 0x1800037ea
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 0x1800038c1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800038c1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800038c1
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 0x1800038c1
cmp rdi, 0xffffffffffffffff
je 0x1800038c1
mov rax, qword [0x1801d46a0]
test rax, rax
je 0x18000385e
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 0x1800038c1
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 0x1800038ae
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1801d46a0]
test rax, rax
je 0x1800038a3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800038ca
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800038bc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800038cc
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 0x180006eb0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1800d90c0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1801d46a0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x180006f46
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.18001a3a0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180006f50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x1800d90c0]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x180013e40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1801d46a0]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x180013ea1
cmp byte [rbx + 0x4a5e], 0
jne 0x180013ea1
movsx r9d, word [rbx + 0x5b6e]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.180003490
test dil, 1
je 0x180013fc8
jmp 0x180013f2a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b6e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800e8024]
mulss xmm1, dword [0x1800e8004]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x1800e7e20]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.180003490
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180013f80
lea r11, [0x1800d90c0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x180013f63
cmp byte [r8], r9b
jne 0x180013f63
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180013f50
not ecx
call fcn.18000ae60
test rax, rax
je 0x180013fc8
cmp byte [rax + 0xae], 0
je 0x180013fc8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b6e]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b6e]
call fcn.180003490
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000d6d0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800caa50
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180018e20
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 + 0x5c50], 0
lea rbx, [rcx + 0x5c58]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180018ec7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180018e7a
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.18001b380
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180003e80
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c50]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c60]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801d4698]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180018ecf
mov rcx, rbx
call fcn.180003e80
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180019350
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1801d46a0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800193b3
mov qword [rsp], rbx
lea rbx, [0x1800d90c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180019393
cmp byte [r8], r9b
jne 0x180019393
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 0x180019380
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bc8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1800193e7
mov r10, qword [r10 + 0x5bd0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1800193ee
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1800193d4
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 0x180049830
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor ebx, ebx
lea rdx, str.ConstMethod
mov rdi, rcx
mov qword [rsp + 0x30], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x20]
lea r8d, [rbx + 0xb]
movups xmmword [rsp + 0x20], xmm0
call fcn.1800449e0
cmp qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
movabs r9, 0xcbf29ce484222325
cmova rcx, qword [rsp + 0x20]
test rdx, rdx
je 0x1800498b3
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
inc rbx
xor r9, rax
imul r9, r8
cmp rbx, rdx
jb 0x1800498a0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call fcn.18004bb60
mov rbx, qword [0x1801d49e8]
mov rcx, qword [rax + 8]
test rcx, rcx
cmovne rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.180041ed0
cmp rbx, qword [0x1801d49e8]
jne 0x1800498f9
mov byte [rdi + 8], 0
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rax, qword [rbx + 0x30]
mov rbx, qword [rsp + 0x68]
mov qword [rdi], rax
mov rax, rdi
mov byte [rdi + 8], 1
add rsp, 0x50
pop rdi
ret
Function at 0x18004eb40
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x58
mov rax, qword [0x180106040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 8]
cmp byte [rax + 0x48], 0
je 0x18004eca5
call fcn.18004cdf0
mov rcx, rax
call fcn.18004d5f0
test al, al
je 0x18004eca5
mov rax, qword [0x1801d4b80]
mov r8, qword [0x1801d4cd0]
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x1801d4b38]
mov rdx, qword [rax]
mov rcx, rbx
mov rax, qword [rbx]
mov r9, qword [rax + 0x2f8]
call r9
mov rdx, qword [rbx]
xor r8d, r8d
mov rcx, rbx
mov r9, qword [rdx + 0xc0]
mov rdx, rax
call r9
mov rbx, qword [rsp + 0x50]
test al, al
je 0x18004eca5
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18004eca5
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18004eca5
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18004ec0e
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18004ec35
mov rax, qword [0x1801d4b80]
mov r9d, 1
mov r8, qword [0x1801d4c18]
mov rcx, qword [0x1801d4b38]
mov rdx, qword [rax + 8]
mov rdx, qword [rdx]
call fcn.1800ab610
cmp dword [0x1801cc364], 5
jne 0x18004ec85
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x18004ec5e
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18004ec85
mov rax, qword [0x1801d4b80]
mov r9d, 1
mov r8, qword [0x1801d4c18]
mov rcx, qword [0x1801d4b38]
mov rdx, qword [rax + 8]
mov rdx, qword [rdx]
call fcn.1800ab610
call fcn.18004cdf0
lea rdx, [rsp + 0x28]
lea rcx, [rax + 0xa0]
call fcn.18004e2e0
lea rcx, [rsp + 0x28]
call fcn.18004dee0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800caa50
add rsp, 0x58
ret