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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x7ff7a673fab8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x20]
lea r8, [rsp + 0x20]
mov rdi, rcx
lea rdx, [rsp + 0x30]
mov rbx, qword [rsi + 0x1b0]
mov rcx, rbx
mov qword [rsp + 0x28], 0xffffffffffffffff
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jne 0x7ff7a61cd72c
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_accept]
mov qword [rsp + 0x28], rax
jmp 0x7ff7a61cd731
mov rax, qword [rsp + 0x28]
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x7ff7a61cd750
lea rdx, [0x7ff7a6342c08]
call fcn.7ff7a61a9460
mov eax, 0x1e
jmp 0x7ff7a61cd7dc
lea rdx, [0x7ff7a6342c30]
call fcn.7ff7a61a9550
mov byte [rsi + 0x2d5], 0
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.7ff7a61e5aa0
lea r9, [rsp + 0x28]
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call fcn.7ff7a61de6c0
test eax, eax
jne 0x7ff7a61cd7dc
cmp qword [rdi + 0x278], 0
je 0x7ff7a61cd7da
mov dl, 1
mov rcx, rdi
call fcn.7ff7a61976b0
mov rdx, qword [rsp + 0x28]
mov r8d, 1
mov rcx, qword [rdi + 0x280]
call qword [rdi + 0x278]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.7ff7a61976b0
test ebx, ebx
je 0x7ff7a61cd7da
mov rdx, rsi
mov rcx, rdi
call fcn.7ff7a61cdd00
mov eax, 0x2a
jmp 0x7ff7a61cd7dc
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.7ff7a6330880
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1a8]
mov rbx, rcx
mov rdx, qword [rcx + 0x20]
cmp dword [rax + 0x10], 0
je 0x7ff7a61cf320
mov byte [rdx + 0x6c6], 0xd
mov r8b, 0xd
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.7ff7a61cf410
cmp byte [rcx + 0xaa7], 0
je 0x7ff7a61cf335
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.7ff7a61cfe40
cmp byte [rcx + 0xaaa], 0
je 0x7ff7a61cf3b3
mov r9, qword [rdx + 0x670]
test r9, r9
jne 0x7ff7a61cf378
mov r9, qword [rcx + 0x750]
test r9, r9
jne 0x7ff7a61cf36f
cmp byte [rbx + 0x137b], 0
lea rcx, [0x7ff7a6342f78]
lea r9, [0x7ff7a6342074]
cmovne r9, rcx
lea r8, [0x7ff7a6342f80]
jmp 0x7ff7a61cf38f
cmp byte [rcx + 0x1380], 0
lea r8, [0x7ff7a6342f88]
jne 0x7ff7a61cf38f
lea r8, [0x7ff7a6342f98]
add rdx, 0x5d0
mov rcx, rbx
call fcn.7ff7a61ead60
test eax, eax
jne 0x7ff7a61cf3bd
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6c6], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ff7a61cfd90
add rsp, 0x20
pop rbx
ret
Function at 0x7ff7a61cf6a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1a8]
add rdx, 0x5d0
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x7ff7a61cf6eb
cmp qword [rdx + 0xa0], 0
je 0x7ff7a61cf6eb
xor r9d, r9d
lea r8, [0x7ff7a6342fa8]
call fcn.7ff7a61ead60
test eax, eax
jne 0x7ff7a61cf6f5
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6c6], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ff7a61cf2f0
add rsp, 0x20
pop rbx
ret

Function at 0x7ff7a61cf9b0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], 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 0x7ff7a61cf9f0
lea rdx, [0x7ff7a6343288]
call fcn.7ff7a61a9460
lea eax, [rdi + 0x11]
jmp 0x7ff7a61cfb55
cmp edx, 0xc8
je 0x7ff7a61cfa07
mov r8d, edx
lea rdx, [0x7ff7a63432a8]
call fcn.7ff7a61a9550
cmp sil, 0x13
jne 0x7ff7a61cfa1d
mov rdx, rbp
mov rcx, rbx
call fcn.7ff7a61cf8b0
jmp 0x7ff7a61cfb51
cmp sil, 0x14
jne 0x7ff7a61cfb33
cmp byte [rbx + 0x6f8], 2
mov rbp, qword [rbx + 0x20]
jne 0x7ff7a61cfa9b
mov rax, qword [rbx + 0x1a8]
mov rcx, qword [rax]
test rcx, rcx
je 0x7ff7a61cfa9b
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.7ff7a61d8580
test eax, eax
jne 0x7ff7a61cfb51
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x2f]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x7ff7a61cfa90
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x7ff7a61cfa9b
mov rcx, qword [rsp + 0x40]
call qword [fcn.7ff7a633199a]
mov rdx, qword [rbx + 0x750]
test rdx, rdx
jne 0x7ff7a61cfac0
cmp byte [rbx + 0x137b], 0
lea rax, [0x7ff7a6342f78]
lea rdx, [0x7ff7a6342074]
cmovne rdx, rax
lea r8, [0x7ff7a658f9a0]
test rdi, rdi
mov r9, r8
lea rax, [0x7ff7a659ec54]
cmovne r9, rdi
lea rcx, [0x7ff7a633a8bc]
cmovne r8, rax
call fcn.7ff7a61bb720
mov rcx, rdi
mov rsi, rax
call qword [fcn.7ff7a633199a]
test rsi, rsi
jne 0x7ff7a61cfafe
lea edi, [rsi + 0x1b]
jmp 0x7ff7a61cfb53
lea rdx, [rbp + 0x5d0]
mov r9, rsi
lea r8, [0x7ff7a6339274]
mov rcx, rbx
call fcn.7ff7a61ead60
mov rcx, rsi
mov edi, eax
call qword [fcn.7ff7a633199a]
test edi, edi
jne 0x7ff7a61cfb53
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6c6], 0x1f
jmp 0x7ff7a61cfb53
cmp sil, 0x15
jne 0x7ff7a61cfb3e
mov r8b, 0xd
jmp 0x7ff7a61cfb47
cmp sil, 0x16
jne 0x7ff7a61cfb53
mov r8b, 0xe
mov dl, 1
mov rcx, rbx
call fcn.7ff7a61cf410
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x7ff7a61d6fe0
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 [0x7ff7a673fab8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r8
mov rsi, rdx
mov r13, rcx
cmp r8, 4
jb 0x7ff7a61d716e
inc rsi
lea rdx, [0x7ff7a633b088]
mov rcx, rsi
sub rdi, 2
call qword [sym.imp.ucrtbase.dll_strspn]
cmp rdi, rax
je 0x7ff7a61d70e6
cmp byte [rsi + rax], 0x25
lea r14, [rsi + rax]
mov rdi, rax
jne 0x7ff7a61d716e
xor ebp, ebp
lea rdx, [0x7ff7a63443f8]
lea rcx, [r14 + 1]
lea rbx, [r14 + 1]
lea r8d, [rbp + 2]
call qword [sym.imp.ucrtbase.dll_strncmp]
test eax, eax
jne 0x7ff7a61d7074
movzx eax, byte [r14 + 3]
lea rcx, [r14 + 3]
test al, al
je 0x7ff7a61d7074
cmp al, 0x5d
cmovne rbx, rcx
movzx eax, byte [rbx]
test al, al
je 0x7ff7a61d716e
mov rcx, rbp
cmp al, 0x5d
je 0x7ff7a61d709f
cmp rcx, 0xf
jge 0x7ff7a61d709f
inc rbx
mov byte [rsp + rcx + 0x20], al
inc ebp
inc rcx
movzx eax, byte [rbx]
test al, al
jne 0x7ff7a61d7082
test ebp, ebp
je 0x7ff7a61d716e
cmp byte [rbx], 0x5d
jne 0x7ff7a61d716e
movsxd rax, ebp
cmp rax, 0x10
jae 0x7ff7a61d718f
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call qword [case.0x7ff7a61a56c0.1]
mov qword [r13 + 0x28], rax
test rax, rax
jne 0x7ff7a61d70e0
mov eax, 7
jmp 0x7ff7a61d7173
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 0x7ff7a61d716e
lea r9d, [rax + 0x2d]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea ecx, [rax + 0x16]
call sub.ws2_32.dll_inet_ntop
test rax, rax
je 0x7ff7a61d7166
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rax + rdx], 0
jne 0x7ff7a61d7130
cmp rdx, rdi
jae 0x7ff7a61d7166
lea rax, [rsp + 0x30]
mov r8, rsi
sub r8, rax
lea rcx, [rsp + 0x30]
nop
movzx eax, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x7ff7a61d7150
mov rdi, rdx
mov byte [rdx + rsi + 1], al
mov byte [rdi + rsi], 0x5d
xor eax, eax
jmp 0x7ff7a61d7173
mov eax, 0x16
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.7ff7a6330880
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.7ff7a6331350
int3
Function at 0x7ff7a61da920
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 r14, r8
mov rdi, rdx
mov r15, rcx
lea rdx, [0x7ff7a633caa8]
mov r8d, 0x11
mov rcx, r9
mov rbx, r9
call fcn.7ff7a61ae300
test eax, eax
je 0x7ff7a61da96b
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x191
je 0x7ff7a61da992
mov r8d, 0x13
lea rdx, [0x7ff7a633cac0]
mov rcx, rbx
call fcn.7ff7a61ae300
test eax, eax
je 0x7ff7a61da9ed
mov ebp, dword [rdi + 0x150]
cmp ebp, 0x197
jne 0x7ff7a61da9ed
mov rcx, rbx
call fcn.7ff7a61b4b60
mov rsi, rax
test rax, rax
jne 0x7ff7a61da9aa
lea eax, [rsi + 0x1b]
jmp 0x7ff7a61dabb1
mov r9, rbx
lea r8, [0x7ff7a63448f0]
mov rdx, r15
mov rcx, rdi
call fcn.7ff7a61a95f0
cmp ebp, 0x197
mov r8, rsi
mov rcx, rdi
sete dl
call fcn.7ff7a61b6bb0
mov rcx, rsi
mov ebx, eax
call qword [fcn.7ff7a633199a]
test ebx, ebx
je 0x7ff7a61dabaf
mov eax, ebx
jmp 0x7ff7a61dabb1
mov r8d, 0xf
lea rdx, [0x7ff7a633c340]
mov rcx, rbx
call fcn.7ff7a61ae300
test eax, eax
je 0x7ff7a61daa48
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff7a61daa2d
lea rdx, [0x7ff7a6344910]
mov rcx, rdi
call fcn.7ff7a61a9550
jmp 0x7ff7a61dabaf
xor edx, edx
lea r9, [r14 + 0xc8]
lea rcx, [rbx + 0xf]
lea r8d, [rdx + 0xa]
call fcn.7ff7a61be480
jmp 0x7ff7a61dabaf
lea r9, [0x7ff7a633ae18]
mov qword [rsp + 0x20], 5
mov r8d, 0xb
lea rdx, [0x7ff7a633c350]
mov rcx, rbx
call fcn.7ff7a61b4a90
test al, al
jne 0x7ff7a61daba7
mov r8d, 0x12
lea rdx, [0x7ff7a633c360]
mov rcx, rbx
call fcn.7ff7a61ae300
test eax, eax
je 0x7ff7a61dab06
mov r8d, dword [rdi + 0x150]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff7a61daab5
lea rdx, [0x7ff7a6344948]
mov rcx, rdi
call fcn.7ff7a61a9550
jmp 0x7ff7a61dabaf
lea r9, [0x7ff7a633b640]
mov qword [rsp + 0x20], 7
mov r8d, 0x12
lea rdx, [0x7ff7a633c360]
mov rcx, rbx
call fcn.7ff7a61b4a90
test al, al
je 0x7ff7a61dabaf
lea rdx, [0x7ff7a6344980]
mov rcx, rdi
call fcn.7ff7a61a9550
mov rcx, rdi
mov byte [r14 + 0xd4], 1
call fcn.7ff7a61e0e00
jmp 0x7ff7a61dabaf
lea r9, [0x7ff7a633ae18]
mov qword [rsp + 0x20], 5
mov r8d, 0x11
lea rdx, [0x7ff7a633c9c8]
mov rcx, rbx
call fcn.7ff7a61b4a90
test al, al
jne 0x7ff7a61daba7
mov r8d, 7
lea rdx, [0x7ff7a63449a0]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_strncmp]
test eax, eax
jne 0x7ff7a61dabaf
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x7ff7a61dabaf
cmp byte [rbx + 8], 0x20
jne 0x7ff7a61dabaf
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ff7a61dabaf
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x7ff7a61dabaf
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x7ff7a61dabaf
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x7ff7a61dabaf
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 + 0x150], ecx
mov dword [rdi + 0x1394], ecx
jmp 0x7ff7a61dabaf
mov byte [r14 + 0xd5], 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 0x7ff7a61dea50
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x7ff7a6742888]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x7ff7a61deab4
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.7ff7a61e0890
test al, al
je 0x7ff7a61deaa8
mov dword [0x7ff7a6742888], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x7ff7a6742888], 1
jmp 0x7ff7a61deab9
cmp eax, 2
je 0x7ff7a61deb0b
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getsockopt]
test eax, eax
jne 0x7ff7a61deaea
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x7ff7a61deb0b
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x7ff7a61df710
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x7ff7a673fab8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rcx]
mov rdi, rcx
mov rsi, r9
mov rbp, r8
mov rcx, qword [rax + 0x10]
mov dword [r9], 0
xor r9d, r9d
mov rcx, qword [rcx + 0x98]
call qword [sym.imp.ws2_32.dll_recv]
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
jne 0x7ff7a61df7b1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x7ff7a61df775
mov dword [rsi], 0x51
jmp 0x7ff7a61df7aa
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.7ff7a61bd6f0
mov rcx, qword [rdi + 8]
lea rdx, [0x7ff7a63458f0]
mov r8, rax
call fcn.7ff7a61a9460
mov rax, qword [rdi + 8]
mov dword [rax + 0xd7c], ebx
mov dword [rsi], 0x38
mov rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, [0x7ff7a6345908]
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x28], edx
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ebx
call fcn.7ff7a61a95f0
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.7ff7a6330880
add rsp, 0x148
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x7ff7a673fab8]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 0x20]
mov rsi, rdx
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rax + 0x2e8]
test dword [rcx + 0x84], 0x800
jne 0x7ff7a61df933
mov rcx, qword [rbx + 0x98]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
je 0x7ff7a61df8c1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.7ff7a61bd6f0
mov r9, rax
lea rdx, [0x7ff7a6345840]
mov r8d, ebx
mov rcx, rsi
call fcn.7ff7a61a9460
mov eax, 2
jmp 0x7ff7a61df935
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.7ff7a61aa810
test al, al
jne 0x7ff7a61df933
mov qword [rsp + 0x1e0], rdi
call qword [sym.imp.ucrtbase.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.ucrtbase.dll__errno]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.7ff7a61bd6f0
mov r8d, dword [rdi]
lea rdx, [0x7ff7a63459b8]
mov r9, rax
mov rcx, rsi
call fcn.7ff7a61a9460
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x7ff7a61df935
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.7ff7a6330880
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x7ff7a61e6550
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 [0x7ff7a673fab8]
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.7ff7a61bcc90
mov r13, rax
test rax, rax
jne 0x7ff7a61e65ce
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7a61bd830
mov r9, rax
lea rdx, [0x7ff7a6346828]
mov r8, r12
mov rcx, r15
call fcn.7ff7a61a9460
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.7ff7a633199a]
jmp 0x7ff7a61e6789
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.kernel32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff7a61e6641
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7a61bd830
mov r9, rax
lea rdx, [0x7ff7a6346860]
mov r8, r12
mov rcx, r15
call fcn.7ff7a61a9460
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x7ff7a61e6772
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
jne 0x7ff7a61e668a
call qword [sym.imp.kernel32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.7ff7a61bd830
mov r9, rax
lea rdx, [0x7ff7a6346890]
mov r8, r12
mov rcx, r15
call fcn.7ff7a61a9460
mov ebx, 0x4d
jmp 0x7ff7a61e6766
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x7ff7a61e66bf
mov r8d, 0x100000
lea rdx, [0x7ff7a63468c8]
mov rcx, r15
call fcn.7ff7a61a9460
mov ebx, 0x4d
jmp 0x7ff7a61e675e
lea rcx, [rdi + 1]
call qword [sub.ucrtbase.dll_malloc]
mov rbp, rax
test rax, rax
jne 0x7ff7a61e66d9
lea ebx, [rax + 0x1b]
jmp 0x7ff7a61e675e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x7ff7a61e6738
nop word [rax + 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 0x7ff7a61e67ab
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x7ff7a61e672f
mov edi, esi
jmp 0x7ff7a61e6731
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x7ff7a61e66f0
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.7ff7a61e62d0
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.7ff7a633199a]
mov rcx, r13
call qword [sym.imp.ucrtbase.dll_free]
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.7ff7a6330880
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.7ff7a61bd830
mov r9, rax
lea rdx, [0x7ff7a63468f8]
mov r8, r12
mov rcx, r15
call fcn.7ff7a61a9460
mov ebx, 0x4d
jmp 0x7ff7a61e6756
Function at 0x7ff7a61ede10
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 [sub.ucrtbase.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x7ff7a61ede53
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 0x7ff7a61edea0
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 0x7ff7a61edf02
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 0x7ff7a61edec0
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x7ff7a61edf41
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x7ff7a6348221]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x7ff7a6348222]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x7ff7a61edf10
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 0x7ff7a61ee130
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 [0x7ff7a673fab8]
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 0x7ff7a61ee17c
mov eax, 0x1b
jmp 0x7ff7a61ee24e
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 0x7ff7a61ee1c0
mov rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
mov eax, 2
mov qword [rsp + 0x38], 0
jmp 0x7ff7a61ee24e
mov rcx, rbp
call fcn.7ff7a6164220
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 dword [rsp + 0x20], 0
lea edx, [r8 + 2]
call qword [sym.imp.advapi32.dll_CryptGetHashParam]
cmp dword [rsp + 0x30], 0x20
jne 0x7ff7a61ee22a
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 0x7ff7a61ee23a
call qword [sym.imp.advapi32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x7ff7a61ee24c
xor edx, edx
call qword [sym.imp.advapi32.dll_CryptReleaseContext]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff7a6330880
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x7ff7a61ef010
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x7ff7a61ef075
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 0x7ff7a61ef020
ret
Function at 0x7ff7a623f830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x48
movsx eax, byte [rsp + 0x58]
and eax, 1
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x60]
mov ecx, eax
call fcn.7ff7a623f280
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x58]
and eax, 0xf
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x7ff7a623f880
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
ja 0x7ff7a623f903
movsx eax, byte [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
sar eax, cl
and eax, 1
cmp eax, dword [rsp + 0x34]
jne 0x7ff7a623f8a5
mov dword [rsp + 0x28], 1
jmp 0x7ff7a623f8ad
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x7ff7a623f8be
mov dword [rsp + 0x2c], 0
jmp 0x7ff7a623f8c6
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x7ff7a623f8e9
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.7ff7a623f6c0
jmp 0x7ff7a623f8fe
movzx eax, byte [rsp + 0x20]
xor eax, 1
movzx edx, al
mov rcx, qword [rsp + 0x50]
call fcn.7ff7a623f6c0
jmp 0x7ff7a623f876
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.7ff7a623f6c0
add rsp, 0x48
ret
Function at 0x7ff7a63316d8
Capabilities:
Parse pe header

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