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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], r8d
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov qword [rax - 0x18], rbx
mov dword [rax + 0x20], 1
call fcn.140014518
test rax, rax
je 0x140011a5f
mov edx, dword [rsp + 0x60]
mov r8, rax
mov rcx, rdi
call fcn.140017ec0
test eax, eax
sete bl
jmp 0x140011ad4
call fcn.140011768
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
mov r9d, 0x20019
test eax, eax
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000001
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentPropertiespending]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011a9d
xor eax, eax
jmp 0x140011ad6
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011ac9
lea ebx, [rax + 1]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140011ce8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov qword [rax + 0x18], rbx
call fcn.140011af8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebp, [rax + rax + 2]
call fcn.140011768
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
test eax, eax
lea rax, [rsp + 0x50]
mov r9d, 0x20006
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentPropertiespending]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011d58
xor eax, eax
jmp 0x140011d8d
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
mov edi, 1
xor r8d, r8d
mov rdx, rsi
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140011d80
mov ebx, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140012088
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
mov eax, 0x1040
call fcn.140013be0
sub rsp, rax
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea rcx, [rsp + 0x30]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor ebx, ebx
test eax, eax
je 0x14001210d
lea rax, str.DeploymentRuleSet.jar
lea r9, [rsp + 0x30]
lea r8, str._sSunJavaDeployment_s
lea rcx, [rsp + 0x830]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call fcn.140012794
test eax, eax
jle 0x14001210d
lea rcx, [rsp + 0x830]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012109
test al, 0x10
jne 0x140012109
mov ebx, 1
mov eax, ebx
jmp 0x14001210f
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140013300
add rsp, 0x1040
pop rbx
ret

Function at 0x140014cd0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140014b40

Function at 0x1400162f4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001630a
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001630c
xor eax, eax
test eax, eax
je 0x14001631c
mov ecx, eax
call fcn.14001684c
or eax, 0xffffffff
jmp 0x14001631e
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001af4b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140040bb0]
jne 0x14001331a
rol rcx, 0x10
test cx, 0xffff
jne 0x140013316
repz ret
ror rcx, 0x10
jmp 0x14001aea4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140057ae0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140057bd8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001af29
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140057ae0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001af4b
mov rax, qword [rsp + 0x88]
mov qword [0x140057bd8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140057b78], rax
mov rax, qword [0x140057bd8]
mov qword [0x140057a50], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140057b60], rax
mov dword [0x140057a40], 0xc0000409
mov dword [0x140057a44], 1
mov rax, qword [0x140040bb0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140040bb8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140057ad8], eax
mov ecx, 1
call fcn.140028968
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400324d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140057ad8], 0
jne 0x14001afd2
mov ecx, 1
call fcn.140028968
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140023a20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x140023a4a
call fcn.14001682c
and dword [rax], 0
call fcn.14001680c
mov ebx, socket
mov dword [rax], ebx
call fcn.14001ae84
mov eax, ebx
jmp 0x140023a9a
test edx, 0xfffffff9
jne 0x140023a2d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140023a73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001684c
call fcn.14001680c
mov eax, dword [rax]
jmp 0x140023a9a
test al, 0x10
jne 0x140023a98
test al, 1
je 0x140023a98
test bl, 2
je 0x140023a98
call fcn.14001682c
mov dword [rax], 5
call fcn.14001680c
mov dword [rax], reloc.WSOCK32.dll_listen
jmp 0x140023a6a
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140029514
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140040bb0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001bbb4
xor ebx, ebx
cmp qword [0x140058b98], rbx
mov rdi, rax
jne 0x140029627
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400296fe
lea rdx, [0x1400342b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400296fe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140058b98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140058ba0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140058ba8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140058bb8], rax
test rax, rax
je 0x14002961e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140058bb0], rax
jmp 0x14002962e
mov rax, qword [0x140058bb0]
jmp 0x140029635
mov rax, qword [0x140058bb0]
mov r11, qword [0x140058bb8]
cmp rax, rdi
je 0x14002969c
cmp r11, rdi
je 0x14002969c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140058bb8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14002969c
test rax, rax
je 0x14002969c
call rsi
test rax, rax
je 0x140029696
lea rcx, [rsp + 0x30]
mov r9d, ntohs
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140029696
test byte [rsp + 0x40], 1
jne 0x14002969c
bts ebp, 0x15
jmp 0x1400296dc
mov rcx, qword [0x140058ba0]
cmp rcx, rdi
je 0x1400296dc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400296dc
call rax
mov rbx, rax
test rax, rax
je 0x1400296dc
mov rcx, qword [0x140058ba8]
cmp rcx, rdi
je 0x1400296dc
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400296dc
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140058b98]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400296fe
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140029700
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140013300
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400113d9
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b040
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]
nop
add rsp, 0x28
ret
Function at 0x1400114d3
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001c390
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c3b0
xor al, al
jmp 0x14001c431
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c3c3
xor al, al
jmp 0x14001c431
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 0x14001c3ed
xor al, al
jmp 0x14001c431
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c401
xor al, al
jmp 0x14001c431
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c413
xor al, al
jmp 0x14001c431
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001c42f
xor al, al
jmp 0x14001c431
mov al, 1
add rsp, 0x38
ret
Function at 0x140019c80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400116ef
movzx eax, al
test eax, eax
jne 0x140019ca0
mov ecx, 7
call fcn.1400115b4
nop
mov byte [rsp + 0x20], 0
call fcn.1400115eb
mov byte [rsp + 0x21], al
cmp dword [0x140027b88], 1
jne 0x140019cc4
mov ecx, 7
call fcn.1400115b4
nop
jmp 0x140019d1c
cmp dword [0x140027b88], 0
jne 0x140019d17
mov dword [0x140027b88], 1
lea rdx, [0x140022660]
lea rcx, [0x140022330]
call fcn.140011348
test eax, eax
je 0x140019cf8
mov eax, 0xff
jmp 0x140019e21
lea rdx, [0x140022220]
lea rcx, [section..rdata]
call fcn.1400115d7
mov dword [0x140027b88], 2
jmp 0x140019d1c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400115a0
call fcn.1400114fb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140019d79
mov rcx, qword [rsp + 0x30]
call fcn.1400112ad
movzx eax, al
test eax, eax
je 0x140019d79
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002e020]
nop
call fcn.140011550
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140019dad
mov rcx, qword [rsp + 0x38]
call fcn.1400112ad
movzx eax, al
test eax, eax
je 0x140019dad
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001168b
nop
call fcn.140019ed0
mov dword [rsp + 0x28], eax
call fcn.1400114d3
movzx eax, al
test eax, eax
jne 0x140019dcc
mov ecx, dword [rsp + 0x28]
call fcn.140011091
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140019ddb
call fcn.14001169f
nop
xor edx, edx
mov cl, 1
call fcn.14001127b
mov eax, dword [rsp + 0x28]
jmp 0x140019e21
add rsp, 0x68
ret
Function at 0x140042290
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400422d2
mov r10d, 8
sub r10, r11
cmp r10, r8
mov rdi, r8
cmovb rdi, r10
cmp rdi, 4
jb 0x1400422da
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400422eb
jmp 0x140042302
xor r10d, r10d
jmp 0x14004238d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140042302
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140042319
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140042339
add r11, r8
jmp 0x140042469
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140042402
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400423b0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14004241f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x140042430
jmp 0x14004244b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14004244b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x140042465
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005d6c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x141e76960]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14005d6e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14005d6e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14005d6e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14005d73d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14005d734
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14005d6e0
add rax, 0x28
cmp rax, r9
jne 0x14005d720
xor eax, eax
ret

Function at 0x14005d740
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x141e76960]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14005d75f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14005d768
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14005d75f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14005d800
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x141e76960]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14005d81f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14005d828
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140003120
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x4a], 0
mov rbx, rcx
je 0x140003146
xor eax, eax
lea r8d, [rax - 0x4c]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x49
jb 0x140003131
mov byte [rdx + 0x4a], 0
call fcn.140004a00
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140003160
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x140003194
mov ecx, esi
lea eax, [rcx - 0x4c]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140003180
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400031c9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140004310
nop
cmp byte [rbx + 0xa], 0
je 0x1400031f3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x4c]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x1400031e0
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x140003228
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140004310
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.140005dd0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000327c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003276
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003276
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400032bc
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400032d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x140003304
mov ecx, esi
lea eax, [rcx - 0x4c]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x1400032f0
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x140003339
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.140004310
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140003347
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.140006dd0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400033bc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400033d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x140003404
mov ecx, esi
lea eax, [rcx - 0x4c]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x1400033f0
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x140003439
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.140004310
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140003447
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.140006dd0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400034bc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140003550
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x38], rdx
xor r14d, r14d
call fcn.140002840
call fcn.140011ad0
mov rsi, rax
test rax, rax
jne 0x140003632
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], al
lea r8d, [r14 + 4]
lea rdx, str.null
mov rcx, rdi
call fcn.140004310
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400035fc
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400035f7
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x14000378a
mov rcx, rax
call fcn.14005f22c
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov rax, rdi
mov byte [rbx], 0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14005f580
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
movdqa xmm0, xmmword [0x14006fe60]
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], 0xe8a8acb3
mov dword [rbp - 0x4c], 0xe4a3b9a9
mov dword [rbp - 0x48], 0xe0ffe3fd
mov word [rbp - 0x44], 0x100
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x4c]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0x1c
jb 0x140003670
mov byte [rbp - 0x43], 0
lea r8, [rbp - 0x60]
mov edx, 0x2712
mov rcx, rsi
call fcn.1400155f0
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rsi
call fcn.1400155f0
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, rsi
call fcn.1400155f0
lea r8, str.keyauth.win
mov edx, 0x27c1
mov rcx, rsi
call fcn.1400155f0
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400036d4
mov r8, qword [rbx]
mov edx, 0x271f
mov rcx, rsi
call fcn.1400155f0
lea r8, [0x1400034d0]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.1400155f0
lea r8, [rbp - 0x30]
mov edx, 0x2711
mov rcx, rsi
call fcn.1400155f0
mov rcx, rsi
call fcn.140011b90
test eax, eax
je 0x14000372d
mov ecx, eax
call fcn.140012740
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400035fc
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400035f7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000378a
mov rcx, r8
jmp 0x1400035f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3