joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d7a60
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4d7cc1
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
test rax, rax
je 0x4d7ca5
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
test rbx, rbx
jne 0x4d7aad
xor ebx, ebx
xor ecx, ecx
jmp 0x4d7ac0
mov rax, rdx
call fcn.004c9be0
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4d7bd8
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop
call fcn.00479480
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x005338a0]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call fcn.0044d580
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ee0
xorps xmm15, xmm15
mov r14, qword [0x00632478]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4d7b9b
xor eax, eax
lea rbx, [0x00509864]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x005098d7]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call fcn.0044d660
jmp 0x4d7bc8
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x00533918]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call fcn.0044d580
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, qword [rax + 0x18]
nop dword [rax]
call fcn.00479480
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ee0
xorps xmm15, xmm15
mov r14, qword [0x00632478]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4d7c68
xor eax, eax
lea rbx, [0x00509864]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x005098d7]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call fcn.0044d660
jmp 0x4d7c95
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x00533918]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call fcn.0044d580
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x00509c15]
mov ebx, 5
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 8], rax
call fcn.00461160
mov rax, qword [rsp + 8]
jmp fcn.004d7a60
Function at 0x14000ae60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9d, dword [r8 + 0x10]
mov rdi, rdx
movabs rbx, 0x100000001b3
movzx r10d, r9b
movabs rax, 0xcbf29ce484222325
mov r11, rcx
xor r10, rax
mov eax, r9d
imul r10, rbx
shr eax, 8
movzx edx, al
mov eax, r9d
xor r10, rdx
shr eax, 0x10
mov rdx, qword [r11 + 0x30]
imul r10, rbx
movzx ecx, al
xor r10, rcx
shr r9, 0x18
imul r10, rbx
xor r10, r9
imul r10, rbx
and rdx, r10
shl rdx, 4
add rdx, qword [r11 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x14000aef2
cmp rax, r8
jne 0x14000aee8
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14000aefd
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x14000aefd
cmp rax, r8
jne 0x14000aefd
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
dec qword [r11 + 0x10]
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov rax, qword [r8 + 8]
mov qword [rbx + 8], rax
cmp dword [r8 + 0x20], 0
jne 0x14000af38
mov edx, 0x28
mov rcx, r8
call fcn.1400b91c0
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1400c3a30
int3
Function at 0x14000f270
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rdi + 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14000def9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000df57
mov rcx, r8
mov qword [rsp + 0x30], rbx
call fcn.1400b91c0
xor edx, edx
mov qword [rdi + 0x18], rdx
mov qword [rdi + 0x20], rdx
mov qword [rdi + 0x28], rdx
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000df3f
cmp dword [rcx + 0x20], 0
mov rbx, qword [rcx]
jne 0x14000df5d
mov edx, 0x28
call fcn.1400b91c0
mov rcx, rbx
test rbx, rbx
jne 0x14000df24
mov rcx, qword [rdi + 8]
mov edx, 0x28
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400b91c0
call fcn.1400bfe60
int3
call fcn.1400c3a30
int3
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, rcx
lea rax, vtable.Aws::Utils::Threading::DefaultExecutor.0
mov qword [rcx], rax
mov esi, 2
xor eax, eax
lock cmpxchg dword [rcx + 8], esi
jne 0x14000f294
mov rbx, qword [rcx + 0x18]
mov rbx, qword [rbx]
cmp qword [rcx + 0x20], 0
je 0x14000f3b0
movabs rbp, 0x100000001b3
movabs r14, 0xcbf29ce484222325
cmp dword [rbx + 0x20], 0
je 0x14000f3d6
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 0x20], eax
je 0x14000f3cb
movups xmm0, xmmword [rbx + 0x18]
movaps xmmword [rsp + 0x20], xmm0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400b7820
test eax, eax
jne 0x14000f3e7
xorps xmm0, xmm0
movups xmmword [rbx + 0x18], xmm0
mov rcx, rbx
lea r10, [rbx + 0x10]
mov r8d, dword [r10]
movzx r9d, r8b
xor r9, r14
imul r9, rbp
mov eax, r8d
shr eax, 8
movzx edx, al
xor r9, rdx
imul r9, rbp
mov eax, r8d
shr eax, 0x10
movzx edx, al
xor r9, rdx
imul r9, rbp
shr r8, 0x18
xor r9, r8
imul r9, rbp
mov r8, qword [rdi + 0x40]
and r8, r9
shl r8, 4
add r8, qword [rdi + 0x28]
mov rax, qword [r8]
cmp qword [r8 + 8], rbx
jne 0x14000f373
cmp rax, rbx
jne 0x14000f369
mov rax, qword [rdi + 0x18]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x14000f37e
mov rax, qword [rbx + 8]
mov qword [r8 + 8], rax
jmp 0x14000f37e
cmp rax, rbx
jne 0x14000f37e
mov rax, qword [rbx]
mov qword [r8], rax
mov rbx, qword [rbx]
dec qword [rdi + 0x20]
mov rax, qword [rcx + 8]
mov qword [rax], rbx
mov rax, qword [rcx + 8]
mov qword [rbx + 8], rax
cmp dword [r10 + 0x10], 0
jne 0x14000f3e1
mov edx, 0x28
call fcn.1400b91c0
cmp qword [rdi + 0x20], 0
jne 0x14000f2c3
lea rcx, [rdi + 0x10]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp 0x14000dec0
mov ecx, 5
call fcn.1400b6a00
int3
mov ecx, 1
call fcn.1400b6a00
int3
call fcn.1400c3a30
int3
mov ecx, esi
call fcn.1400b6a00
int3
Function at 0x140014470
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov rbx, rdx
mov rbp, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov r14, qword [r8 + 8]
lea r9, [r14 + 2]
movabs r8, 0xaaaaaaaaaaaaaaab
mov rax, r8
mul r9
mov r13, rdx
shr r13, 1
mov rax, r8
mul r14
shr rdx, 1
lea rax, [rdx + rdx*2]
mov r12, r14
sub r12, rax
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
mov dword [rsp + 0x20], 1
mov rcx, qword [r15 + 8]
add rcx, 2
mov rax, r8
mul rcx
shr rdx, 1
shl rdx, 2
mov rcx, rbx
call fcn.140021cd0
test r14, r14
je 0x140014669
mov rdx, qword [r15 + 0x10]
movzx eax, byte [rdx + rsi]
shl eax, 8
lea r8, [rsi + 2]
lea rcx, [r8 - 1]
cmp rcx, r14
jae 0x140014530
movzx ecx, byte [rdx + rsi + 1]
or eax, ecx
shl eax, 8
cmp r8, r14
jae 0x14001453f
movzx ecx, byte [rdx + rsi + 2]
or eax, ecx
mov edi, eax
shr rax, 0x12
movzx r9d, byte [rax + rbp]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140014576
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14001456b
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140014585
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140009d30
mov rax, rdi
shr rax, 0xc
and eax, 0x3f
movzx r9d, byte [rax + rbp]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400145c0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400145b5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400145cf
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140009d30
mov rax, rdi
shr rax, 6
and eax, 0x3f
movzx r9d, byte [rax + rbp]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14001460a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400145ff
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140014619
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140009d30
and edi, 0x3f
movzx r9d, byte [rdi + rbp]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14001464d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140014642
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14001465c
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140009d30
add rsi, 3
cmp rsi, r14
jb 0x140014511
mov rax, rbx
test r12, r12
je 0x14001469d
cmp qword [rbx + 0x18], 0x10
jb 0x14001467b
mov rax, qword [rbx]
mov byte [rax + r13*4 - 1], 0x3d
mov rax, rbx
cmp r12, 1
jne 0x14001469d
cmp qword [rbx + 0x18], 0x10
jb 0x140014694
mov rax, qword [rbx]
mov byte [rax + r13*4 - 2], 0x3d
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001f470
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x14001f5a3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call sub.KERNEL32.dll_GetCurrentThreadId
mov rdi, qword [rdi + 8]
mov r9d, 1
mov ecx, eax
mov dword [rsp + 0x40], ecx
xor eax, eax
lock cmpxchg dword [rdi + 8], r9d
je 0x14001f4b6
cmp eax, 2
jne 0x14001f4a1
add rsp, 0x30
pop rdi
ret
movabs rdx, 0x100000001b3
mov qword [rsp + 0x48], rbx
movabs rax, 0xcbf29ce484222325
movzx r8d, cl
xor r8, rax
mov qword [rsp + 0x50], rbp
movzx eax, byte [rsp + 0x41]
imul r8, rdx
mov qword [rsp + 0x58], rsi
xor esi, esi
xor r8, rax
movzx eax, byte [rsp + 0x42]
imul r8, rdx
xor r8, rax
movzx eax, byte [rsp + 0x43]
imul r8, rdx
xor r8, rax
mov rax, qword [rdi + 0x28]
imul r8, rdx
mov rdx, qword [rdi + 0x40]
and rdx, r8
mov r8, qword [rdi + 0x18]
add rdx, rdx
mov rbx, qword [rax + rdx*8 + 8]
cmp rbx, r8
je 0x14001f540
mov rax, qword [rax + rdx*8]
cmp ecx, dword [rbx + 0x10]
je 0x14001f543
nop
cmp rbx, rax
je 0x14001f540
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
jne 0x14001f530
jmp 0x14001f543
mov rbx, rsi
test rbx, rbx
cmove rbx, r8
cmp dword [rbx + 0x20], esi
je 0x14001f5a9
movups xmm0, xmmword [rbx + 0x18]
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400b7800
test eax, eax
jne 0x14001f59b
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
mov r8, rbx
lea rcx, [rdi + 0x10]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rbx + 0x18], xmm0
call fcn.14000ae60
xchg dword [rdi + 8], esi
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, eax
call fcn.1400b69c0
int3
call fcn.1400b64b0
int3
mov ecx, r9d
call fcn.1400b6a00
int3
Function at 0x14001ff60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14002011f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001eee0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400200e4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
mov r10d, dword [rax + 0x10]
mov r11, qword [rsi + 0x30]
mov edx, r10d
mov rcx, qword [rcx]
shr edx, 8
movzx r9d, dl
movzx edx, r10b
xor rdx, rbp
imul rdx, rdi
xor r9, rdx
mov edx, r10d
imul r9, rdi
shr edx, 0x10
movzx r8d, dl
mov edx, r10d
xor r9, r8
shr rdx, 0x18
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x140020062
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400200d3
mov rdx, qword [r11 + 8]
cmp r10d, dword [rdx + 0x10]
jne 0x14002009b
mov r10, qword [rdx]
cmp r10, rax
je 0x140020095
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400200d3
cmp r8, rdx
je 0x1400200af
mov rdx, qword [rdx + 8]
cmp r10d, dword [rdx + 0x10]
je 0x1400200f9
cmp r8, rdx
jne 0x1400200a0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140020000
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400200d3
lea rcx, str.invalid_hash_bucket_count
call fcn.1400b64d0
int3
Function at 0x140023fc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140023ff1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14002406b
mov rdi, r14
mov rcx, rbx
call fcn.140005cf0
test rax, rax
jle 0x140024043
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400bb410
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14002405b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140024063
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140024005
sub r14, rdi
jmp 0x14002414f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140024082
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140024084
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400240b6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400bb410
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14002414c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400240f1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14002412d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400c4b60
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14002414c
cmp rbp, rax
ja 0x140024100
test rbp, rbp
je 0x14002414c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400c4b60
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14002b570
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14016f8a0]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor esi, esi
mov dword [rsp + 0x20], esi
cmp byte [0x1401771c0], sil
jne 0x14002b73a
mov ecx, 0x202
lea rdx, [rbp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14002b733
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14002b72a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + htons]
cmp eax, 2
jl 0x14002b72a
lea rax, [0x1400f5770]
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x18], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov dword [rsp + 0x20], 1
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x4c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.1400078d0
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], edx
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x38], rax
lea ecx, [rsi + 0x10]
call fcn.1400b9480
mov rdi, rax
test rax, rax
je 0x14002b686
mov cl, 1
call fcn.1400b6c30
mov qword [rdi + 8], rax
jmp 0x14002b689
mov rdi, rsi
mov qword [rbp - 0x68], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x7c]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x68], rsi
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x60], rsi
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x58], 4
lea rdx, str.Failed_to_Initate_WinSock2.2
lea rcx, [rsp + 0x30]
call fcn.1400019a0
mov rax, qword [rbx]
lea r9, [rsp + 0x30]
lea r8, str.WinSock2
mov edx, 2
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x30]
call fcn.140003bc0
mov byte [0x1401771c0], 0
jmp 0x14002b73a
mov byte [0x1401771c0], 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400b91a0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140033910
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x160
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.14000bed0
nop
movzx eax, word [rsp + 0x28]
test eax, eax
je 0x140033977
cmp eax, 6
je 0x14003396e
lea rdx, str.unknown
lea rcx, str.AMD64
cmp eax, 9
cmove rdx, rcx
jmp 0x14003397e
lea rdx, str.IA64
jmp 0x14003397e
lea rdx, [0x1400fab9c]
lea rcx, [rsp + 0x70]
call fcn.1400019a0
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140023880
nop
lea rcx, [rsp + 0x60]
call fcn.140011250
mov rax, rbx
add rsp, 0x160
pop rbx
ret

Function at 0x140035400
Capabilities:
Encode data using xor

Disassembly:
mov r10, qword [rcx + 8]
mov r11, rdx
cmp qword [rdx + 8], r10
mov r9, rcx
cmovb r10, qword [rdx + 8]
xor eax, eax
test r10, r10
je 0x140035438
nop word [rax + rax]
mov rcx, qword [r11 + 0x10]
mov r8, qword [r9 + 0x10]
movzx edx, byte [rcx + rax]
xor byte [r8 + rax], dl
inc rax
cmp rax, r10
jb 0x140035420
mov rax, r9
ret
Function at 0x14003ad10
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x110
mov rsi, r8
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x14003ad9b
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14003ad92
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + htons]
cmp eax, 1
jl 0x14003ad92
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140002860
nop
lea rdx, str.Secure_Random_Bytes_generator_cant_generate_bytes_with_empty_algorithm_handle.
lea rcx, [rsp + 0x20]
call fcn.1400019a0
mov rax, qword [rbx]
lea r9, [rsp + 0x20]
mov r8, qword [str.SecureRandom_BCrypt]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x20]
call fcn.140003bc0
mov byte [rdi + 8], 1
jmp 0x14003aea1
test rsi, rsi
je 0x14003aea1
test rdx, rdx
jne 0x14003ae24
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14003aea1
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + htons]
cmp eax, 1
jl 0x14003aea1
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140002860
nop
lea rdx, str.Secure_Random_Bytes_generator_cant_generate:
lea rcx, [rsp + 0x20]
call fcn.1400019a0
mov rcx, rax
mov rdx, rsi
call fcn.1400039b0
mov rcx, rax
lea rdx, str._bytes_with_nullptr_buffer.
call fcn.1400019a0
mov rax, qword [rbx]
lea r9, [rsp + 0x20]
mov r8, qword [str.SecureRandom_BCrypt]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x18]
nop
jmp 0x14003ae97
xor r9d, r9d
call sub.bcrypt.dll_BCryptGenRandom
mov esi, eax
test eax, eax
jns 0x14003aea1
mov byte [rdi + 8], 1
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14003aea1
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + htons]
cmp eax, 1
jl 0x14003aea1
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140002860
nop
lea rdx, str.Failed_to_generate_random_number_with_status
lea rcx, [rsp + 0x20]
call fcn.1400019a0
mov rcx, rax
mov edx, esi
call fcn.1400107d0
mov rax, qword [rbx]
lea r9, [rsp + 0x20]
mov r8, qword [str.SecureRandom_BCrypt]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x20]
call fcn.140003bc0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret