joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140084b28
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14006d2c8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140084bb2
cmp byte [rbp - 0x21], r15b
je 0x140084bad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140084be8
call fcn.14007651c
test eax, eax
jne 0x140084bd4
cmp byte [rbp - 0x21], r15b
je 0x140084bcc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140084be8
cmp byte [rbp - 0x21], r15b
je 0x140084be5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400700d8
test eax, eax
jne 0x140084c88
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14006d2c8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140084c27
cmp byte [rbp - 0x21], r15b
je 0x140084c5c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140084c5c
call fcn.14007651c
test eax, eax
jne 0x140084c48
cmp byte [rbp - 0x21], r15b
je 0x140084c41
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140084c5c
cmp byte [rbp - 0x21], r15b
je 0x140084c59
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400700d8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140084c88
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140084c8b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140084c99
mov rcx, rdi
call fcn.140075d78
cmp byte [rbp + 0x3f], r15b
je 0x140084ca8
mov rcx, qword [rbp + 0x27]
call fcn.140075d78
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400857f0
Capabilities:
Clear file content

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
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14007a3e8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14007a3e8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140085940
cmp rax, 0xffffffffffffffff
je 0x140085940
xor edi, edi
test rbp, rbp
jle 0x1400858eb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140074f18
mov rbx, rax
test rax, rax
jne 0x140085878
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400858e1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400717cc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140075a70
cmp eax, 0xffffffff
je 0x1400858c1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140085888
mov edx, r15d
mov ecx, r14d
call fcn.1400717cc
jmp 0x1400858e1
cmp byte [rsi + 0x38], dil
je 0x1400858d8
cmp dword [rsi + 0x34], 5
jne 0x1400858d8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400858e1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140075d78
jmp 0x140085954
jns 0x140085954
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14007a3e8
cmp rax, 0xffffffffffffffff
jne 0x14008590c
cmp byte [rsi + 0x30], dil
je 0x140085954
mov edi, dword [rsi + 0x2c]
jmp 0x140085954
mov ecx, r14d
call fcn.14007e6f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140085954
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140085954
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14008594d
mov eax, dword [rsi + 0x2c]
jmp 0x140085952
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14007a3e8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400135b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014900
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014920
xor al, al
jmp 0x1400149a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014933
xor al, al
jmp 0x1400149a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001495d
xor al, al
jmp 0x1400149a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014971
xor al, al
jmp 0x1400149a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014983
xor al, al
jmp 0x1400149a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001499f
xor al, al
jmp 0x1400149a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011366
Capabilities:
Manipulate console buffer
Write file on windows

Disassembly:
jmp 0x140011ac0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x168]
mov rax, qword [0x14001e040]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1400240a6]
call fcn.1400113bb
movzx eax, word [rbp + 0x130]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x138]
mov word [rbp + 6], ax
movsxd rax, dword [0x14001e200]
lea rcx, [0x14001e970]
mov edx, dword [rbp + 4]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [rbp + 0x140]
call fcn.14001118b
movsxd rcx, dword [0x14001e200]
lea rdx, [0x14001e970]
mov qword [rbp + 0xf8], rdx
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
mov r8d, eax
mov rdx, qword [rbp + 0x140]
mov rax, qword [rbp + 0xf8]
mov rcx, qword [rax + rcx*8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rbp - 0x30]
lea rdx, [0x14001aed0]
call fcn.140011343
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x140018db0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140018e28
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140018e28
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140018e28
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140018e1c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140018e3a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140018e0a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140018e2a

Function at 0x14001a188
Capabilities:
Parse pe header

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

Function at 0x140022da0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140022b04

Function at 0x140004ed8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140006040]
test rax, rax
je 0x140004f22
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004f22
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004f22
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004f22
cmp dword [rcx + 0x84], 0xe
jbe 0x140004f22
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004f24
xor al, al
add rsp, 0x28
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.140013990
sub rsp, rax
mov rax, qword [0x140040b80]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rcx
lea rcx, [rsp + 0x34]
call fcn.140008eb4
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001263
lea ecx, [rax + 6]
jmp 0x140001381
call fcn.14000a518
mov rbx, rax
call fcn.14000b108
mov qword [rsp + 0x28], rbx
mov ebx, 0x400
lea r8, [0x140039060]
lea rcx, [rbp + 0x7a0]
mov r9, rax
mov edx, ebx
mov dword [rsp + 0x20], 0x5c
call fcn.14000a4c8
mov r9d, dword [rsp + 0x34]
lea r8, [0x140039070]
lea rcx, [rbp - 0x60]
mov edx, ebx
call fcn.14000a4c8
lea rax, [0x1400390a0]
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.14000b018
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.140013adc
mov dword [0x140039054], eax
test eax, eax
jg 0x14000136b
mov ecx, 8
jmp 0x140001381
mov rcx, rbx
call fcn.14000a268
mov rcx, rdi
call fcn.14000a268
xor eax, eax
jmp 0x140001386
xor ecx, ecx
call fcn.14000c434
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.1400130b0
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 0x140008b10
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.140013990
sub rsp, rax
mov rax, qword [0x140040b80]
xor rax, rsp
mov qword [rbp + 0x1150], rax
mov qword [rsp + 0x28], rcx
mov rdi, rcx
lea rax, [0x14003b7f8]
mov rbx, rdx
lea rcx, [rbp + 0x150]
lea r9, [0x14003b828]
or r8, 0xffffffffffffffff
mov edx, 0x1000
mov qword [rsp + 0x20], rax
call fcn.140014bd4
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 0x140008ba6
xor eax, eax
jmp 0x140008c3f
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 0x140008bed
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140008b9f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x3c], 1
jne 0x140008b9f
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140008c08
call fcn.140013ae8
mov rcx, rdi
call fcn.140013bf8
lea rdx, [rbx + 0x10]
mov rcx, rax
mov qword [rbx + 8], rax
call fcn.140008738
mov rcx, qword [rbx]
test rcx, rcx
je 0x140008c2d
call fcn.140013ae8
lea rcx, [rsp + 0x40]
call fcn.140013bf8
mov qword [rbx], rax
mov eax, 1
mov rcx, qword [rbp + 0x1150]
xor rcx, rsp
call fcn.1400130b0
lea r11, [rsp + 0x1260]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140008c70
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 [0x140040b80]
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.140014334
cmp qword [rsp + 0x48], rbx
je 0x140008d16
test eax, eax
jne 0x140008d16
lea edx, [rdi + 0x40]
lea ecx, [rdi + 1]
call fcn.140013614
lea rcx, str.2.0
mov rbx, rax
call fcn.140013bf8
lea rdx, [rbx + 0x10]
mov rcx, rax
mov qword [rbx + 8], rax
call fcn.140008738
mov rcx, qword [rsp + 0x48]
call fcn.140013bf8
mov qword [rbx], rax
mov rcx, qword [rsp + 0x48]
call fcn.140013ae8
jmp 0x140008dfb
lea rax, [rsp + 0x50]
lea rdx, [0x14003b878]
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 0x140008d48
xor eax, eax
jmp 0x140008dfe
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 0x140008dde
test r12, r12
je 0x140008d8f
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140008a88
jmp 0x140008d94
mov eax, 1
test eax, eax
je 0x140008dde
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.140008738
test rbx, rbx
je 0x140008dc2
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140008828
test eax, eax
je 0x140008dde
mov rdx, rbx
jmp 0x140008dd5
mov edx, 0x40
lea ecx, [rdx - 0x3f]
call fcn.140013614
mov rbx, rax
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140008b10
inc edi
mov dword [rsp + 0x40], 0x1fe
test esi, esi
je 0x140008d48
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.1400130b0
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 0x140008eb4
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 [0x140040b80]
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.14000a188
lea rcx, [0x14003b8a8]
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 0x140008f31
mov rax, rsi
jmp 0x140008f93
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 0x140008f53
call fcn.14000a268
jmp 0x140008f2c
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.WSOCK32.dll_getsockname]
mov rcx, rbx
cmp eax, esi
je 0x140008f4c
mov edx, 0x7fffffff
call qword [sym.imp.WSOCK32.dll_listen]
cmp eax, esi
jne 0x140008f7e
mov rcx, rbx
jmp 0x140008f4c
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.1400130b0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400090a4
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140040b80]
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.14000a188
mov edi, 2
movzx ecx, bx
mov word [rsp + 0x20], di
call qword [sym.imp.WSOCK32.dll_htons]
lea rcx, [0x14003b8c8]
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 0x140009121
mov rax, rdi
jmp 0x140009146
lea rdx, [rsp + 0x20]
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_connect]
cmp eax, edi
jne 0x140009143
mov rcx, rbx
call fcn.14000a268
jmp 0x14000911c
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400130b0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140009264
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 0x140009294
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 0x1400092be
xor eax, eax
jmp 0x14000932d
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.140013da8
mov rbp, rax
test rax, rax
je 0x1400092ba
lea r8, str._s_r_n
mov r9, rsi
mov rdx, rdi
mov rcx, rax
call fcn.14000a4c8
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.140013ae8
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 0x140009354
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, [0x14004f5c0]
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 0x1400093d3
test eax, eax
je 0x1400093c8
cmp word [rdi], 0xa
je 0x1400093c8
cmp word [rdi], 0xd
je 0x1400093b3
inc ebx
add rdi, 2
cmp ebx, 0x3ff
jl 0x140009380
mov word [0x14004fdbe], r12w
mov rax, rbp
jmp 0x1400093d5
movsxd rcx, ebx
mov word [rbp + rcx*2], r12w
jmp 0x1400093c3
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 0x14000a188
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x140040b80]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x140055e60], 0
jne 0x14000a240
lea rcx, str.ws2_32.dll
mov edi, 1
call fcn.14000dfe8
mov rbx, rax
test rax, rax
jne 0x14000a1f4
lea rcx, str.wsock32.dll
call fcn.14000dfe8
xor edi, edi
mov rbx, rax
test rax, rax
jne 0x14000a1f4
lea ecx, [rax + 0xd]
call fcn.14000c434
mov rcx, rax
call fcn.14000a0b8
int3
lea rdx, [rsp + 0x20]
mov ecx, 2
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14000a21b
mov ecx, ntohs
call fcn.14000c434
mov rcx, rax
call fcn.14000a0b8
int3
test edi, edi
je 0x14000a236
lea rdx, str.WSASendDisconnect
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140055e58], rax
mov dword [0x140055e60], 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400130b0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
Function at 0x14000a398
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x858
mov rax, qword [0x140040b80]
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 0x14000a433
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 0x14000a433
lea rdx, [rsp + 0x40]
lea rcx, str.true
call fcn.140015528
test eax, eax
je 0x14000a438
mov eax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400130b0
add rsp, 0x858
ret
Function at 0x14000a9c8
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.140013990
sub rsp, rax
mov rax, qword [0x140040b80]
xor rax, rsp
mov qword [rbp + 0xf50], rax
mov dword [rsp + 0x3c], edx
lea rax, [rsp + 0x30]
mov rdi, rcx
lea rdx, [0x14003d9a0]
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 0x14000ab10
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, [0x14003da88]
lea rcx, [rbp + 0x750]
mov edx, 0x400
mov qword [rsp + 0x20], rax
cmovne ebx, esi
call fcn.140014bb0
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 0x14000ab10
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [0x14003da18]
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.1400130b0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1060
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000ac98
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 0x14000ad00
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