joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400acb50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400acb78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400acb78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400b8bc0
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.140208b20
nop
test rbx, rbx
jne 0x1400b8c11
xor edx, edx
jmp 0x1400b8c15
lea rdx, [rbx + 0xc]
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 - 0x80], rcx
mov qword [rbp - 0x88], rdx
mov r8, rsi
mov qword [rbp - 0x90], r8
mov r9, rdi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.14000a990
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000a9e0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400b8c9e
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208b60
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 0x1400bceb0
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 rsi, rdx
mov edi, r8d
xor ecx, ecx
mov dword [r9], ecx
mov qword [rbp - 0x40], r9
mov r14, r9
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x74], rcx
mov rdx, rsi
mov qword [rbp - 0x7c], rdx
mov r8d, edi
mov dword [rbp - 0x6c], r8d
mov r9, r14
mov qword [rbp - 0x84], r9
lea rcx, [rbp - 0x68]
call fcn.14000a990
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8d, dword [rbp - 0x6c]
mov r9, qword [rbp - 0x84]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000a9e0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x140bceb18]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400bcf7c
mov dword [rdi + 0xe8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222860]
call rax
mov rdi, rax
jmp 0x1400bcf63
Function at 0x1400c55d0
Capabilities:
Get file version info

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
test rdx, rdx
jne 0x1400c55f7
xor edx, edx
jmp 0x1400c55fb
add rdx, 0xc
mov qword [rbp - 0x40], rdx
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x7c], rdx
mov dword [rbp - 0x6c], ecx
mov dword [rbp - 0x70], r8d
mov dword [rbp - 0x74], r9d
lea rcx, [rbp - 0x68]
call fcn.14000a990
mov rdx, qword [rbp - 0x7c]
mov ecx, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
mov r9d, dword [rbp - 0x74]
call sub.VERSION.dll_GetFileVersionInfoExW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000a9e0
xor eax, eax
mov qword [rbp - 0x40], rax
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 0x1400c6ef0
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 rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140208b20
nop
mov qword [rbp - 0x50], rbx
lea r14, [rsi + 0x10]
xor ecx, ecx
test rsi, rsi
cmove r14, rcx
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, rsi
mov qword [rbp - 0x8c], rcx
mov rdx, r14
mov qword [rbp - 0x94], rdx
mov r8d, edi
mov dword [rbp - 0x84], r8d
mov r9, rbx
mov qword [rbp - 0x9c], r9
lea rcx, [rbp - 0x80]
call fcn.14000a990
mov rcx, qword [rbp - 0x8c]
mov rdx, qword [rbp - 0x94]
mov r8d, dword [rbp - 0x84]
mov r9, qword [rbp - 0x9c]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000a9e0
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 0x1400c6ff8
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208b60
mov rax, qword gs:[0x58]
mov ecx, dword [0x140bceb18]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400c7035
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222860]
call rax
mov rdi, rax
jmp 0x1400c7018
Function at 0x1400c7410
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.140208b20
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x7c], rcx
mov edx, ebx
mov dword [rbp - 0x74], edx
lea rcx, [rbp - 0x70]
call fcn.14000a990
mov rcx, qword [rbp - 0x7c]
mov edx, dword [rbp - 0x74]
call sub.KERNEL32.dll_TerminateProcess
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a9e0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400c74a3
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208b60
mov rax, qword gs:[0x58]
mov ecx, dword [0x140bceb18]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400c74dd
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222860]
call rax
mov rdi, rax
jmp 0x1400c74c3

Function at 0x1400ca140
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140445fb8]
cmp qword [rcx - 8], 0
jne 0x1400ca17e
mov rcx, rbx
call fcn.1400c9c70
test eax, eax
je 0x1400ca174
mov rcx, rbx
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.1400cb180
add rsp, 0x20
pop rbx
jmp fcn.1400cb200
call fcn.140001074
jmp 0x1400ca156
Function at 0x1400dceb0
Capabilities:
Connect pipe

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 rbx, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140208b20
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
lea rcx, [rbp - 0x70]
call fcn.14000a990
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a9e0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400dcf47
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208b60
mov rax, qword gs:[0x58]
mov ecx, dword [0x140bceb18]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400dcf81
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222860]
call rax
mov rdi, rax
jmp 0x1400dcf67

Function at 0x1400dcfd0
Capabilities:
Connect pipe

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 rbx, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140208b20
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
lea rcx, [rbp - 0x70]
call fcn.14000a990
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a9e0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400dd067
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208b60
mov rax, qword gs:[0x58]
mov ecx, dword [0x140bceb18]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400dd0a1
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222860]
call rax
mov rdi, rax
jmp 0x1400dd087
Function at 0x1400dd7d0
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 - 0x48], rax
mov qword [rbp - 0x50], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov r14d, r9d
mov r15, qword [rbp + 0x48]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov byte [rbp - 0x7c], 0
lea rcx, [0x14043ea00]
call fcn.1403ebff0
mov qword [rbp - 0x88], rax
mov qword [rbp - 0x48], r15
test rbx, rbx
jne 0x1400dd82e
xor r13d, r13d
jmp 0x1400dd832
lea r13, [rbx + 0xc]
mov qword [rbp - 0x50], r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ebx, dword [rbp + 0x30]
mov dword [rsp + 0x20], ebx
mov ebx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov ebx, dword [rbp + 0x40]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], r15
mov rcx, r13
mov qword [rbp - 0x9c], rcx
mov edx, esi
mov dword [rbp - 0x8c], edx
mov r8d, edi
mov dword [rbp - 0x90], r8d
mov r9d, r14d
mov dword [rbp - 0x94], r9d
lea rcx, [rbp - 0x78]
call fcn.14000a990
mov rcx, qword [rbp - 0x9c]
mov edx, dword [rbp - 0x8c]
mov r8d, dword [rbp - 0x90]
mov r9d, dword [rbp - 0x94]
call sub.KERNEL32.dll_CreateNamedPipeW
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.14000a9e0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x3c], 1
mov byte [rbp - 0x7c], 1
mov rax, qword [rbp - 0x88]
mov qword [rax + 8], rbx
mov rbx, rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x140bceb18]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400dd91b
mov dword [rdi + 0xe8], esi
mov rax, rbx
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222860]
call rax
mov rdi, rax
jmp 0x1400dd8fe

Function at 0x140182820
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 - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.14000a990
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.14000a9e0
test ebx, ebx
jne 0x140182894
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x1401828bc
lea rcx, [0x140463a68]
call fcn.140008c50
mov rbx, rax
mov rcx, rbx
call fcn.1401aa910
mov rcx, rbx
call fcn.1400091c0
int3
lea rcx, [0x140464318]
call fcn.140008c50
mov rbx, rax
mov rcx, rbx
call fcn.1401afe30
mov rcx, rbx
call fcn.1400091c0
int3

Function at 0x1401874e0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1401874f2
add rsp, 0x28
jmp fcn.140187b00
lea rcx, [0x140433ce8]
call fcn.1400baf60
int3
Function at 0x140197180
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x1401973b9
lea r14, [0x140a5c0f0]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jge 0x1401971d6
mov edx, 0x55555556
mov eax, edx
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
jmp 0x1401971d9
lea eax, [rbx - 4]
test eax, eax
jle 0x140197280
movsxd rdx, edi
lea rdx, [r10 + rdx*2]
movzx r15d, word [rdx]
movzx r13d, word [rdx + 2]
movzx r12d, word [rdx + 4]
movzx edx, word [rdx + 6]
mov r9d, r15d
or r9d, r13d
or r9d, r12d
or r9d, edx
test r9d, 0xffffff00
jne 0x140197244
movsxd r9, r15d
movsx r15, byte [r14 + r9]
shl r15d, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
or r15d, edx
movsxd rdx, r13d
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or r15d, edx
movsxd rdx, r12d
movsx rdx, byte [r14 + rdx]
shl edx, 6
or r15d, edx
jmp 0x14019724a
mov r15d, 0xffffffff
test r15d, r15d
jl 0x14019739f
movsxd rdx, ebp
add rdx, r11
mov r9d, r15d
sar r9d, 0x10
mov byte [rdx], r9b
mov r9d, r15d
sar r9d, 8
mov byte [rdx + 1], r9b
mov byte [rdx + 2], r15b
add ebp, 3
add edi, 4
cmp edi, eax
jl 0x1401971e1
lea edx, [rbx - 4]
cmp eax, edx
jne 0x14019739f
cmp edi, ebx
je 0x14019739f
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x14019739f
cdqe
movsx rax, byte [r14 + rax]
shl eax, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
jne 0x140197357
cmp r9d, 0x3d
jne 0x14019731c
test eax, eax
jl 0x14019739f
dec esi
cmp ebp, esi
jg 0x14019739f
sar eax, 0x10
movsxd r9, ebp
mov byte [r11 + r9], al
inc ebp
jmp 0x140197398
movsxd r10, r9d
movsx r9, byte [r14 + r10]
shl r9d, 6
or r9d, eax
mov eax, r9d
test eax, eax
jl 0x14019739f
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x14019739f
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x140197398
movsxd rdx, r10d
movsx rdx, byte [r14 + rdx]
or edx, eax
movsxd rax, r9d
movsx rax, byte [r14 + rax]
shl eax, 6
or eax, edx
jl 0x14019739f
lea edx, [rsi - 3]
cmp ebp, edx
jg 0x14019739f
movsxd rdx, ebp
add rdx, r11
mov r10d, eax
sar r10d, 0x10
mov byte [rdx], r10b
mov r10d, eax
sar r10d, 8
mov byte [rdx + 1], r10b
mov byte [rdx + 2], al
add ebp, 3
add edi, 4
cmp ebx, ecx
je 0x1401973b9
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401b04e0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r10d, edx
cmp r10d, r8d
jg 0x1401b060a
mov rcx, qword [rcx + 8]
lea rax, [0x140472538]
cmp qword [rcx], rax
je 0x1401b05fb
lea rax, [0x1404724c0]
cmp qword [rcx], rax
je 0x1401b05ec
sub r8d, r10d
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x18]
mov r11, qword [rcx + 0x20]
mov rbx, rdx
shl rbx, 0x11
xor r9, rax
xor r11, rdx
lea rsi, [rdx + rdx*4]
rol rsi, 7
lea rsi, [rsi + rsi*8]
xor rdx, r9
xor rax, r11
xor r9, rbx
rol r11, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r9
mov qword [rcx + 0x20], r11
mov r9d, r8d
shr rsi, 0x20
mov r11d, esi
imul r11, r9
mov ebx, r11d
cmp ebx, r8d
jae 0x1401b05dc
mov eax, r8d
neg eax
xor edx, edx
div r8d
cmp ebx, edx
jae 0x1401b05dc
mov r11, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov rsi, rax
shl rsi, 0x11
xor r8, r11
xor rbx, rax
lea rdi, [rax + rax*4]
rol rdi, 7
lea rdi, [rdi + rdi*8]
xor rax, r8
xor r11, rbx
xor r8, rsi
rol rbx, 0x2d
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], rbx
shr rdi, 0x20
mov r11d, edi
imul r11, r9
mov ebx, r11d
cmp ebx, edx
jb 0x1401b0584
shr r11, 0x20
lea eax, [r11 + r10]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, r10d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.14022cca0
mov edx, r10d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x14022cd20
call fcn.1401b0610
int3
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
mov edi, r8d
lea rbp, [rbx + 0x18]
mov rcx, rbp
mov edx, dword [rbx + 0x10]
cmp qword [rcx], 0
jne 0x14022cd45
call fcn.14022ce40
movsxd rdi, edi
movsxd rcx, esi
sub rdi, rcx
cmp rdi, 0x7fffffff
jg 0x14022cdef
mov rcx, qword [rbx + 8]
lea rax, [0x1404644e0]
cmp qword [rcx], rax
jne 0x14022ce13
mov rbx, qword [rcx + 8]
lea rcx, [0x140472538]
cmp qword [rbx], rcx
je 0x14022cda9
lea rcx, [0x1404724c0]
cmp qword [rbx], rcx
jne 0x14022ce19
lea rcx, [rbx + 8]
call fcn.14022cf60
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x140a601b0]
jmp 0x14022cdd3
lea rcx, [rbx + 0x18]
mov edx, dword [rbx + 0x10]
cmp qword [rcx], 0
jne 0x14022cdbb
call fcn.14022ce40
lea rcx, [rbx + 0x18]
call fcn.14022cf60
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x140a601b0]
xorps xmm1, xmm1
cvtsi2sd xmm1, rdi
mulsd xmm0, xmm1
call fcn.1400098d0
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
mov rcx, rbp
call fcn.14022cfe0
xorps xmm1, xmm1
cvtsi2sd xmm1, rdi
mulsd xmm0, xmm1
call fcn.140009910
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
call fcn.140005810
int3
mov rcx, rbx
call fcn.1400da3a0
int3
Function at 0x1401b16e0
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rsi, rcx
mov rdi, r8
mov r8d, edx
mov ebx, r9d
test ebx, ebx
je 0x1401b18ff
lea ebp, [rbx - 1]
test ebp, ebp
je 0x1401b18a6
xor r14d, r14d
movzx r15d, word [rdi]
sub r8d, ebp
mov r13d, r8d
cmp r13d, 8
jl 0x1401b181b
movsxd rcx, ebp
movzx ecx, word [rdi + rcx*2]
movsxd rbp, ebp
jmp 0x1401b1743
dec rbp
movzx ecx, word [rdi + rbp*2]
cmp ecx, r15d
jne 0x1401b174e
cmp rbp, 1
jg 0x1401b173c
movd xmm0, r15d
movaps xmm6, xmm0
punpcklwd xmm6, xmm0
pshufd xmm6, xmm6, 0
movd xmm0, ecx
movaps xmm7, xmm0
punpcklwd xmm7, xmm0
pshufd xmm7, xmm7, 0
movsxd r13, r13d
lea r15, [r13 - 8]
jmp 0x1401b177b
mov r14, r15
movups xmm0, xmmword [rsi + r14*2]
pcmpeqw xmm0, xmm6
lea rcx, [r14 + rbp]
movups xmm1, xmmword [rsi + rcx*2]
pcmpeqw xmm1, xmm7
pand xmm0, xmm1
xorps xmm1, xmm1
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1
cmp ecx, 0xffff
je 0x1401b1804
pmovmskb r12d, xmm0
test r12d, r12d
je 0x1401b17b7
bsf ecx, r12d
jmp 0x1401b17bc
mov ecx, 0x20
shr ecx, 1
mov eax, ecx
mov qword [rsp + 0x28], rax
cmp ebx, 2
je 0x1401b17fc
lea rcx, [r14 + rax]
lea rcx, [rsi + rcx*2]
mov r8d, ebx
add r8, r8
mov rdx, rdi
call fcn.1401b1040
test eax, eax
mov rax, qword [rsp + 0x28]
jne 0x1401b17fc
lea ecx, [r12 - 1]
and ecx, r12d
lea r12d, [rcx - 1]
and r12d, ecx
jne 0x1401b17ac
jmp 0x1401b1804
add eax, r14d
jmp 0x1401b188b
add r14, 8
cmp r14, r13
je 0x1401b1868
cmp r14, r15
jle 0x1401b177b
jmp 0x1401b1778
add rdi, 2
test r13d, r13d
jle 0x1401b1868
lea rcx, [rsi + r14*2]
movsx rdx, r15w
mov r8d, r13d
call fcn.1403c3c20
test eax, eax
jl 0x1401b1868
sub r13d, eax
movsxd rcx, eax
add r14, rcx
test r13d, r13d
jle 0x1401b1868
lea rcx, [rsi + r14*2 + 2]
mov r8d, ebp
add r8, r8
mov rdx, rdi
call fcn.1401b1040
test eax, eax
jne 0x1401b1888
dec r13d
inc r14
test r13d, r13d
jg 0x1401b1824
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
movsx rdx, word [rdi]
movzx ecx, dx
dec ecx
cmp ecx, 0xfe
jb 0x1401b18d9
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1403c3c20
movsx rdx, dx
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1403e3760
xor eax, eax
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret