joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044f40
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14004508a
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x140044f52
cmp edx, ecx
jne 0x140045078
nop word [rax + rax]
test rsi, rsi
jne 0x140045078
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140044fb4
nop
call fcn.140064ca0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.140044e80
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x140045073
mov rdx, qword [0x1401e1520]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
lea rdx, [rdx + rsi*4]
cmp ecx, 0x20
sbb esi, esi
and edi, esi
lock or dword [rdx], edi
mov rdx, qword [0x1401e2670]
mov qword [rax + 8], rdx
mov rdx, rax
nop
mov qword [0x1401e2670], rax
nop
mov esi, 1
lea rdi, [0x1401e2678]
lock xadd dword [rdi], esi
mov rsi, qword [rdx + 0x1248]
shr rsi, 0x3d
test sil, sil
jne 0x140045062
mov rax, qword [rsp + 0x10]
movabs rcx, 0x1fffffffffffffff
and rcx, rax
bts rcx, 0x3f
nop
nop
xchg qword [rdx + 0x1248], rcx
add rsp, 0x18
pop rbp
ret
lea rax, [0x1401337ac]
mov ebx, 0x28
call fcn.1400351e0
call fcn.140033e20
lea rax, [0x1401328f9]
mov ebx, 0x23
call fcn.1400351e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140044f40

Function at 0x140048b80
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x140048bc8
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x140048bc8
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x140048bd8
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [0x1400ffe38]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.140033280
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x140048cb1
mov rcx, qword [rsp + 0x58]
mov rdx, qword [0x1400ffe40]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.140033500
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x140048cb1
cmp qword [rcx + 8], rax
ja 0x140048bd3
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x1400501c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rax
movzx edx, byte [rax]
test edx, edx
jne 0x1400501db
test r8b, r8b
jne 0x1400501db
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
ret
bt edx, 7
nop
jae 0x1400501ef
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x14005028d
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and rdx, r8
movzx esi, byte [rax + rdx]
sub rbx, r8
add rdx, rax
bt esi, 7
jae 0x14005022e
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x14005025c
mov eax, 1
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
ret
lea r8d, [rcx + 7]
mov rcx, rax
mov eax, r10d
movzx r9d, byte [rax + rdx]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov rax, rcx
mov ecx, r8d
shl r9d, cl
or esi, r9d
test r11b, 0x80
jne 0x140050252
mov rcx, rax
mov eax, r10d
jmp 0x140050233
lea r9d, [rcx + 7]
mov rcx, r12
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x140050286
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x1400501f5

Function at 0x1400559e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140055a95
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.140053700
nop
test bl, bl
je 0x140055a8f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x140055ae0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.1400610e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.1400559e0
Function at 0x140058860
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005890f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x140058960]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.1400610e0
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.140058860
Function at 0x140063000
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400045a3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.140009cc0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x140004580
cmp byte [0x14026606c], 0
je 0x140063015
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x140060240
jmp 0x140004580

Function at 0x140063020
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140266340]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x14026606c], 0
je 0x140063055
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x140266660]
aesenc xmm0, xmmword [0x140266670]
aesenc xmm0, xmmword [0x140266680]
movq rax, xmm0
ret
jmp 0x140009ee0

Function at 0x140063060
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140266340]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x14026606c], 0
je 0x140063096
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140266660]
aesenc xmm0, xmmword [0x140266670]
aesenc xmm0, xmmword [0x140266680]
movq rax, xmm0
ret
jmp 0x140009f40
Function at 0x140087600
Capabilities:
Encode data using base64

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rbx
test byte [rbx], al
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rbx + 8]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rsp + 0x48], xmm0
movups xmm0, xmmword [rbx + 0x28]
movups xmmword [rsp + 0x58], xmm0
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 9
jmp 0x14008765d
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jg 0x14008766e
jmp 0x140087779
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x28]
lea rax, [rsp + rax*8 + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0xa0]
test byte [rax], al
add rax, 0x18
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 8], rcx
test byte [rax], al
mov rdx, rcx
sar rdx, 0x3f
shr rdx, 0x3d
add rdx, rcx
sar rdx, 3
add rax, rdx
movzx eax, byte [rax]
mov rdx, rcx
sar rdx, 0x3f
shr rdx, 0x3d
add rdx, rcx
and rdx, 0xfffffffffffffff8
sub rcx, rdx
test rcx, rcx
jge 0x1400876e5
nop dword [rax + rax]
jmp 0x140087782
mov edx, 1
shl edx, cl
cmp rcx, 0x20
sbb ebx, ebx
and edx, ebx
test dl, al
setne byte [rsp + 7]
jmp 0x1400876fd
jne 0x140087702
nop
jmp 0x140087738
mov rax, qword [rsp + 0xa8]
test byte [rax], al
mov rdx, qword [rsp + 0x10]
lea rax, [rax + rdx*8]
lea rax, [rax + 0xc0]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
test byte [rax], al
mov rdx, qword [rsp + 0x18]
mov qword [rax], rdx
jmp 0x14008776d
mov rax, qword [rsp + 0xa8]
test byte [rax], al
mov rdx, qword [rsp + 0x10]
lea rax, [rax + rdx*8]
lea rax, [rax + 0xc0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
test byte [rax], al
mov qword [rax], 0
jmp 0x14008776d
jmp 0x14008776f
inc qword [rsp + 0x28]
jmp 0x14008765d
add rsp, 0x90
pop rbp
ret
call fcn.140033e20
nop
int3
Function at 0x1400a0e60
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x1400a1012
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x58], 0
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x48], xmm15
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], 0
nop dword [rax]
call fcn.140003b00
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x1400a0ee9
jmp 0x1400a0f32
mov qword [rsp + 0x58], 0
movups xmmword [rsp + 0x60], xmm15
lea rdx, [0x140158118]
mov qword [rsp + 0x48], rdx
lea rdx, [0x140157930]
mov qword [rsp + 0x50], rdx
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
add rsp, 0xa0
pop rbp
ret
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rcx
inc rcx
lea rax, [0x1401119c0]
xor ebx, ebx
call fcn.1400496e0
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
inc rsi
mov qword [rsp + 0x80], rsi
mov rdx, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
mov rcx, rax
xor edi, edi
mov rax, rdx
call fcn.1400a2480
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rcx
inc rbx
cmp rcx, rbx
jae 0x1400a0fa7
jmp 0x1400a0fa9
jmp 0x1400a0fbc
mov edi, 1
lea rsi, [0x1401119c0]
call fcn.1400497c0
jmp 0x1400a0fbc
lea rdx, [rax + rbx*2]
lea rdx, [rdx - 2]
mov word [rdx], 0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
movups xmmword [rsp + 0x48], xmm15
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xor edi, edi
xor esi, esi
add rsp, 0xa0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop dword [rax]
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400a0e60
Function at 0x1400ead20
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400eaebf
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov byte [rsp + 7], 0
mov rcx, qword [rsp + 0x88]
test byte [rcx], al
mov rdx, qword [rsp + 0x90]
and edx, 0x7f
shl rdx, 5
add rcx, rdx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x28], 0
jmp 0x1400ead73
cmp qword [rsp + 0x28], 4
jl 0x1400ead7d
jmp 0x1400eadc2
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
test byte [rdx], al
lea rcx, [rdx + rcx*8]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rsp + 0x90]
cmp rcx, rdx
je 0x1400eada9
jmp 0x1400eadb9
mov byte [rsp + 7], 1
mov eax, 1
add rsp, 0x78
pop rbp
ret
jmp 0x1400eadbb
inc qword [rsp + 0x28]
jmp 0x1400ead73
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 4
jmp 0x1400eadef
mov rcx, qword [rsp + 0x48]
cmp qword [rsp + 0x40], rcx
jg 0x1400eadfd
jmp 0x1400eae2f
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
test byte [rdx], al
lea rcx, [rdx + rcx*8]
mov rcx, qword [rcx]
mov qword [rsp + 0x18], rcx
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x20], 0
jmp 0x1400eae5f
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
mov rdx, qword [rsp + 0x38]
and edx, 3
lea rcx, [rcx + rdx*8]
mov qword [rsp + 0x60], rcx
mov rdx, qword [rsp + 0x90]
xchg qword [rcx], rdx
mov byte [rsp + 7], 0
xor eax, eax
add rsp, 0x78
pop rbp
ret
cmp qword [rsp + 0x20], 8
jl 0x1400eae69
jmp 0x1400eaea2
movzx ecx, byte [rsp + 0x10]
xor rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rcx
mov rdx, qword [rsp + 0x10]
shr rdx, 8
mov qword [rsp + 0x10], rdx
movabs rdx, 0x100000001b3
imul rcx, rdx
mov qword [rsp + 0x30], rcx
jmp 0x1400eae9b
inc qword [rsp + 0x20]
jmp 0x1400eae5f
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 8], rcx
jmp 0x1400eaeae
mov qword [rsp + 0x38], rcx
jmp 0x1400eaeb5
inc qword [rsp + 0x48]
jmp 0x1400eadef
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400ead20
Function at 0x1400ef000
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400ef13b
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x48], rdi
test rdi, rdi
je 0x1400ef03b
jmp 0x1400ef05d
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.14006b8a0
mov qword [rsp + 0x48], rax
inc rax
mov qword [rsp + 0x28], rax
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 0x48], rdi
cmp rdi, 1
je 0x1400ef06a
jmp 0x1400ef0b9
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
mov byte [rsp + 0x27], al
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
mov byte [rsp + 0x10], al
call fcn.140003480
xorps xmm15, xmm15
mov r14, qword [0x140266278]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], rax
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 0x30], 0
jmp 0x1400ef0c4
jmp 0x1400ef0c6
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
call fcn.1400efc60
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x1400ef0ec
jmp 0x1400ef0fc
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
add rsp, 0x50
pop rbp
ret
inc qword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rdx
add rdx, rax
mov qword [rsp + 0x40], rdx
mov rsi, qword [rsp + 0x68]
sub rsi, rdx
mov r8, rsi
neg rsi
sar rsi, 0x3f
and rdx, rsi
add rdx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
jmp 0x1400ef139
jmp 0x1400ef0c4
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140061200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.1400ef000
Function at 0x1400f73e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400f84c0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400f84c0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400f7450
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14026a794]
mov rbx, rcx
test esi, esi
jle 0x1400f7580
mov rax, qword [0x14026a798]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400f749b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400f7525
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400f7480
mov rcx, rbx
call fcn.1400f7ec0
mov rdi, rax
test rax, rax
je 0x1400f75a2
mov rax, qword [0x14026a798]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400f8000
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14026a798]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400f7587
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400f751e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400f7530
add dword [0x14026a794], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14026a798]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400f751e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400f73e0
nop dword [rax]
xor esi, esi
jmp 0x1400f74a8
mov rax, qword [0x14026a798]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400f73e0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400f73e0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400f7b30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14026a800]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14026a7e0]
test rbx, rbx
je 0x1400f7b8c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400f7b83
test eax, eax
jne 0x1400f7b83
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400f7b68
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400f7ec0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400f7f40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401d8850]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400f7f5f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400f7f68
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400f7f5f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400f8000
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401d8850]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400f801f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400f8028
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140017c20
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1405ec140]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x100
xor edi, edi
call fcn.140431a20
mov edx, 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x140017cae
mov qword [rbx], rdi
lea rax, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], dil
jne 0x140017c80
mov qword [rbx + 8], rcx
inc rcx
call fcn.1403ff770
mov r8, qword [rbx + 8]
lea rdx, [rsp + 0x30]
inc r8
mov qword [rbx], rax
mov rcx, rax
call fcn.140431380
jmp 0x140017cbb
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1403ff380
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret

Function at 0x140018e70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140018ea4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140018e90
ret