joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c4720
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov rdi, r8
mov r14, rdx
mov r9, rcx
movzx r8d, byte [r8 + 0x10]
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
movzx eax, byte [rdi + 0x11]
xor r8, rax
imul r8, rcx
movzx eax, byte [rdi + 0x12]
xor r8, rax
imul r8, rcx
movzx eax, byte [rdi + 0x13]
xor r8, rax
imul r8, rcx
mov rdx, qword [r9 + 0x30]
and rdx, r8
shl rdx, 4
mov rcx, qword [r9 + 0x18]
add rcx, rdx
cmp qword [rcx + 8], rdi
jne 0x1400c47c7
cmp qword [rcx], rdi
jne 0x1400c47bd
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rax, qword [r9 + 8]
mov rcx, qword [r9 + 0x18]
mov qword [rdx + rcx + 8], rax
jmp 0x1400c47d2
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x1400c47d2
cmp qword [rcx], rdi
jne 0x1400c47d7
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rsi, qword [rdi + 0x28]
test rsi, rsi
je 0x1400c4824
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400c4824
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], ebp
cmp ebp, 1
jne 0x1400c4824
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, rdi
call fcn.14026d850
mov qword [r14], rbx
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400c4c20
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
movzx r9d, byte [r8]
mov rdi, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rbx, rdx
movzx eax, byte [r8 + 1]
mov r10, r8
mov rdx, qword [rdi + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
mov r8, qword [rdi + 0x18]
imul r9, rcx
xor r9, rax
imul r9, rcx
mov rcx, qword [rdi + 8]
and rdx, r9
mov rax, rdx
add rax, rax
add rdx, rdx
mov rax, qword [r8 + rax*8]
mov r9, qword [r8 + rdx*8]
lea r11, [r8 + rdx*8]
nop word [rax + rax]
cmp r9, rcx
jne 0x1400c4caa
mov rdx, rcx
jmp 0x1400c4cb1
mov rdx, qword [r11 + 8]
mov rdx, qword [rdx]
cmp rax, rdx
je 0x1400c4ccf
mov edx, dword [r10]
cmp dword [rax + 0x10], edx
je 0x1400c4cc3
mov rax, qword [rax]
jmp 0x1400c4ca0
mov edx, dword [rax + 0x10]
cmp dword [r10], edx
cmovne rax, rcx
jmp 0x1400c4cd2
mov rax, rcx
cmp rax, rcx
jne 0x1400c4d4f
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rsi
mov rsi, qword [rcx]
mov rdx, rsi
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x20], rax
mov r8, qword [rsi + 8]
call fcn.1400c5050
mov rdx, rax
movabs rcx, 0x555555555555554
mov rax, qword [rdi + 0x10]
sub rcx, rax
cmp rcx, 1
jb 0x1400c4d64
inc rax
mov rcx, rdi
mov qword [rdi + 0x10], rax
mov qword [rsi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov rdx, rbx
mov r9, qword [rdi + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.1400c4d80
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rbx], rax
mov rax, rbx
mov byte [rbx + 8], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.140107eb4
int3
Function at 0x1400c4d80
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov r11, r8
mov rsi, rdx
mov r10, rcx
movzx r9d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [r8 + 1]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 2]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 3]
xor r9, rax
imul r9, rcx
mov r8, qword [r10 + 0x30]
and r8, r9
shl r8, 4
mov rbx, qword [r10 + 0x18]
mov rax, qword [rbx + r8]
cmp rax, qword [r10 + 8]
jne 0x1400c4e0b
mov rbx, qword [r10 + 8]
jmp 0x1400c4e13
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x1400c4e4a
mov ecx, dword [r11]
nop dword [rax + rax]
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
je 0x1400c4e30
cmp rbx, rax
jne 0x1400c4e20
jmp 0x1400c4e4a
mov rdx, rdi
mov rcx, r10
call fcn.1400c4fc0
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x1400c4ee1
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400c4e84
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r10 + 0x18]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r10 + 8]
jne 0x1400c4ea2
mov qword [rdx], rdi
mov rax, qword [r10 + 0x18]
mov qword [r8 + rax + 8], rdi
jmp 0x1400c4ece
cmp rax, rbx
jne 0x1400c4eac
mov qword [rdx], rdi
jmp 0x1400c4ece
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x1400c4ece
mov rdx, qword [r10 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r10
call fcn.1400c4f00
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d08f0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
lea rdx, str.127.0.0.1
mov edi, 2
mov qword [rsp + 0x30], rdx
mov ecx, edi
lea r8, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x1400d09a9
mov eax, dword [0x1403f2658]
mov r9, qword [str._no_host]
mov r8, qword [0x1403f2b80]
mov rdx, qword [str._no_group]
mov rcx, qword [0x1403f2660]
mov dword [rsp + 0x20], eax
call fcn.140033d60
test rax, rax
je 0x1400d09a5
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d09a5
mov rax, qword [rcx]
lea edx, [rdi + 3]
call qword [rax + 0x50]
test eax, eax
je 0x1400d09a5
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x36]
lea rax, str.Invalid_IP_Address_Format:__hs
lea r8, str.McAfee::Script::CSimpleIPv4UDPPacketSender::setServerAddr
mov qword [rsp + 0x20], rax
lea rdx, str.srcSimpleIPv4UDPPacketSender.cpp
mov ecx, 5
call fcn.140032190
xor al, al
jmp 0x1400d09ef
cmp eax, 0xffffffff
jne 0x1400d09d3
lea ecx, [rax + 6]
call fcn.1400294e0
test eax, eax
je 0x1400d09a5
lea rax, [rsp + 0x30]
mov r9d, 0x3d
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_set_the_server_address_to__hs
jmp 0x1400d0988
mov ecx, 0x202
mov word [rbx + 8], di
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0xa], ax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0xc], eax
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14026d870
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400d0a10
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
mov edx, 2
mov ecx, edx
lea r8d, [rdx + 0xf]
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rbx + 0x38]
mov qword [rbx + 0x38], rax
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400d0a4e
call qword [sym.imp.WS2_32.dll_closesocket]
cmp qword [rbx + 0x38], 0xffffffffffffffff
jne 0x1400d0a64
cmp word [rbx + 8], 0
jne 0x1400d0a64
mov rcx, rbx
call fcn.1400d08f0
mov r8d, dword [rsi + 8]
lea rax, [rbx + 8]
mov rdx, qword [rsi]
lea rdi, [rsi + 8]
mov rcx, qword [rbx + 0x38]
xor r9d, r9d
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x1400d0b2c
mov eax, dword [0x1403f2658]
mov r9, qword [str._no_host]
mov r8, qword [0x1403f2b80]
mov rdx, qword [str._no_group]
mov rcx, qword [0x1403f2660]
mov dword [rsp + 0x20], eax
call fcn.140033d60
test rax, rax
je 0x1400d0b1a
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d0b1a
mov rax, qword [rcx]
mov edx, 5
call qword [rax + 0x50]
test eax, eax
je 0x1400d0b1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov r9d, 0x4d
lea r8, str.McAfee::Script::CSimpleIPv4UDPPacketSender::sendBuffer
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, str.srcSimpleIPv4UDPPacketSender.cpp
lea rax, str.Failed_to_send_datagram__Last_Error:_0x_08X
lea ecx, [r9 - 0x48]
mov qword [rsp + 0x20], rax
call fcn.140027910
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
movsxd rbx, eax
mov qword [rsp + 0x58], rbx
cmp rbx, qword [rdi]
jae 0x1400d0b70
mov ecx, 1
call fcn.1400294e0
test eax, eax
je 0x1400d0b70
mov rax, qword [rdi]
sub rax, rbx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
call fcn.1400d0b90
mov rbx, qword [rsp + 0x60]
mov al, 1
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d14b4
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x10], rbx
je 0x1400d1577
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400d1577
test rdx, rdx
je 0x1400d14ee
test r8, r8
jne 0x1400d14f3
mov eax, 0x8000000a
jmp 0x1400d157c
test r8, r8
jne 0x1400d14e4
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x30], rax
call qword [0x14034f960]
test eax, eax
je 0x1400d156f
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, eax
call fcn.1400d1058
mov qword [rsp + 0x28], rax
lea r8, str....._srcwindowswin_hmac.cpp
lea rax, str.McCryptoLib::CMcCryptoHMACWin::AddToHash
mov r9d, 0x99
lea rdx, str.__S:__d____S___s:_Error_trying_to_encrypt_data
mov qword [rsp + 0x20], rax
mov ecx, 2
call fcn.1400e39f4
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, eax
jmp 0x1400d1573
mov byte [rdi + 8], 1
mov eax, ebx
jmp 0x1400d157c
mov eax, 0x8000000d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400d2b70
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov rax, rdx
mov rbx, rcx
je 0x1400d2b8b
xor al, al
add rsp, 0x30
pop rbx
ret
mov dword [rsp + 0x20], r8d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
mov qword [rbx + 8], rax
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x1400d2d70
Capabilities:
Prepare http request

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x1400d2d8a
xor al, al
add rsp, 0x40
pop rbx
ret
cmp qword [rbx + 0x18], 0
jne 0x1400d2d82
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
test rax, rax
mov qword [rbx + 0x18], rax
setne al
add rsp, 0x40
pop rbx
ret

Function at 0x1400d2dd0
Capabilities:
Set http header

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400d2de4
xor al, al
add rsp, 0x28
ret
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp eax, 1
sete al
add rsp, 0x28
ret

Function at 0x1400d2e50
Capabilities:
Receive http response

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400d2e64
xor al, al
add rsp, 0x28
ret
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
cmp eax, 1
sete al
add rsp, 0x28
ret

Function at 0x1400d2e80
Capabilities:
Read http header

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400d2e94
xor al, al
add rsp, 0x38
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
mov edx, 0xffff
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp eax, 1
sete al
add rsp, 0x38
ret
Function at 0x1400d2ec0
Capabilities:
Read http header

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400d2ed4
xor al, al
add rsp, 0x38
ret
test rdx, rdx
je 0x1400d2ecd
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor ebx, ebx
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea edx, [rbx + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov rbx, qword [rsp + 0x30]
test eax, eax
sete al
add rsp, 0x38
ret

Function at 0x1400d2f10
Capabilities:
Read http header

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx + 0x18]
mov dword [rsp + 0x30], r8d
test rcx, rcx
jne 0x1400d2f45
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14026d870
add rsp, 0x48
ret
test rdx, rdx
je 0x1400d2f31
test r8d, r8d
je 0x1400d2f31
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov r9, rdx
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x16]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov rbx, qword [rsp + 0x40]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14026d870
add rsp, 0x48
ret

Function at 0x1400d2fa0
Capabilities:
Read http header

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, qword [rcx + 0x18]
test rbx, rbx
jne 0x1400d2fc8
xor eax, eax
jmp 0x1400d3018
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.14028e7e0
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xff
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r8 + 0x13]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400d2fc4
lea rcx, [rsp + 0x40]
call fcn.14029f8e4
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14026d870
add rsp, 0x150
pop rbx
ret

Function at 0x1400d3070
Capabilities:
Read http header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, qword [rcx + 0x18]
mov rbx, rdx
test rdi, rdi
je 0x1400d30f6
test rdx, rdx
je 0x1400d30f6
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x80
call fcn.14028e7e0
xor r8d, r8d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x7f
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rdi
lea edx, [r8 + 5]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400d30f6
lea rcx, [rsp + 0x40]
call fcn.14029f8e4
mov dword [rbx], eax
mov al, 1
jmp 0x1400d30f8
xor al, al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14026d870
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rdi
ret

Function at 0x1400d3120
Capabilities:
Receive http response

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400d3134
xor al, al
add rsp, 0x28
ret
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
cmp eax, 1
sete al
add rsp, 0x28
ret
Function at 0x1400de490
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x1400de6df
cmp byte [rcx + 0x72], 0
je 0x1400de6df
mov rax, qword [rcx]
mov ebx, 0xffff
mov edx, ebx
call qword [rax + 0x18]
cmp bx, ax
jne 0x1400de4ed
xor al, al
jmp 0x1400de6e1
mov qword [rbp - 0x18], sendto
xor r14d, r14d
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], r14b
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.1400535b0
nop
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
nop dword [rax]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, rcx
lea r8, [rbp - 0x30]
cmovae r8, rcx
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x1400de562
sub eax, 1
jne 0x1400de65d
jmp 0x1400de566
mov byte [rdi + 0x72], 0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, rcx
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x1400de5b7
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.1402a2450
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x1400de66a
cmp byte [rdi + 0x72], 0
je 0x1400de688
test rbx, rbx
jne 0x1400de520
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x20]
sub rax, r8
cmp rax, 8
jbe 0x1400de67b
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x1400de66e
cmp r9, rbx
jae 0x1400de608
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14002e150
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
jmp 0x1400de624
test rbx, rbx
jne 0x1400de62d
mov qword [rbp - 0x20], r14
lea rax, [rbp - 0x30]
cmp r9, 0x10
cmovae rax, rcx
mov byte [rax], bl
jmp 0x1400de511
test rbx, rbx
je 0x1400de520
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, rcx
mov rax, qword [rbp - 0x20]
xor ecx, ecx
mov qword [rdx + rax], rcx
mov qword [rbp - 0x20], rbx
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rax, qword [rbp - 0x30]
mov byte [rax + rbx], cl
jmp 0x1400de511
sub eax, 2
mov r9, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
je 0x1400de688
xor bl, bl
jmp 0x1400de68a
lea rcx, str.string_too_long
call fcn.140107eb4
int3
lea rcx, str.string_too_long
call fcn.140107eb4
int3
mov bl, 1
cmp r9, 0x10
jb 0x1400de6da
lea rax, [r9 + 1]
cmp rax, 0x1000
jb 0x1400de6d5
test byte [rbp - 0x30], 0x1f
je 0x1400de6a8
call fcn.14029051c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400de6b7
call fcn.14029051c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400de6c6
call fcn.14029051c
int3
cmp rcx, 0x27
jbe 0x1400de6d2
call fcn.14029051c
int3
mov rcx, rax
call fcn.14026d850
movzx eax, bl
jmp 0x1400de6e1
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14026d870
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400e655c
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 0x10], rbx
je 0x1400e661f
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400e661f
test rdx, rdx
je 0x1400e6596
test r8, r8
jne 0x1400e659b
mov eax, 0x8000000a
jmp 0x1400e6624
test r8, r8
jne 0x1400e658c
xor r9d, r9d
call qword [sym.imp.bcrypt.dll_BCryptHashData]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x30], rax
call qword [0x14034f960]
test eax, eax
jne 0x1400e65c9
mov byte [rdi + 8], 1
jmp 0x1400e661b
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, eax
call fcn.1400d1058
mov qword [rsp + 0x28], rax
lea r8, str....._srcwindowswin_hash.cpp
lea rax, str.McCryptoLib::CMcCryptoHashWin::AddToHash
mov r9d, 0x90
lea rdx, str.__S:__d____S___s:_Error_trying_to_add_data_for_hashing
mov qword [rsp + 0x20], rax
mov ecx, 2
call fcn.1400e39f4
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, eax
mov eax, ebx
jmp 0x1400e6624
mov eax, 0x8000000d
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400e7130
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r14, r9
mov r12, r8
mov r13, rdx
mov rsi, rcx
xor ebx, ebx
mov edi, ebx
mov ebp, ebx
mov r15d, ebx
mov dword [rax + 8], ebx
lea rdx, [rax - 0x40]
call fcn.1400e7318
nop
cmp byte [rsp + 0xd0], bl
je 0x1400e7196
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
sub rdi, rbx
mov rbp, qword [rsi + 0x20]
mov r15d, dword [r14]
mov eax, dword [rsi + 0x78]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov dword [rsp + 0x60], eax
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xb0]
mov qword [r14], rax
lea rcx, [rsp + 0x58]
call qword [0x14034f960]
mov ebx, eax
lea rcx, [rsp + 0x68]
call fcn.1400ac960
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400e7224
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r14, r9
mov r12, r8
mov r13, rdx
mov rsi, rcx
xor ebx, ebx
mov edi, ebx
mov ebp, ebx
mov r15d, ebx
mov dword [rax + 8], ebx
lea rdx, [rax - 0x40]
call fcn.1400e7318
nop
cmp byte [rsp + 0xd0], bl
je 0x1400e728a
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
sub rdi, rbx
mov rbp, qword [rsi + 0x20]
mov r15d, dword [r14]
mov eax, dword [rsi + 0x78]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
mov dword [rsp + 0x60], eax
lea rax, vtable.McCryptoLib::CWinError.0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xb0]
mov qword [r14], rax
lea rcx, [rsp + 0x58]
call qword [0x14034f960]
mov ebx, eax
lea rcx, [rsp + 0x68]
call fcn.1400ac960
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400e7d20
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x660
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rsp + 0x650], rax
mov rsi, r8
mov rdi, rdx
test rdx, rdx
je 0x1400e7e32
test r8, r8
je 0x1400e7e32
mov qword [r11 + 8], rbx
lea rcx, [rsp + 0x20]
mov qword [r11 + 0x18], rbp
mov ebx, 0x104
xor ebp, ebp
mov edx, ebx
mov word [rsp + 0x20], bp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp qword [rdi], rbp
jne 0x1400e7e2b
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x230]
sub rdx, rcx
lea rax, [rsp + 0x230]
nop dword [rax + rax]
lea rcx, [rbx + 0x7ffffefa]
test rcx, rcx
je 0x1400e7dc2
movzx ecx, word [rdx + rax]
test cx, cx
je 0x1400e7dc2
mov word [rax], cx
add rax, 2
sub rbx, 1
jne 0x1400e7da0
lea rcx, [rax - 2]
test rbx, rbx
mov r8, rsi
mov edx, 0x209
cmovne rcx, rax
mov word [rcx], bp
lea rcx, [rsp + 0x230]
call fcn.1400eaef0
lea rcx, [rsp + 0x230]
call fcn.1400f1960
mov qword [rdi], rax
test rax, rax
jne 0x1400e7e2b
mov rbx, qword [rsp + 0x670]
mov rbp, qword [rsp + 0x680]
mov rcx, qword [rsp + 0x650]
xor rcx, rsp
call fcn.14026d870
mov rsi, qword [rsp + 0x688]
add rsp, 0x660
pop rdi
ret
mov eax, 1
jmp 0x1400e7dfa
xor eax, eax
jmp 0x1400e7e0a