joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400249e0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xa0
mov rsi, rcx
movups xmm0, xmmword [0x1400db450]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140024a4c
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140024a80
test eax, eax
js 0x140024a60
mov rdx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0xa0
pop rsi
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x70]
call fcn.140024320
mov rcx, rax
call fcn.140021550
mov ecx, 7
int 0x29
ud2

Function at 0x140025dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
movzx r9d, byte [rdx + 0x38]
cmp r9b, 1
jbe 0x140025dd5
xor eax, eax
xor r8d, r8d
jmp case.0x140025fb1.6
movzx eax, byte [rdx + 0x3a]
test al, 1
jne case.0x140005f2e.100
movzx r8d, byte [rdx + 0x10]
lea r10d, [r8 - 5]
push rax
sti
Function at 0x140030680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
movabs r14, 0x8000000000000000
lea rcx, [rsp + 0x40]
call fcn.140026360
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rcx, rax
neg rcx
jo 0x1400306e6
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.1400307a0
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
cmp rbx, r14
jne 0x14003074d
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x14003073e
mov rbx, qword [rdi - 1]
mov r15, qword [rdi + 7]
mov rax, qword [r15]
test rax, rax
je 0x140030705
mov rcx, rbx
call rax
dec rdi
cmp qword [r15 + 8], 0
je 0x14003072c
cmp qword [r15 + 0x10], 0x11
jb 0x14003071a
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi], r14
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov r15, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003076d
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
jmp 0x140030741
mov qword [rsi], r14
test rbx, rbx
je 0x140030741
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
Function at 0x140032140
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rbx, r8
mov r14, rdx
mov rdi, rcx
movzx eax, byte [0x1400e89f0]
mov edx, 0x10
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x140032214
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140032360]
xor ebx, ebx
xor ecx, ecx
mov rdx, rdi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140032207
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, qword [rbx]
test rax, rax
je 0x1400321bc
mov rcx, rdi
call rax
cmp qword [rbx + 8], 0
je 0x1400321e0
cmp qword [rbx + 0x10], 0x11
jb 0x1400321ce
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov ebx, 1
mov rax, rbx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2
Function at 0x1400394f0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi

Function at 0x14003a7d0
Capabilities:
Get memory capacity

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rsi, rcx
mov eax, dword [0x1400e89f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x68], 0
je 0x14003a826
mov eax, dword [0x1400e89f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rbx, qword [rax + 0x70]
mov r14, qword [rax + 0x78]
jmp 0x14003a875
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x90]
mov edx, 0x10
call qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov rbx, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov eax, dword [0x1400e89f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x68], 1
mov qword [rax + 0x78], r14
lea rax, [rbx + 1]
mov ecx, dword [0x1400e89f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov qword [rcx + 0x70], rax
movzx eax, byte [0x1400e89f0]
mov edx, 0x58410
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14003aa92
mov rdi, rax
add rdi, 0x58000
mov r8d, 0x410
mov rcx, rdi
mov dl, 0xff
call fcn.140040240
xorps xmm6, xmm6
movups xmmword [rsp + 0x100], xmm6
movups xmmword [rsp + 0x110], xmm6
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 8
mov qword [rsp + 0xa0], 0
movabs rax, 0x8000000000000000
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xc0], 0
mov byte [rsp + 0xc8], 0
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], 0x3ff
mov qword [rsp + 0xe0], 0x380
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], r14
mov qword [rsp + 0x120], 0
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x14003a99e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.KERNEL32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x14003aa39
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsp + 0x110], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsp + 0x118], rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
mov dl, 1
call fcn.1400340c0
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140034550
mov r8d, 0xd0
mov rcx, rsi
mov rdx, rdi
call fcn.14003fb90
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rdi
pop rsi
pop r14
ret
ud2
Function at 0x14003aaa0
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x14003aae7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.KERNEL32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x14003ab7c
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0x80], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0x88], rax
mov rcx, rsi
mov dl, 1
call fcn.1400340c0
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140034550
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rsi
ret

Function at 0x140040604
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14004074c
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.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rcx
lea rcx, [rsp + 0x34]
call fcn.14000921c
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001263
lea ecx, [rax + 6]
jmp 0x140001381
call fcn.14000a880
mov rbx, rax
call fcn.14000b540
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.14000a830
mov r9d, dword [rsp + 0x34]
lea r8, [0x140039070]
lea rcx, [rbp - 0x60]
mov edx, ebx
call fcn.14000a830
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.14000b450
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.140013d2c
mov dword [0x140039054], eax
test eax, eax
jg 0x14000136b
mov ecx, 8
jmp 0x140001381
mov rcx, rbx
call fcn.14000a5d0
mov rcx, rdi
call fcn.14000a5d0
xor eax, eax
jmp 0x140001386
xor ecx, ecx
call fcn.14000c82c
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.140013300
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 0x140008e78
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.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rbp + 0x1150], rax
mov qword [rsp + 0x28], rcx
mov rdi, rcx
lea rax, [0x14003b828]
mov rbx, rdx
lea rcx, [rbp + 0x150]
lea r9, [0x14003b858]
or r8, 0xffffffffffffffff
mov edx, 0x1000
mov qword [rsp + 0x20], rax
call fcn.140014e24
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 0x140008f0e
xor eax, eax
jmp 0x140008fa7
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 0x140008f55
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140008f07
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x3c], 1
jne 0x140008f07
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140008f70
call fcn.140013d38
mov rcx, rdi
call fcn.140013e48
lea rdx, [rbx + 0x10]
mov rcx, rax
mov qword [rbx + 8], rax
call fcn.140008aa0
mov rcx, qword [rbx]
test rcx, rcx
je 0x140008f95
call fcn.140013d38
lea rcx, [rsp + 0x40]
call fcn.140013e48
mov qword [rbx], rax
mov eax, 1
mov rcx, qword [rbp + 0x1150]
xor rcx, rsp
call fcn.140013300
lea r11, [rsp + 0x1260]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140008fd8
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 [0x140040bb0]
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.140014584
cmp qword [rsp + 0x48], rbx
je 0x14000907e
test eax, eax
jne 0x14000907e
lea edx, [rdi + 0x40]
lea ecx, [rdi + 1]
call fcn.140013864
lea rcx, str.2.0
mov rbx, rax
call fcn.140013e48
lea rdx, [rbx + 0x10]
mov rcx, rax
mov qword [rbx + 8], rax
call fcn.140008aa0
mov rcx, qword [rsp + 0x48]
call fcn.140013e48
mov qword [rbx], rax
mov rcx, qword [rsp + 0x48]
call fcn.140013d38
jmp 0x140009163
lea rax, [rsp + 0x50]
lea rdx, [0x14003b8a8]
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 0x1400090b0
xor eax, eax
jmp 0x140009166
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 0x140009146
test r12, r12
je 0x1400090f7
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140008df0
jmp 0x1400090fc
mov eax, 1
test eax, eax
je 0x140009146
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.140008aa0
test rbx, rbx
je 0x14000912a
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140008b90
test eax, eax
je 0x140009146
mov rdx, rbx
jmp 0x14000913d
mov edx, 0x40
lea ecx, [rdx - 0x3f]
call fcn.140013864
mov rbx, rax
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140008e78
inc edi
mov dword [rsp + 0x40], 0x1fe
test esi, esi
je 0x1400090b0
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.140013300
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 0x14000921c
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 [0x140040bb0]
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.14000a4f0
lea rcx, [0x14003b8d8]
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 0x140009299
mov rax, rsi
jmp 0x1400092fb
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 0x1400092bb
call fcn.14000a5d0
jmp 0x140009294
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.WSOCK32.dll_getsockname]
mov rcx, rbx
cmp eax, esi
je 0x1400092b4
mov edx, 0x7fffffff
call qword [sym.imp.WSOCK32.dll_listen]
cmp eax, esi
jne 0x1400092e6
mov rcx, rbx
jmp 0x1400092b4
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.140013300
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000940c
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140040bb0]
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.14000a4f0
mov edi, 2
movzx ecx, bx
mov word [rsp + 0x20], di
call qword [sym.imp.WSOCK32.dll_htons]
lea rcx, [0x14003b8f8]
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 0x140009489
mov rax, rdi
jmp 0x1400094ae
lea rdx, [rsp + 0x20]
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, rax
call qword [sym.imp.WSOCK32.dll_connect]
cmp eax, edi
jne 0x1400094ab
mov rcx, rbx
call fcn.14000a5d0
jmp 0x140009484
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140013300
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400095cc
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 0x1400095fc
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 0x140009626
xor eax, eax
jmp 0x140009695
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.140013ff8
mov rbp, rax
test rax, rax
je 0x140009622
lea r8, str._s_r_n
mov r9, rsi
mov rdx, rdi
mov rcx, rax
call fcn.14000a830
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.140013d38
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 0x1400096bc
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, [0x14004f600]
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 0x14000973b
test eax, eax
je 0x140009730
cmp word [rdi], 0xa
je 0x140009730
cmp word [rdi], 0xd
je 0x14000971b
inc ebx
add rdi, 2
cmp ebx, 0x3ff
jl 0x1400096e8
mov word [0x14004fdfe], r12w
mov rax, rbp
jmp 0x14000973d
movsxd rcx, ebx
mov word [rbp + rcx*2], r12w
jmp 0x14000972b
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 0x14000a4f0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp dword [0x140055ea0], 0
jne 0x14000a5a8
lea rcx, str.ws2_32.dll
mov edi, 1
call fcn.14000e3e0
mov rbx, rax
test rax, rax
jne 0x14000a55c
lea rcx, str.wsock32.dll
call fcn.14000e3e0
xor edi, edi
mov rbx, rax
test rax, rax
jne 0x14000a55c
lea ecx, [rax + 0xd]
call fcn.14000c82c
mov rcx, rax
call fcn.14000a420
int3
lea rdx, [rsp + 0x20]
mov ecx, 2
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14000a583
mov ecx, ntohs
call fcn.14000c82c
mov rcx, rax
call fcn.14000a420
int3
test edi, edi
je 0x14000a59e
lea rdx, str.WSASendDisconnect
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140055e98], rax
mov dword [0x140055ea0], 1
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140013300
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
Function at 0x14000a700
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x858
mov rax, qword [0x140040bb0]
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 0x14000a79b
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 0x14000a79b
lea rdx, [rsp + 0x40]
lea rcx, str.true
call fcn.140015778
test eax, eax
je 0x14000a7a0
mov eax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140013300
add rsp, 0x858
ret

Function at 0x14000a900
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
xor ebx, ebx
mov rsi, rdx
mov r12, rcx
lea r8d, [rbx + 0x10]
xor edx, edx
mov rcx, rsi
mov dword [rax + 0x18], ebx
mov dword [rax + 0x20], ebx
mov qword [rax - 0x28], rbx
call fcn.140013c40
lea rdx, [rsp + 0x60]
mov rcx, r12
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x14000a9b6
mov rcx, rbp
call fcn.140013ff8
mov rdi, rax
test rax, rax
je 0x14000a9b4
mov r9, rax
mov r8d, ebp
xor edx, edx
mov rcx, r12
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000a9ac
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x20]
lea rdx, [0x14003bc74]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000a9ac
mov rcx, qword [rsp + 0x20]
mov ebx, 1
movzx eax, word [rcx + 0xa]
mov dword [rsi], eax
movzx eax, word [rcx + 8]
mov dword [rsi + 4], eax
movzx eax, word [rcx + 0xe]
mov dword [rsi + 8], eax
movzx eax, word [rcx + 0xc]
mov dword [rsi + 0xc], eax
mov rcx, rdi
call fcn.140013d38
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret