joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ae850
Capabilities:
Compute adler32 checksum

Disassembly:
mov r8d, r8d
jmp 0x1400ae860
mov r9d, ecx
mov r10, rdx
shr r9d, 0x10
movzx ecx, cx
cmp r8, 1
jne 0x1400ae8a4
movzx edx, byte [rdx]
add edx, ecx
cmp edx, 0xfff1
lea r8d, [rdx - 0xfff1]
cmovb r8d, edx
lea eax, [r8 + r9]
cmp eax, 0xfff1
lea ecx, [rax - 0xfff1]
cmovb ecx, eax
shl ecx, 0x10
or ecx, r8d
mov eax, ecx
ret
test rdx, rdx
jne 0x1400ae8ad
lea eax, [rdx + 1]
ret
cmp r8, 0x10
jae 0x1400ae8fc
test r8, r8
je 0x1400ae8d3
nop dword [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
add ecx, eax
add r9d, ecx
sub r8, 1
jne 0x1400ae8c0
cmp ecx, 0xfff1
lea r8d, [rcx - 0xfff1]
mov eax, 0x80078071
cmovb r8d, ecx
mul r9d
shr edx, 0xf
imul eax, edx, 0xf
add eax, r9d
shl eax, 0x10
or eax, r8d
ret
cmp r8, 0x15b0
jb 0x1400ae9d7
mov r11, r8
movabs rax, 0x79baa6bb6398b6f7
mul r8
sub r11, rdx
shr r11, 1
add r11, rdx
shr r11, 0xc
imul rax, r11, 0xffffffffffffea50
add r8, rax
mov edx, 0x2b6
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add r10, 8
add ecx, eax
add r9d, ecx
add edx, 0xffffffff
jne 0x1400ae940
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
sub r11, 1
jne 0x1400ae930
test r8, r8
je 0x1400aea89
cmp r8, 8
jb 0x1400aea50
mov rdx, r8
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r8, rax
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add r10, 8
add ecx, eax
add r9d, ecx
sub rdx, 1
jne 0x1400ae9f0
test r8, r8
je 0x1400aea63
nop
movzx eax, byte [r10]
lea r10, [r10 + 1]
add ecx, eax
add r9d, ecx
sub r8, 1
jne 0x1400aea50
mov eax, 0x80078071
mul ecx
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
shl r9d, 0x10
or r9d, ecx
mov eax, r9d
ret
Function at 0x1400b7a40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b7a8a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b7a8a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b7a8a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b7a8a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b7a8a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b7a8c
xor al, al
add rsp, 0x28
ret

Function at 0x1400bb160
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400bb188
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400bb188
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140164f60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140355400
nop
test rbx, rbx
je 0x140164fb6
add rbx, 0xc
mov rdx, rbx
jmp 0x140164fb8
xor edx, edx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.14000f2e0
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.14000f330
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x140165035
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140355440
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14016ad50
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov dword [rbp - 0x40], 0x41
lea rsi, [rbp - 0x44]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor edx, edx
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x50], rdx
mov rcx, rbx
mov qword [rbp - 0x58], rcx
mov r9, rsi
mov qword [rbp - 0x60], r9
xor r8d, r8d
mov dword [rbp - 0x48], r8d
lea rcx, [rbp - 0x88]
call fcn.14000f2e0
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
mov r8d, dword [rbp - 0x48]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000f330
call sub.KERNEL32.dll_GetLastError
mov esi, eax
call fcn.140005e5d
mov dword [rax + 0x130], esi
xor eax, eax
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14016b090
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, qword [rdx]
mov edi, dword [rdx + 8]
test edi, edi
je 0x14016b150
mov qword [rbp - 0x40], rsi
test r8b, r8b
je 0x14016b186
lea r14, [rbp - 0x44]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov qword [rbp - 0x5c], rcx
mov rdx, rsi
mov qword [rbp - 0x64], rdx
mov r8d, edi
mov dword [rbp - 0x54], r8d
mov r9, r14
mov qword [rbp - 0x6c], r9
lea rcx, [rbp - 0x98]
call fcn.14000f2e0
mov rcx, qword [rbp - 0x5c]
mov rdx, qword [rbp - 0x64]
mov r8d, dword [rbp - 0x54]
mov r9, qword [rbp - 0x6c]
call sub.KERNEL32.dll_WriteFile
mov edi, eax
lea rcx, [rbp - 0x98]
call fcn.14000f330
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
call fcn.140005e5d
mov dword [rax + 0x130], ebx
xor ebx, ebx
test edi, edi
setne bl
xor r8d, r8d
mov qword [rbp - 0x40], r8
test ebx, ebx
je 0x14016b154
xor eax, eax
jmp 0x14016b172
call fcn.140005e5d
mov eax, dword [rax + 0x130]
cmp eax, 0xe8
je 0x14016b150
cmp eax, 0x6d
je 0x14016b150
cmp eax, 0xe9
je 0x14016b150
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor r8d, r8d
mov qword [rsp + 0x20], r8
mov r8d, edi
shr r8d, 1
lea r9, [rbp - 0x50]
mov rcx, rbx
mov rdx, rsi
call fcn.14016a7e0
mov ebx, eax
jmp 0x14016b145

Function at 0x14016eff0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov edi, r8d
mov rsi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140355400
nop
mov qword [rbp - 0x50], rsi
lea r14, [rbx + 0x10]
xor ecx, ecx
test rbx, rbx
cmove r14, rcx
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, rbx
mov qword [rbp - 0x64], rcx
mov rdx, r14
mov qword [rbp - 0x6c], rdx
mov r8d, edi
mov dword [rbp - 0x5c], r8d
mov r9, rsi
mov qword [rbp - 0x74], r9
lea rcx, [rbp - 0xa0]
call fcn.14000f2e0
mov rcx, qword [rbp - 0x64]
mov rdx, qword [rbp - 0x6c]
mov r8d, dword [rbp - 0x5c]
mov r9, qword [rbp - 0x74]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
mov ebx, eax
lea rcx, [rbp - 0xa0]
call fcn.14000f330
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x14016f0e2
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140355440
call fcn.140005e5d
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14016f8f0
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x110]
xor eax, eax
mov qword [rbp - 0x68], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov r14, qword [rbp + 0x48]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x58]
xor r15d, r15d
cmp byte [rbp + 0x30], 0
setne r15b
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rsi
test r14, r14
je 0x14016f96b
add r14, 0xc
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r9
mov r13, r9
mov qword [rbp - 0x60], r8
mov r12, r8
test rcx, rcx
je 0x14016f970
add rcx, 0xc
mov rax, rcx
jmp 0x14016f972
xor r14d, r14d
jmp 0x14016f94b
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov dword [rsp + 0x20], r15d
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
mov r8, r12
mov qword [rbp - 0x88], r8
mov r9, r13
mov qword [rbp - 0x90], r9
lea rcx, [rbp - 0xb8]
call fcn.14000f2e0
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x88]
mov r9, qword [rbp - 0x90]
call sub.KERNEL32.dll_CreateProcessW
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.14000f330
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140005e5d
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14016fa50
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov ebx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140355400
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
lea rcx, [rbp - 0x80]
call fcn.14000f2e0
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
call sub.KERNEL32.dll_TerminateProcess
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000f330
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x14016fae3
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140355440
call fcn.140005e5d
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1401709a0
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xe0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rbx, r8
mov r14d, r9d
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x50], rcx
mov byte [rbp - 0x5c], 0
lea rcx, [0x1407064a0]
call fcn.140654930
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 0
lea rcx, [0x1407064a0]
call fcn.140654930
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x7c], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x84], rdx
mov r8, rbx
mov qword [rbp - 0x8c], r8
mov r9d, r14d
mov dword [rbp - 0x74], r9d
lea rcx, [rbp - 0xb8]
call fcn.14000f2e0
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8, qword [rbp - 0x8c]
mov r9d, dword [rbp - 0x74]
call sub.KERNEL32.dll_CreatePipe
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.14000f330
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x3c], 1
mov rcx, qword [rbp - 0x50]
mov byte [rbp - 0x5c], 1
mov rax, qword [rbp - 0x68]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 0x48]
mov byte [rbp - 0x60], 1
mov r8, qword [rbp - 0x70]
mov qword [r8 + 8], rcx
test ebx, ebx
setne bl
movzx ebx, bl
mov rcx, qword [rbp + 0x18]
mov rdx, rax
call fcn.14000f0d0
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x70]
call fcn.14000f0d0
nop
call fcn.140005e5d
mov dword [rax + 0x130], esi
movzx eax, bl
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140177710
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140712a98]
cmp qword [rcx - 8], 0
jne 0x14017774e
mov rcx, rbx
call fcn.140177210
test eax, eax
jne 0x14017773c
add rsp, 0x20
pop rbx
jmp fcn.140178c20
mov rcx, rbx
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.140178ba0
call fcn.140001179
jmp 0x140177726
Function at 0x1402a2ae0
Capabilities:
Encode data using xor

Disassembly:
push rax
xor eax, eax
mov qword [rsp], rax
mov dword [rsp + 0x18], edx
mov rax, qword [rcx]
mov qword [rsp], rax
movsxd rdx, dword [rcx + 8]
lea r10, [rax + rdx]
cmp rdx, 4
jl 0x1402a2b59
mov r9d, dword [rsp + 0x18]
lea ecx, [r8*8]
ror r9d, cl
cmp rdx, 0x10
jl 0x1402a2b3a
movd xmm0, r9d
pshufd xmm0, xmm0, 0
movups xmm1, xmmword [rax]
pxor xmm1, xmm0
movups xmmword [rax], xmm1
add rax, 0x10
mov rcx, r10
sub rcx, rax
cmp rcx, 0x10
jge 0x1402a2b20
mov rcx, r10
sub rcx, rax
cmp rcx, 4
jl 0x1402a2b59
xor dword [rax], r9d
add rax, 4
mov rcx, r10
sub rcx, rax
cmp rcx, 4
jge 0x1402a2b46
lea rcx, [rsp + 0x18]
cmp rax, r10
je 0x1402a2b8e
nop dword [rax + rax]
nop dword [rax + rax]
mov rdx, rax
lea rax, [rdx + 1]
movsxd r9, r8d
movzx r9d, byte [rcx + r9]
xor byte [rdx], r9b
inc r8d
and r8d, 3
cmp rax, r10
jne 0x1402a2b70
xor eax, eax
mov qword [rsp], rax
mov eax, r8d
add rsp, 8
ret

Function at 0x1402ac450
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.14000f2e0
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000f330
test ebx, ebx
jne 0x1402ac4c4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
jne 0x1402ac4eb
lea rcx, [0x140761690]
call fcn.14000ee50
mov rbx, rax
mov rcx, rbx
call fcn.1402e5470
mov rcx, rbx
call fcn.1400101f0
lea rcx, [0x140760c50]
call fcn.14000ee50
mov rbx, rax
mov rcx, rbx
call fcn.1402df250
mov rcx, rbx
call fcn.1400101f0
int3

Function at 0x1402acac0
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
je 0x1402acadd
add rsp, 0x48
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.140380c60
mov ecx, eax
test ecx, ecx
jne 0x1402acb6a
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.140380b10
mov ecx, eax
lea rdx, [0x140691ba0]
call fcn.140340e60
mov rcx, rax
call fcn.1400101f0
int3
Function at 0x1402c81c0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rdi
push rsi
push rbp
push rbx
push rax
xor eax, eax
mov qword [rsp], rax
mov r10, rdx
mov r11d, dword [rsp + 0x60]
mov edx, 0x55555556
mov eax, edx
imul r9d
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [rax + rax*2]
mov edx, r9d
sub edx, eax
sub r9d, edx
add r9d, r8d
xor eax, eax
xor ebx, ebx
lea rsi, [0x1409c1328]
mov qword [rsp], rsi
cmp r8d, r9d
jge 0x1402c82db
movzx edi, r11b
test edi, edi
jne 0x1402c83eb
movsxd rbp, r8d
movzx r14d, byte [r10 + rbp]
and r14d, 0xfc
sar r14d, 2
movsxd r14, r14d
movzx r14d, byte [r14 + rsi]
movsxd r15, eax
mov word [rcx + r15*2], r14w
movzx ebp, byte [r10 + rbp]
and ebp, 3
shl ebp, 4
lea r14d, [r8 + 1]
movsxd r14, r14d
movzx r15d, byte [r10 + r14]
and r15d, 0xf0
sar r15d, 4
or ebp, r15d
movsxd rbp, ebp
movzx ebp, byte [rsi + rbp]
lea r15d, [rax + 1]
movsxd r15, r15d
mov word [rcx + r15*2], bp
movzx ebp, byte [r10 + r14]
and ebp, 0xf
shl ebp, 2
lea r14d, [r8 + 2]
movsxd r14, r14d
movzx r15d, byte [r10 + r14]
and r15d, 0xc0
sar r15d, 6
or ebp, r15d
movsxd rbp, ebp
movzx ebp, byte [rsi + rbp]
lea r15d, [rax + 2]
movsxd r15, r15d
mov word [rcx + r15*2], bp
movzx ebp, byte [r10 + r14]
and ebp, 0x3f
movsxd rbp, ebp
movzx ebp, byte [rsi + rbp]
lea r14d, [rax + 3]
movsxd r14, r14d
mov word [rcx + r14*2], bp
add eax, 4
add r8d, 3
cmp r8d, r9d
jl 0x1402c8212
mov r8d, r9d
movzx edi, r11b
test edi, edi
jne 0x1402c8418
cmp edx, 1
je 0x1402c839a
cmp edx, 2
jne 0x1402c8387
movsxd r9, r8d
movzx r11d, byte [r10 + r9]
and r11d, 0xfc
sar r11d, 2
movsxd rdx, r11d
movzx edx, byte [rdx + rsi]
movsxd r9, eax
mov word [rcx + r9*2], dx
movsxd rdx, r8d
movzx edx, byte [r10 + rdx]
and edx, 3
shl edx, 4
inc r8d
movsxd r8, r8d
movzx r9d, byte [r10 + r8]
and r9d, 0xf0
sar r9d, 4
or edx, r9d
movsxd rdx, edx
movzx edx, byte [rdx + rsi]
lea r9d, [rax + 1]
movsxd r9, r9d
mov word [rcx + r9*2], dx
movzx r10d, byte [r10 + r8]
and r10d, 0xf
shl r10d, 2
movsxd rdx, r10d
movzx edx, byte [rdx + rsi]
lea r8d, [rax + 2]
movsxd r8, r8d
mov word [rcx + r8*2], dx
lea edx, [rax + 3]
movsxd rdx, edx
mov word [rcx + rdx*2], 0x3d
add eax, 4
xor ecx, ecx
mov qword [rsp], rcx
add rsp, 8
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
movsxd rdx, r8d
movzx edx, byte [r10 + rdx]
and edx, 0xfc
sar edx, 2
movsxd rdx, edx
movzx edx, byte [rdx + rsi]
movsxd r9, eax
mov word [rcx + r9*2], dx
movsxd r8, r8d
movzx r10d, byte [r10 + r8]
and r10d, 3
shl r10d, 4
movsxd rdx, r10d
movzx edx, byte [rdx + rsi]
lea r8d, [rax + 1]
movsxd r8, r8d
mov word [rcx + r8*2], dx
lea edx, [rax + 2]
movsxd rdx, edx
mov word [rcx + rdx*2], 0x3d
jmp 0x1402c8378
cmp ebx, 0x4c
jne 0x1402c8410
lea ebx, [rax + 1]
cdqe
mov word [rcx + rax*2], reloc.WS2_32.dll_listen
mov eax, ebx
lea ebx, [rax + 1]
cdqe
mov word [rcx + rax*2], 0xa
xor eax, eax
mov ebp, eax
mov eax, ebx
mov ebx, ebp
add ebx, 4
jmp 0x1402c821a
test edx, edx
je 0x1402c82ea
cmp ebx, 0x4c
jne 0x1402c82ea
mov r9d, eax
lea eax, [r9 + 1]
movsxd r9, r9d
mov word [rcx + r9*2], reloc.WS2_32.dll_listen
mov r9d, eax
lea eax, [r9 + 1]
movsxd r9, r9d
mov word [rcx + r9*2], 0xa
jmp 0x1402c82ea
Function at 0x1402ddc30
Capabilities:
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, dword [rbx + 0x1c]
mov edi, esi
and edi, 3
cmp esi, 4
jb 0x1402ddcac
mov eax, dword [rbx]
rol eax, 1
mov ecx, dword [rbx + 4]
rol ecx, 7
add eax, ecx
mov ecx, dword [rbx + 8]
rol ecx, 0xc
add eax, ecx
mov ecx, dword [rbx + 0xc]
rol ecx, 0x12
add eax, ecx
lea eax, [rax + rsi*4]
test edi, edi
je 0x1402ddc82
imul ecx, dword [rbx + 0x10], 0xc2b2ae3d
add eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp edi, 1
ja 0x1402ddcc4
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0xc2b2ae3d
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
lea rbp, [0x140713108]
cmp qword [rbp - 8], 0
jne 0x1402ddcef
mov eax, dword [rbp]
add eax, 0x165667b1
jmp 0x1402ddc64
imul ecx, dword [rbx + 0x14], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 0x27d4eb2f
cmp edi, 2
jbe 0x1402ddc82
imul ecx, dword [rbx + 0x18], 0xc2b2ae3d
add ecx, eax
rol ecx, 0x11
imul eax, ecx, 0x27d4eb2f
jmp 0x1402ddc82
call fcn.140001488
jmp 0x1402ddcba
Function at 0x140373680
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x40]
xorps xmm4, xmm4
movaps xmmword [rbp + 0x70], xmm4
xor eax, eax
mov qword [rbp + 0x80], rax
mov rax, qword [0x140cc7040]
mov qword [rbp + 0x50], rax
mov rsi, rcx
mov rbx, rdx
mov edi, dword [rbx + 8]
shl edi, 2
cmp edi, 0x400
jge 0x140373712
mov edx, edi
mov r14, rdx
test r14, r14
je 0x140373708
mov rcx, r14
add rcx, 0xf
and rcx, 0xfffffffffffffff0
add rsp, 0x40
neg rcx
add rcx, rsp
jb 0x1403736ea
xor ecx, ecx
test dword [rsp], esp
sub rsp, 0x1000
cmp rsp, rcx
jae 0x1403736ea
mov rsp, rcx
test dword [rsp], esp
sub rsp, 0x40
lea r14, [rsp + 0x40]
test edi, edi
jl 0x140373884
jmp 0x140373728
movsxd rdx, edi
lea rcx, [0x140899128]
call fcn.14000ef70
lea r14, [rax + 0x10]
mov edi, dword [rax + 8]
mov qword [rbp + 0x58], r14
mov qword [rbp + 0xd8], rbx
lea rcx, [rbx + 0xc]
mov qword [rbp + 0x80], rcx
mov r15, qword [rbp + 0x80]
xor r13d, r13d
test edi, edi
cmovne r13, r14
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x78], r13
lea rcx, [rbp]
call fcn.14000f2e0
call sub.KERNEL32.dll_GetConsoleOutputCP
mov ebx, eax
lea rcx, [rbp]
call fcn.14000f330
mov ecx, ebx
mov r8, r15
mov rbx, qword [rbp + 0xd8]
mov r9d, dword [rbx + 8]
mov r13, qword [rbp + 0x60]
mov rdx, r13
mov dword [rsp + 0x28], edi
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov dword [rbp + 0x4c], ecx
mov qword [rbp + 0x3c], r8
mov dword [rbp + 0x48], r9d
mov qword [rsp + 0x20], rdx
xor edx, edx
mov dword [rbp + 0x44], edx
lea rcx, [rbp]
call fcn.14000f2e0
mov ecx, dword [rbp + 0x4c]
mov r8, qword [rbp + 0x3c]
mov r9d, dword [rbp + 0x48]
mov edx, dword [rbp + 0x44]
call sub.KERNEL32.dll_WideCharToMultiByte
mov ebx, eax
lea rcx, [rbp]
call fcn.14000f330
xor ecx, ecx
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], rcx
test edi, edi
cmovne rcx, qword [rbp + 0x58]
mov qword [rbp + 0x70], rcx
mov rdi, rcx
lea r14, [rbp + 0x6c]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov rcx, rsi
mov qword [rbp + 0x3c], rcx
mov rdx, rdi
mov qword [rbp + 0x34], rdx
mov r8d, ebx
mov dword [rbp + 0x44], r8d
mov r9, r14
mov qword [rbp + 0x2c], r9
lea rcx, [rbp]
call fcn.14000f2e0
mov rcx, qword [rbp + 0x3c]
mov rdx, qword [rbp + 0x34]
mov r8d, dword [rbp + 0x44]
mov r9, qword [rbp + 0x2c]
call sub.KERNEL32.dll_WriteFile
lea rcx, [rbp]
call fcn.14000f330
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
call fcn.140005e5d
mov dword [rax + 0x130], ebx
xor eax, eax
mov qword [rbp + 0x70], rax
lea rcx, [0x140cc7040]
mov rcx, qword [rcx]
cmp qword [rbp + 0x50], rcx
je 0x14037386f
call fcn.140010c60
nop
lea rsp, [rbp + 0x88]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1402e9300
int3