joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c720
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [str._P_v_]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x14000c758
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14000c7c0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x14000c7d0
mov esi, dword [0x1400e4198]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14000c840
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x14000c888
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x14000c747
mov rcx, rbx
call fcn.14000c620
mov qword [rsi + r12*8 + 8], rax
jmp 0x14000c747
call fcn.14000c620
mov qword [rbx + 0x10], rax
jmp 0x14000c747
mov r10d, dword [rsi]
test r10d, r10d
je 0x14000c8ea
mov r9d, dword [0x1400b5030]
test r9d, r9d
je 0x14000c918
lock add dword [0x1400e41a0], 1
jne 0x14000c94c
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14000c8f7
mov eax, dword [rsi]
test eax, eax
je 0x14000c761
lock sub dword [0x1400e41a0], 1
js 0x14000c761
mov rcx, qword [0x1400e41a8]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x14000c761
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sym.calloc
mov rsi, rax
test rax, rax
je 0x14000c973
mov qword [rax], rdi
mov ecx, dword [0x1400e4198]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14000c79b
call r13
jmp 0x14000c79b
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sym.realloc
mov rsi, rax
test rax, rax
je 0x14000c973
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sym.memset
jmp 0x14000c863
call fcn.14000c6c0
mov dword [0x1400b5030], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14000c7ec
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x14000c761
mov rax, qword [0x1400e4190]
lea r12, [rax + 1]
mov qword [0x1400e4190], r12
mov qword [rbx + 0x10], r12
jmp 0x14000c807
lock add dword [0x1400b5034], 1
je 0x14000c8d1
mov r8d, dword [0x1400b5030]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x1400b5030]
test r8d, r8d
jne 0x14000c8e0
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x14000c940
jmp 0x14000c8e0
mov rcx, qword [0x1400e41a8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000c7fa
lock sub dword [0x1400e41a0], 1
jmp 0x14000c7fa
call sym.abort
nop
nop dword [rax]
Function at 0x140015120
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x140015168
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x1400e4ca0], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x14001514e

Function at 0x1400176f0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x14001771c
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140018350
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400b7f30], 0
jne 0x140018456
mov byte [0x1400b7f30], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x14001842c
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [dbg.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x14001841d
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400b8141]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140018418
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x1400183e7
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x1400184eb
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x140018451
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x140018451
Function at 0x1400787f0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140078838
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007880a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008c450
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14008c478
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14008c4c0
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008c490
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008c4cc
call rbp
cmp dword [rax], 4
je 0x14008c490
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b3390
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b7f60]
jmp sym.__emutls_get_address

Function at 0x1400b33a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b7f60]
jmp sym.__emutls_get_address
Function at 0x140001548
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xfb8]
mov eax, 0x10b0
call fcn.140013a50
sub rsp, rax
mov rax, qword [0x1400655b0]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140007f2c
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000159b
lea ecx, [rax + 6]
jmp 0x1400016dc
call fcn.1400099e0
mov rbx, rax
call fcn.1400093a8
mov qword [rsp + 0x28], rbx
lea r8, [0x14005e148]
mov ebx, 0x400
mov dword [rsp + 0x20], 0x5c
mov edx, ebx
lea rcx, [rbp + 0x7a0]
mov r9, rax
call fcn.140009a64
mov r9d, dword [rsp + 0x30]
lea r8, [0x14005e158]
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.140009a64
and qword [rsp + 0x70], 0
lea rax, str.JavaWSSplashScreen
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rax, [0x14005e188]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x7a0]
lea rax, [rbp - 0x60]
xor ecx, ecx
mov qword [rsp + 0x60], rax
call fcn.1400092ac
mov rcx, rdi
test eax, eax
jne 0x1400016d5
xorps xmm0, xmm0
mov dword [rsp + 0x34], reloc.WSOCK32.dll_recv
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.WSOCK32.dll_accept]
cmp eax, 0xffffffff
jne 0x140001667
mov rcx, rdi
call fcn.14000919c
mov ecx, 6
jmp 0x1400016dc
xor r9d, r9d
movsxd rbx, eax
lea rdx, [rbp - 0x70]
mov rcx, rbx
lea r8d, [r9 + 6]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 6
je 0x14000169a
mov rcx, rbx
call fcn.14000919c
mov rcx, rdi
call fcn.14000919c
mov ecx, 7
jmp 0x1400016dc
lea rcx, [rbp - 0x70]
call fcn.140027320
mov dword [0x14005e140], eax
mov rcx, rbx
test eax, eax
jg 0x1400016c4
call fcn.14000919c
mov rcx, rdi
call fcn.14000919c
mov ecx, 8
jmp 0x1400016dc
call fcn.14000919c
mov rcx, rdi
call fcn.14000919c
xor eax, eax
jmp 0x1400016e1
call fcn.14000919c
xor ecx, ecx
call fcn.14000b4e0
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.140013ab0
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140007b74
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400655b0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, rcx
mov dword [rsp + 0x40], 0x1fe
xor ebx, ebx
lea rcx, [rsp + 0x48]
and qword [rsp + 0x48], rbx
lea r8, str.FORCED_FX_ROOT
xor edx, edx
xor edi, edi
call fcn.140027630
cmp qword [rsp + 0x48], rbx
je 0x140007c1a
test eax, eax
jne 0x140007c1a
lea edx, [rdi + 0x40]
lea ecx, [rdi + 1]
call fcn.140028684
lea rcx, str.2.0
mov rbx, rax
call fcn.14001a798
lea rdx, [rbx + 0x10]
mov qword [rbx + 8], rax
mov rcx, rax
call fcn.1400077c0
mov rcx, qword [rsp + 0x48]
call fcn.14001a798
mov qword [rbx], rax
mov rcx, qword [rsp + 0x48]
call fcn.14002868c
jmp 0x140007cf8
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareOracleJavaFX
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140007c4c
xor eax, eax
jmp 0x140007cfb
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rbp - 0x70]
and qword [rsp + 0x28], 0
mov edx, edi
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x140007cdb
test r14, r14
je 0x140007c95
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.14000790c
test eax, eax
je 0x140007cdb
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.1400077c0
test rbx, rbx
je 0x140007cbf
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400078a4
test eax, eax
je 0x140007cdb
mov rdx, rbx
jmp 0x140007cd2
mov edx, 0x40
lea ecx, [rdx - 0x3f]
call fcn.140028684
mov rbx, rax
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140007d60
inc edi
mov dword [rsp + 0x40], 0x1fe
test esi, esi
je 0x140007c4c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140013ab0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140007d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1160]
mov eax, 0x1260
call fcn.140013a50
sub rsp, rax
mov rax, qword [0x1400655b0]
xor rax, rsp
mov qword [rbp + 0x1150], rax
mov qword [rsp + 0x28], rcx
lea rax, [0x14005fe00]
mov rbx, rdx
mov qword [rsp + 0x20], rax
mov rdi, rcx
lea r9, [0x14005fe30]
mov edx, 0x1000
lea rcx, [rbp + 0x150]
or r8, 0xffffffffffffffff
call fcn.1400048dc
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x150]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007e34
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Path
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x140007e5a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x1150]
xor rcx, rsp
call fcn.140013ab0
lea r11, [rsp + 0x1260]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x34], 1
jne 0x140007e34
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140007e75
call fcn.14002868c
mov rcx, rdi
call fcn.14001a798
lea rdx, [rbx + 0x10]
mov qword [rbx + 8], rax
mov rcx, rax
call fcn.1400077c0
mov rcx, qword [rbx]
test rcx, rcx
je 0x140007e9a
call fcn.14002868c
lea rcx, [rsp + 0x40]
call fcn.14001a798
mov qword [rbx], rax
mov eax, 1
jmp 0x140007e36

Function at 0x140007f2c
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400655b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
movups xmmword [rsp + 0x28], xmm0
mov rdi, rcx
call fcn.1400090bc
mov ebx, 2
lea rcx, [0x14005feb0]
mov word [rsp + 0x28], bx
call qword [sym.imp.WSOCK32.dll_inet_addr]
xor r8d, r8d
lea edx, [rbx - 1]
mov ecx, ebx
mov dword [rsp + 0x2c], eax
call qword [sym.imp.WSOCK32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007ff0
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
je 0x140007fe8
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x28]
call qword [sym.imp.WSOCK32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140007fe8
mov edx, 0x7fffffff
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_listen]
cmp eax, 0xffffffff
je 0x140007fe8
movzx ecx, word [rsp + 0x2a]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx eax, ax
mov dword [rdi], eax
mov rax, rbx
jmp 0x140007ff4
mov rcx, rbx
call fcn.14000919c
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013ab0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400080d4
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400655b0]
xor rax, rsp
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
mov ebx, ecx
call fcn.1400090bc
mov edi, 2
movzx ecx, bx
mov word [rsp + 0x20], di
call qword [sym.imp.WSOCK32.dll_htons]
lea rcx, [0x14005fed0]
mov word [rsp + 0x22], ax
call qword [sym.imp.WSOCK32.dll_inet_addr]
xor r8d, r8d
lea edx, [rdi - 1]
mov ecx, edi
mov dword [rsp + 0x24], eax
call qword [sym.imp.WSOCK32.dll_socket]
or rdi, 0xffffffffffffffff
mov rbx, rax
cmp rax, rdi
jne 0x140008142
mov rax, rdi
jmp 0x140008167
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_connect]
cmp eax, edi
jne 0x140008164
mov rcx, rbx
call fcn.14000919c
jmp 0x14000813d
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140013ab0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
sub rsp, 0x28
xor r9d, r9d
mov byte [rsp + 0x38], dl
lea rdx, [rsp + 0x38]
lea r8d, [r9 + 1]
call qword [sym.imp.WSOCK32.dll_send]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret

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

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
xor ebx, ebx
mov rdi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140008335
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bx
jne 0x1400082ca
lea eax, [rax*2 + 6]
movsxd r14, eax
lea rcx, [r14 + r14]
call fcn.1400286a0
mov rsi, rax
test rax, rax
je 0x140008335
mov r9, rdi
lea r8, str._s_r_n
mov rdx, r14
mov rcx, rax
call fcn.140009a64
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], bx
jne 0x140008307
lea r8d, [rcx + rcx]
xor r9d, r9d
mov rcx, rbp
mov rdx, rsi
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
mov rcx, rsi
setne bl
call fcn.14002868c
mov eax, ebx
jmp 0x140008337
xor eax, eax
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 0x140008358
Capabilities:
Receive data
Receive data on socket

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 r12
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
lea r12, [0x140072990]
mov edi, r15d
mov r14d, r15d
mov ebx, r15d
mov esi, r15d
mov rdx, r12
mov rbp, rcx
jmp 0x1400083cf
test eax, eax
je 0x14000840c
movzx ecx, word [r12 + rdi*2]
cmp cx, 0xa
je 0x14000840c
cmp cx, 0xd
lea eax, [rbx + 1]
cmove eax, ebx
cmp eax, 0x3ff
jge 0x140008402
movsxd rbx, eax
lea rdi, [r14 + 1]
cmp cx, 0xd
mov rsi, rbx
mov rcx, rbp
cmove rdi, r14
mov r14, rdi
lea rdx, [r12 + rbx*2]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x140008393
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov word [0x14007318e], r15w
jmp 0x14000841e
lea rcx, [rsi + rsi]
cmp rcx, 0x800
jae 0x140008423
mov word [rcx + r12], r15w
mov rax, r12
jmp 0x1400083e3
call fcn.140013bd8
int3

Function at 0x1400090bc
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x1400655b0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x1400749b0], 0
jne 0x14000914c
lea rcx, str.ws2_32.dll
mov edi, 1
call fcn.14000dde8
mov rbx, rax
test rax, rax
jne 0x140009113
lea rcx, str.wsock32.dll
call fcn.14000dde8
xor edi, edi
mov rbx, rax
test rax, rax
je 0x14000916d
mov ecx, 2
lea rdx, [rsp + 0x20]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x140009180
test edi, edi
je 0x140009142
lea rdx, str.WSASendDisconnect
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400749a8], rax
mov dword [0x1400749b0], 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140013ab0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
mov ecx, reloc.WSOCK32.dll_listen
call fcn.14000b4e0
mov rcx, rax
call fcn.140008fe0
int3
mov ecx, recv
call fcn.14000b4e0
mov rcx, rax
call fcn.140008fe0
int3
Function at 0x14000a81c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xf60]
mov eax, 0x1060
call fcn.140013a50
sub rsp, rax
mov rax, qword [0x1400655b0]
xor rax, rsp
mov qword [rbp + 0xf50], rax
mov rdi, rcx
mov dword [rsp + 0x40], edx
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x400
lea rdx, [0x140061e80]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
xor r8d, r8d
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0x14000a964
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.CurrentVersion
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmovne ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, str.SoftwareJavaSoftJava_Runtime_Environment
mov edx, 0x400
test eax, eax
lea r8, [0x140061f68]
lea rax, [rsp + 0x50]
lea rcx, [rbp + 0x750]
mov qword [rsp + 0x20], rax
cmovne ebx, esi
call fcn.14000add8
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x750]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a964
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, [0x140061ef8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmovne ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
cmovne ebx, esi
mov eax, ebx
mov rcx, qword [rbp + 0xf50]
xor rcx, rsp
call fcn.140013ab0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000aa98
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
or dword [rsp + 0x68], 0xffffffff
lea rax, [rsp + 0x38]
mov rbx, r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ab00
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x68]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x68]
add rsp, 0x40
pop rbx
ret
Function at 0x14000abc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400655b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, ecx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000abff
xor eax, eax
jmp 0x14000ac3c
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000ac31
cmp dword [rsp + 0x28], esi
je 0x14000ac2d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
jmp 0x14000ac14
mov ebx, dword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140013ab0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000ac68
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x48], edx
lea rax, [rsp + 0x50]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000acde
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x14000acd8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14000ace0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret