joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008d10
Capabilities:
Check for time delay via gettickcount
Connect socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402e0068]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [rcx + 0x30]
mov rbx, rcx
mov dword [rsp + 0x24], eax
mov eax, 2
mov word [rsp + 0x20], ax
movzx eax, word [rcx + 0x34]
rol ax, 8
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov word [rsp + 0x22], ax
je 0x140008dc6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x2c], eax
mov rax, qword [rbx + 0x20]
cmp dword [rax + 0x44], 0
je 0x140008d8c
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140008d71
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140008d73
xor ecx, ecx
mov rdx, qword [rbx + 0x38]
mov r8, rcx
mov r9d, 0x1bb
mov rcx, rax
call fcn.140009280
mov ecx, eax
jmp 0x140008da7
mov rcx, qword [rbx + 0x38]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
call sub.WS2_32.dll_connect
xor ecx, ecx
test eax, eax
sete cl
test ecx, ecx
je 0x140008dc6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rbx + 0x2c]
mov dword [rbx + 0x28], eax
cmp eax, ecx
jb 0x140008dbf
sub eax, ecx
jmp 0x140008dc3
sub eax, ecx
dec eax
mov dword [rbx + 0x28], eax
mov rcx, qword [rbx + 0x20]
xor r8d, r8d
mov rdx, rbx
call fcn.1400094c0
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401e6720
add rsp, 0x40
pop rbx
ret
Function at 0x140008ec0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x140
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402e0068]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rax, vtable.TArray_class_TInI::TInISection____ptr64__10__class_TDefaultAllocator_.0
mov qword [rcx], rax
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov dword [rcx + 0x20], esi
mov qword [rcx + 0x28], rsi
mov dword [rcx + 0x30], esi
mov dword [rcx + 0x34], esi
mov dword [rcx + 0x38], esi
mov dword [rcx + 0x40], edx
mov dword [rcx + 0x44], esi
lea rax, vtable.TArray_class_TPinger::PING_ITEM____ptr64__10__class_TDefaultAllocator_.0
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rsi
mov qword [rcx + 0x58], rsi
mov qword [rcx + 0x60], rsi
add rcx, 0x68
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
nop
lea rcx, [rbx + 0x90]
call fcn.1400086d0
nop
mov qword [rbx + 0x4a8], 0xffffffffffffffff
lea rcx, str.GOTOHTTP_PROXY
call fcn.1401ea4f4
test rax, rax
jne 0x140008ff8
mov r8d, 0x100
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov r11d, eax
dec r11
js 0x140008ff3
cmp byte [rsp + r11 + 0x30], 0x5c
je 0x140008fa3
sub r11, 1
jns 0x140008f93
jmp 0x140008ff3
mov byte [rsp + r11 + 0x30], 0
mov r8d, esi
lea rax, str.proxy.ini
inc rax
inc r8d
cmp byte [rax], 0
jne 0x140008fb3
lea eax, [r8 + 1]
movsxd rcx, eax
add rcx, r11
cmp rcx, 0x100
ja 0x140008ff3
mov byte [rsp + r11 + 0x30], 0x5c
movsxd r8, r8d
test r8, r8
js 0x140008ff3
lea rcx, [rsp + r11 + 0x31]
inc r8
lea rdx, str.proxy.ini
call fcn.1401e75a0
lea rax, [rsp + 0x30]
lea rdx, [0x14029fd14]
mov rcx, rax
call fcn.1401e97ac
mov rdi, rax
test rax, rax
jne 0x140009018
mov dword [rbx + 0x38], 0xffffffff
jmp 0x14000902b
mov rdx, rax
mov rcx, rbx
call fcn.140002e50
mov rcx, rdi
call fcn.1401e95fc
xor r8d, r8d
lea rdx, str.proxy
mov rcx, rbx
call fcn.140002bc0
mov rdi, rax
test rax, rax
je 0x140009073
lea rdx, str.type
mov rcx, rax
call fcn.140001f40
test eax, eax
js 0x140009073
movsxd rcx, eax
add rcx, rcx
mov rax, qword [rdi + 8]
mov rcx, qword [rax + rcx*8 + 8]
test rcx, rcx
je 0x140009073
call fcn.140009a00
mov esi, eax
mov dword [rbx + 0x44], esi
test esi, esi
je 0x140009100
xor r8d, r8d
lea rdx, str.proxy
mov rcx, rbx
call fcn.140002bc0
mov rdi, rax
test rax, rax
je 0x140009100
lea rdx, str.passc
mov rcx, rax
call fcn.140001f40
test eax, eax
js 0x140009100
movsxd rcx, eax
add rcx, rcx
mov rax, qword [rdi + 8]
mov rcx, qword [rax + rcx*8 + 8]
test rcx, rcx
je 0x140009100
xor r9d, r9d
mov r8d, 0x100
lea rdx, [rsp + 0x30]
call fcn.140003bf0
test rax, rax
je 0x140009100
lea rdx, str.proxy
mov rcx, rbx
call fcn.140002d30
test rax, rax
je 0x140009100
lea r8, [rsp + 0x30]
lea rdx, str.pass
mov rcx, rax
call fcn.140002230
nop
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401e6720
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400097f0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov ebx, r8d
mov rbp, rdx
mov rdi, rcx
mov ecx, 0x50
call fcn.1401e65ec
mov qword [rsp + 0x68], rax
xor esi, esi
test rax, rax
je 0x140009843
mov r9, rdi
mov r8d, ebx
mov rdx, rbp
mov rcx, rax
call fcn.140008ac0
mov rbx, rax
jmp 0x140009846
mov rbx, rsi
test rbx, rbx
je 0x140009919
cmp qword [rbx + 8], 0
jne 0x140009907
lea rax, [rbx + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10000
mov r9, qword [rbx + 0x18]
lea r8, [0x140001050]
mov edx, 0xa004
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
je 0x140009897
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp qword [rbx + 8], 0
setne sil
test esi, esi
je 0x140009907
mov esi, 0xa
mov r8, qword [rdi + 0x60]
lea rdx, [r8 + 1]
mov rcx, qword [rdi + 0x58]
cmp rdx, rcx
jbe 0x1400098f0
lea rax, [rcx + 0xa]
cmp rdx, rax
jbe 0x1400098cc
mov rsi, r8
sub rsi, rcx
inc rsi
lea rdx, [rcx + rsi]
shl rdx, 3
mov rcx, qword [rdi + 0x50]
call fcn.1401e78d4
test rax, rax
je 0x1400098ec
mov qword [rdi + 0x50], rax
add qword [rdi + 0x58], rsi
jmp 0x1400098f0
xor al, al
jmp 0x140009902
mov rcx, qword [rdi + 0x60]
mov rax, qword [rdi + 0x50]
mov qword [rax + rcx*8], rbx
inc qword [rdi + 0x60]
mov al, 1
movzx eax, al
jmp 0x14000991b
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
xor eax, eax
jmp 0x14000991b
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000b140
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
push rbp
sub rsp, 0x288
mov rax, qword [0x1402e0068]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9, rcx
mov rbx, rdx
lea r8, str._s.
lea rcx, [rsp + 0x160]
mov edx, 0x104
call fcn.1401e8dd8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000b23d
mov qword [rsp + 0x2b0], rsi
mov qword [rsp + 0x280], rdi
nop dword [rax + rax]
test byte [rsp + 0x20], 0x10
je 0x14000b1fa
lea rsi, [rsp + 0x4c]
lea rdi, [0x1402a0860]
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
je 0x14000b20e
lea rsi, [rsp + 0x4c]
lea rdi, [0x1402a0864]
mov ecx, 3
repe cmpsb byte [rsi], byte [rdi]
je 0x14000b20e
mov rax, qword [rbx]
lea rdx, [rsp + 0x4c]
mov r8d, 1
mov rcx, rbx
call qword [rax]
test eax, eax
jne 0x14000b220
jmp 0x14000b20e
mov rax, qword [rbx]
lea rdx, [rsp + 0x4c]
xor r8d, r8d
mov rcx, rbx
call qword [rax]
test eax, eax
jne 0x14000b220
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14000b1b0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x280]
mov rsi, qword [rsp + 0x2b0]
xor eax, eax
jmp 0x14000b240
or eax, 0xffffffff
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401e6720
add rsp, 0x288
pop rbp
pop rbx
ret
Function at 0x14000c320
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rdi, rdx
xor edx, edx
mov rbx, r8
mov rsi, rcx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x5c]
call fcn.1401e6750
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
test rdi, rdi
je 0x14000c380
lea rcx, [rsp + 0x20]
mov r8, rdi
mov rdx, rsi
call fcn.14000b6c0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000b7e0
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000c4b0
Capabilities:
Encrypt data using curve25519
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ecx, 0x80
call fcn.1401e6440
xor edx, edx
mov r8d, 0x80
mov rcx, rax
mov rsi, rax
call fcn.1401e6750
mov rcx, qword [0x1402e6860]
xor ebp, ebp
mov qword [rsi + 0x18], rcx
mov ecx, 0x160
mov dword [rsi + 4], ebp
call fcn.1401e6440
lea r8d, [rbp + 0x70]
xor edx, edx
lea rcx, [rax + 8]
mov rdi, rax
mov qword [rsi + 0x10], rax
mov qword [rax], rbp
call fcn.1401e6750
lea edx, [rbp + 0x20]
lea rcx, [rdi + 0x11c]
mov dword [rdi + 8], 0x6a09e667
mov dword [rdi + 0xc], 0xbb67ae85
mov dword [rdi + 0x10], 0x3c6ef372
mov dword [rdi + 0x14], 0xa54ff53a
mov dword [rdi + 0x18], 0x510e527f
mov dword [rdi + 0x1c], 0x9b05688c
mov dword [rdi + 0x20], 0x1f83d9ab
mov dword [rdi + 0x24], 0x5be0cd19
mov dword [rdi + 0x74], 0x20
mov qword [rsi + 0x20], rbp
mov qword [rsi + 0x28], rbp
call fcn.14000df40
and byte [rdi + 0x13b], 0x3f
and byte [rdi + 0x11c], 0xf8
or byte [rdi + 0x13b], 0x40
lea rcx, [rdi + 0xfc]
lea rdx, [rdi + 0x11c]
mov dword [rdi + 0xf8], 0x1d
call fcn.1400152d0
mov rbx, qword [rsp + 0x30]
mov dword [rsi + 8], ebp
mov qword [rsi + 0x60], rbp
mov qword [rsi + 0x68], rbp
mov qword [rsi + 0x70], rbp
mov rbp, qword [rsp + 0x38]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov r9, qword [rcx + 0x68]
mov rbx, rcx
movsxd rcx, dword [rcx]
movsxd rax, dword [r9 + 0xc]
mov r8d, dword [r9 + 8]
mov rdx, rax
sub r8d, eax
add rdx, qword [r9]
xor r9d, r9d
call sub.WS2_32.dll_send
mov r11d, eax
test eax, eax
je 0x14000c69e
jns 0x14000c6ae
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x14000c6cd
mov dword [rbx + 4], 5
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x68]
add dword [rax + 0xc], r11d
mov rcx, qword [rbx + 0x68]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
jne 0x14000c6cd
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
mov dword [rbx + 4], 3
add rsp, 0x20
pop rbx
ret
Function at 0x14000c6e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x60], 0
mov rbx, rcx
jne 0x14000c71b
mov ecx, 0x818
call fcn.1401e6440
xor ecx, ecx
lea rdx, [rax + 0x18]
mov dword [rax + 0x10], 0x800
mov dword [rax + 8], 0x800
mov dword [rax + 0xc], ecx
mov dword [rax + 0x14], ecx
mov qword [rax], rdx
mov qword [rbx + 0x60], rax
mov rcx, qword [rbx + 0x60]
cmp dword [rcx + 0x14], 0
jne 0x14000c7dd
movsxd rax, dword [rcx + 0xc]
mov r8d, 5
xor r9d, r9d
mov rdx, rax
sub r8d, eax
add rdx, qword [rcx]
movsxd rcx, dword [rbx]
call sub.WS2_32.dll_recv
mov r11d, eax
test eax, eax
jne 0x14000c75e
mov dword [rbx + 4], 5
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
test eax, eax
jns 0x14000c77d
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x14000c74e
mov dword [rbx + 4], 2
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x60]
add dword [rax + 0xc], r11d
mov rcx, qword [rbx + 0x60]
cmp dword [rcx + 0xc], 5
jl 0x14000c76e
mov rax, qword [rcx]
mov qword [rsp + 0x30], rdi
movzx edx, byte [rax + 3]
movzx eax, byte [rax + 4]
mov dword [rcx + 0x14], 1
shl edx, 8
or edx, eax
lea edi, [rdx + 5]
cmp dword [rcx + 0x10], edi
jl 0x14000c7b8
mov dword [rcx + 8], edi
jmp 0x14000c7d4
movsxd rdx, edx
add rdx, 0x1d
call fcn.1401e78d4
mov rcx, rax
add rax, 0x18
mov qword [rcx], rax
mov dword [rcx + 0x10], edi
mov dword [rcx + 8], edi
mov rdi, qword [rsp + 0x30]
mov qword [rbx + 0x60], rcx
mov rcx, qword [rbx + 0x60]
mov r8d, dword [rcx + 8]
cmp dword [rcx + 0xc], r8d
jge 0x14000c82e
movsxd rax, dword [rcx + 0xc]
xor r9d, r9d
mov rdx, rax
sub r8d, eax
add rdx, qword [rcx]
movsxd rcx, dword [rbx]
call sub.WS2_32.dll_recv
mov r11d, eax
test eax, eax
je 0x14000c74e
test eax, eax
js 0x14000c762
mov rax, qword [rbx + 0x60]
add dword [rax + 0xc], r11d
mov rcx, qword [rbx + 0x60]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
jl 0x14000c76e
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x14000cc70
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
cmp dword [rcx + 8], 5
mov esi, r8d
mov r13, rdx
mov rbx, rcx
mov ebp, r8d
jne 0x14000cd8e
cmp qword [rcx + 0x68], 0
je 0x14000cccc
call fcn.14000c660
test eax, eax
jle 0x14000cd90
mov rcx, qword [rbx + 0x68]
call fcn.1401e64f8
xor edi, edi
sub esi, dword [rbx + 0x78]
mov qword [rbx + 0x68], rdi
jmp 0x14000ccd1
xor edi, edi
mov dword [rcx + 0x78], edi
mov dword [rbx + 4], edi
test esi, esi
jle 0x14000cd8e
mov r14d, 0x4000
movsxd rdx, dword [rbx + 0x78]
mov r12d, esi
cmp esi, r14d
cmovg r12d, r14d
mov r9d, reloc.WS2_32.dll_socket
mov rcx, rbx
movsxd r8, r12d
add rdx, r13
call fcn.14000ced0
mov r11, rax
mov qword [rbx + 0x68], rax
test rax, rax
je 0x14000cd84
add dword [rbx + 0x78], r12d
movsxd rax, dword [rax + 0xc]
mov r8d, dword [r11 + 8]
movsxd rcx, dword [rbx]
mov rdx, rax
sub r8d, eax
add rdx, qword [r11]
xor r9d, r9d
sub esi, r12d
call sub.WS2_32.dll_send
mov r11d, eax
test eax, eax
je 0x14000cd76
js 0x14000cd5f
mov rax, qword [rbx + 0x68]
add dword [rax + 0xc], r11d
mov rcx, qword [rbx + 0x68]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
jne 0x14000cd6b
call fcn.1401e64f8
mov qword [rbx + 0x68], rdi
test esi, esi
jg 0x14000cce2
jmp 0x14000cd8e
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x14000cd76
mov dword [rbx + 4], 3
mov eax, edi
jmp 0x14000cd90
or edi, 0xffffffff
mov dword [rbx + 4], 5
mov eax, edi
jmp 0x14000cd90
mov dword [rbx + 4], 5
or ebp, 0xffffffff
mov eax, ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x14000df40
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0xa0
mov rax, qword [0x1402e0068]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov ebx, dword [0x1402e675c]
mov rsi, rdx
mov rdi, rcx
test ebx, ebx
jne 0x14000df87
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov dword [0x1402e675c], eax
jmp 0x14000df8f
inc ebx
mov dword [0x1402e675c], ebx
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x60]
call fcn.1401e6750
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], 0x67452301
lea ecx, [rax + 0x20]
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
mov dword [rsp + 0x30], 0xc3d2e1f0
mov ebp, 4
lea r12, [0x1402e675c]
cmp ecx, eax
jae 0x14000dfe2
inc dword [rsp + 0x38]
mov dword [rsp + 0x34], ecx
mov ecx, dword [rsp + 0x7c]
test rcx, rcx
je 0x14000e051
lea rax, [rcx + 4]
cmp rax, 0x40
jae 0x14000e006
mov dword [rsp + rcx + 0x3c], ebx
add dword [rsp + 0x7c], ebp
jmp 0x14000e090
mov ebx, 0x40
mov rdx, r12
sub rbx, rcx
lea rcx, [rsp + rcx + 0x3c]
mov r8, rbx
call fcn.1401e75a0
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.14014fd80
xor edx, edx
lea rcx, [rsp + 0x3c]
lea r8d, [rdx + 0x40]
add r12, rbx
sub rbp, rbx
mov dword [rsp + 0x7c], 0
call fcn.1401e6750
mov rbx, rbp
shr rbx, 6
test rbx, rbx
je 0x14000e077
lea rcx, [rsp + 0x20]
mov r8, rbx
mov rdx, r12
call fcn.14014fd80
shl rbx, 6
add r12, rbx
sub rbp, rbx
test rbp, rbp
je 0x14000e090
lea rcx, [rsp + 0x3c]
mov r8, rbp
mov rdx, r12
mov dword [rsp + 0x7c], ebp
call fcn.1401e75a0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x80]
call fcn.1400118f0
test rsi, rsi
je 0x14000e0e9
cmp rsi, 0x14
jbe 0x14000e0d6
lea rcx, [rsp + 0x80]
add rdi, 0x14
sub rsi, 0x14
mov rax, qword [rcx]
mov qword [rdi - 0x14], rax
mov rax, qword [rcx + 8]
mov qword [rdi - 0xc], rax
mov eax, dword [rcx + 0x10]
mov dword [rdi - 4], eax
jne 0x14000e0a7
jmp 0x14000e0e9
lea rdx, [rsp + 0x80]
mov r8, rsi
mov rcx, rdi
call fcn.1401e75a0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401e6720
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14000e1e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rsi, qword [rcx + 0x70]
mov rdi, r9
mov rbp, r8
movsxd rcx, dword [rsi + 0x70]
mov rbx, rdx
test ecx, ecx
je 0x14000e248
mov rdx, rcx
test r9, r9
je 0x14000e227
cmp ecx, 0x40
jae 0x14000e227
movzx eax, byte [rdx + rsi + 0x30]
inc rbx
inc ecx
xor al, byte [rbp]
inc rdx
inc rbp
sub rdi, 1
mov byte [rbx - 1], al
jne 0x14000e206
mov dword [rsi + 0x70], ecx
test rdi, rdi
je 0x14000e367
cmp ecx, 0x40
jne 0x14000e248
add dword [rsi + 0x20], 1
mov dword [rsi + 0x70], 0
jne 0x14000e248
inc dword [rsi + 0x24]
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r14
mov r14d, dword [rsi + 0x20]
mov qword [rsp + 0x30], r15
mov r15d, edi
lea rax, [rsi + 0x20]
and r15d, 0x3f
mov r13d, r15d
mov dword [rsp + 0x60], r15d
sub rdi, r13
cmp rdi, 0x40
jb 0x14000e2f5
mov qword [rsp + 0x68], r12
mov r15d, 0x10000000
lea r13, [rsi + 0x20]
nop word [rax + rax]
mov r12, rdi
shr r12, 6
cmp r12, r15
cmova r12, r15
add r14d, r12d
mov eax, r14d
cmp rax, r12
jae 0x14000e2af
sub r12, rax
xor r14d, r14d
shl r12, 6
mov r9, rsi
mov rdx, rbp
mov rcx, rbx
mov r8, r12
mov qword [rsp + 0x20], r13
call fcn.14013eb40
sub rdi, r12
add rbp, r12
add rbx, r12
mov dword [r13], r14d
test r14d, r14d
jne 0x14000e2de
inc dword [rsi + 0x24]
cmp rdi, 0x40
jae 0x14000e290
mov r15d, dword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
lea rax, [rsi + 0x20]
mov r13, r15
mov r14, qword [rsp + 0x78]
test r15d, r15d
je 0x14000e35d
xor ecx, ecx
lea rdi, [rsi + 0x30]
mov r9, rsi
mov qword [rdi], rcx
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], rcx
mov qword [rdi + 0x20], rcx
mov qword [rdi + 0x28], rcx
mov qword [rdi + 0x30], rcx
lea r8d, [rcx + 0x40]
mov qword [rdi + 0x38], rcx
mov rcx, rdi
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.14013eb40
test r15d, r15d
je 0x14000e359
sub rbp, rbx
movzx eax, byte [rbx + rbp]
inc rbx
inc rdi
xor al, byte [rdi - 1]
sub r13, 1
mov byte [rbx - 1], al
jne 0x14000e343
mov dword [rsi + 0x70], r15d
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x70]
mov eax, 1
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140010f40
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x90
mov rbx, rdx
xor edx, edx
mov rsi, r8
mov rdi, rcx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call fcn.1401e6750
lea rcx, [rsp + 0x20]
mov r8, rbx
mov rdx, rdi
mov dword [rsp + 0x20], 0x6a09e667
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
mov dword [rsp + 0x8c], 0x20
call fcn.140011000
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140011130
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_WSASetLastError
call fcn.14013ab40
lea r11, [rsp + 0x90]
mov rax, rsi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140011450
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x150
mov rax, qword [0x1402e0068]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov ebp, dword [rcx + 0xf8]
xor esi, esi
movsxd rdi, r8d
mov r12, rdx
mov rbx, rcx
mov dword [rcx + 0xfc], 0x40
test r9d, r9d
jne 0x1400114bf
lea rax, [0x140010ee0]
mov dword [rcx + 0xf8], 0x20
mov qword [rcx + 0xe0], rax
lea rax, [fcn.140011000]
mov qword [rcx + 0xe8], rax
lea rax, [fcn.140011130]
jmp 0x1400114ec
lea rax, [0x140011a70]
mov dword [rcx + 0xf8], reloc.WS2_32.dll_sendto
mov qword [rcx + 0xe0], rax
lea rax, [fcn.1400117c0]
mov qword [rcx + 0xe8], rax
lea rax, [fcn.1400118f0]
mov qword [rcx + 0xf0], rax
test rdx, rdx
je 0x140011617
cmp edi, 0x40
jle 0x140011537
call qword [rbx + 0xe0]
test eax, eax
je 0x140011530
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call qword [rbx + 0xe8]
test eax, eax
je 0x140011530
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [rbx + 0xf0]
test eax, eax
jne 0x14001154e
xor eax, eax
jmp 0x14001161e
cmp edi, 0x90
ja 0x140011530
lea rcx, [rsp + 0x20]
mov r8, rdi
call fcn.1401e75a0
mov ebp, edi
cmp ebp, 0x90
je 0x14001156d
mov eax, ebp
mov r8d, 0x90
xor edx, edx
lea rcx, [rsp + rax + 0x20]
sub r8d, ebp
call fcn.1401e6750
mov rcx, rsi
movzx eax, byte [rsp + rcx + 0x20]
add rcx, 2
xor al, 0x36
mov byte [rsp + rcx + 0xae], al
movzx eax, byte [rsp + rcx + 0x1f]
xor al, 0x36
cmp rcx, 0x90
mov byte [rsp + rcx + 0xaf], al
jl 0x140011570
mov rcx, rbx
call qword [rbx + 0xe0]
test eax, eax
je 0x14001161c
lea rdx, [rsp + 0xb0]
mov r8d, 0x40
mov rcx, rbx
call qword [rbx + 0xe8]
test eax, eax
je 0x14001161c
mov rcx, rsi
movzx eax, byte [rsp + rcx + 0x20]
add rcx, 2
xor al, 0x5c
mov byte [rsp + rcx + 0xae], al
movzx eax, byte [rsp + rcx + 0x1f]
xor al, 0x5c
cmp rcx, 0x90
mov byte [rsp + rcx + 0xaf], al
jl 0x1400115c4
lea rcx, [rbx + 0x70]
call qword [rbx + 0xe0]
test eax, eax
je 0x14001161c
lea rdx, [rsp + 0xb0]
lea rcx, [rbx + 0x70]
mov r8d, 0x40
call qword [rbx + 0xe8]
test eax, eax
je 0x14001161c
mov esi, 1
mov eax, esi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401e6720
add rsp, 0x150
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret