joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7aa6ba490
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x1b8]
mov rbx, rcx
mov rdi, qword [rcx + 0x20]
cmp dword [rax + 0x10], 0
je 0x7ff7aa6ba503
movzx eax, byte [rdi + 0x78e]
cmp al, 0xd
je 0x7ff7aa6ba4e5
test rdi, rdi
je 0x7ff7aa6ba4cb
lea r8, [0x7ff7aa6f0590]
mov r8, qword [r8 + rax*8]
jmp 0x7ff7aa6ba4d2
lea r8, [0x7ff7aa723a0c]
lea r9, [0x7ff7aa6f0870]
lea rdx, [0x7ff7aa6f0950]
call fcn.7ff7aa68d8b0
mov r8b, 0xd
mov byte [rdi + 0x78e], 0xd
mov dl, 1
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.7ff7aa6ba650
cmp byte [rcx + 0xa4e], 0
je 0x7ff7aa6ba51d
xor edx, edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.7ff7aa6bb330
cmp byte [rcx + 0xa51], 0
je 0x7ff7aa6ba5a0
mov r9, qword [rdi + 0x738]
lea rdx, [rdi + 0x680]
test r9, r9
jne 0x7ff7aa6ba567
mov r9, qword [rcx + 0x7f8]
test r9, r9
jne 0x7ff7aa6ba55e
cmp byte [rcx + 0x12a9], 0
lea rax, [0x7ff7aa6f0e10]
lea r9, [0x7ff7aa6efb04]
cmovne r9, rax
lea r8, [0x7ff7aa6f0e18]
jmp 0x7ff7aa6ba57e
cmp byte [rcx + 0x12ad], 0
lea r8, [0x7ff7aa6f0e20]
jne 0x7ff7aa6ba57e
lea r8, [0x7ff7aa6f0e30]
call fcn.7ff7aa6d2c30
mov edi, eax
test eax, eax
jne 0x7ff7aa6ba593
mov dl, 0x1d
mov rcx, rbx
call fcn.7ff7aa6b8c50
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.7ff7aa6bb250

Function at 0x7ff7aa6ba8f0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b8]
add rdx, 0x680
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x7ff7aa6ba948
cmp qword [rdx + 0xb8], 0
je 0x7ff7aa6ba948
xor r9d, r9d
mov qword [rsp + 0x30], rdi
lea r8, [0x7ff7aa6f0e40]
call fcn.7ff7aa6d2c30
mov edi, eax
test eax, eax
jne 0x7ff7aa6ba93d
mov dl, 0x1a
mov rcx, rbx
call fcn.7ff7aa6b8c50
mov eax, edi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ff7aa6ba490
Function at 0x7ff7aa6bae00
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x20]
lea eax, [rdx - 0xc8]
xor edi, edi
movzx esi, r8b
mov rbx, rcx
cmp eax, 0x64
jb 0x7ff7aa6bae42
lea rdx, [0x7ff7aa6f1128]
call fcn.7ff7aa68d600
mov eax, 0x11
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp edx, 0xc8
je 0x7ff7aa6bae59
mov r8d, edx
lea rdx, [0x7ff7aa6f1148]
call fcn.7ff7aa68d6f0
cmp sil, 0x13
jne 0x7ff7aa6bae76
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
jmp fcn.7ff7aa6bab10
cmp sil, 0x14
jne 0x7ff7aa6bafba
cmp byte [rbx + 0x6f0], 2
mov qword [rsp + 0x58], r14
mov r14, qword [rbx + 0x20]
jne 0x7ff7aa6baefd
mov rax, qword [rbx + 0x1b8]
mov rcx, qword [rax]
test rcx, rcx
je 0x7ff7aa6baefd
xor r9d, r9d
mov qword [rsp + 0x50], rdi
lea r8, [rsp + 0x50]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.7ff7aa673ed0
mov esi, eax
test eax, eax
jne 0x7ff7aa6bafa6
mov rcx, qword [rsp + 0x50]
mov edx, 0x2f
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x7ff7aa6baef2
mov rdi, qword [rsp + 0x50]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], sil
jmp 0x7ff7aa6baefd
mov rcx, qword [rsp + 0x50]
call qword [fcn.7ff7aa6d8a54]
mov rdx, qword [rbx + 0x7f8]
test rdx, rdx
jne 0x7ff7aa6baf22
cmp byte [rbx + 0x12a9], 0
lea rax, [0x7ff7aa6f0e10]
lea rdx, [0x7ff7aa6efb04]
cmovne rdx, rax
lea r8, [0x7ff7aa716776]
test rdi, rdi
mov r9, r8
lea rax, [0x7ff7aa71fd20]
cmovne r9, rdi
lea rcx, [0x7ff7aa6e7164]
cmovne r8, rax
call fcn.7ff7aa697b00
mov rcx, rdi
mov rbp, rax
call qword [fcn.7ff7aa6d8a54]
test rbp, rbp
jne 0x7ff7aa6baf74
mov r14, qword [rsp + 0x58]
mov esi, 0x1b
mov eax, esi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
lea rdx, [r14 + 0x680]
mov r9, rbp
lea r8, [0x7ff7aa7238fc]
mov rcx, rbx
call fcn.7ff7aa6d2c30
mov rcx, rbp
mov esi, eax
call qword [fcn.7ff7aa6d8a54]
test esi, esi
jne 0x7ff7aa6bafa6
mov dl, 0x1f
mov rcx, rbx
call fcn.7ff7aa6b8c50
mov r14, qword [rsp + 0x58]
mov eax, esi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
cmp sil, 0x15
jne 0x7ff7aa6bafc5
mov r8b, 0xd
jmp 0x7ff7aa6bafce
cmp sil, 0x16
jne 0x7ff7aa6bafda
mov r8b, 0xe
mov dl, 1
mov rcx, rbx
call fcn.7ff7aa6ba650
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff7aa6c2b20
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x7ff7aa74f840]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x7ff7aa6c2cbe
inc rsi
lea rdx, [0x7ff7aa6e8118]
mov rcx, rsi
sub rdi, 2
call sub.ucrtbase.dll_strspn
cmp rdi, rax
je 0x7ff7aa6c2c2d
cmp byte [rsi + rax], 0x25
lea r14, [rsi + rax]
mov rdi, rax
jne 0x7ff7aa6c2cbe
mov r8d, 2
lea rdx, [0x7ff7aa6f243c]
lea rcx, [r14 + 1]
xor ebp, ebp
lea rbx, [r14 + 1]
call sub.ucrtbase.dll_strncmp
test eax, eax
jne 0x7ff7aa6c2bb4
movzx eax, byte [r14 + 3]
lea rcx, [r14 + 3]
test al, al
je 0x7ff7aa6c2bb4
cmp al, 0x5d
cmovne rbx, rcx
movzx edx, byte [rbx]
test dl, dl
je 0x7ff7aa6c2cbe
mov rax, rbp
movzx ecx, dl
cmp dl, 0x5d
je 0x7ff7aa6c2be6
cmp rax, 0xf
jge 0x7ff7aa6c2be6
inc rbx
mov byte [rsp + rax + 0x20], cl
inc ebp
inc rax
movzx ecx, byte [rbx]
movzx edx, cl
test cl, cl
jne 0x7ff7aa6c2bc5
test ebp, ebp
je 0x7ff7aa6c2cbe
cmp byte [rbx], 0x5d
jne 0x7ff7aa6c2cbe
movsxd rax, ebp
cmp rax, 0x10
jae 0x7ff7aa6c2cdf
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x7ff7aa687c72.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x7ff7aa6c2c27
mov eax, 7
jmp 0x7ff7aa6c2cc3
mov word [r14], 0x5d
lea r8, [rsp + 0x20]
mov byte [rdi + rsi], 0
mov rdx, rsi
mov ecx, 0x17
call qword [sym.imp.ws2_32.dll_inet_pton]
cmp eax, 1
jne 0x7ff7aa6c2cbe
mov r9d, 0x2e
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov ecx, 0x17
call sub.ws2_32.dll_inet_ntop
test rax, rax
je 0x7ff7aa6c2cb6
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rax + rdx], 0
jne 0x7ff7aa6c2c74
cmp rdx, rdi
jae 0x7ff7aa6c2cb6
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rcx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x7ff7aa6c2ca0
mov rdi, rdx
mov byte [rdx + rsi + 1], al
mov byte [rdi + rsi], 0x5d
xor eax, eax
jmp 0x7ff7aa6c2cc3
mov eax, 0x16
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.7ff7aa6d76b0
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.7ff7aa6d7c88
int3
Function at 0x7ff7aa6c5870
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbp, r8
mov rdi, rdx
mov r15, rcx
lea rdx, [0x7ff7aa6ea160]
mov r8d, 0x11
mov rcx, r9
mov rbx, r9
call fcn.7ff7aa6940b0
test eax, eax
je 0x7ff7aa6c58bd
mov r14d, dword [rdi + 0x13c]
cmp r14d, 0x191
je 0x7ff7aa6c58e6
mov r8d, 0x13
lea rdx, [0x7ff7aa6ea0b0]
mov rcx, rbx
call fcn.7ff7aa6940b0
test eax, eax
je 0x7ff7aa6c5944
mov r14d, dword [rdi + 0x13c]
cmp r14d, 0x197
jne 0x7ff7aa6c5944
mov rcx, rbx
call fcn.7ff7aa69e1a0
mov rsi, rax
test rax, rax
jne 0x7ff7aa6c5900
mov eax, 0x1b
jmp 0x7ff7aa6c5b0e
mov r9, rbx
lea r8, [0x7ff7aa6f2800]
mov rdx, r15
mov rcx, rdi
call fcn.7ff7aa68d740
cmp r14d, 0x197
mov r8, rsi
mov rcx, rdi
sete dl
call fcn.7ff7aa69f830
mov rcx, rsi
mov ebx, eax
call qword [fcn.7ff7aa6d8a54]
test ebx, ebx
je 0x7ff7aa6c5b0c
mov eax, ebx
jmp 0x7ff7aa6c5b0e
mov r8d, 0xf
lea rdx, [0x7ff7aa6e99b0]
mov rcx, rbx
call fcn.7ff7aa6940b0
test eax, eax
je 0x7ff7aa6c59a1
mov r8d, dword [rdi + 0x13c]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff7aa6c5984
lea rdx, [0x7ff7aa6f2820]
mov rcx, rdi
call fcn.7ff7aa68d6f0
jmp 0x7ff7aa6c5b0c
lea r9, [rbp + 0xa0]
xor edx, edx
lea rcx, [rbx + 0xf]
mov r8d, 0xa
call fcn.7ff7aa6a65b0
jmp 0x7ff7aa6c5b0c
lea r9, [0x7ff7aa726b3c]
mov qword [rsp + 0x20], 5
mov r8d, 0xb
lea rdx, [0x7ff7aa6e99c0]
mov rcx, rbx
call fcn.7ff7aa69e0c0
test al, al
jne 0x7ff7aa6c5b05
mov r8d, 0x12
lea rdx, [0x7ff7aa6e99d0]
mov rcx, rbx
call fcn.7ff7aa6940b0
test eax, eax
je 0x7ff7aa6c5a65
mov r8d, dword [rdi + 0x13c]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff7aa6c5a0e
lea rdx, [0x7ff7aa6f2858]
mov rcx, rdi
call fcn.7ff7aa68d6f0
jmp 0x7ff7aa6c5b0c
lea r9, [0x7ff7aa6e8df8]
mov qword [rsp + 0x20], 7
mov r8d, 0x12
lea rdx, [0x7ff7aa6e99d0]
mov rcx, rbx
call fcn.7ff7aa69e0c0
test al, al
je 0x7ff7aa6c5b0c
lea rdx, [0x7ff7aa6f2890]
mov rcx, rdi
call fcn.7ff7aa68d6f0
lea rdx, [rbp + 0x50]
mov byte [rbp + 0xac], 1
mov r8b, 1
mov rcx, rdi
call fcn.7ff7aa6ca4f0
jmp 0x7ff7aa6c5b0c
lea r9, [0x7ff7aa726b3c]
mov qword [rsp + 0x20], 5
mov r8d, 0x11
lea rdx, [0x7ff7aa6ea040]
mov rcx, rbx
call fcn.7ff7aa69e0c0
test al, al
jne 0x7ff7aa6c5b05
mov r8d, 7
lea rdx, [0x7ff7aa6f28b0]
mov rcx, rbx
call sub.ucrtbase.dll_strncmp
test eax, eax
jne 0x7ff7aa6c5b0c
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x7ff7aa6c5b0c
cmp byte [rbx + 8], 0x20
jne 0x7ff7aa6c5b0c
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ff7aa6c5b0c
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x7ff7aa6c5b0c
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x7ff7aa6c5b0c
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x7ff7aa6c5b0c
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x13c], ecx
mov dword [rdi + 0x12bc], ecx
jmp 0x7ff7aa6c5b0c
mov byte [rbp + 0xad], 1
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x7ff7aa6ceb60
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x7ff7aa74f840]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call fcn.7ff7aa6a4de0
mov r13, rax
test rax, rax
jne 0x7ff7aa6cebe0
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7aa6a5940
mov r9, rax
lea rdx, [0x7ff7aa6f4258]
mov r8, r12
mov rcx, r15
call fcn.7ff7aa68d600
xor ecx, ecx
mov ebx, 0x4d
call qword [fcn.7ff7aa6d8a54]
jmp 0x7ff7aa6ced98
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov r8d, 1
mov dword [rsp + 0x20], 3
mov rcx, r13
mov qword [rsp + 0x170], r14
call qword [sym.imp.kernel32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff7aa6cec56
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7aa6a5940
mov r9, rax
lea rdx, [0x7ff7aa6f4290]
mov r8, r12
mov rcx, r15
call fcn.7ff7aa68d600
xor ecx, ecx
mov ebx, 0x4d
jmp 0x7ff7aa6ced82
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
jne 0x7ff7aa6cec9f
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7aa6a5940
mov r9, rax
lea rdx, [0x7ff7aa6f42c0]
mov r8, r12
mov rcx, r15
call fcn.7ff7aa68d600
mov ebx, 0x4d
jmp 0x7ff7aa6ced76
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x7ff7aa6cecd4
mov r8d, 0x100000
lea rdx, [0x7ff7aa6f42f8]
mov rcx, r15
call fcn.7ff7aa68d600
mov ebx, 0x4d
jmp 0x7ff7aa6ced6e
lea rcx, [rdi + 1]
call qword [section._________1]
mov rbp, rax
test rax, rax
jne 0x7ff7aa6cecf0
mov ebx, 0x1b
jmp 0x7ff7aa6ced6e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x7ff7aa6ced48
nop dword [rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x7ff7aa6cedba
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x7ff7aa6ced3f
mov edi, esi
jmp 0x7ff7aa6ced41
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x7ff7aa6ced00
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.7ff7aa6ce8d0
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.7ff7aa6d8a54]
mov rcx, r13
call fcn.7ff7aa6d8a54
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.7ff7aa6d76b0
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7aa6a5940
mov r9, rax
lea rdx, [0x7ff7aa6f4328]
mov r8, r12
mov rcx, r15
call fcn.7ff7aa68d600
mov ebx, 0x4d
jmp 0x7ff7aa6ced66
Function at 0x7ff7aa6d4190
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov edx, ebx
mov byte [rcx], 0
call qword [sym.imp.ws2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x7ff7aa6d41cb
mov edx, 0x2e
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x7ff7aa6d41c9
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x7ff7aa6d5670
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [section._________1]
mov rbx, rax
test rax, rax
jne 0x7ff7aa6d56b3
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x7ff7aa6d5700
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [rbp + 0x10]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor r14d, r14d
test r15, r15
je 0x7ff7aa6d5762
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x7ff7aa6d5720
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x7ff7aa6d57a1
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x7ff7aa6f5ca1]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x7ff7aa6f5ca2]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x7ff7aa6d5770
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x7ff7aa6d5990
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x7ff7aa74f840]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r8
mov dword [rsp + 0x20], 0xf0000040
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
xor edx, edx
mov r9d, 0x18
call qword [sym.imp.advapi32.dll_CryptAcquireContextW]
test eax, eax
jne 0x7ff7aa6d59dc
mov eax, 0x1b
jmp 0x7ff7aa6d5aaf
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.advapi32.dll_CryptCreateHash]
test eax, eax
jne 0x7ff7aa6d5a20
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x7ff7aa6d5aaf
mov rcx, rbp
call fcn.7ff7aa677610
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call qword [sym.imp.advapi32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], 0
mov edx, 2
mov dword [rsp + 0x20], 0
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x7ff7aa6d5a8b
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rdi
mov dword [rsp + 0x20], 0
mov edx, 2
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x7ff7aa6d5a9b
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x7ff7aa6d5aad
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff7aa6d76b0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x7ff7aa6d6870
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x7ff7aa6d68d5
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x7ff7aa6d6880
ret
Function at 0x7ff7aa6d68e0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x7ff7aa74f840]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, r8
mov dword [rsp + 0x20], 0xf0000040
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x38], rbp
xor edx, edx
mov qword [rsp + 0x40], rbp
mov r9d, 1
call qword [sym.imp.advapi32.dll_CryptAcquireContextW]
test eax, eax
je 0x7ff7aa6d6963
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x8002
call qword [sym.imp.advapi32.dll_CryptCreateHash]
test eax, eax
jne 0x7ff7aa6d6985
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
mov eax, 2
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff7aa6d76b0
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.7ff7aa677610
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.advapi32.dll_CryptHashData]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov edx, 2
mov dword [rsp + 0x20], ebp
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x10
jne 0x7ff7aa6d69e4
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov r8, rbx
mov dword [rsp + 0x20], ebp
mov edx, 2
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x7ff7aa6d69f4
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x7ff7aa6d6a06
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x7ff7aa6d6968

Function at 0x7ff7aa6d6a1c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, [0x7ff7aa6f5fa0]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x7ff7aa6d6a56
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x7ff7aa6d6a5b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.kernel32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x7ff7aa6d6aa4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ff7aa6f5ea0]
cmp byte [rcx + rax], 0
je 0x7ff7aa6d6aa4
dec r8
sub rdx, 1
jne 0x7ff7aa6d6a8a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x7ff7aa6d8694
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff7aa6d86de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff7aa6d86de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff7aa6d86de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff7aa6d86de
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff7aa6d86de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff7aa6d86e0
xor al, al
add rsp, 0x28
ret
Function at 0x140003560
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
sub rsp, 0x40
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x38], rcx
mov rsi, qword [rsp + 0x38]
lea rax, str.expand_32_byte_k
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1400036b0
mov dword [rsi], eax
mov rcx, qword [rsp + 0x28]
add rcx, 4
call fcn.1400036b0
mov dword [rsi + 4], eax
mov rcx, qword [rsp + 0x28]
add rcx, 8
call fcn.1400036b0
mov dword [rsi + 8], eax
mov rcx, qword [rsp + 0x28]
add rcx, 0xc
call fcn.1400036b0
mov dword [rsi + 0xc], eax
mov rcx, qword [rsp + 0x20]
call fcn.1400036b0
mov dword [rsi + 0x10], eax
mov rcx, qword [rsp + 0x20]
add rcx, 4
call fcn.1400036b0
mov dword [rsi + 0x14], eax
mov rcx, qword [rsp + 0x20]
add rcx, 8
call fcn.1400036b0
mov dword [rsi + 0x18], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0xc
call fcn.1400036b0
mov dword [rsi + 0x1c], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0x10
call fcn.1400036b0
mov dword [rsi + 0x20], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0x14
call fcn.1400036b0
mov dword [rsi + 0x24], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0x18
call fcn.1400036b0
mov dword [rsi + 0x28], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0x1c
call fcn.1400036b0
mov dword [rsi + 0x2c], eax
mov dword [rsi + 0x30], 0
mov dword [rsi + 0x34], 0
mov rcx, qword [rsp + 0x30]
call fcn.1400036b0
mov dword [rsi + 0x38], eax
mov rcx, qword [rsp + 0x30]
add rcx, 4
call fcn.1400036b0
mov dword [rsi + 0x3c], eax
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x1400051c8
Capabilities:
Parse pe header

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

Function at 0x140006470
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400065b8

Function at 0x1400065b8
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400065b8
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140006627
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006627
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006627
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006627
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006627
cmp dword [rcx + 0x84], 0xe
jbe 0x140006627
cmp dword [rcx + 0xf8], 0
je 0x140006627
mov ecx, ebx
call fcn.1400064f0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000674c
nop
cmp dword [rbp + 0x20], 0
je 0x140006675
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140006584
int3

Function at 0x140007bc0
Capabilities:
Parse pe header

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