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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
lea r8, [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
xor r15d, r15d
mov edx, 0x4004667f
mov dword [rsp + 0x54], r15d
mov esi, 0x2000
call qword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x140006aa4
mov eax, dword [rsp + 0x50]
cmp eax, esi
cmovg esi, eax
cmp dword [rdi + 0x58], r15d
jne 0x140006a27
mov ebx, dword [rdi + 0x68]
add eax, ebx
test eax, eax
jle 0x140006a21
mov rcx, qword [rdi + 0x60]
mov edx, ebx
add edx, esi
mov rax, 0xffffffffffffffff
cmovb rdx, rax
call fcn.14000b1d4
mov qword [rdi + 0x60], rax
test rax, rax
je 0x140006aa4
mov rax, qword [rdi + 0x60]
jmp 0x140006a4d
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x140006a39
call fcn.14000b3b4
mov qword [rdi + 0x60], r15
movsxd rcx, esi
call fcn.14000b3c8
mov qword [rdi + 0x60], rax
test rax, rax
je 0x140006aa4
mov ebx, r15d
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0x58]
movsxd rcx, ebx
lea rdx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x54]
mov rcx, qword [rdi + 0x30]
mov r8d, 1
mov dword [rdi + 0x58], r15d
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x140006acd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140006b4f
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140007140
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
add ebx, dword [rsp + 0x58]
mov rsi, qword [rdi + 0x60]
mov dword [rdi + 0x68], r15d
test ebx, ebx
jle 0x140006b4f
nop dword [rax]
cmp ebx, 0x10
jb 0x140006b39
mov ebp, dword [rsi + 4]
mov r14d, ebx
add ebp, 0x10
sub r14d, ebp
js 0x140006b39
cmp dword [rsi], 0x7a3e59fc
jne 0x140006b0c
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x28]
cmp eax, 2
je 0x140006aa4
mov ebx, r14d
test r14d, r14d
je 0x140006b28
movsxd rax, ebp
add rsi, rax
test ebx, ebx
jg 0x140006ae0
mov eax, 1
jmp 0x140006aa6
mov dword [rdi + 0x58], 1
mov eax, 1
jmp 0x140006aa6
mov rcx, qword [rdi + 0x60]
mov rdx, rsi
movsxd r8, ebx
mov dword [rdi + 0x58], r15d
mov dword [rdi + 0x68], ebx
call fcn.14000ab00
mov eax, 1
jmp 0x140006aa6

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov esi, dword [rdx + 4]
mov rdi, rcx
add esi, 0x10
mov rbp, rdx
movsxd r14, esi
mov rcx, r14
call fcn.14000745c
mov qword [rsp + 0x40], rax
mov rbx, rax
test rax, rax
je 0x140006c1f
xor eax, eax
jmp 0x140006c82
Function at 0x14000d5a8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000d43b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d43b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d43b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d43b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d43b
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d43b
cmp dword [rcx + 0xf8], 0
je 0x14000d43b
mov ecx, ebx
call fcn.14000d4dc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000d2cc
cmp dword [rbp + 0x20], 0
je 0x14000d488
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000d490
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000d3d4
Function at 0x14000f158
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400b04c8]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r12d, r12d
lea rax, [rsp + 0x30]
mov qword [rdx], r12
lea r8, [rsp + 0x30]
mov r14d, r12d
sub rcx, rax
mov r15, rdx
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x14000f1cd
movzx eax, word [rcx + r8]
test ax, ax
je 0x14000f1cd
mov word [r8], ax
add r8, 2
sub r9, 1
jne 0x14000f1a9
lea rax, [r8 - 2]
test r9, r9
lea rcx, [rsp + 0x30]
cmovne rax, r8
lea r8, [0x1400856d0]
mov word [rax], r12w
call fcn.14000716c
mov edi, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14000f23c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14000f331
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.140008a4c
mov esi, eax
jmp 0x14000f315
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r12d
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.140008ff8
mov esi, eax
test eax, eax
jns 0x14000f27a
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.140008a10
mov rcx, rbx
call fcn.140008b24
jmp 0x14000f315
lea r8, [0x1400856d8]
lea rcx, [rsp + 0x30]
call fcn.14000716c
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14000f2bd
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.140008a4c
mov esi, eax
jmp 0x14000f26d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140008ff8
mov esi, eax
test eax, eax
jns 0x14000f2f1
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xd7
call fcn.140008a10
mov rcx, rdi
call fcn.140008b24
jmp 0x14000f26d
mov rcx, rdi
call fcn.140008b24
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140008b24
mov esi, r12d
test esi, esi
jns 0x14000f331
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, 0x62
call fcn.140008a10
mov eax, esi
jmp 0x14000f336
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140064c10
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14002a2bc
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400b04c8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14000458c
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000607c
xor ebx, ebx
test al, al
je 0x14002a359
lea rdi, [rsi + 8]
test rdi, rdi
je 0x14002a359
cmp byte [rsi + 0x4c], bl
je 0x14002a359
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
nop dword [rax + rax]
test eax, eax
je 0x14002a359
cmp byte [rsp + 0x6c], bl
je 0x14002a359
lea rcx, [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
nop dword [rax + rax]
test eax, eax
je 0x14002a359
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
setne bl
lea rcx, [rsp + 0x20]
call fcn.140004848
mov al, bl
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140064c10
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14002a48c
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400b04c8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x220
mov r9d, 0x20
lea r8d, [r9 - 0x1e]
lea rdx, [0x1400850e0]
lea rcx, [rsp + 0x40]
call fcn.14000467c
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x14002a4fc
cmp dword [rsp + 0x34], 0
setne bl
xor dil, dil
jmp 0x14002a503
mov dil, 1
mov bl, byte [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140004848
test dil, dil
je 0x14002a516
xor al, al
jmp 0x14002a51c
mov al, bl
jmp 0x14002a51c
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140064c10
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret

Function at 0x14002a6ec
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdi, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.140036b90
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
mov r8d, eax
test eax, eax
je 0x14002a7a5
mov rcx, qword [rbp - 0x18]
mov rax, rcx
mov rdx, qword [rbp - 0x20]
sub rax, rdx
sar rax, 1
cmp r8, rax
jbe 0x14002a785
mov edx, r8d
lea rcx, [rbp - 0x20]
call fcn.140036b90
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
sub rdx, rcx
sar rdx, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
mov r8d, eax
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x20]
test r8d, r8d
je 0x14002a7a5
sub rcx, rdx
sar rcx, 1
mov eax, r8d
cmp rax, rcx
ja 0x14002a7a5
mov rcx, rdi
call fcn.1400038e4
nop
mov bl, 1
jmp 0x14002a7a5
lea rcx, [rbp - 0x20]
call fcn.14001e814
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
Function at 0x14003f6f4
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400b04c8]
xor rax, rsp
mov qword [rbp + 0x80], rax
cmp dword [0x1400b1600], 0
je 0x14003f72a
mov eax, dword [0x1400b15fc]
jmp 0x14003f7b1
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop dword [rax + rax]
movzx eax, word [rsp + 0x30]
mov r9b, byte [rbp + 0x7a]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x70]
mov word [rsp + 0x28], ax
movzx eax, word [rbp + 0x78]
mov word [rsp + 0x20], ax
call fcn.14003f7d0
mov dword [0x1400b15fc], eax
mov dword [0x1400b1600], 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140064c10
add rsp, 0x190
pop rbp
ret

Function at 0x1400408a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r15, r8
mov rsi, rdx
mov r14, rcx
and dword [rbp + 0x48], 0
and dword [rbp + 0x38], 0
cmp qword [rdx + 0x18], 8
jb 0x1400408d6
mov rdx, qword [rdx]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400409dd
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x1400409d8
mov eax, dword [rbp + 0x48]
dec eax
cmp eax, 1
ja 0x1400409d8
lea rbx, [rcx + 2]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140040c08
mov r8, rbx
xor edx, edx
mov rdi, qword [rbp - 0x20]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rdi + rbx]
mov qword [rbp - 0x18], rax
cmp qword [rsi + 0x18], 8
jb 0x140040959
mov rsi, qword [rsi]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x48]
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140040992
mov rdx, rdi
mov rcx, r15
call fcn.1400038e4
nop
test rdi, rdi
je 0x1400409d4
mov rdx, qword [rbp - 0x10]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400409cc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400409cc
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
mov rcx, rdi
call fcn.140064f38
mov eax, ebx
jmp 0x1400409dd
mov eax, 0x65e
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400627e0
Capabilities:
Query environment variable

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, 0x50
mov r14, rdx
mov rdi, rcx
mov rdx, rcx
mov rcx, r14
call fcn.140036d08
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140062817
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 1
lea r9, [0x14008b0fc]
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140042260
cmp rax, 0xffffffffffffffff
jne 0x140062840
mov al, 1
jmp 0x1400628ea
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14006284d
mov rcx, qword [rdi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov ebp, eax
xor esi, esi
test eax, eax
je 0x1400628ea
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
test eax, eax
je 0x1400628ac
mov rdx, rbp
call fcn.140003964
mov rsi, rax
mov qword [rsp + 0x30], rax
lea r8, [rbp*2]
lea rbx, [r8 + rax]
mov qword [rsp + 0x40], rbx
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rsp + 0x38], rbx
cmp qword [rdi + 0x18], 8
jb 0x1400628b6
mov rdi, qword [rdi]
mov r8d, ebp
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
cmp ebp, eax
sete bl
jne 0x1400628de
mov rdx, rsi
mov rcx, r14
call fcn.1400038e4
nop
lea rcx, [rsp + 0x30]
call fcn.14001e814
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x14006472c
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rbx, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
je 0x140064774
lea edi, [rsi + 0xd]
jmp 0x14006482f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xea
jne 0x14006482f
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
mov r8, qword [rbp - 0x18]
mov rcx, r8
mov rdi, qword [rbp - 0x20]
sub rcx, rdi
sar rcx, 1
cmp rdx, rcx
jae 0x1400647b4
lea rax, [rdi + rdx*2]
mov qword [rbp - 0x18], rax
jmp 0x1400647f5
jbe 0x1400647f5
mov rax, qword [rbp - 0x10]
sub rax, rdi
sar rax, 1
cmp rdx, rax
jbe 0x1400647d8
lea r8, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140040de4
mov rdi, qword [rbp - 0x20]
jmp 0x1400647f5
sub rdx, rcx
je 0x1400647f1
movzx eax, si
mov rdi, r8
mov rcx, rdx
rep stosw word [rdi], ax
lea r8, [r8 + rdx*2]
mov rdi, qword [rbp - 0x20]
mov qword [rbp - 0x18], r8
lea r8, [rbp + 0x30]
mov rdx, rdi
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x140064821
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14006482f
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.1400038e4
mov edi, esi
lea rcx, [rbp - 0x20]
call fcn.14001e814
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x140065290
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400b1340], eax
call fcn.140065730
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400b1340], 0
jne case.default.0x1400652e6
mov ecx, 1
call fcn.140065730
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
invalid
scasd eax, dword [rdi]
sbb eax, 0x331fe6fa
rol byte [edi], cl
jne 0x14011b708
invalid
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.1400132c0
sub rsp, rax
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140007e94
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000159b
lea ecx, [rax + 6]
jmp 0x1400016e0
call fcn.140009964
mov rbx, rax
call fcn.140009330
mov qword [rsp + 0x28], rbx
lea r8, [0x14005a148]
mov ebx, 0x400
mov dword [rsp + 0x20], 0x5c
mov edx, ebx
lea rcx, [rbp + 0x7a0]
mov r9, rax
call fcn.1400099e8
mov r9d, dword [rsp + 0x30]
lea r8, [0x14005a158]
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.1400099e8
and qword [rsp + 0x70], 0
lea rax, str.JavaWSSplashScreen
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rax, [0x14005a188]
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.140009240
mov rcx, rdi
test eax, eax
jne 0x1400016d9
xor eax, eax
mov dword [rsp + 0x34], reloc.WSOCK32.dll_recv
lea r8, [rsp + 0x34]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rax
call qword [sym.imp.WSOCK32.dll_accept]
cmp eax, 0xffffffff
jne 0x14000166b
mov rcx, rdi
call fcn.140009130
mov ecx, 6
jmp 0x1400016e0
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 0x14000169e
mov rcx, rbx
call fcn.140009130
mov rcx, rdi
call fcn.140009130
mov ecx, 7
jmp 0x1400016e0
lea rcx, [rbp - 0x70]
call fcn.140024854
mov dword [0x14005a140], eax
mov rcx, rbx
test eax, eax
jg 0x1400016c8
call fcn.140009130
mov rcx, rdi
call fcn.140009130
mov ecx, 8
jmp 0x1400016e0
call fcn.140009130
mov rcx, rdi
call fcn.140009130
xor eax, eax
jmp 0x1400016e5
call fcn.140009130
xor ecx, ecx
call fcn.14000b44c
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.140013330
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 0x140007ad4
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 [0x140061568]
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.140024bf0
cmp qword [rsp + 0x48], rbx
je 0x140007b7a
test eax, eax
jne 0x140007b7a
lea edx, [rdi + 0x40]
lea ecx, [rdi + 1]
call fcn.140025c88
lea rcx, str.2.0
mov rbx, rax
call fcn.140017c3c
lea rdx, [rbx + 0x10]
mov qword [rbx + 8], rax
mov rcx, rax
call fcn.140007720
mov rcx, qword [rsp + 0x48]
call fcn.140017c3c
mov qword [rbx], rax
mov rcx, qword [rsp + 0x48]
call fcn.140025c90
jmp 0x140007c5f
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 0x140007bac
xor eax, eax
jmp 0x140007c62
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 0x140007c42
test r14, r14
je 0x140007bf3
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.14000786c
jmp 0x140007bf8
mov eax, 1
test eax, eax
je 0x140007c42
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.140007720
test rbx, rbx
je 0x140007c26
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140007804
test eax, eax
je 0x140007c42
mov rdx, rbx
jmp 0x140007c39
mov edx, 0x40
lea ecx, [rdx - 0x3f]
call fcn.140025c88
mov rbx, rax
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140007cc8
inc edi
mov dword [rsp + 0x40], 0x1fe
test esi, esi
je 0x140007bac
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.140013330
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 0x140007cc8
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.1400132c0
sub rsp, rax
mov rax, qword [0x140061568]
xor rax, rsp
mov qword [rbp + 0x1150], rax
mov qword [rsp + 0x28], rcx
lea rax, [0x14005bdb0]
mov rbx, rdx
mov qword [rsp + 0x20], rax
mov rdi, rcx
lea r9, [0x14005bde0]
mov edx, 0x1000
lea rcx, [rbp + 0x150]
or r8, 0xffffffffffffffff
call fcn.140004898
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 0x140007d9c
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 0x140007dc2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x1150]
xor rcx, rsp
call fcn.140013330
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 0x140007d9c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140007ddd
call fcn.140025c90
mov rcx, rdi
call fcn.140017c3c
lea rdx, [rbx + 0x10]
mov qword [rbx + 8], rax
mov rcx, rax
call fcn.140007720
mov rcx, qword [rbx]
test rcx, rcx
je 0x140007e02
call fcn.140025c90
lea rcx, [rsp + 0x40]
call fcn.140017c3c
mov qword [rbx], rax
mov eax, 1
jmp 0x140007d9e

Function at 0x140007e94
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 [0x140061568]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
mov qword [rsp + 0x28], rax
mov rdi, rcx
mov qword [rsp + 0x30], rax
call fcn.140009050
mov ebx, 2
lea rcx, [0x14005be60]
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 0x140007f5c
mov r8d, reloc.WSOCK32.dll_recv
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
je 0x140007f54
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x28]
call qword [sym.imp.WSOCK32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140007f54
mov edx, 0x7fffffff
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_listen]
cmp eax, 0xffffffff
je 0x140007f54
movzx ecx, word [rsp + 0x2a]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx eax, ax
mov dword [rdi], eax
mov rax, rbx
jmp 0x140007f60
mov rcx, rbx
call fcn.140009130
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013330
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret