joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ffd21c1e740
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 [0x7ffd21c77690]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, qword [rcx + 0x18]
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 0x7ffd21c1e7bc
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 0x7ffd21c1e7c1
mov rax, qword [rsp + 0x28]
mov rcx, rdi
cmp rax, 0xffffffffffffffff
jne 0x7ffd21c1e7e0
lea rdx, str.Error_accept__ing_server_connect
call fcn.7ffd21bfca40
mov eax, 0x1e
jmp 0x7ffd21c1e86c
lea rdx, str.Connection_accepted_from_server
call fcn.7ffd21bfcb30
mov byte [rsi + 0x2d5], 0
mov edx, 1
mov rcx, qword [rsp + 0x28]
call fcn.7ffd21c34f80
lea r9, [rsp + 0x28]
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call fcn.7ffd21c2b770
test eax, eax
jne 0x7ffd21c1e86c
cmp qword [rdi + 0x270], 0
je 0x7ffd21c1e86a
mov dl, 1
mov rcx, rdi
call fcn.7ffd21beaec0
mov rdx, qword [rsp + 0x28]
mov r8d, 1
mov rcx, qword [rdi + 0x278]
call qword [rdi + 0x270]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.7ffd21beaec0
test ebx, ebx
je 0x7ffd21c1e86a
mov rdx, rsi
mov rcx, rdi
call fcn.7ffd21c1ed90
mov eax, 0x2a
jmp 0x7ffd21c1e86c
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.7ffd21c3f7f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1a0]
mov rbx, rcx
mov rdx, qword [rcx + 0x18]
cmp dword [rax + 0x10], 0
je 0x7ffd21c20390
mov byte [rdx + 0x6c6], 0xd
mov r8b, 0xd
mov dl, 1
add rsp, 0x20
pop rbx
jmp fcn.7ffd21c20480
cmp byte [rcx + 0xa97], 0
je 0x7ffd21c203a5
xor edx, edx
add rsp, 0x20
pop rbx
jmp fcn.7ffd21c20ea0
cmp byte [rcx + 0xa9a], 0
je 0x7ffd21c20423
mov r9, qword [rdx + 0x670]
test r9, r9
jne 0x7ffd21c203e8
mov r9, qword [rcx + 0x748]
test r9, r9
jne 0x7ffd21c203df
cmp byte [rbx + 0x1353], 0
lea rcx, str.NLST
lea r9, str.LIST
cmovne r9, rcx
lea r8, str.PRET__s
jmp 0x7ffd21c203ff
cmp byte [rcx + 0x1358], 0
lea r8, str.PRET_STOR__s
jne 0x7ffd21c203ff
lea r8, str.PRET_RETR__s
add rdx, 0x5d0
mov rcx, rbx
call fcn.7ffd21c3a150
test eax, eax
jne 0x7ffd21c2042d
mov rcx, qword [rbx + 0x18]
mov byte [rcx + 0x6c6], 0x1d
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ffd21c20df0
add rsp, 0x20
pop rbx
ret
Function at 0x7ffd21c20710
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1a0]
add rdx, 0x5d0
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x7ffd21c2075b
cmp qword [rdx + 0xa0], 0
je 0x7ffd21c2075b
xor r9d, r9d
lea r8, str.REST__d
call fcn.7ffd21c3a150
test eax, eax
jne 0x7ffd21c20765
mov rcx, qword [rbx + 0x18]
mov byte [rcx + 0x6c6], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.7ffd21c20360
add rsp, 0x20
pop rbx
ret

Function at 0x7ffd21c20a20
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 + 0x18]
lea eax, [rdx - 0xc8]
xor edi, edi
movzx esi, r8b
mov rbx, rcx
cmp eax, 0x64
jb 0x7ffd21c20a60
lea rdx, str.Couldnt_set_desired_mode
call fcn.7ffd21bfca40
lea eax, [rdi + 0x11]
jmp 0x7ffd21c20bc5
cmp edx, 0xc8
je 0x7ffd21c20a77
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.7ffd21bfcb30
cmp sil, 0x13
jne 0x7ffd21c20a8d
mov rdx, rbp
mov rcx, rbx
call fcn.7ffd21c20920
jmp 0x7ffd21c20bc1
cmp sil, 0x14
jne 0x7ffd21c20ba3
cmp byte [rbx + 0x6f0], 2
mov rbp, qword [rbx + 0x18]
jne 0x7ffd21c20b0b
mov rax, qword [rbx + 0x1a0]
mov rcx, qword [rax]
test rcx, rcx
je 0x7ffd21c20b0b
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.7ffd21c29330
test eax, eax
jne 0x7ffd21c20bc1
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x2f]
call sub.vcruntime140.dll_strrchr
test rax, rax
je 0x7ffd21c20b00
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x7ffd21c20b0b
mov rcx, qword [rsp + 0x40]
call qword [fcn.7ffd21c415aa]
mov rdx, qword [rbx + 0x748]
test rdx, rdx
jne 0x7ffd21c20b30
cmp byte [rbx + 0x1353], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x7ffd21c55b9f]
test rdi, rdi
mov r9, r8
lea rax, [0x7ffd21c5edec]
cmovne r9, rdi
lea rcx, [0x7ffd21c4a52c]
cmovne r8, rax
call fcn.7ffd21c00d60
mov rcx, rdi
mov rsi, rax
call qword [fcn.7ffd21c415aa]
test rsi, rsi
jne 0x7ffd21c20b6e
lea edi, [rsi + 0x1b]
jmp 0x7ffd21c20bc3
lea rdx, [rbp + 0x5d0]
mov r9, rsi
lea r8, [0x7ffd21c57774]
mov rcx, rbx
call fcn.7ffd21c3a150
mov rcx, rsi
mov edi, eax
call qword [fcn.7ffd21c415aa]
test edi, edi
jne 0x7ffd21c20bc3
mov rcx, qword [rbx + 0x18]
mov byte [rcx + 0x6c6], 0x1f
jmp 0x7ffd21c20bc3
cmp sil, 0x15
jne 0x7ffd21c20bae
mov r8b, 0xd
jmp 0x7ffd21c20bb7
cmp sil, 0x16
jne 0x7ffd21c20bc3
mov r8b, 0xe
mov dl, 1
mov rcx, rbx
call fcn.7ffd21c20480
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 0x7ffd21c2baa0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x7ffd21e48248]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x7ffd21c2bb04
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.7ffd21c30440
test al, al
je 0x7ffd21c2baf8
mov dword [0x7ffd21e48248], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x7ffd21e48248], 1
jmp 0x7ffd21c2bb09
cmp eax, 2
je 0x7ffd21c2bb5b
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 0x7ffd21c2bb3a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x7ffd21c2bb5b
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 0x7ffd21c2c730
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rdi
sub rsp, 0x138
mov rax, qword [0x7ffd21c77690]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rax, qword [rcx]
mov rsi, rcx
mov rdi, r9
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]
cdqe
cmp rax, 0xffffffffffffffff
jne 0x7ffd21c2c7db
mov qword [rsp + 0x130], rbx
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x7ffd21c2c797
mov dword [rdi], 0x51
jmp 0x7ffd21c2c7cc
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.7ffd21be6b90
mov rcx, qword [rsi + 8]
lea rdx, str.Recv_failure:__s
mov r8, rax
call fcn.7ffd21bfca40
mov rax, qword [rsi + 8]
mov dword [rax + 0xd64], ebx
mov dword [rdi], 0x38
mov rbx, qword [rsp + 0x130]
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.7ffd21c3f7f0
add rsp, 0x138
pop rdi
pop rsi
ret

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x7ffd21c77690]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rcx + 0x10]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rsi, rdx
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
mov rcx, qword [rbx + 0x98]
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
je 0x7ffd21c2c8b6
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.7ffd21be6b90
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.7ffd21bfca40
mov eax, 2
jmp 0x7ffd21c2c928
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.7ffd21bfd850
test al, al
jne 0x7ffd21c2c926
mov qword [rsp + 0x1e0], rdi
call sub.ucrtbase.dll__errno
mov ebx, dword [rax]
call sub.ucrtbase.dll__errno
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.7ffd21be6b90
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.7ffd21bfca40
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x7ffd21c2c928
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.7ffd21c3f7f0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x7ffd21c3ca40
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov r8d, 0x11
lea rdx, str.WWW_Authenticate:
mov rcx, r9
mov rbx, r9
call fcn.7ffd21c02480
test eax, eax
je 0x7ffd21c3ca8a
mov ebp, dword [rsi + 0x148]
cmp ebp, 0x191
je 0x7ffd21c3cab1
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, rbx
call fcn.7ffd21c02480
test eax, eax
je 0x7ffd21c3caf7
mov ebp, dword [rsi + 0x148]
cmp ebp, 0x197
jne 0x7ffd21c3caf7
mov rcx, rbx
call fcn.7ffd21c08360
mov rbx, rax
test rax, rax
jne 0x7ffd21c3cac9
lea eax, [rbx + 0x1b]
jmp 0x7ffd21c3ccba
cmp ebp, 0x197
mov r8, rbx
mov rcx, rsi
sete dl
call fcn.7ffd21c0a000
mov rcx, rbx
mov edi, eax
call qword [fcn.7ffd21c415aa]
test edi, edi
je 0x7ffd21c3ccb8
mov eax, edi
jmp 0x7ffd21c3ccba
mov r8d, 0xf
lea rdx, str.Content_Length:
mov rcx, rbx
call fcn.7ffd21c02480
test eax, eax
je 0x7ffd21c3cb52
mov r8d, dword [rsi + 0x148]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ffd21c3cb37
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rsi
call fcn.7ffd21bfcb30
jmp 0x7ffd21c3ccb8
xor edx, edx
lea r9, [r14 + 0x2a8]
lea rcx, [rbx + 0xf]
lea r8d, [rdx + 0xa]
call fcn.7ffd21c0ea50
jmp 0x7ffd21c3ccb8
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, 0xb
lea rdx, str.Connection:
mov rcx, rbx
call fcn.7ffd21c08290
test al, al
jne 0x7ffd21c3ccb0
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.7ffd21c02480
test eax, eax
je 0x7ffd21c3cc10
mov r8d, dword [rsi + 0x148]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ffd21c3cbbf
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, rsi
call fcn.7ffd21bfcb30
jmp 0x7ffd21c3ccb8
lea r9, str.chunked
mov qword [rsp + 0x20], 7
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.7ffd21c08290
test al, al
je 0x7ffd21c3ccb8
lea rdx, str.CONNECT_responded_chunked
mov rcx, rsi
call fcn.7ffd21bfcb30
mov rcx, rsi
mov byte [r14 + 0x2b4], 1
call fcn.7ffd21c309a0
jmp 0x7ffd21c3ccb8
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, 0x11
lea rdx, str.Proxy_Connection:
mov rcx, rbx
call fcn.7ffd21c08290
test al, al
jne 0x7ffd21c3ccb0
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, rbx
call sub.ucrtbase.dll_strncmp
test eax, eax
jne 0x7ffd21c3ccb8
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x7ffd21c3ccb8
cmp byte [rbx + 8], 0x20
jne 0x7ffd21c3ccb8
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ffd21c3ccb8
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x7ffd21c3ccb8
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x7ffd21c3ccb8
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x7ffd21c3ccb8
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 [rsi + 0x148], ecx
mov dword [rsi + 0x136c], ecx
jmp 0x7ffd21c3ccb8
mov byte [r14 + 0x2b5], 1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x7ffd21c3e3d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [section..data]
mov rbx, rax
test rax, rax
jne 0x7ffd21c3e415
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
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], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x50], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x7ffd21c3e460
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + 8]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
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 esi, esi
test r15, r15
je 0x7ffd21c3e4c2
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rbp + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + 8]
sub r15, 1
jne 0x7ffd21c3e480
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x7ffd21c3e503
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x7ffd21c555e1]
mov r8d, 1
call qword [rbp + 8]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x7ffd21c555e2]
mov r8d, 1
call qword [rbp + 8]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x7ffd21c3e4d0
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
Function at 0x7ffd21c3e520
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12, r9
mov rcx, r8
mov r14, rdx
call fcn.7ffd21bfe850
mov r8d, dword [rbp + 0x18]
mov ecx, dword [rbp + 0x20]
add rcx, 0x18
mov r15d, eax
lea r9d, [r8 + r8]
add rcx, r9
call qword [section..data]
mov rbx, rax
test rax, rax
je 0x7ffd21c3e6c6
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0x10], rax
mov qword [rsp + 0x60], rdi
cmp r15d, dword [rbp + 0x1c]
jbe 0x7ffd21c3e5b0
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, r14
call qword [rbp + 8]
mov r14d, dword [rbp + 0x18]
add r14, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, r14
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 esi, esi
test r15, r15
je 0x7ffd21c3e612
mov rsi, r15
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x50], al
mov rcx, qword [rbx + 8]
call qword [rbp + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x50]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rbp + 8]
sub r15, 1
jne 0x7ffd21c3e5d0
mov eax, dword [rbp + 0x1c]
cmp rsi, rax
jae 0x7ffd21c3e653
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x7ffd21c555e1]
mov r8d, 1
call qword [rbp + 8]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x7ffd21c555e2]
mov r8d, 1
call qword [rbp + 8]
mov eax, dword [rbp + 0x1c]
inc rsi
cmp rsi, rax
jb 0x7ffd21c3e620
mov rcx, qword [rsp + 0x70]
call fcn.7ffd21bfe850
mov r9, qword [rbx]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, r12
call qword [r9 + 8]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rbx]
test rdi, rdi
jne 0x7ffd21c3e682
mov edi, dword [rsi + 0x18]
add rdi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rdi
call qword [rsi + 0x10]
mov r8d, dword [rsi + 0x20]
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [rsi + 8]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call qword [rsi + 0x10]
mov rcx, rbx
call qword [fcn.7ffd21c415aa]
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
mov eax, 0x1b
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret

Function at 0x7ffd21c3f650
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x7ffd21c3f6b5
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 0x7ffd21c3f660
ret
Function at 0x7ffd21c40a20
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.kernel32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x7ffd21c40aa4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ffd21c55860]
cmp byte [rcx + rax], 0
je 0x7ffd21c40aa4
dec r8
sub rdx, 1
jne 0x7ffd21c40a8a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140e82058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e821df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e82089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e8206f
add dl, dl
jne 0x140e82096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e820f6
xor eax, eax
add dl, dl
jne 0x140e820a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e821ad
add dl, dl
jne 0x140e820b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e820c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e820d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e820dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e820ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e8207e
mov eax, 1
add dl, dl
jne 0x140e82106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e82113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e820fb
sub eax, ebx
mov ebx, 1
jne 0x140e8214c
mov ecx, 1
add dl, dl
jne 0x140e8212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e8213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e82123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e8207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e82168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e82175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e8215d
cmp eax, 0x7d00
jae 0x140e8219b
cmp eax, 0x500
jb 0x140e82196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e8207e
cmp eax, 0x7f
ja 0x140e8219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e8207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e821d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e8207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000be00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14000be4c
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000be9a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000be95
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000beb9
mov rcx, r8
call fcn.140034f54
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call fcn.1400566cc
int3

Function at 0x14000bec0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov rax, qword [rbx + 0x10]
jb 0x14000bf12
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r8d, [rax + rax]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000bf65
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000bf60
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000bf84
mov rcx, r8
call fcn.140034f54
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call fcn.1400566cc
int3