joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402baeb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x142007202]
call fcn.140205606
mov rax, qword [rbp + 0x140]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
movzx eax, byte [rax]
mov byte [rbp + 0x114], al
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
movzx eax, byte [rbp + 0x114]
mov byte [rbp + 0x44], al
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 8], rax
jae 0x1402baf3d
mov rax, qword [rbp + 8]
movzx eax, byte [rax]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
movzx eax, byte [rbp + 0x44]
xor eax, dword [rbp + 0x114]
mov byte [rbp + 0x44], al
jmp 0x1402baf0c
movzx eax, byte [rbp + 0x44]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140399940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1420079e7]
call fcn.140205606
mov rax, qword [rbp + 0x140]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
movzx eax, byte [rax]
mov byte [rbp + 0x114], al
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
movzx eax, byte [rbp + 0x114]
mov byte [rbp + 0x44], al
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 8], rax
jae 0x1403999cd
mov rax, qword [rbp + 8]
movzx eax, byte [rax]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
movzx eax, byte [rbp + 0x44]
xor eax, dword [rbp + 0x114]
mov byte [rbp + 0x44], al
jmp 0x14039999c
movzx eax, byte [rbp + 0x44]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1404c4070
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rdx, [0x1404c3ff0]
lea rcx, [0x141fd26b8]
call fcn.1401fdcf3
cmp dword [0x1406fa738], 0xffffffff
je 0x1404c40c7
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1406fa738]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1404c40c5
mov r8d, WSAStartup
lea rdx, [0x14066ce70]
lea rcx, str.TlsSetValue_current_thread_tls_key__new_data_
call fcn.1401f8cd0
xor eax, eax
jmp 0x1404c40e8
xor eax, eax
test eax, eax
jne 0x1404c40e8
mov r8d, 0x74
lea rdx, [0x14066cf20]
lea rcx, [0x14066cba8]
call fcn.1401f8cd0
xor eax, eax
add rsp, 0x28
ret
Function at 0x1405c89c0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1401fa5d5
sub rsp, rax
mov rax, qword [0x1406fa740]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x141fd4010]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, ntohs
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1405c8bb2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1405c8b06
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1405c8b06
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1405c8aeb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], reloc.WS2_32.dll_listen
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1405c8a88
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1405c8b72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1405c8bd1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1405c8bad
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1405c8bd1
jmp 0x1405c8a5e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1401fe6b7
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1405c8c80
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1401fa5d5
sub rsp, rax
mov rax, qword [0x1406fa740]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x141fd4010]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, ntohs
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1405c8e8d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1405c8dd9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1405c8dd9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1405c8db9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1405c8d48
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1405c8e4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1405c8eac
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1405c8e88
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1405c8eac
jmp 0x1405c8d1e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, ntohs
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1401fe6b7
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1405e7b60
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword [0x1406fa740]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x60], 0x1a
jbe 0x1405e7c2d
call fcn.14020087c
mov dword [rax], reloc.WS2_32.dll_ntohs
xor eax, eax
test eax, eax
je 0x1405e7b9d
mov dword [rsp + 0x34], 1
jmp 0x1405e7ba5
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x1405e7bee
lea rax, str.__Invalid_Drive_Index___0_
mov qword [rsp + 0x28], rax
lea rax, [0x14066a940]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x1f
lea rdx, str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
mov ecx, 2
call fcn.1401f9720
cmp eax, 1
jne 0x1405e7bee
int3
cmp dword [rsp + 0x38], 0
jne 0x1405e7c2d
call fcn.1401fcd35
mov dword [rax], reloc.WS2_32.dll_listen
mov qword [rsp + 0x20], 0
mov r9d, 0x1f
lea r8, str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
lea rdx, str.is_valid_drive
lea rcx, str.__Invalid_Drive_Index___0_
call fcn.1402035fe
xor eax, eax
jmp 0x1405e7c92
cmp dword [rsp + 0x60], 0
jne 0x1405e7c3b
mov eax, 1
jmp 0x1405e7c92
mov eax, dword [rsp + 0x60]
add eax, 0x40
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x40], ax
mov eax, 0x3a
mov word [rsp + 0x42], ax
mov eax, 0x5c
mov word [rsp + 0x44], ax
xor eax, eax
mov word [rsp + 0x46], ax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x1405e7c89
cmp dword [rsp + 0x3c], 1
jne 0x1405e7c8d
xor eax, eax
jmp 0x1405e7c92
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401fe6b7
add rsp, 0x58
ret
Function at 0x140011262
Capabilities:
Terminate process

Disassembly:
jmp 0x140013ff0
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 0x1400112f8
Capabilities:
Disable system features via registry on windows
Execute command
Set registry value

Disassembly:
jmp 0x140012560
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x140026024]
call fcn.140011424
lea rax, str._windir_System32_reg.exe_ADD_HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem__v_EnableLUA__t_REG_DWORD__d_0__f
mov qword [rbp + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x88], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
cmp dword [rax + 0xc], 0
je 0x14001272b
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
lea rdx, str.msvcrt.dll
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x140012714
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xe8]
cmp qword [rax], 0
je 0x140012714
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x108], rax
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.system
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x108]
cmp qword [rcx], rax
jne 0x1400126fd
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
mov qword [0x140020190], rax
lea r9, [rbp + 0x124]
mov r8d, 4
mov edx, 8
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 0x108]
lea rcx, [0x140011366]
mov qword [rax], rcx
lea r9, [rbp + 0x124]
mov r8d, dword [rbp + 0x124]
mov edx, 8
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 0xe8]
add rax, 8
mov qword [rbp + 0xe8], rax
jmp 0x140012654
mov rax, qword [rbp + 0xa8]
add rax, 0x14
mov qword [rbp + 0xa8], rax
jmp 0x1400125f1
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0x144], eax
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bc80]
call fcn.1400113a7
mov eax, edi
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x140011302
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015340
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015360
xor al, al
jmp 0x1400153e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015373
xor al, al
jmp 0x1400153e1
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 0x14001539d
xor al, al
jmp 0x1400153e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400153b1
xor al, al
jmp 0x1400153e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400153c3
xor al, al
jmp 0x1400153e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400153df
xor al, al
jmp 0x1400153e1
mov al, 1
add rsp, 0x38
ret
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.100124000
add rsp, 0x28
jmp 0x10000bae0
Function at 0x1400011c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebp, ebp
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
mov rbx, rcx
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov r14, rdx
mov qword [rcx + 0x18], rbp
cmp qword [rdx + 0x18], 0x10
jb 0x1400011f7
mov r14, qword [rdx]
mov rsi, qword [rdx + 0x10]
movabs rdi, 0x7fffffffffffffff
cmp rsi, rdi
ja 0x140001375
mov qword [rcx + 0x18], sendto
cmp rsi, 0x10
jae 0x14000122c
mov qword [rcx + 0x10], rsi
movups xmm0, xmmword [r14]
movups xmmword [rcx], xmm0
jmp 0x1400012bf
mov rax, rsi
or rax, 0xf
cmp rax, rdi
jbe 0x140001264
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140002aec
mov rcx, rax
test rax, rax
je 0x14000128f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400012a5
mov ecx, socket
mov rdi, rax
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140001296
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000137b
jmp 0x140001246
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400012a2
call fcn.140002aec
jmp 0x1400012a5
mov rax, rbp
lea r8, [rsi + 1]
mov qword [rbx], rax
mov rdx, r14
mov qword [rbx + 0x10], rsi
mov rcx, rax
mov qword [rbx + 0x18], rdi
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
movdqa xmm1, xmmword [str.AAAAAAAAAAAAAAAA_]
jb 0x1400012dc
mov r8, qword [rbx]
mov rdx, r8
mov rax, r8
jmp 0x1400012e2
mov rax, rbx
mov rdx, rbx
add rdx, qword [rbx + 0x10]
mov rcx, rdx
sub rcx, r8
cmp r8, rdx
cmova rcx, rbp
test rcx, rcx
je 0x14000134f
cmp rcx, 0x40
jb 0x14000134f
and rcx, 0xffffffffffffffc0
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax]
add rbp, 0x40
xorps xmm0, xmm1
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x20], xmm0
movdqu xmm0, xmmword [rax + 0x30]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x30], xmm0
add rax, 0x40
cmp rbp, rcx
jne 0x140001310
cmp rax, rdx
je 0x14000135f
xor byte [rax], 0x41
inc rax
cmp rax, rdx
jne 0x140001354
mov rbp, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
call fcn.1400011a0
int3
call fcn.140001100
int3
Function at 0x140003318
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003362
mov ecx, __CxxFrameHandler4
cmp word [rax], cx
jne 0x140003362
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003362
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003362
cmp dword [rcx + 0x84], 0xe
jbe 0x140003362
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003364
xor al, al
add rsp, 0x28
ret
Function at 0x14000d95c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x208]
sub rsp, 0x300
mov rax, qword [0x1400b0e58]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov qword [rsp + 0x60], rsi
movdqa xmm0, xmmword [0x140099980]
movdqa xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
movdqa xmm1, xmmword [0x140099980]
movdqa xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], si
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rsi
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, str.HolographicDeviceHeT
lea rcx, [rsp + 0x60]
call fcn.140007934
movups xmm0, xmmword [0x1400915b0]
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x50], 0x40
mov dword [rbp - 0x48], 0x10000002
mov dword [rbp - 0x44], 8
mov dword [rbp - 0x40], 2
mov dword [rbp - 0x3c], 0x100
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rdi, qword [rbp + 0x208]
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000da62
lea r8, str.analoginput_spectrum_serviceexeTracingSession.cpp
mov edx, 0x8a
mov rcx, rdi
call fcn.140010d68
lea rdx, [rbp - 0x20]
Function at 0x14001c21c
Capabilities:
Get socket status

Disassembly:
jmp 0x140049630
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x778
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x142
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x798]
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0x738], rax
lea rcx, [0x14007c1a7]
call fcn.14001daef
cmp qword [rbp + 0x760], 0xffffffffffffffff
jne 0x1400496a7
mov edx, 0x2719
mov rcx, qword [rbp + 0x770]
call fcn.14001cd98
mov eax, 0xffffffff
jmp 0x140049864
mov dword [rbp + 0x10], 0
mov dword [rbp + 0x234], 0
jmp 0x1400496c8
mov eax, dword [rbp + 0x234]
inc eax
mov dword [rbp + 0x234], eax
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x234], eax
jae 0x1400496eb
mov eax, dword [rbp + 0x234]
mov rcx, qword [rbp + 0x760]
cmp qword [rbp + rax*8 + 0x18], rcx
jne 0x1400496e9
jmp 0x1400496eb
jmp 0x1400496ba
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x234], eax
jne 0x140049716
cmp dword [rbp + 0x10], 0x40
jae 0x140049716
mov eax, dword [rbp + 0x234]
mov rcx, qword [rbp + 0x760]
mov qword [rbp + rax*8 + 0x18], rcx
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
xor eax, eax
test eax, eax
jne 0x1400496ae
mov dword [rbp + 0x260], 0
mov dword [rbp + 0x484], 0
jmp 0x140049740
mov eax, dword [rbp + 0x484]
inc eax
mov dword [rbp + 0x484], eax
mov eax, dword [rbp + 0x260]
cmp dword [rbp + 0x484], eax
jae 0x140049769
mov eax, dword [rbp + 0x484]
mov rcx, qword [rbp + 0x760]
cmp qword [rbp + rax*8 + 0x268], rcx
jne 0x140049767
jmp 0x140049769
jmp 0x140049732
mov eax, dword [rbp + 0x260]
cmp dword [rbp + 0x484], eax
jne 0x1400497a3
cmp dword [rbp + 0x260], 0x40
jae 0x1400497a3
mov eax, dword [rbp + 0x484]
mov rcx, qword [rbp + 0x760]
mov qword [rbp + rax*8 + 0x268], rcx
mov eax, dword [rbp + 0x260]
inc eax
mov dword [rbp + 0x260], eax
xor eax, eax
test eax, eax
jne 0x140049726
cmp dword [rbp + 0x768], 0
jl 0x1400497f6
mov eax, dword [rbp + 0x768]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rbp + 0x4a8], eax
mov eax, dword [rbp + 0x768]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rbp + 0x4ac], eax
lea rax, [rbp + 0x4a8]
mov qword [rbp + 0x4c8], rax
jmp 0x140049801
mov qword [rbp + 0x4c8], 0
mov rax, qword [rbp + 0x760]
inc rax
mov rcx, qword [rbp + 0x4c8]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x260]
lea r8, [rbp + 0x10]
xor edx, edx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rbp + 0x4e4], eax
cmp dword [rbp + 0x4e4], 0
jge 0x140049844
mov byte [rbp + 0x734], 1
jmp 0x14004984b
mov byte [rbp + 0x734], 0
movzx edx, byte [rbp + 0x734]
mov rcx, qword [rbp + 0x770]
call fcn.14001d9e6
mov eax, dword [rbp + 0x4e4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14001d6e4
mov rax, rdi
mov rcx, qword [rbp + 0x738]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0x748]
pop rdi
pop rbp
ret