joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017838
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r15d, r15d
mov rsi, rcx
mov dword [rbp + 0x30], r15d
mov ecx, r15d
mov qword [rbp + 0x40], rcx
xorps xmm0, xmm0
mov r14, r9
mov rdi, r8
mov ebx, 0xc000000d
movups xmmword [rbp - 0x10], xmm0
test r9, r9
je 0x140017876
mov qword [r9], r15
test rdi, rdi
je 0x140017989
test r14, r14
je 0x140017989
test rdx, rdx
je 0x1400178a4
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r15w
jne 0x140017891
test rax, rax
je 0x140017989
test rsi, rsi
jne 0x1400178b2
test rdx, rdx
je 0x140017999
test rdx, rdx
jne 0x1400178bd
mov qword [rbp + 0x40], rsi
jmp 0x1400178d3
lea r8, [rbp + 0x40]
mov rcx, rsi
call fcn.140017bc0
mov ebx, eax
test eax, eax
js 0x140017985
mov rdx, rdi
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rbp + 0x40]
lea rax, [rbp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x10]
mov dword [rsp + 0x20], r15d
lea r8d, [r9 + 2]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
cmp eax, 0x80000005
je 0x140017913
cmp eax, 0xc0000023
jne 0x140017985
mov eax, dword [rbp + 0x30]
mov ebx, 0xc000009a
test eax, eax
je 0x140017985
mov edx, eax
xor ecx, ecx
mov r8d, 0x746b734b
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140017985
mov r8d, dword [rbp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.140018a40
mov ecx, dword [rbp + 0x30]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x10]
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov rcx, qword [rbp + 0x40]
mov r8d, 2
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov ebx, eax
test eax, eax
js 0x140017977
mov qword [r14], rdi
jmp 0x140017985
lfence
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp + 0x40]
cmp rcx, rsi
je 0x140017999
test rcx, rcx
je 0x140017999
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140017d68
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov rbx, rcx
mov ecx, r15d
mov rbp, r9
mov qword [rax + 8], rcx
mov r14, r8
mov edi, 0xc000000d
test r8, r8
je 0x140017e2d
test r9, r9
je 0x140017e2d
mov esi, dword [rsp + 0x80]
test esi, esi
je 0x140017e2d
test rdx, rdx
je 0x140017dcd
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r15w
jne 0x140017dbe
test rax, rax
je 0x140017e2d
test rbx, rbx
jne 0x140017dd7
test rdx, rdx
je 0x140017e3d
test rdx, rdx
jne 0x140017de3
mov qword [rsp + 0x60], rbx
jmp 0x140017df6
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.140017338
mov edi, eax
test eax, eax
js 0x140017e28
mov rdx, r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x30]
mov r9d, 3
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov edi, eax
mov rcx, qword [rsp + 0x60]
cmp rcx, rbx
je 0x140017e3d
test rcx, rcx
je 0x140017e3d
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rbx, qword [rsp + 0x68]
mov eax, edi
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x140017e58
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rbx, rcx
mov ecx, ebp
mov rsi, r8
mov qword [rsp + 0x60], rcx
mov edi, 0xc000000d
test rbx, rbx
jne 0x140017e8b
test rdx, rdx
je 0x140017f0e
test rsi, rsi
je 0x140017efe
test rdx, rdx
je 0x140017ebc
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], bp
jne 0x140017e99
test rax, rax
je 0x140017efe
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.140017bc0
mov edi, eax
test eax, eax
jns 0x140017ec1
jmp 0x140017ef9
mov qword [rsp + 0x60], rbx
mov rdx, rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x78]
mov r9d, 4
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov edi, eax
mov rcx, qword [rsp + 0x60]
cmp rcx, rbx
je 0x140017f0e
test rcx, rcx
je 0x140017f0e
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rbx, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140017f20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
mov rdi, rcx
mov ecx, r12d
mov r15d, r9d
mov qword [rsp + 0x70], rcx
mov r14, r8
mov esi, 0xc000000d
test r8, r8
je 0x140017ff2
mov rbp, qword [rsp + 0x90]
test rbp, rbp
je 0x140017ff2
test rdi, rdi
jne 0x140017f77
test rdx, rdx
je 0x140018002
or rbx, 0xffffffffffffffff
test rdx, rdx
je 0x140017fa7
mov rax, rbx
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140017f83
test rax, rax
je 0x140017ff2
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.140017338
mov esi, eax
test eax, eax
jns 0x140017fac
jmp 0x140017fed
mov qword [rsp + 0x70], rdi
inc rbx
cmp word [rbp + rbx*2], r12w
jne 0x140017fac
mov rdx, r14
lea rcx, [rsp + 0x30]
lea ebx, [rbx*2 + 2]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov r9d, r15d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov esi, eax
mov rcx, qword [rsp + 0x70]
cmp rcx, rdi
je 0x140018002
test rcx, rcx
je 0x140018002
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0x40]
mov eax, esi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x1400189c4
Capabilities:
Encode data using xor

Disassembly:
mov al, 0x50
test edx, edx
je 0x1400189d9
mov edx, edx
xor byte [rcx], al
inc rcx
inc al
sub rdx, 1
jne 0x1400189cc
ret
Function at 0x140001210
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0xfb8]
mov eax, 0x10b0
call fcn.140012ea0
sub rsp, rax
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rcx
lea rcx, [rsp + 0x34]
call fcn.140008d1c
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001263
lea ecx, [rax + 6]
jmp 0x140001381
call fcn.14000a360
mov rbx, rax
call fcn.14000acc0
mov qword [rsp + 0x28], rbx
mov ebx, 0x400
lea r8, [0x140038060]
lea rcx, [rbp + 0x7a0]
mov r9, rax
mov edx, ebx
mov dword [rsp + 0x20], 0x5c
call fcn.14000a320
mov r9d, dword [rsp + 0x34]
lea r8, [0x140038070]
lea rcx, [rbp - 0x60]
mov edx, ebx
call fcn.14000a320
lea rax, [0x1400380a0]
lea r11, str.JavaWSSplashScreen
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rsi
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x7a0]
xor esi, esi
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x60], rsi
call fcn.14000a120
test eax, eax
jne 0x14000137f
xor eax, eax
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x80]
mov rcx, rdi
mov word [rbp - 0x80], si
mov dword [rsp + 0x30], reloc.WSOCK32.dll_recv
mov qword [rbp - 0x7e], rax
mov dword [rbp - 0x76], eax
mov word [rbp - 0x72], ax
call qword [sym.imp.WSOCK32.dll_accept]
cmp eax, 0xffffffff
jne 0x14000132e
lea ecx, [rsi + 6]
jmp 0x140001381
xor r9d, r9d
movsxd rbx, eax
lea rdx, [rbp - 0x70]
lea r8d, [r9 + 6]
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 6
je 0x140001351
mov ecx, 7
jmp 0x140001381
lea rcx, [rbp - 0x70]
call fcn.140012fec
mov dword [0x140038054], eax
test eax, eax
jg 0x14000136b
mov ecx, 8
jmp 0x140001381
mov rcx, rbx
call fcn.14000a0e0
mov rcx, rdi
call fcn.14000a0e0
xor eax, eax
jmp 0x140001386
xor ecx, ecx
call fcn.14000bdac
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.1400125c0
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140008978
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.140012ea0
sub rsp, rax
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rbp + 0x1150], rax
mov qword [rsp + 0x28], rcx
mov rdi, rcx
lea rax, [0x14003a6a8]
mov rbx, rdx
lea rcx, [rbp + 0x150]
lea r9, [0x14003a6d8]
or r8, 0xffffffffffffffff
mov edx, 0x1000
mov qword [rsp + 0x20], rax
call fcn.140013cd0
lea r11, [rsp + 0x30]
lea rdx, [rbp + 0x150]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140008a0e
xor eax, eax
jmp 0x140008aa7
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.Path
xor r8d, r8d
mov dword [rsp + 0x38], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140008a55
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140008a07
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x3c], 1
jne 0x140008a07
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140008a70
call fcn.140012ff8
mov rcx, rdi
call fcn.140013038
lea rdx, [rbx + 0x10]
mov rcx, rax
mov qword [rbx + 8], rax
call fcn.1400085a0
mov rcx, qword [rbx]
test rcx, rcx
je 0x140008a95
call fcn.140012ff8
lea rcx, [rsp + 0x40]
call fcn.140013038
mov qword [rbx], rax
mov eax, 1
mov rcx, qword [rbp + 0x1150]
xor rcx, rsp
call fcn.1400125c0
lea r11, [rsp + 0x1260]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140008ad8
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r12, rcx
lea r8, str.FORCED_FX_ROOT
lea rcx, [rsp + 0x48]
xor ebx, ebx
xor edx, edx
xor edi, edi
and qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 0x1fe
call fcn.140013430
cmp qword [rsp + 0x48], rbx
je 0x140008b7e
test eax, eax
jne 0x140008b7e
lea edx, [rdi + 0x40]
lea ecx, [rdi + 1]
call fcn.140012b24
lea rcx, str.2.0
mov rbx, rax
call fcn.140013038
lea rdx, [rbx + 0x10]
mov rcx, rax
mov qword [rbx + 8], rax
call fcn.1400085a0
mov rcx, qword [rsp + 0x48]
call fcn.140013038
mov qword [rbx], rax
mov rcx, qword [rsp + 0x48]
call fcn.140012ff8
jmp 0x140008c63
lea rax, [rsp + 0x50]
lea rdx, [0x14003a728]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140008bb0
xor eax, eax
jmp 0x140008c66
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x70]
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x140008c46
test r12, r12
je 0x140008bf7
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.1400088f0
jmp 0x140008bfc
mov eax, 1
test eax, eax
je 0x140008c46
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.1400085a0
test rbx, rbx
je 0x140008c2a
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140008690
test eax, eax
je 0x140008c46
mov rdx, rbx
jmp 0x140008c3d
mov edx, 0x40
lea ecx, [rdx - 0x3f]
call fcn.140012b24
mov rbx, rax
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140008978
inc edi
mov dword [rsp + 0x40], 0x1fe
test esi, esi
je 0x140008bb0
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.1400125c0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x140008d1c
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov rdi, rcx
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
mov word [rsp + 0x28], ax
mov qword [rsp + 0x2a], rax
mov dword [rsp + 0x32], eax
mov word [rsp + 0x36], ax
call fcn.14000a000
lea rcx, [0x14003a758]
mov ebx, 2
mov word [rsp + 0x28], bx
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea edx, [rbx - 1]
xor r8d, r8d
mov ecx, ebx
mov dword [rsp + 0x2c], eax
call qword [sym.imp.WSOCK32.dll_socket]
or rsi, 0xffffffffffffffff
mov rbx, rax
cmp rax, rsi
jne 0x140008d99
mov rax, rsi
jmp 0x140008dfb
lea rdx, [rsp + 0x28]
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_bind]
mov rcx, rbx
cmp eax, esi
jne 0x140008dbb
call fcn.14000a0e0
jmp 0x140008d94
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.WSOCK32.dll_getsockname]
mov rcx, rbx
cmp eax, esi
je 0x140008db4
mov edx, 0x7fffffff
call qword [sym.imp.WSOCK32.dll_listen]
cmp eax, esi
jne 0x140008de6
mov rcx, rbx
jmp 0x140008db4
movzx ecx, word [rsp + 0x2a]
call qword [sym.imp.WSOCK32.dll_ntohs]
movzx r11d, ax
mov rax, rbx
mov dword [rdi], r11d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400125c0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140008f0c
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor eax, eax
mov ebx, ecx
mov word [rsp + 0x20], ax
mov qword [rsp + 0x22], rax
mov dword [rsp + 0x2a], eax
mov word [rsp + 0x2e], ax
call fcn.14000a000
mov edi, 2
movzx ecx, bx
mov word [rsp + 0x20], di
call qword [sym.imp.WSOCK32.dll_htons]
lea rcx, [0x14003a778]
mov word [rsp + 0x22], ax
call qword [sym.imp.WSOCK32.dll_inet_addr]
lea edx, [rdi - 1]
xor r8d, r8d
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 0x140008f89
mov rax, rdi
jmp 0x140008fae
lea rdx, [rsp + 0x20]
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_connect]
cmp eax, edi
jne 0x140008fab
mov rcx, rbx
call fcn.14000a0e0
jmp 0x140008f84
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400125c0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400090cc
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 0x1400090fc
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 r12
sub rsp, 0x20
xor ebx, ebx
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x140009126
xor eax, eax
jmp 0x140009195
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx + 4]
movsxd rdi, eax
lea rcx, [rdi + rdi]
call fcn.1400131e8
mov rbp, rax
test rax, rax
je 0x140009122
lea r8, str._s_r_n
mov r9, rsi
mov rdx, rdi
mov rcx, rax
call fcn.14000a320
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
xor r9d, r9d
mov rdx, rbp
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx + rcx - 2]
mov rcx, r12
call qword [sym.imp.WSOCK32.dll_send]
mov rcx, rbp
cmp eax, 0xffffffff
setne bl
call fcn.140012ff8
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x1400091bc
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
sub rsp, 0x20
lea rbp, [0x14004dfd0]
xor r12d, r12d
mov rsi, rcx
mov rdi, rbp
mov ebx, r12d
movsxd rax, ebx
xor r9d, r9d
mov rcx, rsi
lea rdx, [rbp + rax*2]
lea r8d, [r9 + 2]
call qword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x14000923b
test eax, eax
je 0x140009230
cmp word [rdi], 0xa
je 0x140009230
cmp word [rdi], 0xd
je 0x14000921b
inc ebx
add rdi, 2
cmp ebx, 0x3ff
jl 0x1400091e8
mov word [0x14004e7ce], r12w
mov rax, rbp
jmp 0x14000923d
movsxd rcx, ebx
mov word [rbp + rcx*2], r12w
jmp 0x14000922b
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 r12
ret

Function at 0x14000a000
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x140053870], 0
jne 0x14000a0b8
lea rcx, str.ws2_32.dll
mov edi, 1
call fcn.14000d6b0
mov rbx, rax
test rax, rax
jne 0x14000a06c
lea rcx, str.wsock32.dll
call fcn.14000d6b0
xor edi, edi
mov rbx, rax
test rax, rax
jne 0x14000a06c
lea ecx, [rax + 0xd]
call fcn.14000bdac
mov rcx, rax
call fcn.140009f30
int3
lea rdx, [rsp + 0x20]
mov ecx, 2
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14000a093
mov ecx, ntohs
call fcn.14000bdac
mov rcx, rax
call fcn.140009f30
int3
test edi, edi
je 0x14000a0ae
lea rdx, str.WSASendDisconnect
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053868], rax
mov dword [0x140053870], 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400125c0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
Function at 0x14000a1f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x858
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rsp + 0x840], rax
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareOracleJavaFX
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a28b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.Disabled
xor r8d, r8d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x800
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000a28b
lea rdx, [rsp + 0x40]
lea rcx, str.true
call fcn.1400146f4
test eax, eax
je 0x14000a290
mov eax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400125c0
add rsp, 0x858
ret
Function at 0x14000a800
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.140012ea0
sub rsp, rax
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rbp + 0xf50], rax
mov dword [rsp + 0x3c], edx
lea rax, [rsp + 0x30]
mov rdi, rcx
lea rdx, [0x14003c7c0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x400
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0x14000a948
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.CurrentVersion
xor r8d, r8d
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
test eax, eax
lea rax, [rsp + 0x50]
lea r8, [0x14003c8a8]
lea rcx, [rbp + 0x750]
mov edx, 0x400
mov qword [rsp + 0x20], rax
cmovne ebx, esi
call fcn.140013cac
lea r11, [rsp + 0x30]
lea rdx, [rbp + 0x750]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a948
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [0x14003c838]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
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.1400125c0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000aad0
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 r9d, 0x20019
xor r8d, r8d
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ab38
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
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 0x14000ba0c
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x14003f930]
xor rax, rsp
mov qword [rbp + 0x3f], rax
and dword [rbp - 0x49], 0
mov rdi, rdx
xor edx, edx
mov ebx, ecx
lea rcx, [rbp - 0x41]
lea r8d, [rdx + 0x40]
call fcn.140012f00
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rbp - 0x59]
mov rsi, rax
call fcn.140008d1c
mov qword [0x140054088], rax
cmp rax, 0xffffffffffffffff
jne 0x14000ba78
lea ecx, [rax + 6]
call fcn.14000bdac
mov rcx, rax
call fcn.14000b89c
int3
test ebx, ebx
jg 0x14000ba8f
mov ecx, reloc.WSOCK32.dll_send
call fcn.14000bdac
mov rcx, rax
call fcn.14000b89c
int3
mov ecx, ebx
call fcn.140008f0c
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000bab0
lea ecx, [rax + 0x12]
call fcn.14000bdac
mov rcx, rax
call fcn.14000b89c
int3
mov eax, dword [rbp - 0x59]
or r8, 0xffffffffffffffff
lea r9, [0x14003cb0c]
lea edx, [r8 + 7]
lea rcx, [rbp + 0x37]
mov dword [rsp + 0x20], eax
call fcn.140016714
xor r9d, r9d
lea rdx, [rbp + 0x37]
lea r8d, [r9 + 6]
mov rcx, rbx
call qword [sym.imp.WSOCK32.dll_send]
cmp eax, 6
je 0x14000bafb
mov ecx, socket
call fcn.14000bdac
mov rcx, rax
call fcn.14000b89c
int3
mov rcx, rbx
call fcn.14000a0e0
test rdi, rdi
je 0x14000bc1b
and dword [rbp - 0x49], 0
lea rax, [0x14000b92c]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x41], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x19], 6
mov qword [rbp - 0x21], rax
lea rax, [0x14003cb88]
mov qword [rbp - 9], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
and qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rsi
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov eax, 0x80000000
lea r8, str.Win32Splash
lea rdx, str.SplashDummy
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov r9d, 0xcf0000
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r9, [0x14000b90c]
xor edx, edx
mov rcx, rax
mov r8d, 0x4e20
mov rbx, rax
call qword [sym.imp.USER32.dll_SetTimer]
test rax, rax
jne 0x14000bbc6
lea ecx, [rax + 0x15]
call fcn.14000bdac
mov rcx, rax
call fcn.14000b89c
int3
call fcn.14000b79c
mov rcx, rdi
call fcn.14000b7dc
mov rcx, qword [0x140054088]
mov r9d, 8
mov r8d, 0x401
mov rdx, rbx
call qword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
jmp 0x14000bc05
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp + 7]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x14000bbf1
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400125c0
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret