joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041260
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400412f0
test rbx, rbx
je 0x1400412f0
mov rcx, qword [rcx + 8]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1400412a5
movsxd rcx, eax
xor eax, eax
mov qword [rsi], rcx
jmp 0x1400412f5
jne 0x1400412ae
mov eax, 7
jmp 0x1400412f5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x38], eax
lea r9, str.::recv__p___p___d__0__failed._WSAGetLastError___d.
mov rax, qword [rbp + 8]
mov edx, 0x7b
mov dword [rsp + 0x30], ebx
lea r8, str.Error
mov qword [rsp + 0x28], rdi
lea rcx, str...platformwinipc_srcDeNATCPClientImpl.cpp
mov qword [rsp + 0x20], rax
call fcn.140039c40
mov eax, shutdown
jmp 0x1400412f5
mov eax, 4
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140041310
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x14004135c
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rbx + 8]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 8], 0xffffffffffffffff
xor eax, eax
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
xor ebx, ebx
nop
cmp rbx, rdi
jae 0x140041424
mov rcx, qword [rbp + 8]
lea rdx, [rbx + rsi]
mov r8d, edi
xor r9d, r9d
sub r8d, ebx
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400413ee
test eax, eax
jle 0x1400413c0
cdqe
add rbx, rax
jmp 0x140041390
jne 0x1400413ee
sub edi, ebx
lea r9, str.::send_...___d__0__wrote_0_bytes.
lea r8, str.Error
mov dword [rsp + 0x20], edi
mov edx, 0x8f
lea rcx, str...platformwinipc_srcDeNATCPClientImpl.cpp
call fcn.140039c40
mov eax, reloc.WS2_32.dll_send
jmp 0x140041426
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub edi, ebx
mov dword [rsp + 0x28], eax
lea r9, str.::send_...___d__0__failed._WSAGetLastError___d.
mov dword [rsp + 0x20], edi
lea r8, str.Error
mov edx, 0x93
lea rcx, str...platformwinipc_srcDeNATCPClientImpl.cpp
call fcn.140039c40
mov eax, reloc.WS2_32.dll_send
jmp 0x140041426
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400416a0
Capabilities:
Resolve dns

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400c80c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [r11 - 0x68], 0
mov qword [r11 - 0x60], rax
mov rbx, r8
mov qword [r11 - 0x58], rax
or rdi, 0xffffffffffffffff
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov dword [rsp + 0x2c], edx
movzx edx, word [rcx]
lea rcx, [r11 - 0x30]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 6
mov dword [rsp + 0x28], 5
call fcn.14003ad80
cmp qword [rsp + 0x70], 0x10
lea rdx, [rsp + 0x58]
lea r9, [rsp + 0x20]
mov rcx, rbx
cmovae rdx, qword [rsp + 0x58]
lea r8, [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140041790
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax + 0xc]
mov edx, dword [rax + 8]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140041790
mov rdx, qword [rsp + 0x20]
mov rcx, rax
mov r8d, dword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
call qword [sym.imp.WS2_32.dll_bind]
mov rcx, rdi
cmp eax, 0xffffffff
je 0x140041786
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x140041790
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
or rdi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400417a0
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x1400417e0
mov rcx, qword [rsp + 0x58]
inc rax
cmp rax, 0x1000
jb 0x1400417db
test cl, 0x1f
jne 0x140041801
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140041807
sub rcx, rax
cmp rcx, 8
jb 0x14004180d
cmp rcx, 0x27
ja 0x140041813
mov rcx, rax
call fcn.14006b5d0
mov rax, rdi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006ab70
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
call fcn.140070d64
int3
call fcn.140070d64
int3
call fcn.140070d64
int3
call fcn.140070d64
int3
Function at 0x1400418c0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1400c80c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
xor ebp, ebp
mov word [rsp + 0x20], dx
dec dx
mov eax, 0x3ff
cmp dx, ax
jbe 0x140041ac1
test r8, r8
je 0x140041ac1
mov qword [rcx + 0x30], r8
mov qword [rcx + 0x38], r9
cmp byte [0x1400cd890], bpl
je 0x140041936
lea r8, str.127.0.0.1
lea edx, [rbp + 2]
lea rcx, [r11 - 0x68]
call fcn.1400416a0
mov qword [rbx + 8], rax
cmp byte [0x1400cd891], bpl
je 0x140041959
lea r8, [0x1400a2cd8]
mov edx, reloc.WS2_32.dll_socket
lea rcx, [rsp + 0x20]
call fcn.1400416a0
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 8]
cmp rax, 0xffffffffffffffff
jne 0x140041973
cmp qword [rbx + 0x10], rax
jne 0x140041973
mov eax, 5
jmp 0x140041ac6
mov qword [rsp + 0x28], rbx
cmp rax, 0xffffffffffffffff
je 0x1400419e1
mov ecx, reloc.WS2_32.dll_recv
call fcn.14006ae40
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400419cb
lea r8, [rbx + 8]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14002a2a0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140041440
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400419ce
mov edx, reloc.WS2_32.dll_recv
call fcn.14006ab90
jmp 0x1400419ce
mov rdi, rbp
mov qword [rbx + 0x18], rdi
test rdi, rdi
jne 0x1400419e1
mov eax, reloc.WS2_32.dll_listen
jmp 0x140041ac6
cmp qword [rbx + 0x10], 0xffffffffffffffff
je 0x140041a41
mov ecx, reloc.WS2_32.dll_recv
call fcn.14006ae40
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140041a35
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14002a2a0
nop
mov rdx, rax
mov rcx, rdi
call fcn.140041440
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140041a38
mov edx, reloc.WS2_32.dll_recv
call fcn.14006ab90
jmp 0x140041a38
mov rdi, rbp
mov qword [rbx + 0x20], rdi
test rdi, rdi
je 0x1400419d7
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov dword [rsp + 0x28], 0x1c
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140041a82
cmp word [rsp + 0x38], 2
jne 0x140041a82
movzx ecx, word [rsp + 0x3a]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x28], ax
jmp 0x140041a86
mov word [rbx + 0x28], bp
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140041ab9
cmp word [rsp + 0x48], 0x17
jne 0x140041ab9
movzx ecx, word [rsp + 0x4a]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x2a], ax
mov eax, ebp
jmp 0x140041ac6
mov word [rbx + 0x2a], bp
mov eax, ebp
jmp 0x140041ac6
mov eax, 4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006ab70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140041af0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
mov dword [rcx + 0x28], esi
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x140041b43
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rbx + 8]
lea edx, [rsi + 2]
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 8], 0xffffffffffffffff
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140041b85
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rbx + 0x10]
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x10], 0xffffffffffffffff
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140041bb3
call fcn.140038bc0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140041baf
cmp dword [rcx + 8], esi
jne 0x140041c49
mov edx, reloc.WS2_32.dll_recv
call fcn.14006ab90
mov qword [rbx + 0x18], rsi
mov qword [rsp + 0x48], rdi
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140041c37
cmp dword [rdi + 8], esi
jne 0x140041bdf
mov ecx, 1
call fcn.14004a928
cmp dword [rdi + 8], esi
jne 0x140041bdf
mov ecx, 1
call fcn.14004a928
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi + 8], eax
jne 0x140041bf3
mov ecx, 5
call fcn.14004a928
movups xmm0, xmmword [rdi]
xor edx, edx
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.14004a3a4
test eax, eax
je 0x140041c15
mov ecx, 2
call fcn.14004a928
mov qword [rdi], rsi
mov dword [rdi + 8], esi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140041c33
cmp dword [rcx + 8], esi
jne 0x140041c4f
mov edx, reloc.WS2_32.dll_recv
call fcn.14006ab90
mov qword [rbx + 0x20], rsi
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
call fcn.14007c9a0
int3
call fcn.14007c9a0
int3
Function at 0x1400436c0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r15, rdx
mov r14, rcx
cmp qword [rcx + 0x60], 0
je 0x14004385c
cmp qword [rcx + 0x78], 0
je 0x14004385c
xor ebp, ebp
xorps xmm0, xmm0
movdqu xmmword [rax - 0x60], xmm0
mov esi, ebp
mov qword [rax - 0x50], rbp
movdqu xmmword [rax - 0x40], xmm0
mov qword [rax - 0x30], rbp
mov dword [rax - 0x48], ebp
lea r8, [rax - 0x48]
lea rdx, [0x140042be0]
mov rcx, qword [rcx + 0x20]
call fcn.14003fbb0
mov edi, eax
test eax, eax
jne 0x140043744
mov ebp, dword [rsp + 0x50]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14002b5c0
mov rsi, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.140037600
mov rbx, qword [rsp + 0x38]
test edi, edi
jne 0x140043809
cmp ebp, 0x10
jne 0x140043804
mov rax, qword [rsp + 0x40]
sub rax, rbx
je 0x140043809
mov dword [rsp + 0xa0], eax
mov ecx, eax
call fcn.14006b2ec
mov rbp, rax
test rax, rax
je 0x1400437fd
mov r8d, dword [rsp + 0xa0]
mov rdx, rbx
mov rcx, rax
call fcn.1400977c0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor edx, edx
lea r8d, [rdi + 1]
mov rcx, qword [r14 + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x1400437ee
mov eax, dword [rsp + 0xa0]
test eax, eax
je 0x1400437f3
lea r8, [rax + rbp]
xor eax, eax
mov byte [rsp + 0x20], al
mov r9, r15
mov rdx, rbp
lea rcx, [rsp + 0xb0]
call fcn.1400294d0
jmp 0x1400437f3
mov edi, send
mov rcx, rbp
call fcn.14006ab90
jmp 0x140043809
mov edi, reloc.WS2_32.dll_listen
jmp 0x140043809
mov edi, 9
test rbx, rbx
je 0x140043861
sub rsi, rbx
cmp rsi, 0x1000
jb 0x140043852
test bl, 0x1f
je 0x140043825
call fcn.140070d64
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x140043834
call fcn.140070d64
int3
sub rbx, rax
cmp rbx, 8
jae 0x140043843
call fcn.140070d64
int3
cmp rbx, 0x27
jbe 0x14004384f
call fcn.140070d64
int3
mov rbx, rax
mov rcx, rbx
call fcn.14006b5d0
jmp 0x140043861
mov edi, 5
mov eax, edi
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400440b0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov rdi, rdx
mov rbp, rcx
xor ebx, ebx
cmp qword [rcx + 0x60], rbx
je 0x140044269
mov rcx, qword [rcx + 0x78]
test rcx, rcx
je 0x140044269
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
mov dword [r11 + 8], eax
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
mov dword [rsp + 0x30], eax
lea rax, [r11 + 8]
mov qword [r11 - 0x80], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor edx, edx
lea r8d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x140044262
mov r14d, dword [rsp + 0xb0]
test r14d, r14d
je 0x14004426e
mov ecx, r14d
call fcn.14006b2ec
mov rsi, rax
test rax, rax
je 0x14004425b
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
sub r8, rdx
mov rcx, rax
call fcn.1400977c0
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x30], r14d
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x140044246
mov r8d, dword [rsp + 0xb0]
add r8, rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
xor eax, eax
movzx r9d, al
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140029140
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14002a8d0
lea rcx, [rbp + 0x20]
mov r8, rax
lea edx, [rbx + 0x10]
call fcn.140044070
mov ebx, eax
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140044251
mov rcx, qword [rsp + 0x58]
sub rcx, rdx
cmp rcx, 0x1000
jb 0x14004423c
test dl, 0x1f
je 0x14004420f
call fcn.140070d64
int3
mov rax, qword [rdx - 8]
cmp rax, rdx
jb 0x14004421e
call fcn.140070d64
int3
sub rdx, rax
cmp rdx, 8
jae 0x14004422d
call fcn.140070d64
int3
cmp rdx, 0x27
jbe 0x140044239
call fcn.140070d64
int3
mov rdx, rax
mov rcx, rdx
call fcn.14006b5d0
jmp 0x140044251
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, send
mov rcx, rsi
call fcn.14006ab90
jmp 0x14004426e
mov ebx, reloc.WS2_32.dll_listen
jmp 0x14004426e
mov ebx, send
jmp 0x14004426e
mov ebx, 5
mov rcx, rdi
call fcn.140037600
mov eax, ebx
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400442b0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x30
mov rbp, rcx
mov dword [rsp + 0x20], 0xf0000000
xor edi, edi
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
xor edx, edx
add rcx, 0x60
lea r9d, [rdi + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140044335
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x140044328
lea r9d, [rdi + 0x18]
mov dword [rsp + 0x20], 0xf0000008
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140044335
lea r8, [0x1400a3080]
mov edx, 0x15c
lea rcx, str...platformwinipc_srcDeNASessionImpl.cpp
call fcn.14003a8e0
mov eax, send
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
mov rcx, qword [rbp + 0x60]
lea r9, [rbp + 0x68]
mov edx, 1
mov qword [rsp + 0x60], rsi
mov r8d, 0x4000000
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x14004445b
mov rcx, qword [rbp + 0x68]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r8d, [r9 + 6]
call qword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x14004444d
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140044473
mov ecx, eax
call fcn.14006b2ec
mov rbx, rax
test rax, rax
je 0x14004443b
mov rcx, qword [rbp + 0x68]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 6]
call qword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x140044407
mov r8d, dword [rsp + 0x50]
lea r9, [rbp + 0x80]
xor eax, eax
lea rcx, [rsp + 0x58]
add r8, rbx
mov byte [rsp + 0x20], al
mov rdx, rbx
call fcn.1400294d0
mov rcx, rbx
call fcn.14006ab90
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
lea r8, [0x1400a30c8]
mov edx, 0x16f
lea rcx, str...platformwinipc_srcDeNASessionImpl.cpp
call fcn.14003a8e0
mov rcx, rbx
mov edi, send
call fcn.14006ab90
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
mov eax, reloc.WS2_32.dll_listen
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
lea r8, [0x1400a30c8]
mov edx, 0x17f
jmp 0x140044467
lea r8, [0x1400a30d8]
mov edx, 0x184
lea rcx, str...platformwinipc_srcDeNASessionImpl.cpp
call fcn.14003a8e0
mov eax, send
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400445b0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov r14, rdx
mov rbp, rcx
xor ebx, ebx
mov dword [rax - 0x48], 0xf0000000
lea r9d, [rbx + 0x18]
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
xor edx, edx
add rcx, 0x60
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14004464a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x140044639
mov dword [rsp + 0x20], 0xf0000008
lea r9d, [rbx + 0x18]
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14004464a
lea r8, [0x1400a3080]
mov edx, 0x195
jmp 0x140044785
lea r8, [0x1400a3080]
mov edx, 0x19a
jmp 0x140044785
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
sub r8, rdx
lea r15, [rbp + 0x70]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x140044779
lea r9, [rbp + 0x78]
mov edx, 0x6610
mov r8d, 1
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x14004476b
mov dword [rsp + 0x70], ebx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, qword [r15]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x14004475d
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140044791
mov ecx, eax
call fcn.14006b2ec
mov rdi, rax
test rax, rax
je 0x140044756
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, qword [r15]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x14004472f
lea r9, [rbp + 0x98]
mov r8d, dword [rsp + 0x70]
add r8, rdi
xor eax, eax
mov byte [rsp + 0x20], al
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.1400294d0
jmp 0x14004474c
lea r8, [0x1400a30c8]
mov edx, 0x1a9
lea rcx, str...platformwinipc_srcDeNASessionImpl.cpp
call fcn.14003a8e0
mov ebx, send
mov rcx, rdi
call fcn.14006ab90
jmp 0x140044796
mov ebx, reloc.WS2_32.dll_listen
jmp 0x140044796
lea r8, [0x1400a30c8]
mov edx, 0x1b8
jmp 0x140044785
lea r8, [0x1400a30d8]
mov edx, 0x1bd
jmp 0x140044785
lea r8, [0x1400a1f78]
mov edx, 0x1c2
lea rcx, str...platformwinipc_srcDeNASessionImpl.cpp
call fcn.14003a8e0
mov ebx, send
mov rcx, r14
call fcn.140037600
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140045da4
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 0x140045dd2
xor eax, eax
jmp 0x140045eb8
cmp qword [rcx + 0x68], 0
je 0x140045de3
call fcn.140015c40
jmp 0x140045eb8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140045dfa
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140045dfc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140045e2e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400977c0
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 0x140045eb2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140045e65
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 0x140045e8e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14007fcfc
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140045eb2
cmp rsi, rbx
ja 0x140045e6c
test rsi, rsi
je 0x140045eb2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14007fcfc
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 0x14006077c
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x14006a670
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.140080cc0
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14006a6c2
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14006a6c2
sub ecx, 1
je 0x14006a6bb
cmp ecx, 1
je 0x14006a6b4
xor eax, eax
jmp 0x14006a6c7
mov eax, 3
jmp 0x14006a6c7
mov eax, 1
jmp 0x14006a6c7
mov eax, 2
add rsp, 0x28
ret

Function at 0x14006bc2c
Capabilities:
Parse pe header

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