joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001ae50
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x18001aee6
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x18001aeed
mov r15, rsi
jmp 0x18001aeab
cmp r15, r14
cmovb r14, r15
mov rcx, rdi
mov r8, r14
call fcn.1800d5310
add rdi, r14
sub r15, r14
mov rax, qword [rbx + 0x50]
sub dword [rax], r14d
mov rax, qword [rbx + 0x38]
add qword [rax], r14
test r15, r15
jle 0x18001aede
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18001aec3
mov rax, qword [rbx + 0x50]
mov r14d, dword [rax]
test r14d, r14d
jg 0x18001ae80
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18001aede
mov byte [rdi], al
inc rdi
dec r15
test r15, r15
jg 0x18001aeab
sub rsi, r15
jmp 0x18001afda
xor esi, esi
jmp 0x18001afda
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18001af40
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x18001af40
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call fcn.1800d5310
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x18001af51
jmp 0x18001afd7
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x18001afd7
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x18001af80
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
nop dword [rax]
cmp r14, 0x1000
jb 0x18001afb3
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.1800b5288
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x18001af80
jmp 0x18001afd7
test r14, r14
je 0x18001afd4
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call fcn.1800b5288
sub r14, rax
jmp 0x18001afd7
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x180027a20
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
movabs rax, 0xd1aba117f6b38aca
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
call fcn.180012b70
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], recvfrom
mov ecx, dword [rbp - 0x10]
mov dword [rbp - 0x30], ecx
movzx eax, cl
movabs rdx, 0xcbf29ce484222325
xor rdx, rax
movabs rax, 0x100000001b3
imul rdx, rax
movzx edi, ch
xor rdi, rdx
imul rdi, rax
mov edx, ecx
shr edx, 0x10
movzx edx, dl
xor rdx, rdi
imul rdx, rax
shr ecx, 0x18
xor rcx, rdx
imul rcx, rax
and rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x18]
mov rax, rcx
shl rax, 4
mov rax, qword [rdx + rax + 8]
cmp rax, qword [rsi + 8]
je 0x180027b2b
add rcx, rcx
mov rcx, qword [rdx + rcx*8]
cmp qword [rax + 0x20], 4
jne 0x180027b0d
nop word cs:[rax + rax]
cmp qword [rax + 0x28], 0x10
jb 0x180027b00
mov rdx, qword [rax + 0x10]
mov r8d, dword [rbp - 0x30]
cmp r8d, dword [rdx]
jne 0x180027b0d
jmp 0x180027b1f
lea rdx, [rax + 0x10]
mov r8d, dword [rbp - 0x30]
cmp r8d, dword [rdx]
je 0x180027b1f
cmp rax, rcx
je 0x180027b2b
mov rax, qword [rax + 8]
cmp qword [rax + 0x20], 4
je 0x180027ae0
jmp 0x180027b0d
add rax, 0x30
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1800a8cbc
int3
Function at 0x18002a160
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
movabs rax, 0x17ce1ce6c6241c7a
mov qword [rbp - 0x18], rax
mov word [rbp - 0x10], 0x4173
mov dword [rbp - 0xe], 0x2ddabe41
lea rcx, [rbp - 0x18]
call fcn.18000f700
movzx ebx, byte [rbp - 0x18]
mov eax, dword [rbp - 0x17]
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x14]
mov dword [rbp - 0x1d], eax
movzx edi, word [rbp - 0x10]
movabs rax, 0x4cc43f8d8241769
mov qword [rbp - 0x30], rax
mov word [rbp - 0x28], 0x6963
mov dword [rbp - 0x26], 0x2ddabe41
lea rcx, [rbp - 0x30]
call fcn.18000f700
mov qword [rbp - 0x48], 0
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x50], rax
movzx ecx, word [rbp - 0x28]
mov word [rbp - 0x48], cx
movzx eax, al
movabs rdx, 0xcbf29ce484222325
xor rdx, rax
movabs rax, 0x100000001b3
imul rdx, rax
movzx r8d, byte [rbp - 0x4f]
xor r8, rdx
imul r8, rax
movzx edx, byte [rbp - 0x4e]
xor rdx, r8
imul rdx, rax
movzx r8d, byte [rbp - 0x4d]
xor r8, rdx
imul r8, rax
movzx edx, byte [rbp - 0x4c]
xor rdx, r8
imul rdx, rax
movzx r8d, byte [rbp - 0x4b]
xor r8, rdx
imul r8, rax
movzx edx, byte [rbp - 0x4a]
xor rdx, r8
imul rdx, rax
movzx r8d, byte [rbp - 0x49]
xor r8, rdx
imul r8, rax
movzx edx, cl
xor rdx, r8
imul rdx, rax
movzx ecx, byte [rbp - 0x47]
xor rcx, rdx
imul rcx, rax
and rcx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x18]
mov rdx, rcx
shl rdx, 4
mov r14, qword [rax + rdx + 8]
cmp r14, qword [rsi + 8]
je 0x18002a34c
add rcx, rcx
mov rax, qword [rax + rcx*8]
cmp qword [r14 + 0x20], 0xa
jne 0x18002a2ce
nop
cmp qword [r14 + 0x28], 0x10
jb 0x18002a2b0
mov rcx, qword [r14 + 0x10]
jmp 0x18002a2b4
lea rcx, [r14 + 0x10]
mov rdx, qword [rbp - 0x50]
xor rdx, qword [rcx]
movzx r8d, word [rbp - 0x48]
xor r8w, word [rcx + 8]
movzx ecx, r8w
or rcx, rdx
je 0x18002a2e0
cmp r14, rax
je 0x18002a34c
mov r14, qword [r14 + 8]
cmp qword [r14 + 0x20], 0xa
je 0x18002a2a0
jmp 0x18002a2ce
mov rax, qword [r14 + 0x48]
cmp rax, 0x10
jb 0x18002a31b
mov rcx, qword [r14 + 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x18002a316
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x18002a358
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1800a77d0
mov byte [r14 + 0x30], bl
mov eax, dword [rbp - 0x20]
mov ecx, dword [rbp - 0x1d]
mov dword [r14 + 0x31], eax
mov dword [r14 + 0x34], ecx
mov qword [r14 + 0x38], rdi
mov qword [r14 + 0x40], 0xa
mov qword [r14 + 0x48], recvfrom
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.invalid_unordered_map_K__T__key
call fcn.1800a8cbc
call fcn.1800b109c
int3
Function at 0x18002f250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, r8
mov rsi, rdx
mov rbx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x18002f271
mov rdi, qword [rdi]
movabs r9, 0xcbf29ce484222325
test rbx, rbx
je 0x18002f29a
movabs rax, 0x100000001b3
mov edx, ebx
and edx, 3
cmp rbx, 4
jae 0x18002f29f
xor r8d, r8d
jmp 0x18002f2ec
mov r10, r9
jmp 0x18002f317
mov r10, rbx
and r10, 0xfffffffffffffffc
xor r8d, r8d
nop dword [rax]
movzx r11d, byte [rdi + r8]
xor r11, r9
imul r11, rax
movzx r9d, byte [rdi + r8 + 1]
xor r9, r11
imul r9, rax
movzx r11d, byte [rdi + r8 + 2]
xor r11, r9
imul r11, rax
movzx r9d, byte [rdi + r8 + 3]
xor r9, r11
imul r9, rax
add r8, 4
cmp r10, r8
jne 0x18002f2b0
mov r10, r9
test rdx, rdx
je 0x18002f317
add r8, rdi
xor r11d, r11d
nop word [rax + rax]
movzx r10d, byte [r8 + r11]
xor r10, r9
imul r10, rax
inc r11
mov r9, r10
cmp rdx, r11
jne 0x18002f300
and r10, qword [rcx + 0x30]
mov r14, qword [rcx + 8]
mov rax, qword [rcx + 0x18]
mov rcx, r10
shl rcx, 4
mov r15, qword [rax + rcx + 8]
cmp r15, r14
je 0x18002f384
add r10, r10
mov r12, qword [rax + r10*8]
cmp rbx, qword [r15 + 0x20]
jne 0x18002f373
nop word cs:[rax + rax]
cmp qword [r15 + 0x28], 0x10
jb 0x18002f360
mov rdx, qword [r15 + 0x10]
jmp 0x18002f364
lea rdx, [r15 + 0x10]
mov rcx, rdi
mov r8, rbx
call fcn.1800d5df0
test eax, eax
je 0x18002f387
cmp r15, r12
je 0x18002f384
mov r15, qword [r15 + 8]
cmp rbx, qword [r15 + 0x20]
je 0x18002f350
jmp 0x18002f373
xor r15d, r15d
test r15, r15
cmovne r14, r15
mov qword [rsi], r14
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x180030e20
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rdx]
mov rax, qword [rax]
mov dword [rbp - 0xc], 1
mov rcx, qword [rax + 0x30]
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0xc]
mov edx, 6
mov r8d, 1
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rsi]
mov qword [rbp - 8], rax
xor eax, eax
xchg qword [rsi], rax
mov rax, qword [rdi]
lea rdx, [rbp - 8]
mov rcx, rdi
call qword [rax + ioctlsocket]
cmp qword [rbp - 8], 0
je 0x180030ec5
mov rdi, qword [rbp - 8]
lock dec dword [rdi + 8]
jne 0x180030ec5
cmp byte [rdi + 0xc], 0
mov rbx, qword [rdi]
je 0x180030eab
mov rax, qword [rbx]
mov rcx, rbx
xor edx, edx
call qword [rax]
mov rcx, rbx
jmp 0x180030ec0
test rbx, rbx
je 0x180030ebd
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
call qword [rax]
mov rcx, rdi
call fcn.1800a77d8
cmp qword [rsi], 0
je 0x180030f06
mov rsi, qword [rsi]
lock dec dword [rsi + 8]
jne 0x180030f06
cmp byte [rsi + 0xc], 0
mov rdi, qword [rsi]
je 0x180030eec
mov rax, qword [rdi]
mov rcx, rdi
xor edx, edx
call qword [rax]
mov rcx, rdi
jmp 0x180030f01
test rdi, rdi
je 0x180030efe
mov rax, qword [rdi]
mov rcx, rdi
mov edx, 1
call qword [rax]
mov rcx, rsi
call fcn.1800a77d8
nop
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret

Function at 0x180036000
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rdx
movzx eax, byte [rdx + 0x10]
movabs rdx, 0xcbf29ce484222325
xor rdx, rax
movabs rax, 0x100000001b3
imul rdx, rax
movzx r8d, byte [rsi + 0x11]
xor r8, rdx
imul r8, rax
movzx edx, byte [rsi + 0x12]
xor rdx, r8
imul rdx, rax
movzx r8d, byte [rsi + 0x13]
xor r8, rdx
imul r8, rax
and r8, qword [rcx + 0x30]
mov rax, qword [rcx + 0x18]
lea rdx, [r8 + r8]
mov r9, r8
shl r9, 4
mov r9, qword [rax + r9]
cmp qword [rax + rdx*8 + 8], rsi
je 0x180036085
cmp r9, rsi
jne 0x1800360a8
mov r8, qword [rsi]
mov qword [rax + rdx*8], r8
jmp 0x1800360a8
lea r8, [r8*2 + 1]
cmp r9, rsi
je 0x18003609c
mov rdx, qword [rsi + 8]
mov qword [rax + r8*8], rdx
jmp 0x1800360a8
mov r9, qword [rcx + 8]
mov qword [rax + rdx*8], r9
mov qword [rax + r8*8], r9
mov rdi, qword [rsi]
dec qword [rcx + 0x10]
mov rax, qword [rsi + 8]
mov qword [rax], rdi
mov qword [rdi + 8], rax
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x1800360c9
mov rcx, qword [rsi + 0x18]
call rax
mov edx, 0x28
mov rcx, rsi
call fcn.1800a77d0
mov rax, rdi
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x180036700
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x1800368af
mov rsi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
lea rax, [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rdi
call fcn.18002c220
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 8]
mov rax, qword [rax]
cmp rax, rdi
je 0x1800368a2
movabs rcx, 0x100000001b3
movabs rdx, 0xcbf29ce484222325
jmp 0x1800367a1
mov qword [r9 + r10*8], r8
mov qword [r9 + rbx*8], r8
cmp rax, rdi
je 0x1800368a2
mov r8, rax
mov rax, qword [rax]
movzx r9d, byte [r8 + 0x10]
xor r9, rdx
imul r9, rcx
movzx r10d, byte [r8 + 0x11]
xor r10, r9
imul r10, rcx
movzx r9d, byte [r8 + 0x12]
xor r9, r10
imul r9, rcx
movzx r11d, byte [r8 + 0x13]
xor r11, r9
imul r11, rcx
and r11, qword [rsi + 0x30]
mov r9, qword [rsi + 0x18]
lea r10, [r11 + r11]
lea rbx, [r11*2 + 1]
shl r11, 4
mov r11, qword [r9 + r11]
cmp r11, rdi
je 0x180036790
mov r14, qword [r9 + rbx*8]
mov ebp, dword [r8 + 0x10]
cmp ebp, dword [r14 + 0x10]
jne 0x180036840
mov r10, qword [r14]
cmp r10, r8
je 0x180036794
mov r11, qword [r8 + 8]
mov qword [r11], rax
mov r14, qword [rax + 8]
mov qword [r14], r10
mov r15, qword [r10 + 8]
mov qword [r15], r8
mov qword [r10 + 8], r14
mov qword [rax + 8], r11
mov qword [r8 + 8], r15
jmp 0x180036794
cmp r11, r14
je 0x180036878
mov r14, qword [r14 + 8]
cmp ebp, dword [r14 + 0x10]
jne 0x180036840
mov r9, qword [r14]
mov r10, qword [r8 + 8]
mov qword [r10], rax
mov r11, qword [rax + 8]
mov qword [r11], r9
mov rbx, qword [r9 + 8]
mov qword [rbx], r8
mov qword [r9 + 8], r11
mov qword [rax + 8], r10
mov qword [r8 + 8], rbx
jmp 0x180036798
mov rbx, qword [r8 + 8]
mov qword [rbx], rax
mov r14, qword [rax + 8]
mov qword [r14], r11
mov r15, qword [r11 + 8]
mov qword [r15], r8
mov qword [r11 + 8], r14
mov qword [rax + 8], rbx
mov qword [r8 + 8], r15
mov qword [r9 + r10*8], r8
jmp 0x180036798
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800a8c98
int3
Function at 0x180038a00
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov qword [rbp], 0xfffffffffffffffe
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x180038b1c
mov rsi, rcx
mov r8, qword [rcx + 8]
mov rcx, qword [rcx + 0x38]
shr rcx, 3
cmp rcx, rax
jbe 0x180038a49
mov rdx, qword [r8]
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
jmp fcn.180038b50
mov rax, qword [r8 + 8]
mov qword [rax], 0
mov rdi, qword [r8]
test rdi, rdi
jne 0x180038a75
jmp 0x180038a8d
mov edx, 0x28
mov rcx, rdi
call fcn.1800a77d0
mov rdi, rbx
test rbx, rbx
je 0x180038a89
mov rbx, qword [rdi]
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x180038a60
mov rcx, qword [rdi + 0x18]
call rax
jmp 0x180038a60
mov r8, qword [rsi + 8]
mov qword [r8], r8
mov qword [r8 + 8], r8
mov qword [rsi + 0x10], 0
mov rdx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x20]
cmp rdx, rax
je 0x180038b1c
mov rcx, qword [rsi + 8]
mov r9, rax
sub r9, rdx
add r9, 0xfffffffffffffff8
cmp r9, 0x18
jae 0x180038ac2
mov r8, rdx
jmp 0x180038b10
shr r9, 3
inc r9
mov r10, r9
and r10, 0xfffffffffffffffc
lea r8, [rdx + r10*8]
movq xmm0, rcx
pshufd xmm0, xmm0, 0x44
xor r11d, r11d
nop word cs:[rax + rax]
movdqu xmmword [rdx + r11*8], xmm0
movdqu xmmword [rdx + r11*8 + 0x10], xmm0
add r11, 4
cmp r10, r11
jne 0x180038af0
cmp r9, r10
je 0x180038b1c
nop dword [rax + rax]
mov qword [r8], rcx
add r8, 8
cmp r8, rax
jne 0x180038b10
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x180038b50
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
cmp rdx, r8
je 0x180038c5f
mov rsi, r8
mov rdi, rcx
mov rax, qword [rcx + 8]
mov qword [rbp - 0x10], rax
mov rdx, qword [rcx + 0x18]
movzx eax, byte [rbx + 0x10]
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r8, 0x100000001b3
imul rax, r8
movzx ecx, byte [rbx + 0x11]
xor rcx, rax
imul rcx, r8
movzx eax, byte [rbx + 0x12]
xor rax, rcx
imul rax, r8
movzx ecx, byte [rbx + 0x13]
xor rcx, rax
imul rcx, r8
and rcx, qword [rdi + 0x30]
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rax
lea rax, [rcx + rcx]
lea r8, [rcx*2 + 1]
mov qword [rbp - 0x28], r8
shl rcx, 4
lea r8, [rdx + rcx]
mov qword [rbp - 0x18], r8
mov r12, qword [rdx + rcx]
mov qword [rbp - 8], rdx
mov r15, qword [rdx + rax*8 + 8]
mov r14, rbx
jmp 0x180038c18
mov r14, r13
cmp r13, rsi
je 0x180038c52
mov r13, qword [r14]
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x180038c2a
mov rcx, qword [r14 + 0x18]
call rax
mov edx, 0x28
mov rcx, r14
call fcn.1800a77d0
dec qword [rdi + 0x10]
cmp r14, r15
je 0x180038c76
cmp r13, rsi
jne 0x180038c10
cmp r12, rbx
jne 0x180038c10
mov r12, qword [rbp - 0x18]
mov qword [r12], rsi
mov rax, qword [rbp - 0x20]
mov qword [rax], rsi
mov qword [rsi + 8], rax
jmp 0x180038c62
mov rsi, rbx
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 0x20]
cmp r12, rbx
jne 0x180038c8a
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
mov qword [rcx], rax
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp - 0x28]
mov qword [rcx + rdx*8], rax
cmp r13, rsi
je 0x180038c52
movzx eax, byte [r13 + 0x10]
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs rdx, 0x100000001b3
imul rax, rdx
movzx ecx, byte [r13 + 0x11]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r13 + 0x12]
xor rax, rcx
imul rax, rdx
movzx r12d, byte [r13 + 0x13]
xor r12, rax
imul r12, rdx
and r12, qword [rdi + 0x30]
lea rax, [r12 + r12]
lea r14, [r12*2 + 1]
shl r12, 4
mov rcx, qword [rbp - 8]
add r12, rcx
mov r15, qword [rcx + rax*8 + 8]
mov rbx, r13
nop word cs:[rax + rax]
mov r13, qword [rbx]
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x180038d22
mov rcx, qword [rbx + 0x18]
call rax
mov edx, 0x28
mov rcx, rbx
call fcn.1800a77d0
dec qword [rdi + 0x10]
cmp rbx, r15
je 0x180038d45
mov rbx, r13
cmp r13, rsi
jne 0x180038d10
jmp 0x180038c4e
mov rax, qword [rbp - 0x10]
mov qword [r12], rax
mov rcx, qword [rbp - 8]
mov qword [rcx + r14*8], rax
cmp r13, rsi
jne 0x180038c9b
jmp 0x180038c52
Function at 0x1800394d0
Capabilities:
Encode data using xor

Disassembly:
mov r8, qword [rcx + 0x10]
test r8, r8
je 0x1800395c8
cmp qword [rcx + 0x18], 0x10
jb 0x1800394e7
mov rcx, qword [rcx]
mov rax, r8
and rax, 3
je 0x180039537
xor r9d, r9d
nop word cs:[rax + rax]
movzx r10d, byte [rcx + r9]
add r10d, edx
mov r11d, r10d
shl r11d, 0xa
add r11d, r10d
mov edx, r11d
shr edx, 6
xor edx, r11d
inc r9
cmp rax, r9
jne 0x180039500
add rcx, r9
mov rax, r8
sub rax, r9
cmp r8, 4
jae 0x180039544
jmp 0x1800395c8
mov rax, r8
cmp r8, 4
jb 0x1800395c8
xor r8d, r8d
nop word [rax + rax]
movzx r9d, byte [rcx + r8]
add r9d, edx
mov edx, r9d
shl edx, 0xa
add edx, r9d
mov r9d, edx
shr r9d, 6
xor r9d, edx
movzx edx, byte [rcx + r8 + 1]
add edx, r9d
mov r9d, edx
shl r9d, 0xa
add r9d, edx
mov edx, r9d
shr edx, 6
xor edx, r9d
movzx r9d, byte [rcx + r8 + 2]
add r9d, edx
mov edx, r9d
shl edx, 0xa
add edx, r9d
mov r9d, edx
shr r9d, 6
xor r9d, edx
movzx edx, byte [rcx + r8 + 3]
add edx, r9d
mov r9d, edx
shl r9d, 0xa
add r9d, edx
mov edx, r9d
shr edx, 6
xor edx, r9d
add r8, 4
cmp rax, r8
jne 0x180039550
lea eax, [rdx + rdx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, ecx
shl eax, 0xf
add eax, ecx
ret
Function at 0x18003de60
Capabilities:
Get file size
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
cmp qword [rcx + 0x18], 8
jb 0x18003de76
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor ebx, ebx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x18003df28
mov rsi, rax
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18003df35
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov r9, rax
shr r9, 0x20
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
xor ebx, ebx
mov rcx, rsi
xor edx, edx
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test rax, rax
je 0x18003df1f
mov r14, rax
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ebx, ebx
jmp 0x18003df1f
Function at 0x180046a30
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
lea rax, [r8 + 2]
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
mov r15, rdx
add r15, rdx
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
and r15, 0xfffffffffffffffc
js 0x180046c9b
mov ebx, r9d
mov r14, r8
cmp r15, 0xf
ja 0x180046ba5
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], recvfrom
mov rcx, rsi
xor edx, edx
mov r8, r15
call fcn.1800d5a50
add r15, rsi
mov r12, r15
mov byte [r12], 0
cmp qword [rsi + 0x18], 0x10
mov rax, rsi
jb 0x180046abf
mov rax, qword [rsi]
mov rcx, qword [rbp + 0x70]
cmp r14, 3
jb 0x180046bde
lea r8, [r14 - 2]
xor edx, edx
nop word cs:[rax + rax]
movzx r9d, byte [rdi + rdx]
shr r9d, 2
movzx r9d, byte [rcx + r9]
mov byte [rax], r9b
movzx r9d, byte [rdi + rdx]
shl r9d, 4
and r9d, 0x30
movzx r10d, byte [rdi + rdx + 1]
shr r10d, 4
or r10d, r9d
movzx r9d, byte [rcx + r10]
mov byte [rax + 1], r9b
movzx r9d, byte [rdi + rdx + 1]
and r9d, 0xf
movzx r10d, byte [rdi + rdx + 2]
shr r10d, 6
lea r9d, [r10 + r9*4]
movzx r9d, byte [rcx + r9]
mov byte [rax + 2], r9b
movzx r9d, byte [rdi + rdx + 2]
and r9d, 0x3f
movzx r9d, byte [rcx + r9]
mov byte [rax + 3], r9b
add rax, 4
add rdx, 3
cmp rdx, r8
jb 0x180046ae0
cmp rdx, r14
jae 0x180046be9
movzx r8d, byte [rdi + rdx]
shr r8d, 2
movzx r8d, byte [rcx + r8]
mov byte [rax], r8b
dec r14
movzx r8d, byte [rdi + rdx]
shl r8d, 4
and r8d, 0x30
cmp rdx, r14
jne 0x180046c31
movzx ecx, byte [rcx + r8]
mov byte [rax + 1], cl
test bl, bl
je 0x180046c64
mov byte [rax + 2], 0x3d
mov byte [rax + 3], 0x3d
jmp 0x180046c87
mov rax, r15
or rax, 0xf
cmp rax, 0x17
mov r13d, socket
cmovae r13, rax
cmp r13, 0xfff
jb 0x180046bf2
lea rcx, [r13 + 0x28]
call fcn.1800a77e0
mov r12, rax
add r12, 0x27
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x180046bfe
xor edx, edx
cmp rdx, r14
jb 0x180046b5e
test bl, bl
je 0x180046c64
jmp 0x180046c87
lea rcx, [r13 + 1]
call fcn.1800a77e0
mov r12, rax
mov qword [rsi], r12
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r13
mov rcx, r12
xor edx, edx
mov r8, r15
call fcn.1800d5a50
add r12, r15
mov byte [r12], 0
cmp qword [rsi + 0x18], 0x10
mov rax, rsi
jae 0x180046abc
jmp 0x180046abf
movzx r9d, byte [rdx + rdi + 1]
shr r9d, 4
movzx r8d, r8b
or r8, r9
movzx r8d, byte [rcx + r8]
mov byte [rax + 1], r8b
movzx edx, byte [rdx + rdi + 1]
and edx, 0xf
movzx ecx, byte [rcx + rdx*4]
mov byte [rax + 2], cl
test bl, bl
je 0x180046c64
mov byte [rax + 3], 0x3d
jmp 0x180046c87
cmp qword [rsi + 0x18], 0x10
mov rdi, rsi
jb 0x180046c71
mov rdi, qword [rsi]
mov rcx, rdi
call fcn.1800b1c20
cmp qword [rsi + 0x10], rax
jb 0x180046ca0
mov qword [rsi + 0x10], rax
mov byte [rdi + rax], 0
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.180009080
call fcn.18000cce0
int3
Function at 0x18004b3e0
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x150], xmm6
mov qword [rbp + 0x148], 0xfffffffffffffffe
mov rsi, rcx
mov word [rcx + 8], 1
mov byte [rcx + 0xa], 0
xorps xmm6, xmm6
movups xmmword [rcx + 0x10], xmm6
mov qword [rcx + 0x20], 0
lea rax, [0x1800d8e80]
mov qword [rcx], rax
mov qword [rcx + 0x30], 0xffffffffffffffff
movups xmmword [rcx + 0x38], xmm6
mov word [rcx + 0x48], 0
add rcx, 0x50
mov dword [rbp - 0x58], 0
lea rdx, [rbp - 0x58]
lea r8, [rbp + 0x147]
call fcn.1800385f0
mov word [rsi + 0x90], 0
mov byte [rsi + 0x92], 0
movups xmmword [rsi + 0x98], xmm6
mov qword [rsi + 0xa8], 0
mov qword [rsi + 0xb0], recvfrom
movups xmmword [rsi + 0xb8], xmm6
movups xmmword [rsi + 0xc8], xmm6
movups xmmword [rsi + 0xd8], xmm6
mov qword [rsi + 0xe8], 0
mov qword [rsi + recvfrom0], 0xf
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
movups xmmword [rsi + 0x128], xmm6
movups xmmword [rsi + 0x138], xmm6
mov qword [rsi + 0x148], recvfrom
movups xmmword [rsi + 0x150], xmm6
mov qword [rsi + 0x160], 0
mov rax, qword [0x18014cf70]
lea rcx, [rax + 1]
mov qword [0x18014cf70], rcx
test rax, rax
jne 0x18004b513
lea rdx, [rbp - 0x58]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x150]
add rsp, 0x1e8
pop rsi
pop rbp
ret

Function at 0x18004b570
Capabilities:
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x1c0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x138], 0xfffffffffffffffe
mov rax, qword [0x18014cf70]
lea rcx, [rax + 1]
mov qword [0x18014cf70], rcx
test rax, rax
jne 0x18004b5b0
lea rdx, [rbp - 0x60]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
nop
add rsp, 0x1c0
pop rbp
ret