joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c160
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0xf0]
mov rdi, rcx
cmp rbx, qword [rcx + 0xf8]
je 0x14003c1cb
mov qword [rsp + 0x38], rsi
xor esi, esi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003c19d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
add rbx, 8
cmp rbx, qword [rdi + 0xf8]
jne 0x14003c184
mov rax, qword [rdi + 0xf0]
mov rsi, qword [rsp + 0x38]
mov qword [rdi + 0xf8], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rcx + 0xf8], rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14003c1e0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10c]
test ecx, ecx
je 0x14003c247
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov rcx, qword [rbx + 0x110]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14003c22b
mov rcx, qword [rbx + 0x110]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rbx + 0x110], rax
mov dword [rbx + 0x10c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14003dd50
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rax, vtable.CPrinterHandler.0
mov rbx, rcx
mov qword [rcx], rax
mov esi, edx
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14003dd91
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], 0
mov edx, 0x65
call fcn.140013f50
lea rcx, [rbx + 0x28]
call fcn.14003e080
mov rdx, qword [rbx + 0x20]
cmp rdx, 0x10
jb 0x14003dddb
mov rcx, qword [rbx + 8]
inc rdx
cmp rdx, 0x1000
jb 0x14003ddd6
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003de1f
mov rcx, r8
call fcn.1400a59a4
mov qword [rbx + 0x18], 0
lea rax, vtable.ICmdHandler.0
mov qword [rbx + 0x20], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [rbx + 8], 0
mov qword [rbx], rax
test sil, 1
je 0x14003de0c
mov edx, 0x70
mov rcx, rbx
call fcn.1400a59a4
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call fcn.1400b4704
int3
Function at 0x14003de30
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov rdi, rcx
xor bpl, bpl
call fcn.140004080
mov rcx, rax
test rax, rax
je 0x14003e06a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400061c0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140004310
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400045c0
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x14003dff0
cmp dword [rbx - 8], 1
jle 0x14003dee4
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.140006a10
mov rbx, qword [rsp + 0x58]
mov r8, rbx
lea rdx, str.CPrinterHandler::PerformAction._Got_command_s.
mov rcx, qword [0x140132990]
call fcn.140011f10
lea rdx, str.disablePrint
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x14003df83
lea rcx, str.Spooler
call fcn.140013e90
test eax, eax
je 0x14003df2b
mov edx, 1
call fcn.140013f50
mov esi, eax
jmp 0x14003df30
mov esi, 1
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
lea r9, [rdi + 0x28]
lea r8, [0x14003e3a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x28], rax
test esi, esi
setne bpl
mov eax, 0x21
mov r8d, 0x1c
test esi, esi
cmove r8d, eax
lea rax, str._response_:_printDisableFailed_
lea rdx, str._response_:_printDisabled_
cmove rdx, rax
lea rcx, [rdi + 8]
jmp 0x14003dfeb
lea rdx, str.enablePrint
mov rcx, rbx
call fcn.1400bc088
test eax, eax
jne 0x14003dff0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14003dfb7
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rdi + 0x28], rax
mov edx, 0x65
call fcn.140013f50
test eax, eax
setne bpl
lea rcx, [rdi + 8]
test eax, eax
je 0x14003dfde
mov r8d, 0x1b
lea rdx, str._response_:_printEnabled_
jmp 0x14003dfeb
mov r8d, 0x20
lea rdx, str._response_:_printEnableFailed_
call fcn.140006590
lea r9, [rdi + 8]
cmp qword [r9 + 0x18], 0x10
jb 0x14003dffe
mov r9, qword [r9]
movzx r8d, bpl
lea rdx, str.CPrinterHandler::PerformAction._END_bRetVal__d_and_m_strResponseJSON__S.
mov rcx, qword [0x140132990]
call fcn.140011f10
nop
lea rcx, [rsp + 0x68]
call fcn.140063a70
nop
lea rdx, [rbx - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14003e03e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, bpl
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140003f50
int3
Function at 0x14003e080
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
add rcx, 8
call fcn.140021740
lea rcx, [rdi + 0x20]
call fcn.140021610
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003e0c4
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], 0
lea rax, vtable.CWQLQuery.0
mov qword [rdi + 0x20], rax
lea rcx, [rdi + 0x20]
call fcn.140021610
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14003e0e7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rax, vtable.CWQLQueryResult.0
mov qword [rdi + 8], rax
lea rcx, [rdi + 8]
call fcn.140021740
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14003e11f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003e12f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400411c0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x1400411f1
xor eax, eax
jmp 0x14004133f
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14004122e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14004122e
lea ecx, [r10 - 1]
movzx eax, si
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x14004133f
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140041334
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140041275
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14004129e
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.1400c50a0
cmp ax, di
je 0x140041334
movzx edi, si
jmp 0x140041334
lea r8, [rsp + 0x40]
mov word [rsp + 0x50], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x52]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x1400412f4
sub eax, 1
je 0x1400412f4
cmp eax, 2
jne 0x140041334
movzx ecx, word [rsp + 0x50]
jmp 0x140041281
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x140041321
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call fcn.1400c5974
cmp rbp, rax
jne 0x140041334
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
movzx eax, si
jne 0x140041337
movzx eax, di
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140041990
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140041a64
cmp byte [rcx + 0x72], 0
je 0x140041a64
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140041a60
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140041a26
sub eax, 1
je 0x140041a2a
cmp eax, 2
jne 0x140041a60
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140041a57
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1400c5974
cmp rdi, rax
jne 0x140041a60
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140041a0e
xor al, al
jmp 0x140041a0e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5460
add rsp, 0x60
pop rbx
ret
Function at 0x1400457a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x860]
sub rsp, 0x960
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x850], rax
mov r12, rdx
mov rdi, rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x50]
call fcn.1400a83f0
mov qword [rbp + 8], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], 7
mov word [rbp + 8], bx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], bx
lea r9d, [rbx + 1]
lea r8d, [rbx + 0x25]
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14004599c
lea r8, str.WindowsPowerShell_v1.0powershell.exe
mov edx, 0x400
lea rcx, [rbp + 0x50]
call fcn.1400bc87c
lea r8d, [rbx + 0x23]
lea rdx, str._ExecutionPolicy_UnRestricted__File
lea rcx, [rbp + 8]
call fcn.140011160
lea r8d, [rbx + 2]
lea rdx, [0x140108e7c]
lea rcx, [rbp + 8]
call fcn.140012440
lea rdx, [rdi + 0xb0]
cmp qword [rdi + 0xc8], 8
jb 0x140045884
mov rdx, qword [rdi + 0xb0]
mov r8, qword [rdi + 0xc0]
lea rcx, [rbp + 8]
call fcn.140012440
mov r8d, 2
lea rdx, [0x140108ef4]
lea rcx, [rbp + 8]
call fcn.140012440
cmp qword [rdi + 0x100], 0
je 0x1400458dc
lea rdx, [rdi + 0xf0]
cmp qword [rdi + 0x108], 8
jb 0x1400458cc
mov rdx, qword [rdi + 0xf0]
mov r8, qword [rdi + 0x100]
lea rcx, [rbp + 8]
call fcn.140012440
lea rax, [rbp - 0x78]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x78], rax
lea rdx, [rdi + 0x70]
lea rcx, [rbp - 0x78]
call fcn.140012240
mov rsi, rax
lea rdx, [rdi + 0x90]
lea rcx, [rbp - 0x58]
call fcn.140012240
mov r14, rax
lea rdx, [rdi + 0x50]
lea rcx, [rbp - 0x38]
call fcn.140012240
mov rdi, rax
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.140012240
mov r15, rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
lea rax, [rbp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140045961
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140011160
nop
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
mov r9, rdi
mov r8, r15
lea rdx, [rsp + 0x40]
call fcn.140045030
mov ebx, eax
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x1400459d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400459d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045a05
call fcn.1400a59a4
mov eax, ebx
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x960]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400b4704
int3
Function at 0x14004ba90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 9]
call fcn.140026120
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14004baf4
mov rax, qword [rcx]
lea r8, [0x140132918]
xor edx, edx
call qword [rax + 0x70]
test eax, eax
js 0x14004bb0b
mov byte [rbp + 0x33], 0
lea rdx, str.AudioControllerEx::UnmuteTheSpeaker___success.
mov rcx, qword [0x140132990]
call fcn.140011f10
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14004bb23
mov rax, qword [rcx]
lea r8, [0x140132918]
xor edx, edx
call qword [rax + 0x70]
xor edi, edi
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14004bb40
cmp dword [rbp + 3], edi
je 0x14004bb40
mov rax, qword [rcx]
lea rdx, [rbp - 9]
call qword [rax + 0x20]
mov dword [rbp + 3], edi
mov ecx, dword [rbp + 0x37]
test ecx, ecx
je 0x14004bb5a
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov dword [rbp + 0x37], edi
lea rcx, [rbp - 9]
call fcn.1400262a0
mov cl, 1
call fcn.1400282c0
call fcn.14002e500
lea r8, str.GlobalStopKeyLoggerEvent
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x14004bb9b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], di
lea rcx, [rbp - 0x31]
call fcn.140016890
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.140012240
mov rdx, rax
xor ecx, ecx
call fcn.140048920
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x14004bc10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bc0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004bc95
call fcn.1400a59a4
lea rdx, str.fkjjlcdmfknlhbjdnhhjgfbjgciekemc
lea rcx, str.SoftwarePoliciesGoogleChromeExtensionInstallForcelist
call fcn.14002af60
lea rdx, str.iappboepopekilkicojlpkejihpjonhd
lea rcx, str.SoftwarePoliciesMicrosoftEdgeExtensionInstallForcelist
call fcn.14002af60
call fcn.14002b040
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140016600]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [rbp - 0x59], edi
lea rcx, [rbp - 0x59]
call fcn.14002edc0
call fcn.14002f010
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1400b4704
int3
Function at 0x140051290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, r9d
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x20], rdx
mov r15, qword [rsp + 0xa0]
mov ecx, r9d
call fcn.1400a5c74
mov qword [r15], rax
mov rdi, rax
xor eax, eax
mov ecx, ebp
rep stosb byte [rdi], al
mov r8d, ebp
mov rdx, rsi
mov rcx, qword [r15]
call fcn.1400a7d40
mov rdi, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400512f4
mov rdi, qword [r14]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
test rdi, rdi
je 0x1400513b1
cmp byte [rdi], 0
je 0x1400513b1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140051315
xor r11d, r11d
movsxd rbx, eax
test eax, eax
jle 0x1400513b1
mov edx, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x20]
nop
mov eax, r10d
and eax, 0xfe000000
sar eax, 0x19
mov ecx, r9d
and ecx, 0xfe000000
shl r9d, 7
xor r9d, eax
sar ecx, 0x19
mov eax, r8d
and eax, 0xfe000000
shl r8d, 7
xor r8d, ecx
sar eax, 0x19
mov ecx, edx
and ecx, 0xfe000000
shl edx, 7
xor edx, eax
movsx eax, byte [r11 + rdi]
shl r10d, 7
xor r10d, eax
sar ecx, 0x13
xor r10d, ecx
inc r11
cmp r11, rbx
jl 0x140051340
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], r9d
mov dword [rsp + 0x20], r10d
movaps xmm0, xmmword [rsp + 0x20]
jmp 0x1400513c4
mov edx, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x20]
mov r11, qword [r15]
movdqa xmmword [rsp + 0x20], xmm0
xor eax, eax
nop
cmp dword [rsp + rax*4 + 0x20], 0
jne 0x1400513e2
inc rax
cmp rax, 4
jl 0x1400513d0
jmp 0x14005145d
xor edx, r8d
xor edx, r9d
xor edx, r10d
mov eax, edx
sar eax, 0x10
xor eax, edx
mov dword [rsp + 0x34], eax
xor edi, edi
test ebp, ebp
jle 0x14005145d
mov r9d, 0x7fff
movzx r8d, ax
nop word [rax + rax]
lea eax, [r8 + rdi]
movsx ecx, ax
mov eax, 0xb92143fb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xb1
sub ecx, eax
imul ecx, ecx, 0xab
lea eax, [rdx + rdx]
sub ecx, eax
movsx eax, r9w
movsx edx, cx
imul edx, eax
movzx eax, dx
sar ax, 8
xor al, dl
xor byte [r11], al
inc edi
lea r11, [r11 + 1]
cmp edi, ebp
jl 0x140051410
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140051493
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14005148e
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400514ca
mov rcx, rdi
call fcn.1400a59a4
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], reloc.ACTIVEDS.dll_FreeADsMem
mov byte [r14], 0
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b4704
int3
Function at 0x140074430
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x140131a00]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140130b90], ecx
jg 0x140074512
mov eax, ebx
cmp rbx, rax
jne 0x1400744d4
xor ecx, ecx
mov eax, ecx
test rbx, rbx
setne al
test ebx, ebx
setne cl
cmp eax, ecx
jne 0x1400744d4
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x140130b88]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140074555
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.140006160
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140074040
lea rdx, [0x140126990]
lea rcx, [rsp + 0x40]
call fcn.1400a7b10
nop
lea rcx, [0x140130b90]
call fcn.1400a5608
cmp dword [0x140130b90], 0xffffffff
jne 0x14007447c
lea rcx, [0x140130b88]
call fcn.140073f30
lea rcx, [0x1400e66d0]
call fcn.1400a598c
nop
lea rcx, [0x140130b90]
call fcn.1400a55a8
jmp 0x14007447c
mov ecx, eax
call fcn.1400745a0
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x1400ebe98]
lea rcx, [rsp + 0x20]
call fcn.140006160
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140074040
lea rdx, [0x140126990]
lea rcx, [rsp + 0x40]
call fcn.1400a7b10
int3
Function at 0x1400745c0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
mov rdi, rdx
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.14006a810
lea rsi, vtable.CryptoPP::NonblockingRng.0
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x28]
call fcn.140073f30
nop
mov ecx, dword [0x140131a00]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140130b90], ecx
jg 0x14007472a
mov eax, ebx
cmp rbx, rax
jne 0x1400746ec
xor ecx, ecx
mov eax, ecx
test ebx, ebx
setne al
test rbx, rbx
setne cl
cmp ecx, eax
jne 0x1400746ec
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x140130b88]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x1400746aa
mov qword [rsp + 0x20], rsi
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140074685
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, eax
call fcn.1400745a0
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x1400ebe98]
lea rcx, [rsp + 0x30]
call fcn.140006160
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140074040
lea rdx, [0x140126990]
lea rcx, [rsp + 0x50]
call fcn.1400a7b10
nop
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x30]
call fcn.140006160
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140074040
lea rdx, [0x140126990]
lea rcx, [rsp + 0x50]
call fcn.1400a7b10
nop
lea rcx, [0x140130b90]
call fcn.1400a5608
cmp dword [0x140130b90], 0xffffffff
jne 0x140074634
lea rcx, [0x140130b88]
call fcn.140073f30
lea rcx, [0x1400e66d0]
call fcn.1400a598c
nop
lea rcx, [0x140130b90]
call fcn.1400a55a8
jmp 0x140074634
Function at 0x140074770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor ebx, ebx
mov r11, rdx
mov r9, rcx
mov r10d, ebx
cmp r8, 8
jb 0x1400747b7
mov rcx, r8
shr rcx, 3
imul rax, rcx, 0xfffffffffffffff8
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r9]
add r9, 8
xor rax, qword [r11]
add r11, 8
or r10, rax
sub rcx, 1
jne 0x1400747a0
mov rdx, r10
shr rdx, 0x20
or edx, r10d
mov eax, edx
mov ecx, edx
shr eax, 8
or eax, edx
shr ecx, 0x10
and eax, 0xff00
or eax, ecx
movzx ecx, dl
shr eax, 8
or eax, ecx
test r8, r8
je 0x1400748b7
cmp r8, 8
jb 0x140074893
mov rdx, r8
lea r10, [r11 + 4]
and rdx, 0xfffffffffffffff8
mov rcx, r9
sub rcx, r11
xorps xmm4, xmm4
xorps xmm3, xmm3
nop word [rax + rax]
movd xmm2, dword [rcx + r10 - 4]
xorps xmm0, xmm0
movd xmm1, dword [r10 - 4]
lea r10, [r10 + 8]
punpcklbw xmm2, xmm0
add rbx, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [r10 - 8]
punpcklbw xmm1, xmm0
por xmm4, xmm2
movd xmm2, dword [rcx + r10 - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp rbx, rdx
jb 0x140074810
por xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd ecx, xmm3
or eax, ecx
cmp rbx, r8
jae 0x1400748b7
sub r9, r11
lea r10, [rbx + r11]
sub r8, rbx
nop dword [rax]
movzx edx, byte [r10 + r9]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
xor edx, ecx
or eax, edx
sub r8, 1
jne 0x1400748a0
mov rbx, qword [rsp + 8]
test eax, eax
sete al
ret