joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001123a
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400158a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400158c0
xor al, al
jmp 0x140015941
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400158d3
xor al, al
jmp 0x140015941
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 0x1400158fd
xor al, al
jmp 0x140015941
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015911
xor al, al
jmp 0x140015941
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015923
xor al, al
jmp 0x140015941
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001593f
xor al, al
jmp 0x140015941
mov al, 1
add rsp, 0x38
ret
Function at 0x180001bf0
Capabilities:
Create thread
Resume thread

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x18002e010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
cmp qword [rcx], 0
jne 0x180001da8
mov ecx, 0x18
call fcn.18000c05c
mov rdi, rax
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
lea rax, vtable.RC::RCRefCounted.0
mov qword [rdi], rax
xor r15d, r15d
mov dword [rdi + 8], r15d
lea rax, vtable.RC::RCThread.0
mov qword [rdi], rax
lea ecx, [r15 + 0x70]
call fcn.18000c05c
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.180008830
nop
mov qword [rdi + 0x10], rax
test rax, rax
je 0x180001c95
mov qword [rax], r14
mov rax, qword [rdi + 0x10]
lea rcx, [0x180001dd0]
mov qword [rax + 8], rcx
mov rbx, qword [r14]
mov ebp, 1
lea esi, [rbp - 2]
cmp rbx, rdi
je 0x180001ccb
mov eax, ebp
lock xadd dword [rdi + 8], eax
mov rcx, qword [r14]
test rcx, rcx
je 0x180001cc5
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, ebp
jne 0x180001cc5
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [r14], rdi
mov rbx, rdi
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x180001da8
mov qword [rsp + 0x40], r15
add rdi, 0x38
mov qword [rsp + 0x40], rdi
je 0x180001cf7
mov rcx, qword [rdi]
test rcx, rcx
je 0x180001cf7
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rbx + 0x10]
cmp qword [rax + 8], 0
je 0x180001d90
lock xadd dword [rbx + 8], ebp
mov rax, qword [rbx + 0x10]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [0x1800089e0]
xor edx, edx
xor ecx, ecx
call fcn.1800103a8
mov rcx, qword [rbx + 0x10]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x10]
cmp qword [rax + 0x18], 0
je 0x180001d73
mov byte [rax + 0x10], 1
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x180001d64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x180001d90
lock xadd dword [rbx + 8], esi
cmp esi, 1
jne 0x180001d86
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbx + 0x10]
call fcn.180008b90
nop
test rdi, rdi
je 0x180001da8
mov rcx, qword [rdi]
test rcx, rcx
je 0x180001da3
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x40], r15
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18000c030
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1800033f0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18002e010]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp edx, 1
jne 0x180003444
call fcn.1800034b0
test al, al
jne 0x18000345b
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x180003470]
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call fcn.1800103a8
test rax, rax
je 0x18000345b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18000c030
add rsp, 0x48
ret
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18000c030
add rsp, 0x48
ret
Function at 0x180004360
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x18002e010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov ecx, 1
call fcn.18000c05c
mov qword [rbx], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x118
mov byte [rax], 0
call fcn.18000dba0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x1800043c7
cmp dword [rsp + 0x24], 6
mov rcx, qword [rbx]
setae dl
mov byte [rcx], dl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18000c030
add rsp, 0x150
pop rbx
ret
Function at 0x18000aa40
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x788]
sub rsp, 0x860
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18002e010]
xor rax, rsp
mov qword [rbp + 0x750], rax
mov r15, rcx
lea rdx, [rsp + 0x50]
mov ecx, 0x3fe
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
test eax, eax
je 0x18000ab17
lea r12, [rsp + 0x50]
xor r13d, r13d
mov qword [rsp + 0x48], r13
mov ebx, r13d
mov qword [rsp + 0x48], rbx
lea r8, [r13 - 1]
cmp esi, 0x3fe
jbe 0x18000ab49
lea ecx, [rsi + 2]
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.18000ca90
mov r12, rax
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x18000ab0a
cmp eax, esi
ja 0x18000ab0a
mov ecx, eax
mov word [rbx + rcx*2], r13w
lea ecx, [rax + 1]
mov word [rbx + rcx*2], r13w
mov esi, eax
lea r8, [r13 - 1]
jmp 0x18000ab7a
test r12, r12
je 0x18000ab17
mov rcx, r12
call fcn.18000c054
xor al, al
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.18000c030
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, rsi
add rax, rax
cmp rax, 0x800
jae 0x18000acac
mov word [rsp + rax + 0x50], r13w
lea ecx, [rsi + 1]
add rcx, rcx
cmp rcx, 0x800
jae 0x18000aca6
mov word [rsp + rcx + 0x50], r13w
mov eax, r13d
mov edi, r13d
test esi, esi
je 0x18000ac92
mov r14, r12
nop dword [rax + rax]
cmp word [r14], 0
jne 0x18000ac7c
cmp eax, edi
je 0x18000ac7c
lea rdx, [r12 + rax*2]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r13w
inc r8
cmp word [rdx + r8*2], 0
jne 0x18000abc5
lea rcx, [rsp + 0x20]
call fcn.180003080
nop
mov rdx, qword [r15 + 8]
cmp qword [r15 + 0x10], rdx
je 0x18000ac19
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r13w
add qword [r15 + 8], 0x20
jmp 0x18000ac27
lea r8, [rsp + 0x20]
mov rcx, r15
call fcn.180006540
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x18000ac65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ac60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000acb2
call fcn.18000c054
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r13w
lea eax, [rdi + 1]
inc edi
add r14, 2
cmp edi, esi
jae 0x18000ac92
mov r8, 0xffffffffffffffff
jmp 0x18000ab90
test rbx, rbx
je 0x18000ac9f
mov rcx, rbx
call fcn.18000c054
mov al, 1
jmp 0x18000ab19
call fcn.18000c8fc
int3
call fcn.18000c8fc
int3
call fcn.1800101e4
int3
Function at 0x18000b770
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x18002e010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x18000b7a5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x18000b84f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x180028210]
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.18000ba30
test al, al
je 0x18000b7fe
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18000b83c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b86e
call fcn.18000c054
movdqa xmm0, xmmword [0x180028210]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18000c030
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.1800101e4
int3
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, 0xae5230ff
jmp [rdx]
test bh, bh
and dh, byte [rdi]
test edi, edi
and eax, 0x3cffb94b
xchg bh, bh
jmp [rsi - 0x32]
xchg ebx, eax
call [0x160036be6]
invalid
and byte [rdi], ch
pop rsp
jmp qword [rax]
lcall [0x16103440a]
sub ecx, dword [rsi - 1]
and dword [rbx], ebp
jmp qword [r10]
jmp qword [0x160034620]
jmp qword [rdx]
sbb ebp, dword [rax]
push rsp
call [rcx]
and eax, 0x2419ff52
push rdx
call [rcx]
sbb dword [rdx + rdx*2], esp
sbb dword [rdx + rdx*2], esp
call [rdx]
push rbx
call [0x15e034d4b]
sub dl, byte [rsi - 1]
sbb al, 0x29
push rsi
call [rbx]
sub byte [rdi - 1], dl
sbb al, 0x2a
pop rdx
call [rdx]
sub dword [rdi + rdi*8 + 0x1a], ebx
sub dword [rbp - 1], ebx
sbb ebp, dword [rbx]
invalid
Function at 0x1400012d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14002c010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, r9
mov esi, r8d
mov rbx, rdx
mov r13, rcx
mov r15, qword [rbp + 0x60]
test r8b, 0xf
jne 0x14000143b
mov ecx, esi
call fcn.140002f64
mov r12, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.140002f64
mov r14, rax
mov r8, rax
mov rdx, rdi
mov rcx, r13
call fcn.140001f10
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x20], xmm0
xor r15d, r15d
test esi, esi
je 0x140001409
nop
movzx eax, byte [r15 + rbx]
xor byte [rbp - 0x20], al
movzx eax, byte [rbx + r15 + 1]
xor byte [rbp - 0x1f], al
movzx eax, byte [rbx + r15 + 2]
xor byte [rbp - 0x1e], al
movzx eax, byte [rbx + r15 + 3]
xor byte [rbp - 0x1d], al
movzx eax, byte [rbx + r15 + 4]
xor byte [rbp - 0x1c], al
movzx eax, byte [rbx + r15 + 5]
xor byte [rbp - 0x1b], al
movzx eax, byte [rbx + r15 + 6]
xor byte [rbp - 0x1a], al
movzx eax, byte [rbx + r15 + 7]
xor byte [rbp - 0x19], al
movzx eax, byte [rbx + r15 + 8]
xor byte [rbp - 0x18], al
movzx eax, byte [rbx + r15 + 9]
xor byte [rbp - 0x17], al
movzx eax, byte [rbx + r15 + 0xa]
xor byte [rbp - 0x16], al
movzx eax, byte [rbx + r15 + 0xb]
xor byte [rbp - 0x15], al
movzx eax, byte [rbx + r15 + 0xc]
xor byte [rbp - 0x14], al
movzx eax, byte [rbx + r15 + 0xd]
xor byte [rbp - 0x13], al
movzx eax, byte [rbx + r15 + 0xe]
xor byte [rbp - 0x12], al
movzx eax, byte [rbx + r15 + 0xf]
xor byte [rbp - 0x11], al
lea rdi, [r15 + r12]
mov r9, r14
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, r13
call fcn.1400016d0
movups xmm1, xmmword [rdi]
movups xmmword [rbp - 0x20], xmm1
add r15d, 0x10
cmp r15d, esi
jb 0x140001350
mov rcx, r14
call fcn.140002f20
mov rax, r12
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140002f00
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x60]
call fcn.1400012b0
nop
mov r8, rax
lea rcx, [rbp - 0x40]
call fcn.1400022e0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140001240
lea rdx, [0x14002b140]
lea rcx, [rbp - 0x20]
call fcn.140009160
int3
Function at 0x140001470
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14002c010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r9
mov r14d, r8d
mov rbp, rdx
mov qword [rsp + 0x20], rdx
mov r13, rcx
test r8b, 0xf
jne 0x140001609
mov ecx, r14d
call fcn.140002f64
mov rbx, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.140002f64
mov r15, rax
mov r8, rax
mov rdx, rdi
mov rcx, r13
call fcn.140001f10
mov rcx, qword [rsp + 0xf0]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x68], xmm0
xor r12d, r12d
test r14d, r14d
je 0x1400015d3
nop word [rax + rax]
mov esi, r12d
lea rdi, [r12 + rbx]
add rbp, rsi
mov r9, r15
mov r8, rdi
mov rdx, rbp
mov rcx, r13
call fcn.140001b00
movzx eax, byte [rsp + 0x68]
xor byte [rdi], al
movzx eax, byte [rsp + 0x69]
xor byte [r12 + rbx + 1], al
movzx eax, byte [rsp + 0x6a]
xor byte [rbx + r12 + 2], al
movzx eax, byte [rsp + 0x6b]
xor byte [rbx + r12 + 3], al
movzx eax, byte [rsp + 0x6c]
xor byte [rbx + r12 + 4], al
movzx eax, byte [rsp + 0x6d]
xor byte [rbx + r12 + 5], al
movzx eax, byte [rsp + 0x6e]
xor byte [rbx + r12 + 6], al
movzx eax, byte [rsp + 0x6f]
xor byte [rbx + r12 + 7], al
movzx eax, byte [rsp + 0x70]
xor byte [rbx + r12 + 8], al
movzx eax, byte [rsp + 0x71]
xor byte [rbx + r12 + 9], al
movzx eax, byte [rsp + 0x72]
xor byte [rbx + r12 + 0xa], al
movzx eax, byte [rsp + 0x73]
xor byte [rbx + r12 + 0xb], al
movzx eax, byte [rsp + 0x74]
xor byte [rbx + r12 + 0xc], al
movzx eax, byte [rsp + 0x75]
xor byte [rbx + r12 + 0xd], al
movzx eax, byte [rsp + 0x76]
xor byte [rbx + r12 + 0xe], al
movzx eax, byte [rsp + 0x77]
xor byte [rbx + r12 + 0xf], al
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x68], xmm0
add r12d, 0x10
cmp r12d, r14d
mov rbp, qword [rsp + 0x20]
jb 0x140001500
mov rcx, r15
call fcn.140002f20
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140002f00
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x28]
call fcn.1400012b0
nop
mov r8, rax
lea rcx, [rsp + 0x48]
call fcn.1400022e0
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140001240
lea rdx, [0x14002b140]
lea rcx, [rsp + 0x68]
call fcn.140009160
int3
Function at 0x140001f10
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push r14
sub rsp, 0x20
mov r10d, dword [rcx]
xor r9d, r9d
mov r11, r8
mov r14, rcx
lea eax, [r10*4]
test eax, eax
je 0x140001f4c
nop
movzx eax, byte [r9 + rdx]
mov byte [r9 + r8], al
inc r9d
mov r10d, dword [rcx]
lea eax, [r10*4]
cmp r9d, eax
jb 0x140001f30
mov eax, dword [rcx + 4]
lea r9d, [r10*4]
inc eax
shl eax, 4
cmp r9d, eax
jae 0x1400020cd
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 8], r12
lea r12, str.cw
mov qword [rsp], r15
lea r15d, [r9 + 2]
nop dword [rax]
mov ebp, dword [r14]
lea eax, [r9 - 4]
movzx r8d, byte [rax + r11]
xor edx, edx
lea eax, [r9 - 3]
movzx r10d, r8b
movzx ebx, byte [rax + r11]
lea eax, [r9 - 2]
movzx edi, byte [rax + r11]
lea eax, [r9 - 1]
movzx esi, byte [rax + r11]
mov eax, r9d
shr eax, 2
div ebp
test edx, edx
jne 0x14000201b
movzx r10d, byte [rbx + r12]
xor edx, edx
movzx ebx, byte [rdi + r12]
mov eax, r9d
movzx edi, byte [rsi + r12]
mov cl, 1
movzx esi, byte [r8 + r12]
lea r8d, [rbp*4]
div r8d
sub eax, 1
je 0x140002016
mov r8d, eax
nop word [rax + rax]
movzx eax, cl
add cl, cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
xor cl, dl
sub r8, 1
jne 0x140002000
xor r10b, cl
jmp 0x140002039
cmp ebp, 6
jbe 0x140002039
cmp edx, 4
jne 0x140002039
movzx r10d, byte [r8 + r12]
movzx ebx, byte [rbx + r12]
movzx edi, byte [rdi + r12]
movzx esi, byte [rsi + r12]
mov ecx, r9d
lea eax, [rbp*4]
sub ecx, eax
xor r10b, byte [rcx + r11]
mov ecx, r9d
mov byte [r9 + r11], r10b
mov eax, dword [r14]
shl eax, 2
sub ecx, eax
lea eax, [r15 - 1]
inc ecx
xor bl, byte [rcx + r11]
mov ecx, r9d
mov byte [rax + r11], bl
mov eax, dword [r14]
shl eax, 2
sub ecx, eax
add ecx, 2
xor dil, byte [rcx + r11]
mov ecx, r9d
mov byte [r15 + r11], dil
add r9d, 4
mov eax, dword [r14]
shl eax, 2
sub ecx, eax
lea eax, [r15 + 1]
add ecx, 3
add r15d, 4
xor sil, byte [rcx + r11]
mov byte [rax + r11], sil
mov eax, dword [r14 + 4]
inc eax
shl eax, 4
cmp r9d, eax
jb 0x140001f90
mov r15, qword [rsp]
mov r12, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x14000345c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400034a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400034a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400034a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400034a6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400034a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400034a8
xor al, al
add rsp, 0x28
ret
Function at 0x140003c30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.140003e80
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x140003d4a
mov rax, qword [0x14002c030]
cmp qword [rsp + 0x20], rax
jb 0x140003c94
mov rax, qword [0x14002c038]
cmp qword [rsp + 0x20], rax
ja 0x140003c94
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140003c56
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400094a0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x140003cc5
jmp 0x140003d4a
cmp dword [rsp + 0x50], 0x10000
jne 0x140003d2d
cmp qword [rsp + 0x48], 0x10000
jb 0x140003d2d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140003d0b
mov rax, qword [rsp + 0x28]
jmp 0x140003d4c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x140003d1b
xor eax, eax
jmp 0x140003d4c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140003d45
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.140003e80
mov qword [rsp + 0x20], rax
jmp 0x140003c56
xor eax, eax
add rsp, 0x68
ret

Function at 0x140003d60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.140003ec0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x140003e76
mov rax, qword [0x14002c030]
cmp qword [rsp + 0x20], rax
jb 0x140003dbb
mov rax, qword [0x14002c038]
cmp qword [rsp + 0x20], rax
ja 0x140003dbb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x140003d7d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400094a0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x140003dec
jmp 0x140003e76
cmp dword [rsp + 0x50], 0x10000
jne 0x140003e54
cmp qword [rsp + 0x48], 0x10000
jb 0x140003e54
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140003e32
mov rax, qword [rsp + 0x28]
jmp 0x140003e78
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x140003e42
xor eax, eax
jmp 0x140003e78
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x140003e71
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140003ec0
mov qword [rsp + 0x20], rax
jmp 0x140003d7d
xor eax, eax
add rsp, 0x68
ret