joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dcd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rdx, [rsp + 0x30]
call fcn.14000d090
mov r15, qword [rbp - 0x30]
test al, al
je 0x14000de97
mov dword [rsp + 0x20], 0xa9b5bbe0
mov word [rsp + 0x24], 0xa6
mov byte [rsp + 0x26], 1
xor ecx, ecx
nop dword [rax + rax]
lea eax, [rcx - 0x32]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x14000dd40
mov byte [rsp + 0x26], 0
mov rbx, r15
mov rdi, qword [rbp - 0x28]
cmp r15, rdi
je 0x14000dd85
mov r14, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14000dd88
add rbx, 8
cmp rbx, rdi
jne 0x14000dd61
xor r14d, r14d
mov dword [rsp + 0x28], 0xb0b4bde0
mov dword [rsp + 0x2c], 0x100b2a6
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x32]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 6
jb 0x14000dda0
mov byte [rsp + 0x2f], 0
mov rbx, r15
cmp r15, rdi
je 0x14000dde4
nop dword [rax]
mov rsi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14000dde6
add rbx, 8
cmp rbx, rdi
jne 0x14000ddc0
xor esi, esi
test r14, r14
je 0x14000de97
cmp r14, rsi
jae 0x14000de97
mov dword [rbp - 0x10], 1
mov dword [rbp - 0xc], 2
mov dword [rbp - 8], 4
mov dword [rbp - 4], 8
mov dword [rbp], reloc.WS2_32.dll_recv
mov dword [rbp + 4], reloc.WLDAP32.dll_Ordinal_32
mov dword [rbp + 8], 0x40
mov dword [rbp + 0xc], 0x80
mov dword [rbp + 0x10], 0x100
mov dword [rbp + 0x14], 0x200
mov dword [rbp + 0x18], 0x400
mov dword [rbp + 0x1c], 0x80000000
lea rdi, [rbp - 0x10]
mov r13, qword [rsp + 0x48]
nop word [rax + rax]
mov r8d, dword [r14 + 8]
add r8d, 0x1000
mov r9d, dword [rdi]
mov rdx, qword [r13 + 0x18]
call fcn.14000df00
mov r8d, dword [rsi + 8]
mov edx, dword [rsi + 0xc]
add rdx, qword [r13 + 0x18]
mov r9d, dword [rdi]
call fcn.14000df00
add rdi, 4
lea rax, [rbp + 0x20]
cmp rdi, rax
jne 0x14000de60
test r15, r15
je 0x14000ded7
mov rdx, qword [rbp - 0x20]
sub rdx, r15
and rdx, 0xfffffffffffffff8
mov rax, r15
cmp rdx, 0x1000
jb 0x14000decf
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000decf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400e8180
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400e8160
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14000df00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x50], ebx
mov edi, r9d
mov qword [rsp + 0x58], r8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword gs:[0x58]
mov rsi, rax
mov eax, 4
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1401525f0], ecx
jle 0x14000dfca
lea rcx, [0x1401525f0]
call fcn.1400e8310
cmp dword [0x1401525f0], 0xffffffff
jne 0x14000dfca
movdqa xmm0, xmmword [0x140139610]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x8e8dba93
mov dword [rsp + 0x44], 0x1009a90
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx - 0x32]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 0x16
jb 0x14000df90
mov rcx, qword [0x140152020]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x47], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1401525f0]
mov qword [0x1401525e0], rax
call fcn.1400e82b0
mov rax, qword [0x1401525e0]
test rax, rax
je 0x14000dff4
lea rcx, [rsp + 0x50]
mov r9d, edi
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x58]
mov rcx, rsi
lea rdx, [rsp + 0x48]
call rax
jmp 0x14000dfff
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400e8160
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000f8d0
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 0x14000f92d
lea rbx, [0x140115c20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000f914
cmp r10, 2
jb 0x14000f914
cmp byte [r9], r8b
jne 0x14000f914
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 0x14000f8f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000f96f
lea rbx, [0x140115c20]
cmp r8b, 0x23
jne 0x14000f953
cmp byte [r9], r8b
jne 0x14000f953
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 0x14000f940
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000fab0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000faca
mov qword [r8], 0
lea rdx, [0x140137b84]
call fcn.14000f980
mov rbx, rax
test rax, rax
jne 0x14000faea
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 0x14000fbc1
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 0x14000fbc1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000fbc1
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 0x14000fbc1
cmp rdi, 0xffffffffffffffff
je 0x14000fbc1
mov rax, qword [0x140151f38]
test rax, rax
je 0x14000fb5e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000fbc1
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 0x14000fbae
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140151f38]
test rax, rax
je 0x14000fba3
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000fbca
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000fbbc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000fbcc
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 0x14001e1e0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rax, qword [0x140151f38]
lea r10, [0x140115c20]
mov r9, qword [rax + 0x1d18]
movsxd rdx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
not r8d
movzx eax, cl
movzx edx, r8b
shr r8d, 8
xor rdx, rax
movzx eax, byte [rsp + 0x31]
xor r8d, dword [r10 + rdx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x32]
xor r8d, dword [r10 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rax
movzx eax, byte [rsp + 0x33]
xor r8d, dword [r10 + rcx*4]
lea rcx, [r9 + 0x108]
movzx edx, r8b
xor rdx, rax
shr r8d, 8
xor r8d, dword [r10 + rdx*4]
lea rdx, [rsp + 0x30]
not r8d
mov dword [rsp + 0x30], r8d
call fcn.14002fdc0
add rsp, 0x28
ret

Function at 0x14001f140
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140151f38]
mov edi, edx
cmp byte [rbx + 0x20d5], 0
jne 0x14001f1a0
cmp byte [rbx + 0x20d6], 0
jne 0x14001f1a0
mov r9d, dword [rbx + 0x3178]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14000f850
test dil, 1
je 0x14001f2c6
jmp 0x14001f22f
movss xmm1, dword [rbx + 0x16ec]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x3178]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140139134]
mulss xmm1, dword [0x140139120]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1ddc], rax
mov dword [rbx + 0x1dc4], 1
movss dword [rbx + 0x1dd4], xmm0
mov byte [rbx + 0x1dfc], 1
movss dword [rbx + 0x1dd8], xmm1
movss xmm0, dword [rbx + 0x1748]
mulss xmm0, dword [0x140139084]
or dword [rbx + 0x1dc0], 0x41
movss dword [rbx + 0x1e20], xmm0
call fcn.14000f850
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001f280
lea r11, [0x140115c20]
nop
cmp r9b, 0x23
jne 0x14001f263
cmp byte [r8], r9b
jne 0x14001f263
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 0x14001f250
not ecx
call fcn.140017c30
test rax, rax
je 0x14001f2c6
cmp byte [rax + 0xcf], 0
je 0x14001f2c6
mov byte [rax + 0xd6], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xf0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x3178]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x3178]
call fcn.14000f850
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14001a710
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400e8160
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140023fd0
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 + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140024077
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002402a
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.1400306d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140010180
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140151f24]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002407f
mov rcx, rbx
call fcn.140010180
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400244c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140024512
lea r11, [0x140115c20]
cmp r9b, 0x23
jne 0x1400244f5
cmp byte [r8], r9b
jne 0x1400244f5
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 0x1400244e2
mov r11, qword [0x140151f38]
mov r10, qword [r11 + 0x3228]
test r10, r10
je 0x140024559
lea r9, [r10 + 4]
test r9, r9
je 0x140024559
not eax
cmp dword [r9], eax
je 0x140024562
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140024530
mov rcx, rbx
pop rbx
jmp fcn.1400243d0
mov rax, r9
pop rbx
ret
Function at 0x140027aa0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140027cde
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x140115c20]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140027ca6
mov rcx, rbp
call fcn.140027130
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140027b71
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140027b61
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140027b59
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140027b5c
mov rdx, rcx
test rdx, rdx
jne 0x140027b30
cmp r8, r10
je 0x140027b71
cmp dword [r8], r9d
jne 0x140027b71
mov rcx, qword [r8 + 8]
jmp 0x140027b73
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x140027c07
cmp qword [rcx + 0x18], 0
jne 0x140027bfc
mov qword [rcx + 0x18], rbx
jmp 0x140027c07
cmp qword [rcx + 0x20], 0
jne 0x140027c07
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov rcx, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140027c3c
nop
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140027c30
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.14000f850
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140027c98
cmp r9b, 0x23
jne 0x140027c7b
cmp byte [r8], r9b
jne 0x140027c7b
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140027c68
not ecx
call fcn.140017c30
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140027af0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e8160
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140043420
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [0x1401524a0]
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
mov rdi, qword [0x140151f38]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
movd xmm1, eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
cmp byte [reloc.WS2_32.dll_accept], 0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
je 0x1400434e7
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x140151f38]
mov ecx, dword [rbx + 0x161c]
test ecx, ecx
jns 0x1400434bd
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1618]
test eax, eax
cmovg edx, eax
call fcn.140030070
xor r9d, r9d
mov dword [rbx + 0x1618], 0
lea r8, [0x1400432f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov rbx, qword [rsp + 0x50]
mov byte [reloc.WS2_32.dll_accept], 0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401524a8]
cvtsi2ss xmm0, qword [0x1401524b0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1401524a8], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x13c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x13d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x13f], 0
mov byte [rdi + 0x13e], al
call fcn.140042e20
cmp byte [rdi + 0xcf], 0
mov rdi, qword [rsp + 0x40]
je 0x140043591
mov eax, 0xffffffff
jmp 0x14004359e
mov rax, qword [0x140151f38]
mov eax, dword [rax + 0x20d0]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x1400435b1
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140042ca0
call fcn.140043020
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400e8160
add rsp, 0x48
ret
Function at 0x140059b10
Capabilities:
Enumerate pe sections
Parse pe header
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r15, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r14, rax
test rax, rax
je 0x140059c12
mov r12d, 0x5a4d
cmp word [rax], r12w
jne 0x140059c12
movsxd rdi, dword [rax + 0x3c]
add rdi, rax
cmp dword [rdi], 0x4550
jne 0x140059c12
movzx ebx, word [rdi + 0x14]
add rbx, 0x18
mov dword [rsp + 0x40], 0x104
add rbx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x40]
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
xor esi, esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov r13d, 1
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140059c12
mov qword [rsp + 0x28], rsi
lea r8d, [rsi + 2]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
jne 0x140059c45
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400e8160
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r9, rax
test rax, rax
je 0x140059c12
cmp word [rax], r12w
jne 0x140059d55
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140059d55
mov eax, dword [rdi + 8]
cmp dword [rcx + 8], eax
jne 0x140059d55
movzx edx, word [rcx + 6]
cmp dx, word [rdi + 6]
jne 0x140059d55
movzx r10d, word [rcx + 0x14]
xor dil, dil
add r10, 0x18
mov r11d, edx
add r10, rcx
test edx, edx
je 0x140059d3a
nop word [rax + rax]
mov r8, r15
mov rax, rbx
sub r8, rbx
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140059ce3
inc rax
test ecx, ecx
jne 0x140059cd0
test edx, edx
jne 0x140059cf0
test dword [rbx + 0x24], 0x20000000
jne 0x140059d01
inc esi
add rbx, 0x28
add r10, 0x28
cmp esi, r11d
jl 0x140059cc0
jmp 0x140059d3a
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x140059d3a
mov edx, dword [r10 + 0x14]
mov r10d, eax
mov ecx, dword [rbx + 0xc]
add rcx, r14
add rdx, r9
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
cmp byte [rcx], al
lea rcx, [rcx + 1]
movzx edi, dil
cmovne edi, r13d
sub r10, r13
jne 0x140059d20
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, dil
jmp 0x140059c14
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r13b
jmp 0x140059c14
Function at 0x140059d70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13d0
call fcn.1400e8e40
sub rsp, rax
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
lea ecx, [rdi + 1]
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x140059dc0
mov dword [rsp + 0x30], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
mov edi, 5
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.1400844d0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140059e3a
lea rcx, [rsp + 0x30]
call fcn.1400844d0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140059e25
shr rax, 0x20
lea edx, [rax - 0x7fffff9f]
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
cmp rcx, r8
jae 0x140059e6f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r8, 0x10
jb 0x140059e65
mov rax, qword [rbx]
mov byte [rax + rcx], dl
mov byte [rax + rcx + 1], 0
jmp 0x140059e82
movzx r9d, dl
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.1400082f0
sub rdi, 1
jne 0x140059e10
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e8160
mov rbx, qword [rsp + 0x13e8]
add rsp, 0x13d0
pop rdi
ret
Function at 0x140059eb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.1400e8e40
sub rsp, rax
mov rax, qword [0x14014e080]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
lea ecx, [rsi + 1]
nop dword [rax]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x140059f10
mov dword [rsp + 0x30], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov dword [rsp + 0x20], 1
mov edi, 5
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.1400844d0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140059f8a
lea rcx, [rsp + 0x30]
call fcn.1400844d0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140059f75
shr rax, 0x20
lea ecx, [rax - 0x7fffff9f]
movsx r9d, cl
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140059fc5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 8
jb 0x140059fb9
mov rax, qword [rbx]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x140059fcd
mov rcx, rbx
call fcn.140081f30
sub rdi, 1
jne 0x140059f60
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400e8160
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret