joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400adae0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400adae0
push rbx
mov r9, qword [rcx + 8]
mov r11, rdx
mov eax, dword [rdx]
mov rcx, qword [rcx]
mov dword [rsp + 0x10], eax
cmp r9, 4
jb 0x1400adb36
movzx edx, byte [rsp + 0x13]
mov r10, r9
movzx ebx, byte [rsp + 0x11]
shr r10, 2
imul r8, r10, 0xfffffffffffffffc
add r9, r8
movzx r8d, byte [rsp + 0x12]
nop word [rax + rax]
xor byte [rcx], al
xor byte [rcx + 1], bl
xor byte [rcx + 2], r8b
xor byte [rcx + 3], dl
add rcx, 4
sub r10, 1
jne 0x1400adb20
test r9, r9
je 0x1400adc66
xor r8d, r8d
cmp r9, 0x40
jb 0x1400adbf8
lea rdx, [rcx - 1]
add rdx, r9
lea rax, [rsp + r9 + 0xf]
cmp rcx, rax
ja 0x1400adb6b
lea rax, [rsp + 0x10]
cmp rdx, rax
jae 0x1400adbf8
mov rbx, r9
mov qword [rsp + 0x18], rdi
and rbx, 0xffffffffffffffc0
lea rdx, [rsp + 0x10]
sub rdx, rcx
lea r10, [rsp + 0x20]
sub r10, rcx
lea rax, [rcx + 0x20]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x20]
add r8, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x20]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqu xmm0, xmmword [rax - 0x50]
movdqu xmm1, xmmword [r10 + rax - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [r10 + rax - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp r8, rbx
jb 0x1400adb90
mov rdi, qword [rsp + 0x18]
cmp r8, r9
jae 0x1400adc21
lea rdx, [r8 + rcx]
lea r10, [rsp + 0x10]
sub r10, rcx
mov rcx, r9
sub rcx, r8
nop word [rax + rax]
movzx eax, byte [rdx + r10]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub rcx, 1
jne 0x1400adc10
mov eax, dword [r11]
mov dword [rsp + 0x10], eax
mov rax, r9
and eax, 3
movzx eax, byte [rsp + rax + 0x10]
mov byte [r11], al
lea rax, [r9 + 1]
and eax, 3
movzx eax, byte [rsp + rax + 0x10]
mov byte [r11 + 1], al
lea rax, [r9 - 2]
and eax, 3
movzx eax, byte [rsp + rax + 0x10]
mov byte [r11 + 2], al
lea rax, [r9 - 1]
and eax, 3
movzx eax, byte [rsp + rax + 0x10]
mov byte [r11 + 3], al
pop rbx
ret
Function at 0x1400b4af0
Capabilities:
Get socket status

Disassembly:
jmp 0x1400b4af0
push rbp
push rbx
push rdi
push r14
lea rbp, [rsp - 0x168]
sub rsp, 0x268
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rbx, r9
movzx edi, dl
mov r14, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1400b4b4e
lea rax, [0x1401e1a10]
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x38], rax
mov eax, ecx
mov byte [rsp + 0x34], 1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r9], xmm0
jmp 0x1400b4c65
mov qword [rsp + 0x298], rsi
mov qword [rsp + 0x260], r15
xor r15d, r15d
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], 1
and dil, 1
je 0x1400b4b80
mov qword [rsp + 0x30], r15
lea rsi, [rsp + 0x30]
jmp 0x1400b4bb2
test r8d, r8d
js 0x1400b4baf
mov eax, 0x10624dd3
lea rsi, [rsp + 0x30]
mul r8d
shr edx, 6
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
sub r8d, eax
imul eax, r8d, 0x3e8
mov dword [rsp + 0x34], eax
jmp 0x1400b4bb2
mov rsi, r15
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [r14 + 1]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x30], eax
lea rax, [0x1401e1a10]
setne byte [rsp + 0x34]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
test esi, esi
jne 0x1400b4c3a
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
test dil, dil
je 0x1400b4c2b
mov dword [rsp + 0x30], 0x2733
mov byte [rsp + 0x34], 1
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rax]
jmp 0x1400b4c50
mov dword [rsp + 0x30], r15d
mov byte [rsp + 0x34], r15b
movups xmm0, xmmword [rax]
jmp 0x1400b4c50
jle 0x1400b4c53
mov dword [rsp + 0x30], r15d
mov byte [rsp + 0x34], r15b
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov r15, qword [rsp + 0x260]
mov eax, esi
mov rsi, qword [rsp + 0x298]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x268
pop r14
pop rdi
pop rbx
pop rbp
ret

Function at 0x1400b5f10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
jmp 0x1400b5f10
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, r9
movzx ecx, word [rcx + 8]
mov rsi, rdx
cmp cx, word [rdi + 0xa]
jb 0x1400b5f55
mov rdx, qword [rdi]
sub rdx, r8
mov r8, rbx
add rdx, rcx
mov rcx, rsi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14000fef0
xor edx, edx
mov qword [rsp + 0x30], r14
movzx r14d, word [rdi + 0xc]
mov eax, r14d
sub rax, r8
add rax, rcx
mov rcx, rsi
div r14
sub r14, rdx
add rdx, qword [rdi]
cmp rbx, r14
jbe 0x1400b5f8d
mov r8, r14
call fcn.14000fef0
mov rdx, qword [rdi]
lea rcx, [r14 + rsi]
sub rbx, r14
mov r8, rbx
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.14000fef0
Function at 0x1400b66e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x1400b66e0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbp, rcx
mov ebx, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r14d, r14d
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x88]
mov r8d, edi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x88], r14d
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [rsp + 0x90]
test eax, eax
mov dword [rsp + 0x40], eax
lea rax, [0x1401e1a10]
setne byte [rsp + 0x44]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
mov ecx, dword [rdx]
cmp ecx, 0x40
jne 0x1400b6786
mov dword [rsp + 0x40], 0x2746
jmp 0x1400b6796
cmp ecx, 0x4d2
jne 0x1400b67aa
mov dword [rsp + 0x40], 0x274d
mov byte [rsp + 0x44], 1
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
jmp 0x1400b67ba
cmp ecx, 0x2738
je 0x1400b67c5
cmp ecx, 0xea
je 0x1400b67c5
test ebx, ebx
je 0x1400b67c5
mov eax, 0xffffffff
jmp 0x1400b67e3
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], r14d
mov byte [rsp + 0x44], r14b
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x1400b6f50
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400b6f50
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400b6f86
mov rax, qword [rax + 0x38]
test rax, rax
je 0x1400b6f7e
xor edx, edx
mov rcx, rax
mov rax, qword [rax]
call qword [case.0x14006bf61.0]
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400b6fdb
mov ecx, dword [0x14023d88c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400b6fcb
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400b6fcb
cmp qword [rcx], 0
jne 0x1400b6fcb
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
mov qword [rcx], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.14001b300
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b7aa0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1400b7aa0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov eax, edi
lock xadd dword [rcx + 0x30], eax
test eax, eax
jne 0x1400b7b00
call fcn.140004fd0
mov dword [rsp + 0x20], edi
mov byte [rsp + 0x24], dil
lea rax, [0x1401e1a10]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
lea rax, [rcx + 0x28]
test rbx, rbx
cmove rax, rdi
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov ecx, dword [0x14023d88c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x14023d88c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov r8, rsi
mov edx, 0xffffffff
mov rcx, rbx
call fcn.14000cef0
test rax, rax
je 0x1400b7b84
lea rax, [rdi + 1]
cmp rdi, 0xffffffffffffffff
cmove rax, rdi
mov rdi, rax
mov r8, rsi
mov edx, 0xffffffff
mov rcx, rbx
call fcn.14000cef0
test rax, rax
jne 0x1400b7b60
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x14023d88c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rbx, [rsp + 0x38]
mov esi, 3
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400b7bad
call fcn.14001b300
add rbx, 8
sub rsi, 1
jne 0x1400b7ba0
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400b7ed0
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x1400b7ed0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbp, rcx
mov ebx, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r14d, r14d
lea r9, [rsp + 0x88]
mov qword [rsp + 0x30], r14
mov r8d, edi
mov qword [rsp + 0x28], r14
mov rdx, rsi
mov rcx, rbp
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x88], r14d
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rsp + 0x90]
test eax, eax
mov dword [rsp + 0x40], eax
lea rax, [0x1401e1a10]
setne byte [rsp + 0x44]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
mov edx, dword [rcx]
cmp edx, 0x40
jne 0x1400b7f66
mov dword [rsp + 0x40], 0x2746
jmp 0x1400b7f76
cmp edx, 0x4d2
jne 0x1400b7f88
mov dword [rsp + 0x40], 0x274d
mov byte [rsp + 0x44], 1
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
test ebx, ebx
je 0x1400b7f93
mov eax, 0xffffffff
jmp 0x1400b7fb1
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], r14d
mov byte [rsp + 0x44], r14b
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x1400bc250
Capabilities:
Get socket status

Disassembly:
jmp 0x1400bc250
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, qword [rbp + 0x210]
lea r13, [0x1401e1a10]
mov r15, r9
mov qword [rsp + 0x2f8], rdi
mov r12, r8
movzx r14d, dl
mov rsi, rcx
movabs rdx, 0x8fafd21e25c5e09b
cmp rsi, 0xffffffffffffffff
jne 0x1400bc2cb
mov dword [rsp + 0x48], 0x2719
mov byte [rsp + 0x4c], 1
mov qword [rsp + 0x50], r13
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
jmp 0x1400bc343
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdx, r12
mov rcx, rsi
test r15, r15
je 0x1400bc2fd
mov eax, dword [r15]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], eax
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
movsxd rax, dword [rsp + 0x30]
mov qword [r15], rax
jmp 0x1400bc311
xor r8d, r8d
mov dword [rsp + 0x30], 0
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], r13
setne byte [rsp + 0x5c]
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x1400bc45f
movabs rdx, 0x8fafd21e25c5e09b
mov ecx, dword [rbx]
cmp ecx, 0x2733
jne 0x1400bc369
mov rax, qword [rbx + 8]
cmp qword [rax + 8], rdx
je 0x1400bc37f
cmp ecx, 0x2745
jne 0x1400bc385
mov rax, qword [rbx + 8]
cmp qword [rax + 8], rdx
jmp 0x1400bc38b
cmp ecx, 0x4d5
jne 0x1400bc357
mov rax, qword [rbx + 8]
cmp qword [rax + 8], rdx
jne 0x1400bc456
test r14b, 1
jmp 0x1400bc395
cmp ecx, 0x86
jne 0x1400bc456
test r14b, 4
jne 0x1400bc456
cmp rsi, 0xffffffffffffffff
je 0x1400bc43c
xor ecx, ecx
mov qword [rbp - 0x68], rsi
mov dword [rbp - 0x70], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rsi + 1]
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, [rbp - 0x70]
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_select]
mov edi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r13
setne byte [rsp + 0x6c]
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
test edi, edi
jne 0x1400bc412
mov dword [rsp + 0x78], edi
mov byte [rsp + 0x7c], dil
mov qword [rbp - 0x80], r13
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbx], xmm0
jmp 0x1400bc29f
jle 0x1400bc433
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x3c], 0
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
jmp 0x1400bc29f
test edi, edi
js 0x1400bc456
jmp 0x1400bc29f
mov dword [rsp + 0x38], 0x2719
mov byte [rsp + 0x3c], 1
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
mov rax, 0xffffffffffffffff
jmp 0x1400bc47c
mov dword [rsp + 0x38], 0
mov rax, rdi
mov byte [rsp + 0x3c], 0
mov qword [rsp + 0x40], r13
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
mov rdi, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400bc7a0
Capabilities:
Get socket status

Disassembly:
jmp 0x1400bc7a0
push rbp
push rbx
push rdi
push r12
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, qword [rbp + 0x210]
mov rax, r8
mov qword [rsp + 0x30], rax
mov r10, r9
mov qword [rsp + 0x40], r9
movzx r12d, dl
mov r15, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1400bc814
lea rdi, [0x1401e1a10]
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x38], rdi
xor eax, eax
mov byte [rsp + 0x34], 1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x1400bc98b
cmp byte [rbp + 0x208], 0
mov qword [rsp + 0x2a0], r14
je 0x1400bc853
test r12b, 0x10
je 0x1400bc853
xor r14d, r14d
lea rdi, [0x1401e1a10]
mov dword [rsp + 0x30], r14d
xor eax, eax
mov byte [rsp + 0x34], r14b
mov qword [rsp + 0x38], rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x1400bc983
mov qword [rsp + 0x2e8], rsi
mov r8, r10
mov qword [rsp + 0x2a8], r13
mov rdx, rax
mov r13d, dword [rbp + 0x200]
mov r9d, r13d
mov qword [rsp + 0x20], rbx
call fcn.14000f430
test eax, eax
jns 0x1400bc971
and r12b, 1
lea rdi, [0x1401e1a10]
xor r14d, r14d
movabs rcx, 0x8fafd21e25c5e09b
test r12b, r12b
jne 0x1400bc9a9
mov eax, dword [rbx]
cmp eax, 0x2733
je 0x1400bc8ba
cmp eax, 0x4d5
jne 0x1400bc9a9
mov rax, qword [rbx + 8]
cmp qword [rax + 8], rcx
jne 0x1400bc9a9
xor ecx, ecx
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x80], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [r15 + 1]
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], rdi
setne byte [rsp + 0x4c]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
test esi, esi
jne 0x1400bc930
mov dword [rsp + 0x58], r14d
mov byte [rsp + 0x5c], r14b
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
jmp 0x1400bc94f
jle 0x1400bc94b
mov dword [rsp + 0x68], r14d
mov byte [rsp + 0x6c], r14b
mov qword [rsp + 0x70], rdi
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbx], xmm0
jmp 0x1400bc94f
test esi, esi
js 0x1400bc9a9
mov r8, qword [rsp + 0x40]
mov r9d, r13d
mov rdx, qword [rsp + 0x30]
mov rcx, r15
mov qword [rsp + 0x20], rbx
call fcn.14000f430
test eax, eax
js 0x1400bc893
mov eax, eax
mov r13, qword [rsp + 0x2a8]
mov rsi, qword [rsp + 0x2e8]
mov r14, qword [rsp + 0x2a0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x2b0
pop r15
pop r12
pop rdi
pop rbx
pop rbp
ret
xor eax, eax
jmp 0x1400bc973
Function at 0x1400ea2c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400ea2c0
sub rsp, 0x28
cmp byte [rcx + 8], 0xb
jne 0x1400ea33d
cmp byte [rcx + 9], 0
jne 0x1400ea33d
movzx r8d, byte [rcx + 0xa]
test r8b, 0xf
je 0x1400ea2e2
xor eax, eax
add rsp, 0x28
ret
mov rcx, qword [rcx]
or edx, 1
bsr eax, edx
mov qword [rsp + 0x20], rbx
lea ebx, [rax*8 + 0x49]
add ebx, eax
mov rax, qword [rcx]
shr rbx, 6
add rbx, qword [0x1401ec158]
test r8b, 0xf0
je 0x1400ea312
call qword [rax + 0x50]
jmp 0x1400ea315
call qword [rax + 0x38]
mov rdx, rax
mov eax, edx
or eax, 1
bsr ecx, eax
lea eax, [rcx*8 + 0x49]
add eax, ecx
shr rax, 6
add rax, rdx
add rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.140002640
Function at 0x1400f1a70
Capabilities:
Encode data using base64

Disassembly:
jmp 0x1400f1a70
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov r11, rcx
test edx, edx
jle 0x1400f1cc1
lea r10d, [rdx*4]
lea eax, [r9 + r9*2]
cmp r10d, eax
jg 0x1400f1cc1
mov rbx, r8
movsxd r8, r9d
add r8, rbx
movsxd rdi, edx
add rdi, rcx
lea rdx, [rdi - 3]
mov r9, qword [rsp + 0xb0]
cmp rcx, rdx
jae 0x1400f1b25
nop word [rax + rax]
mov ecx, dword [r11]
bswap ecx
shr ecx, 8
mov eax, ecx
shr rax, 0x12
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 0x3ffff
mov eax, ecx
shr rax, 0xc
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
and ecx, 0xfff
mov eax, ecx
shr rax, 6
movzx eax, byte [rax + r9]
mov byte [rbx + 2], al
and ecx, 0x3f
movzx ecx, byte [rcx + r9]
mov byte [rbx + 3], cl
add rbx, 4
add r11, 3
cmp r11, rdx
jb 0x1400f1ad0
sub r8d, ebx
sub edi, r11d
mov ecx, edi
je 0x1400f1cbb
sub ecx, 1
je 0x1400f1c77
sub ecx, 1
je 0x1400f1c11
cmp ecx, 1
je 0x1400f1ba1
mov r9d, 0x887
lea r8, str.X:windows_trunkexternalprotobuf_srcgoogleprotobuf_stubs_strutil.cc
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.14000c120
nop
lea rdx, str.Logic_problem__szsrc_
mov rcx, rax
call fcn.14000b4d0
mov rcx, rax
mov edx, edi
call fcn.1400167e0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400158a0
nop
lea rcx, [rsp + 0x28]
call fcn.140017730
sub ebx, esi
mov eax, ebx
jmp 0x1400f1cc3
lea eax, [r8 - 4]
test eax, eax
js 0x1400f1cc1
movzx eax, word [r11 + 1]
ror ax, 8
movzx ecx, ax
movzx eax, byte [r11]
shl eax, 0x10
add ecx, eax
mov eax, ecx
shr rax, 0x12
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 0x3ffff
mov edx, ecx
mov eax, ecx
shr rax, 0xc
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
and edx, 0xfff
mov eax, edx
shr rax, 6
movzx eax, byte [rax + r9]
mov byte [rbx + 2], al
and edx, 0x3f
movzx eax, byte [rdx + r9]
mov byte [rbx + 3], al
add rbx, 4
sub ebx, esi
mov eax, ebx
jmp 0x1400f1cc3
sub r8d, 3
js 0x1400f1cc1
movzx eax, word [r11]
ror ax, 8
movzx ecx, ax
mov eax, ecx
shr rax, 0xa
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 0x3ff
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
and ecx, 0xf
shl ecx, 2
movzx ecx, byte [rcx + r9]
mov byte [rbx + 2], cl
add rbx, 3
cmp byte [rsp + 0xb8], 0
je 0x1400f1cbb
lea eax, [r8 - 1]
test eax, eax
js 0x1400f1cc1
mov byte [rbx], 0x3d
inc rbx
sub ebx, esi
mov eax, ebx
jmp 0x1400f1cc3
sub r8d, 2
js 0x1400f1cc1
movzx ecx, byte [r11]
mov eax, ecx
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 3
shl ecx, 4
movzx ecx, byte [rcx + r9]
mov byte [rbx + 1], cl
add rbx, 2
cmp byte [rsp + 0xb8], 0
je 0x1400f1cbb
lea ecx, [r8 - 2]
test ecx, ecx
js 0x1400f1cc1
mov word [rbx], 0x3d3d
add rbx, 2
sub ebx, esi
mov eax, ebx
jmp 0x1400f1cc3
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000cff0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18000d02c
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180006870]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x18000d3d0
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, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18000d40a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18000d40f
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 0x18000d458
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800621b0]
cmp byte [rcx + rax], 0
je 0x18000d458
dec r8
sub rdx, 1
jne 0x18000d43e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800128f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.18001229c
mov ebx, eax
test eax, eax
jne 0x180012924
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x180012980
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180012977
test al, 0x10
je 0x180012977
bt eax, 0xa
jae 0x180012970
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.180012998
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x18001296c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x180012990
test edi, edi
jne 0x180012977
and dword [rsp + 0x3c], 0
jmp 0x18001297c
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1800441dc
int3
Function at 0x180013d18
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x180013d46
xor eax, eax
jmp 0x180013e2c
cmp qword [rcx + 0x68], 0
je 0x180013d57
call fcn.180013e48
jmp 0x180013e2c
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180013d6e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180013d70
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180013da2
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.18005dd80
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x180013e26
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x180013dd9
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x180013e02
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.180044ff4
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x180013e26
cmp rsi, rbx
ja 0x180013de0
test rsi, rsi
je 0x180013e26
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180044ff4
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18002b6a4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x180017ab2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x180017a95
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x180017a80