joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008464
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x1400084a3
cmp dword [rcx + 0xa8], 0
jne 0x1400084a3
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14000b230
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140008408
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000cbc4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.1400152ec
mov rsi, rax
test rax, rax
je 0x14000cc40
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000cc3b
cmp dword [rbx], 0x40
jb 0x14000cc3b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000cc3b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000cc44
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001321c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140013284
call fcn.14000b230
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140013284
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400132a6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140012c2c
mov esi, eax
test rdi, rdi
je 0x1400132a4
test rbx, rbx
je 0x1400132a4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14001497c
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x1400149ba
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140014a6e
call fcn.14000b5c0
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400149d9
mov ecx, 0x80004005
call fcn.140004630
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14002ddcc
test eax, eax
je 0x140014a41
cmp eax, 0xc
je 0x140014a3b
cmp eax, 0x16
je 0x140014a35
cmp eax, 0x22
je 0x140014a35
cmp eax, 0x50
je 0x140014a41
call fcn.14000ba24
int3
call fcn.14000ba24
int3
call fcn.14000b9dc
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140014a6c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14002cd70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140031e1c
nop
cmp dword [0x14005f208], 1
je 0x14002cd1c
mov dword [0x14005f204], 1
mov byte [0x14005f200], r12b
test ebx, ebx
jne 0x14002cd08
mov rcx, qword [0x140061570]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002ccf5
mov rcx, qword [0x140061568]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14002cc94
call fcn.14002fbd8
cmp qword [rdi], rax
jne 0x14002cc94
jmp 0x14002cc7a
cmp rdi, rsi
jb 0x14002ccf5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002fbd8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140061570]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140061568]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002ccd3
cmp r13, rax
je 0x14002ccf3
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002cc7a
lea rdx, [0x140041c60]
lea rcx, [0x140041c48]
call fcn.14002cac4
lea rdx, [0x140041c70]
lea rcx, [0x140041c68]
call fcn.14002cac4
nop
test r12d, r12d
je 0x14002cd2b
mov ecx, 8
call fcn.140031d1c
test r12d, r12d
jne 0x14002cd56
mov dword [0x14005f208], 1
lea ecx, [r12 + 8]
call fcn.140031d1c
mov ecx, r15d
call fcn.14002ca58
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14002cbe4

Function at 0x14002cd7c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14002cbe4
Function at 0x1400300d3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140059df0]
jne 0x14002bcba
rol rcx, 0x10
test cx, 0xffff
jne 0x14002bcb6
repz ret
ror rcx, 0x10
jmp 0x14003002c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005f7f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14005f8e8]
mov qword [rsp + 0x58], r11
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 0x1400300b1
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, [0x14005f7f0]
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 0x1400300d3
mov rax, qword [rsp + 0x88]
mov qword [0x14005f8e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005f888], rax
mov rax, qword [0x14005f8e8]
mov qword [0x14005f760], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005f870], rax
mov dword [0x14005f750], 0xc0000409
mov dword [0x14005f754], 1
mov rax, qword [0x140059df0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140059df8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005f7e8], eax
mov ecx, 1
call fcn.1400303e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140048f80]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005f7e8], 0
jne 0x14003015a
mov ecx, 1
call fcn.1400303e0
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 0x140036834
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14002fbd8
xor ebx, ebx
mov rdi, rax
cmp qword [0x140060070], rbx
jne 0x14003693a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140036a0f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140036a0f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400490f0]
mov rcx, rsi
mov qword [0x140060070], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400490d8]
mov rcx, rsi
mov qword [0x140060078], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140060080], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140060090], rax
test rax, rax
je 0x140036931
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140060088], rax
jmp 0x140036941
mov rax, qword [0x140060088]
jmp 0x140036948
mov rax, qword [0x140060088]
mov r11, qword [0x140060090]
cmp rax, rdi
je 0x1400369b0
cmp r11, rdi
je 0x1400369b0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140060090]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400369b0
test rax, rax
je 0x1400369b0
call rsi
test rax, rax
je 0x1400369aa
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400369aa
test byte [rsp + 0x38], 1
jne 0x1400369b0
bts ebp, 0x15
jmp 0x1400369ee
mov rcx, qword [0x140060078]
cmp rcx, rdi
je 0x1400369ee
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400369ee
call rax
mov rbx, rax
test rax, rax
je 0x1400369ee
mov rcx, qword [0x140060080]
cmp rcx, rdi
je 0x1400369ee
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400369ee
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140060070]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140036a0f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140036a11
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140011348
Capabilities:
Terminate process

Disassembly:
jmp 0x140016d40
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 0x14001141a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018090
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400180b0
xor al, al
jmp 0x140018131
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400180c3
xor al, al
jmp 0x140018131
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 0x1400180ed
xor al, al
jmp 0x140018131
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018101
xor al, al
jmp 0x140018131
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018113
xor al, al
jmp 0x140018131
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001812f
xor al, al
jmp 0x140018131
mov al, 1
add rsp, 0x38
ret
Function at 0x140011622
Capabilities:
Create process on windows

Disassembly:
jmp 0x140015380
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x1400290f5]
call fcn.1400115c8
lea r8, [0x14001f4d4]
xor edx, edx
mov rcx, qword [rbp + 0x1d0]
call fcn.140011050
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rbp + 0x10], 0x70
mov dword [rbp + 0x14], 0x40
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
lea rax, str.cmd.exe
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x1d0]
call fcn.14001108c
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0
mov dword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
lea rcx, [rbp + 0x10]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14001546a
mov dword [rbp + 0x174], 0xffffffff
mov rcx, qword [rbp + 0x1d0]
call fcn.140011118
mov eax, dword [rbp + 0x174]
jmp 0x1400154b2
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x94]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x94]
mov dword [rbp + 0x194], eax
mov rcx, qword [rbp + 0x1d0]
call fcn.140011118
mov eax, dword [rbp + 0x194]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ee40]
call fcn.1400114ec
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.1400112d0
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140002660
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x140002683
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x52]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x140002670
mov byte [rcx + 0xd], 0
mov rax, rcx
ret

Function at 0x140002ba0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x40], 0
je 0x140002bc8
xor eax, eax
mov r8d, 0x31ae
nop
movzx edx, ax
sub dx, r8w
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x1f
jb 0x140002bb0
mov byte [rcx + 0x40], 0
mov rax, rcx
ret
Function at 0x1400038e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140026010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x140026a78], eax
jle 0x1400039f1
lea rcx, [0x140026a78]
call fcn.140015c20
cmp dword [0x140026a78], 0xffffffff
jne 0x1400039f1
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], 0xf
lea ecx, [rbx + 0x20]
call fcn.140015c98
mov qword [rbp + 7], rax
mov qword [rbp + 0x17], 0x12
mov qword [rbp + 0x1f], 0x1f
movups xmm0, xmmword [0x1400188b8]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400188c8]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], bl
lea r8, [rbp + 7]
mov rdx, qword [0x140026a08]
mov rcx, rdi
call fcn.140003f10
mov qword [0x140026b38], rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x1400039e5
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015b70
nop
lea rcx, [0x140026a78]
call fcn.140015bb4
mov r8, qword [0x140026b38]
test r8, r8
jne 0x140003acc
mov dword [rbp - 0x49], 0xce72ce09
mov dword [rbp - 0x45], 0xce75ce09
mov dword [rbp - 0x41], 0xce36ce10
mov dword [rbp - 0x3d], 0xce35ce31
mov dword [rbp - 0x39], 0xce3fce3f
mov dword [rbp - 0x35], 0xce29ce7c
mov dword [rbp - 0x31], 0xce7fce31
mov dword [rbp - 0x2d], 0xce08ce06
mov dword [rbp - 0x29], 0xce07ce0c
mov dword [rbp - 0x25], 0xce28ce44
mov dword [rbp - 0x21], 0xce32ce0b
mov dword [rbp - 0x1d], 0xce04ce06
mov dword [rbp - 0x19], 0xce1bce0b
mov dword [rbp - 0x15], 0xce02ce20
mov dword [rbp - 0x11], 0xce04ce0d
mov dword [rbp - 0xd], 0xce15ce15
mov dword [rbp - 9], 0xce12ce22
mov dword [rbp - 5], 0xce10ce13
mov dword [rbp - 1], 0xce05
mov byte [rbp + 3], 1
mov ecx, 0x31ae
nop
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x49], ax
inc rbx
cmp rbx, 0x25
jb 0x140003a90
mov byte [rbp + 3], 0
lea rdx, [rbp - 0x49]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a700
lea rdx, [0x14000a8e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x140003ae0
mov qword [rsp + 0x20], r14
mov r9, rsi
lea rdx, [rbp + 0x27]
mov rcx, rdi
call fcn.14000bd10
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140015b50
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140003b00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140026010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rdx
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x140026a50], eax
jle 0x140003c0f
lea rcx, [0x140026a50]
call fcn.140015c20
cmp dword [0x140026a50], 0xffffffff
jne 0x140003c0f
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], 0xf
lea ecx, [rbx + 0x20]
call fcn.140015c98
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x27], 0x12
mov qword [rbp + 0x2f], 0x1f
movups xmm0, xmmword [str.MmFreePagesFromMdl]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400188e0]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], bl
lea r8, [rbp + 0x17]
mov rdx, qword [0x140026a08]
mov rcx, rdi
call fcn.140003f10
mov qword [0x140026b10], rax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x140003c03
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bfd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015b70
nop
lea rcx, [0x140026a50]
call fcn.140015bb4
mov r8, qword [0x140026b10]
test r8, r8
jne 0x140003cec
mov dword [rbp - 0x39], 0xce72ce09
mov dword [rbp - 0x35], 0xce75ce09
mov dword [rbp - 0x31], 0xce36ce10
mov dword [rbp - 0x2d], 0xce35ce31
mov dword [rbp - 0x29], 0xce3fce3f
mov dword [rbp - 0x25], 0xce29ce7c
mov dword [rbp - 0x21], 0xce7fce31
mov dword [rbp - 0x1d], 0xce08ce06
mov dword [rbp - 0x19], 0xce07ce0c
mov dword [rbp - 0x15], 0xce28ce44
mov dword [rbp - 0x11], 0xce21ce0b
mov dword [rbp - 0xd], 0xce0cce1a
mov dword [rbp - 9], 0xce3bce0f
mov dword [rbp - 5], 0xce0ace0d
mov dword [rbp - 1], 0xce1cce0b
mov dword [rbp + 3], 0xce03ce36
mov dword [rbp + 7], 0xce1ece1d
mov dword [rbp + 0xb], 0xce11ce39
mov dword [rbp + 0xf], 0xce1a
mov byte [rbp + 0x13], 1
mov ecx, 0x31ae
nop dword [rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x39], ax
inc rbx
cmp rbx, 0x25
jb 0x140003cb0
mov byte [rbp + 0x13], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a700
lea rdx, [0x14000a8e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x140003cfb
mov r9, rsi
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.14000c3b0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140015b50
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003d20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x140003ee8
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140026af0], eax
jle 0x140003e17
lea rcx, [0x140026af0]
call fcn.140015c20
cmp dword [0x140026af0], 0xffffffff
jne 0x140003e17
xorps xmm0, xmm0
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x47], 0xa
mov qword [rbp + 0x4f], 0xf
movsd xmm0, qword [str.ExFreePool]
movsd qword [rbp + 0x37], xmm0
movzx eax, word [0x1400188f0]
mov word [rbp + 0x3f], ax
mov byte [rbp + 0x41], 0
lea r8, [rbp + 0x37]
mov rdx, qword [0x140026a08]
mov rcx, rdi
call fcn.140003f10
mov qword [0x140026ac0], rax
mov rdx, qword [rbp + 0x4f]
cmp rdx, 0x10
jb 0x140003e0b
inc rdx
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015b70
nop
lea rcx, [0x140026af0]
call fcn.140015bb4
mov r8, qword [0x140026ac0]
test r8, r8
jne 0x140003eec
mov dword [rbp - 0x19], 0xce72ce09
mov dword [rbp - 0x15], 0xce75ce09
mov dword [rbp - 0x11], 0xce36ce10
mov dword [rbp - 0xd], 0xce35ce31
mov dword [rbp - 9], 0xce3fce3f
mov dword [rbp - 5], 0xce29ce7c
mov dword [rbp - 1], 0xce7fce31
mov dword [rbp + 3], 0xce08ce06
mov dword [rbp + 7], 0xce07ce0c
mov dword [rbp + 0xb], 0xce20ce44
mov dword [rbp + 0xf], 0xce26ce1e
mov dword [rbp + 0x13], 0xce05ce04
mov dword [rbp + 0x17], 0xce08ce05
mov dword [rbp + 0x1b], 0xce19ce0d
mov dword [rbp + 0x1f], 0xce3fce0b
mov dword [rbp + 0x23], 0xce1ece1f
mov dword [rbp + 0x27], 0xce1e
xor eax, eax
mov byte [rbp + 0x2b], 1
mov edx, 0x31ae
nop dword [rax]
movzx ecx, ax
sub cx, dx
xor word [rbp + rax*2 - 0x19], cx
inc rax
cmp rax, 0x21
jb 0x140003eb0
mov byte [rbp + 0x2b], 0
lea rdx, [rbp - 0x19]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a700
lea rdx, [0x14000a8e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
jmp 0x140003ef9
mov r9, rbx
xor edx, edx
mov rcx, rdi
call fcn.14000ca30
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret