joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b3d0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14003b40f
mov rax, qword [rbp - 0x20]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14002a660]
mov qword [rbp - 0x28], rax
lea rax, [0x1413bd508]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, [0x1413bd540]
lea rcx, [rbp - 0x60]
call fcn.140050880
ud2

Function at 0x14003d270
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14003d37f
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14003d2a8
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14003d342
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14003d361
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003d2fe
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x14003d31b
jmp 0x14003d310
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14003d316
cmp eax, 0x6d
jne 0x14003d332
mov byte [rsi + 1], 0
jmp 0x14003d326
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14003d328
mov r8d, 0x10
mov rcx, rbx
call fcn.1400506f0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x14003d2b5
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.1400506f0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x14003d2b5
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140051b70
ud2

Function at 0x140046b0c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140046908
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140015d30
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017080
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400170a0
xor al, al
jmp 0x140017121
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400170b3
xor al, al
jmp 0x140017121
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400170dd
xor al, al
jmp 0x140017121
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400170f1
xor al, al
jmp 0x140017121
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017103
xor al, al
jmp 0x140017121
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001711f
xor al, al
jmp 0x140017121
mov al, 1
add rsp, 0x38
ret
Function at 0x140003400
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140052020]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov edi, ecx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.1400179e0
xor edx, edx
mov dword [rsp + 0x20], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
xor esi, esi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003480
cmp dword [rsp + 0x28], edi
je 0x14000347c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003462
jmp 0x140003480
mov esi, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400154c0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140010b40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbp, qword [rcx + 0x48]
mov rdi, r8
add r8, 0x20
mov r15, rdx
mov r14, rcx
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140010b6e
mov rdx, qword [r8]
mov r9, qword [r8 + 0x10]
xor ecx, ecx
movabs rsi, 0xcbf29ce484222325
test r9, r9
je 0x140010ba3
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor rsi, rax
imul rsi, r10
cmp rcx, r9
jb 0x140010b90
mov r9, rsi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.1400125c0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140010c71
mov rdx, qword [rbp + 0x30]
and rdx, rsi
shl rdx, 4
add rdx, qword [rbp + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140010bf4
cmp rax, rbx
jne 0x140010bea
mov rax, qword [rbp + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140010bff
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140010bff
cmp rax, rbx
jne 0x140010bff
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [rbp + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdx, qword [rbx + 0x28]
cmp rdx, 0x10
jb 0x140010c50
mov rcx, qword [rbx + 0x10]
inc rdx
cmp rdx, 0x1000
jb 0x140010c4b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010ce6
mov rcx, r8
call fcn.1400154e0
mov edx, 0x38
mov qword [rbx + 0x20], 0
mov rcx, rbx
mov qword [rbx + 0x28], 0xf
mov byte [rbx + 0x10], 0
call fcn.1400154e0
mov rbx, qword [rdi + 0x10]
lea rcx, [r14 + 0x60]
mov rax, rdi
cmp byte [rbx + 0x19], 0
je 0x140010ca5
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x140010cbf
nop dword [rax]
cmp rax, qword [rbx + 0x10]
jne 0x140010cbf
mov rax, rbx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], 0
je 0x140010c90
jmp 0x140010cbf
mov rdx, qword [rbx]
cmp byte [rdx + 0x19], 0
jne 0x140010cbf
nop
mov rax, qword [rdx]
mov rbx, rdx
mov rdx, rax
cmp byte [rax + 0x19], 0
je 0x140010cb0
mov rdx, rdi
call fcn.140011370
mov rdx, rax
call fcn.14000ecf0
mov qword [r15], rbx
mov rax, r15
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140022ad8
int3
Function at 0x1400126c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
cmp qword [rdx + 0x18], 0x10
mov r14, r8
mov r15, qword [rcx + 8]
mov r8, rdx
jb 0x1400126e8
mov r8, qword [rdx]
mov r10, qword [rdx + 0x10]
xor edi, edi
movabs rbx, 0xcbf29ce484222325
mov ecx, edi
mov r9, rbx
movabs r12, 0x100000001b3
test r10, r10
je 0x140012724
nop dword [rax]
movzx eax, byte [rcx + r8]
inc rcx
xor r9, rax
imul r9, r12
cmp rcx, r10
jb 0x140012710
mov r8, rdx
mov rcx, r15
lea rdx, [rsp + 0x20]
call fcn.1400125c0
mov rsi, qword [rax + 8]
test rsi, rsi
jne 0x140012741
mov rsi, qword [r15 + 8]
cmp qword [r14 + 0x18], 0x10
mov rcx, r14
jb 0x14001274e
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
mov rbp, r15
test rdx, rdx
je 0x140012773
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rdi
xor rbx, rax
imul rbx, r12
cmp rdi, rdx
jb 0x140012760
mov r9, rbx
lea rdx, [rsp + 0x30]
mov r8, r14
mov rcx, r15
call fcn.1400125c0
mov rax, qword [rax + 8]
test rax, rax
jne 0x140012793
mov rax, qword [r15 + 8]
mov rcx, qword [rbp + 8]
cmp rsi, rcx
jne 0x1400127a0
xor al, al
jmp 0x1400127b4
cmp rax, rcx
jne 0x1400127a9
mov al, 1
jmp 0x1400127b4
mov rax, qword [rax + 0x30]
cmp qword [rsi + 0x30], rax
setb al
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019e9b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
jmp 0x14001b6e8
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x1a0]
jmp 0x14001b9b9
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x1a0]
mov ecx, dword [rsp + 0x1a0]
jmp 0x140017324
Function at 0x14001c54a
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
test eax, eax
jne 0x140015eaf
jmp 0x140015fba
mov rcx, qword [rsp + 0x70]
call fcn.140018dc1
jmp 0x1400188c4
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
je 0x1400167e6
jmp 0x14001b689
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x1400167e6
mov rax, qword [rsp + 0x48]
add rsp, 0x68
ret
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x140015cd2
jmp 0x14001abc4
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x1400190dd
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x38], rax
jmp 0x140016f11
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
jmp 0x14001b689
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.1400195ea
jmp 0x140015b04
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x140015cd2
jmp 0x14001abc4
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
je 0x140017bac
jmp 0x14001bad4
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140015eaf
jmp 0x140017068
jmp 0x140016f11
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
sub rax, 0x10
jmp 0x14001821d
Function at 0x1400b3a90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, gethostname
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140401d40]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x14043614a]
call fcn.1402c8d18
cmp qword [rbp + 0x1c0], 0
jg 0x1400b3af4
xor eax, eax
jmp 0x1400b3cd0
mov rax, qword [rbp + 0x1b0]
cmp qword [rax + 0x68], 0
je 0x1400b3b21
mov r8, qword [rbp + 0x1c0]
mov rdx, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1b0]
call fcn.1400b3d00
jmp 0x1400b3cd0
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x1b0]
call fcn.14009f9a0
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jbe 0x1400b3bba
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 8]
call fcn.140083590
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x1b0]
call fcn.1400a9ba0
mov r8, qword [rbp + 0x68]
mov rdx, rax
mov rcx, qword [rbp + 0x1b8]
call fcn.1400a41a0
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x1b8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov edx, dword [rbp + 0x68]
mov rcx, qword [rbp + 0x1b0]
call fcn.1400a9010
mov rax, qword [rbp + 0x1b0]
cmp qword [rax + 0x80], 0
je 0x1400b3cc2
mov rcx, qword [rbp + 0x1b0]
call fcn.1400a1230
mov qword [rbp + 0x88], 0xfff
cmp qword [rbp + 8], 0xfff
jbe 0x1400b3c6e
mov rax, qword [rbp + 0x1b0]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rbp + 0x1b8]
call fcn.1402df194
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x1b8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
cmp qword [rbp + 0xa8], 0xfff
je 0x1400b3c69
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
jmp 0x1400b3cd0
jmp 0x1400b3be6
cmp qword [rbp + 8], 0
jbe 0x1400b3cc2
mov rax, qword [rbp + 0x1b0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 8]
mov edx, 1
mov rcx, qword [rbp + 0x1b8]
call fcn.1402df194
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1402c8bbc
mov rax, rdi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1402c8f50
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x1400d7f40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1404361fc]
call fcn.1402c8d18
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call fcn.1402df194
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400d8310
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x1404361fc]
call fcn.1402c8d18
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x14031ed50]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1400d838f
mov dword [rbp + 0x120], 1
jmp 0x1400d8399
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1400d83e2
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1400d835a
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1400d8400
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1404361fc]
call fcn.1402c8d18
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x14031ed50]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1400d8545
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1400d8499
mov dword [rbp + 0x160], 1
jmp 0x1400d84a3
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1400d8540
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1400d851a
cmp qword [rbp + 0x198], 2
jb 0x1400d851a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400d851a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400d851a
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400d8464
jmp 0x1400d85df
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1400d85df
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1400d85b6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400d85b6
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400d85b6
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400d8545
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1401151a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140401d40]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x14043636a]
call fcn.1402c8d18
call fcn.1400d5f40
mov qword [rbp + 8], rax
mov dword [rbp + 0x28], 0
mov dword [rbp + 0x2c], 0
mov dword [rbp + 0x30], 0
mov dword [rbp + 0x34], 0
lea rdx, [rbp + 0x28]
mov rcx, qword [0x14040c5e0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x2c]
mov ecx, dword [rbp + 0x34]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rbp + 0x28]
mov ecx, dword [rbp + 0x30]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rbp + 0x154]
call fcn.14008d2f0
mov rax, qword [rax]
mov rcx, qword [rbp + 8]
mov qword [rcx + 8], rax
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
je 0x140115259
call fcn.140116240
mov qword [rbp + 0x58], 0
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x14040c5e8]
mov rcx, qword [rbp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x14040c5f0]
divss xmm0, xmm1
mov rax, qword [rbp + 8]
movss dword [rax + 0x10], xmm0
mov rax, qword [rbp + 0x58]
mov qword [0x14040c5e8], rax
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401152c3
mov dword [rbp + 0x164], 1
jmp 0x1401152cd
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x134], cl
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401152ff
mov dword [rbp + 0x164], 1
jmp 0x140115309
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x135], cl
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14011533b
mov dword [rbp + 0x164], 1
jmp 0x140115345
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x136], cl
mov rax, qword [rbp + 8]
mov byte [rax + 0x137], 0
call fcn.1401165c0
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0xc7]
test eax, eax
je 0x140115381
mov dword [rbp + 0x164], 0xffffffff
jmp 0x14011538c
call fcn.1400d6320
mov dword [rbp + 0x164], eax
mov eax, dword [rbp + 0x164]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x74]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x1401153ae
mov eax, dword [rbp + 0x74]
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140116480
call fcn.140115ad0
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1402c8bbc
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1402c8f50
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140156d90
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140401d40]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x140156dfc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.140174fc0
jmp 0x140156eda
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x140156e2c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.140174fc0
jmp 0x140156eda
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x140156e50
cmp ecx, 1
je 0x140156e3f
mov ebx, r14d
call fcn.1401578c0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x140156e55
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14032476c]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, ntohl
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14014fa60
lea rcx, [rsp + 0x58]
call fcn.140156c20
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.140157520
test al, al
je 0x140156ec9
mov dword [r15], 1
jmp 0x140156ed8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140163730
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402c8f50
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x140156d90