joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009dcc0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
cmp qword [rcx], rbx
je 0x14009dd01
mov dword [rsp + 0x30], 1
lea rdx, [0x140176c70]
lea rcx, [rsp + 0x30]
call fcn.1400de560
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x1401327e0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401327d0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14009dd42
mov dword [rsp + 0x34], 2
lea rdx, [0x140176c70]
lea rcx, [rsp + 0x34]
call fcn.1400de560
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + 0x38]
test eax, eax
jns 0x14009dd6f
mov dword [rsp + 0x38], 3
lea rdx, [0x140176c70]
lea rcx, [rsp + 0x38]
call fcn.1400de560
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x38]
test eax, eax
jns 0x14009dd9b
mov dword [rsp + 0x3c], 4
lea rdx, [0x140176c70]
lea rcx, [rsp + 0x3c]
call fcn.1400de560
nop
jmp 0x14009dda1
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14009ddb1
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14009ddc1
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400a6450
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbx, rcx
mov qword [rcx + 8], rsi
call fcn.140035420
mov edx, 0x98
mov rcx, rbx
mov dword [rsp + 0x38], eax
call fcn.1400a7140
mov rdi, rax
test rax, rax
jne 0x1400a64a7
mov rcx, rbx
call fcn.14009ad50
mov r11, qword [rbx]
mov dword [r11 + 0x28], 0x36
mov rcx, qword [rbx]
mov dword [rcx + 0x2c], esi
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
mov dword [rdi + 0x5c], 0x3b9aca00
lea rax, [fcn.1400a56e0]
lea rcx, str.JPEGMEM
mov qword [rdi], rax
lea rax, [fcn.1400a5850]
mov qword [rdi + 8], rax
lea rax, [fcn.1400a5930]
mov qword [rdi + 0x10], rax
lea rax, [fcn.1400a5a20]
mov qword [rdi + 0x18], rax
lea rax, [0x1400a5b30]
mov qword [rdi + 0x20], rax
lea rax, [0x1400a5be0]
mov qword [rdi + 0x28], rax
lea rax, [0x1400a5c90]
mov qword [rdi + 0x30], rax
lea rax, [0x1400a5ff0]
mov qword [rdi + 0x38], rax
lea rax, [0x1400a6150]
mov qword [rdi + 0x40], rax
lea rax, [fcn.1400a62b0]
mov qword [rdi + 0x48], rax
lea rax, [0x1400a6400]
mov qword [rdi + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x58], eax
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x60], rsi
mov qword [rdi + 0x70], rsi
mov qword [rdi + 0x80], rsi
mov qword [rdi + 0x88], rsi
mov dword [rdi + 0x90], 0x98
mov qword [rbx + 8], rdi
call fcn.1400dee64
test rax, rax
je 0x1400a65b2
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call fcn.1400d7e30
test eax, eax
jle 0x1400a65b2
movzx eax, byte [rsp + 0x30]
cmp al, 0x6d
je 0x1400a659f
cmp al, 0x4d
je 0x1400a659f
mov eax, dword [rsp + 0x38]
jmp 0x1400a65a9
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
mov dword [rdi + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400cf054
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1401816c0]
test rcx, rcx
jne 0x1400cefab
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1400cefa4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400cefd6
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x1400cefa0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x1401816c0], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x1400cf049
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400ceff9
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x1401816c0]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x1400cf026
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x1400cf049
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x1401816c0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x1400cf02d
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x1400cef30
Function at 0x1400cfcf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, dword [rcx + 0x38]
mov rdi, rcx
mov qword [rsp + 0x30], rbp
nop word [rax + rax]
mov edx, dword [rdi + 0x8c]
mov esi, dword [rdi + 0x50]
mov eax, dword [rdi + 0x38]
sub esi, dword [rdi + 0x94]
lea ecx, [rbx + rax - 0x106]
sub esi, edx
cmp edx, ecx
jb 0x1400cfd9f
mov rcx, qword [rdi + 0x48]
mov r8, rbx
lea rdx, [rcx + rbx]
call fcn.1400d5d30
mov r8d, dword [rdi + 0x6c]
mov rax, qword [rdi + 0x60]
sub dword [rdi + 0x90], ebx
sub dword [rdi + 0x8c], ebx
sub dword [rdi + 0x7c], ebx
lea rdx, [rax + r8*2]
nop word [rax + rax]
movzx eax, word [rdx - 2]
sub rdx, 2
cmp eax, ebx
jb 0x1400cfd70
sub eax, ebx
jmp 0x1400cfd72
xor eax, eax
dec r8d
mov word [rdx], ax
jne 0x1400cfd60
mov rax, qword [rdi + 0x58]
mov edx, ebx
lea rcx, [rax + rbx*2]
movzx eax, word [rcx - 2]
sub rcx, 2
cmp eax, ebx
jb 0x1400cfd94
sub eax, ebx
jmp 0x1400cfd96
xor eax, eax
dec edx
mov word [rcx], ax
jne 0x1400cfd84
add esi, ebx
mov rcx, qword [rdi]
cmp dword [rcx + 8], 0
je 0x1400cfe16
mov edx, dword [rdi + 0x94]
mov eax, dword [rdi + 0x8c]
mov r8d, esi
add rdx, rax
add rdx, qword [rdi + 0x48]
call fcn.1400cf910
add dword [rdi + 0x94], eax
mov r9d, dword [rdi + 0x94]
cmp r9d, 3
jb 0x1400cfe00
mov eax, dword [rdi + 0x8c]
mov rdx, qword [rdi + 0x48]
mov ecx, dword [rdi + 0x78]
movzx r8d, byte [rax + rdx]
mov dword [rdi + 0x68], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rdi + 0x74]
mov dword [rdi + 0x68], r8d
cmp r9d, 0x106
jae 0x1400cfe16
mov rax, qword [rdi]
cmp dword [rax + 8], 0
jne 0x1400cfd10
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d2370
Capabilities:
Compute adler32 checksum

Disassembly:
movzx r9d, cx
shr ecx, 0x10
mov r10, rdx
test rdx, rdx
jne 0x1400d2383
lea eax, [rdx + 1]
ret
test r8d, r8d
je 0x1400d24c0
nop dword [rax]
mov edx, 0x15b0
cmp r8d, edx
cmovb edx, r8d
sub r8d, edx
cmp edx, 0x10
jl 0x1400d247c
mov r11d, edx
shr r11, 4
mov eax, r11d
neg eax
shl eax, 4
add edx, eax
nop dword [rax]
movzx eax, byte [r10]
add r10, 0x10
add r9d, eax
movzx eax, byte [r10 - 0xf]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 0xe]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 0xd]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 0xc]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 0xb]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 0xa]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 9]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 8]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 7]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 - 1]
add ecx, r9d
add r9d, eax
add ecx, r9d
dec r11
jne 0x1400d23c0
test edx, edx
je 0x1400d2491
movzx eax, byte [r10]
inc r10
add r9d, eax
add ecx, r9d
dec edx
jne 0x1400d2480
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
test r8d, r8d
jne 0x1400d2390
shl ecx, 0x10
or ecx, r9d
mov eax, ecx
ret
Function at 0x1400ded60
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400debd0

Function at 0x1400e2be7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14017c430]
jne 0x1400d4daa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400d4da6
repz ret
ror rcx, 0x10
jmp 0x1400e2b40
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1401818d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1401819c8]
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 0x1400e2bc5
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, [0x1401818d0]
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 0x1400e2be7
mov rax, qword [rsp + 0x88]
mov qword [0x1401819c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140181968], rax
mov rax, qword [0x1401819c8]
mov qword [0x140181840], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140181950], rax
mov dword [0x140181830], 0xc0000409
mov dword [0x140181834], 1
mov rax, qword [0x14017c430]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14017c438]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1401818c8], eax
mov ecx, 1
call fcn.1400f3c30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140126ad0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1401818c8], 0
jne 0x1400e2c6e
mov ecx, 1
call fcn.1400f3c30
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 0x1400fa170
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 [0x14017c430]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400e48a4
xor ebx, ebx
cmp qword [0x140182a38], rbx
mov rdi, rax
jne 0x1400fa283
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400fa35a
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400fa35a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, [0x1401299b0]
mov rcx, rsi
mov qword [0x140182a38], 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 [0x140182a40], 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 [0x140182a48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140182a58], rax
test rax, rax
je 0x1400fa27a
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 [0x140182a50], rax
jmp 0x1400fa28a
mov rax, qword [0x140182a50]
jmp 0x1400fa291
mov rax, qword [0x140182a50]
mov r11, qword [0x140182a58]
cmp rax, rdi
je 0x1400fa2f8
cmp r11, rdi
je 0x1400fa2f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140182a58]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400fa2f8
test rax, rax
je 0x1400fa2f8
call rsi
test rax, rax
je 0x1400fa2f2
lea rcx, [rsp + 0x30]
mov r9d, recv
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400fa2f2
test byte [rsp + 0x40], 1
jne 0x1400fa2f8
bts ebp, 0x15
jmp 0x1400fa338
mov rcx, qword [0x140182a40]
cmp rcx, rdi
je 0x1400fa338
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400fa338
call rax
mov rbx, rax
test rax, rax
je 0x1400fa338
mov rcx, qword [0x140182a48]
cmp rcx, rdi
je 0x1400fa338
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400fa338
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140182a38]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400fa35a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400fa35c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d4d90
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000885c
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 9
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x1400088fb
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x1400088fb
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x1400088fb
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test al, al
js 0x1400088fb
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, [rsp + 0x38]
mov r8d, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rdx, [0x14000c950]
lea rcx, [rsp + 0x38]
mov r8d, 4
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x1400088fb
call qword [sym.imp.USER32.dll_GetFocus]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x44e
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xb
jae 0x140008926
lea rdx, str.PB_WindowID
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetPropA]
test rax, rax
je 0x140008926
mov rcx, qword [0x14000ed00]
lea rdx, [rax - 1]
call fcn.1400096c4
mov rax, qword [rax + 0x10]
jmp 0x140008928
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140008930
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov esi, 0x104
mov ecx, esi
call fcn.14000ab70
mov ecx, esi
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movsxd rbx, eax
test eax, eax
je 0x14000896f
cmp byte [rbx + rdi - 1], 0x5c
je 0x14000896f
mov byte [rbx + rdi], 0x5c
inc ebx
sub esi, ebx
mov ecx, esi
call fcn.14000ad00
mov rsi, qword [rsp + 0x38]
movsxd r11, ebx
mov rbx, qword [rsp + 0x30]
mov byte [r11 + rdi], 0
add rsp, 0x20
pop rdi
ret

Function at 0x140008a44
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140008a57
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cdqe
jmp 0x140008a59
xor eax, eax
add rsp, 0x28
ret

Function at 0x140008b08
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov ebx, 0x104
mov ecx, ebx
call fcn.14000ab70
mov ecx, ebx
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rcx, str.Kernel32.DLL
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
test rax, rax
je 0x140008b7a
lea rdx, str.GetLongPathNameA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140008b71
mov r8d, ebx
mov rdx, rsi
mov rcx, rsi
call rax
mov edi, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
sub ebx, edi
mov ecx, ebx
call fcn.14000ad00
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
movsxd r11, edi
mov byte [r11 + rsi], 0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140008780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rcx, qword [rsp + 0x50]
mov r13, r8
mov rbp, qword [rsp + 0x58]
mov r15, rdx
mov qword [rsi], r8
mov qword [rbx], rcx
mov rax, qword [rsi]
cmp rax, r9
je 0x140008915
cmp rcx, rbp
je 0x140008915
mov r9d, 1
movzx edx, word [r15]
xor dil, dil
movzx ecx, word [rax]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp r9w, dx
jae 0x14000881c
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x14000893c
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140008833
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140008833
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140008846
movzx r8d, al
mov r10d, r14d
mov r11d, r14d
jmp 0x140008893
mov r8d, eax
cmp eax, 0x800
jae 0x140008860
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x140008893
cmp eax, 0x10000
jae 0x14000887a
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x140008893
shr r8d, 0x12
mov r10d, 3
movzx r11d, dil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, rbp
sub rdx, qword [rbx]
mov ecx, r9d
cmp rdx, rcx
jl 0x140008915
add qword [rsi], 2
test dil, dil
jne 0x1400088b4
cmp r10d, 3
jae 0x1400088c0
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jle 0x1400088ee
lea ecx, [r10 + r10*2]
add ecx, ecx
nop
sub ecx, 6
mov edx, eax
shr edx, cl
dec r9d
and dl, 0x3f
or dl, 0x80
mov byte [r8], dl
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jg 0x1400088d0
shr eax, 0xa
mov r9d, 1
test dil, dil
mov ecx, r9d
cmovne ecx, eax
mov word [r15], cx
mov rax, qword [rsi]
cmp rax, r12
je 0x140008915
cmp qword [rbx], rbp
jne 0x1400087dd
cmp r13, qword [rsi]
sete r14b
mov eax, r14d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x14000891f
Function at 0x14000a380
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x13b0]
mov eax, 0x14b0
call fcn.14006b6f0
sub rsp, rax
mov r14d, edx
mov r15, rcx
mov rsi, qword [rbp + 0x1408]
xor r12d, r12d
mov word [rbp + 0x3b0], r12w
mov byte [rbp - 0x50], r12b
mov ebx, dword [rbp + 0x1410]
mov ecx, ebx
call fcn.140002190
mov edi, eax
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x24], ebx
mov ecx, 1
lock xadd dword [0x1400cf720], ecx
inc ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x38], eax
lea rax, str.E:workclientpackjpn_andapp_nslmpackagesMicrosoft.Windows.ImplementationLibrary.1.0.191107.2includewil_resource.h
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], edi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], r15
mov qword [rsp + 0x60], r12
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rax
mov rax, qword [0x1400cf670]
test rax, rax
je 0x14000a456
call rax
mov qword [rbp - 0x68], rax
jmp 0x14000a45a
mov qword [rbp - 0x68], r12
mov rax, qword [0x1400cf628]
test rax, rax
je 0x14000a477
mov r8d, 0x400
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1400cf618]
test rax, rax
je 0x14000a48a
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1400cf648]
test rax, rax
je 0x14000a49d
lea rcx, [rsp + 0x20]
call rax
mov eax, dword [rsp + 0x24]
mov ecx, 0x8000ffff
test eax, eax
cmovns eax, ecx
mov dword [rsp + 0x24], eax
cmp byte [0x1400cf5e8], r12b
jne 0x14000a500
mov rax, qword [0x1400cf5d8]
test rax, rax
je 0x14000a4cc
call rax
movzx r12d, al
jmp 0x14000a4d8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne r12b
test r12d, r12d
jne 0x14000a500
mov rax, qword [0x1400cf5f0]
test rax, rax
je 0x14000a556
cmp byte [0x1400cf608], r12b
jne 0x14000a556
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call rax
jmp 0x14000a556
mov rax, qword [0x1400cf5f0]
test rax, rax
je 0x14000a529
cmp byte [0x1400cf608], 0
jne 0x14000a529
mov r8d, 0x800
lea rdx, [rbp + 0x3b0]
lea rcx, [rsp + 0x20]
call rax
cmp word [rbp + 0x3b0], 0
jne 0x14000a549
lea r8, [rsp + 0x20]
mov edx, 0x800
lea rcx, [rbp + 0x3b0]
call fcn.140001dc0
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x1400cf5f8], 0
je 0x14000a56e
mov rax, qword [0x1400cf638]
test rax, rax
je 0x14000a56e
call rax
nop
lea rcx, [rsp + 0x20]
call fcn.1400033b0
int3
Function at 0x14000a580
Capabilities:
Print debug messages

Disassembly:
jmp 0x14000c3d0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.14006b6f0
sub rsp, rax
mov rax, qword [0x1400c80c0]
xor rax, rsp
mov qword [rbp + 0x13b0], rax
mov esi, edx
mov r14, rcx
mov rdi, qword [rbp + 0x1418]
xor r15d, r15d
mov word [rbp + 0x3b0], r15w
mov byte [rbp - 0x50], r15b
mov ecx, dword [rbp + 0x1420]
call fcn.140002150
mov ebx, eax
mov edx, 1
mov dword [rsp + 0x20], edx
mov dword [rsp + 0x24], ecx
lock xadd dword [0x1400cf720], edx
inc edx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x38], eax
lea rax, [0x1400afa8c]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x5c], ebx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], r14
mov qword [rsp + 0x60], r15
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
xorps xmm1, xmm1
movups xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rax
mov rax, qword [0x1400cf670]
test rax, rax
je 0x14000c4a9
call rax
mov qword [rbp - 0x68], rax
jmp 0x14000c4ad
mov qword [rbp - 0x68], r15
mov rax, qword [0x1400cf628]
test rax, rax
je 0x14000c4ca
mov r8d, 0x400
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1400cf618]
test rax, rax
je 0x14000c4dd
lea rcx, [rsp + 0x20]
call rax
mov rax, qword [0x1400cf648]
test rax, rax
je 0x14000c4f0
lea rcx, [rsp + 0x20]
call rax
cmp dword [rsp + 0x24], r15d
jge 0x14000c5e0
cmp byte [0x1400cf5e8], r15b
jne 0x14000c54c
mov rax, qword [0x1400cf5d8]
test rax, rax
je 0x14000c518
call rax
movzx r15d, al
jmp 0x14000c524
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne r15b
test r15d, r15d
jne 0x14000c54c
mov rax, qword [0x1400cf5f0]
test rax, rax
je 0x14000c5a2
cmp byte [0x1400cf608], r15b
jne 0x14000c5a2
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call rax
jmp 0x14000c5a2
mov rax, qword [0x1400cf5f0]
test rax, rax
je 0x14000c575
cmp byte [0x1400cf608], 0
jne 0x14000c575
mov r8d, 0x800
lea rdx, [rbp + 0x3b0]
lea rcx, [rsp + 0x20]
call rax
cmp word [rbp + 0x3b0], 0
jne 0x14000c595
lea r8, [rsp + 0x20]
mov edx, 0x800
lea rcx, [rbp + 0x3b0]
call fcn.140001dc0
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x1400cf5f8], 0
je 0x14000c5ba
mov rax, qword [0x1400cf638]
test rax, rax
je 0x14000c5ba
call rax
nop
mov rcx, qword [rbp + 0x13b0]
xor rcx, rsp
call fcn.14006ab70
mov rbx, qword [rsp + 0x1500]
add rsp, 0x14c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400035c0
nop
int3