joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002775c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400277a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400277a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400277a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400277a6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400277a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400277a8
xor al, al
add rsp, 0x28
ret

Function at 0x14002d15c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14002cfc7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002cfc7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002cfc7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002cfc7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002cfc7
cmp dword [rcx + 0x84], 0xe
jbe 0x14002cfc7
cmp dword [rcx + 0xf8], 0
je 0x14002cfc7
mov ecx, ebx
call fcn.14002d078
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14002ce54
nop
cmp dword [rbp + 0x20], 0
je 0x14002d015
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002d020
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002cf58

Function at 0x140039084
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003909a
mov al, 1
jmp 0x1400390fa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400390ab
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400390f8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140042be4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400390f8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400390f8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400390f8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400390fa
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14003d5c8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140027210
sub rsp, rax
mov rax, qword [0x140086070]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140038f64
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14003d617
mov rax, rbp
jmp 0x14003d71f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x89260]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14003f014
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x89260]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14003d71b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003d71b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14003f014
test rax, rax
js 0x14003d71b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14003d71b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14003d70d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14003d70d
cmp byte [rcx], 0xd
jne 0x14003d6f3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14003d702
cmp byte [rcx + 1], 0xa
jne 0x14003d702
inc rcx
jmp 0x14003d702
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x86460]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14003d6d5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14003d71f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400269f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003e3b4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140089260]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14003e40b
cmp word [rdx], r13w
jne 0x14003e40b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14003e410
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14003e535
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14003e556
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14003e449
mov rdx, r9
mov word [rbx], cx
jmp 0x14003e470
cmp r9, r8
jae 0x14003e480
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14003e42a
jmp 0x14003e535
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003e52a
cmp dword [rsp + 0x80], esi
je 0x14003e52a
lea r8, [0x140089260]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14003e502
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14003e4d2
mov word [rbx], r13w
jmp 0x14003e532
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14003e4df
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14003e532
cmp word [rsp + 0x70], r13w
jne 0x14003e50f
cmp rbx, r14
je 0x14003e4cc
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14003f01c
cmp word [rsp + 0x70], r13w
je 0x14003e535
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140089260]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14003e52f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14003e535
Function at 0x1400421e0
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140042210
xor eax, eax
jmp 0x1400422d3
mov rbp, rbx
cmp word [rax], si
je 0x140042235
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14004221c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140042218
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400407e0
movsxd r14, eax
test eax, eax
jne 0x140042273
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140042209
mov rcx, r14
call fcn.14003b358
mov rdi, rax
test rax, rax
jne 0x14004228c
xor ecx, ecx
call fcn.14003aed4
jmp 0x140042268
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400407e0
test eax, eax
jne 0x1400422bd
mov rcx, rdi
call fcn.14003aed4
jmp 0x1400422c7
xor ecx, ecx
call fcn.14003aed4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140045138
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140039544
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400451d9
cmp ebx, dword [rsp + 0x30]
je 0x1400451d2
test esi, esi
je 0x1400451d2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400451ad
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400451ba
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140045197
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400451be
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400451db
mov eax, 1
jmp 0x1400451db
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400492b4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14002d430
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004933e
cmp byte [rbp - 0x21], r15b
je 0x140049339
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140049374
call fcn.14003ca78
test eax, eax
jne 0x140049360
cmp byte [rbp - 0x21], r15b
je 0x140049358
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140049374
cmp byte [rbp - 0x21], r15b
je 0x140049371
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400351f0
test eax, eax
jne 0x140049414
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002d430
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400493b3
cmp byte [rbp - 0x21], r15b
je 0x1400493e8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400493e8
call fcn.14003ca78
test eax, eax
jne 0x1400493d4
cmp byte [rbp - 0x21], r15b
je 0x1400493cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400493e8
cmp byte [rbp - 0x21], r15b
je 0x1400493e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400351f0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140049414
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140049417
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140049425
mov rcx, rdi
call fcn.14003aed4
cmp byte [rbp + 0x3f], r15b
je 0x140049434
mov rcx, qword [rbp + 0x27]
call fcn.14003aed4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14004a244
Capabilities:
Clear file content

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
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14003f01c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14003f01c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14004a394
cmp rax, 0xffffffffffffffff
je 0x14004a394
xor edi, edi
test rbp, rbp
jle 0x14004a33f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140039b18
mov rbx, rax
test rax, rax
jne 0x14004a2cc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14004a335
mov edx, 0x8000
mov ecx, r14d
call fcn.1400362b4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14003abcc
cmp eax, 0xffffffff
je 0x14004a315
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14004a2dc
mov edx, r15d
mov ecx, r14d
call fcn.1400362b4
jmp 0x14004a335
cmp byte [rsi + 0x38], dil
je 0x14004a32c
cmp dword [rsi + 0x34], 5
jne 0x14004a32c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14004a335
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14003aed4
jmp 0x14004a3a8
jns 0x14004a3a8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14003f01c
cmp rax, 0xffffffffffffffff
jne 0x14004a360
cmp byte [rsi + 0x30], dil
je 0x14004a3a8
mov edi, dword [rsi + 0x2c]
jmp 0x14004a3a8
mov ecx, r14d
call fcn.140042be4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14004a3a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14004a3a8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14004a3a1
mov eax, dword [rsi + 0x2c]
jmp 0x14004a3a6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14003f01c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1401b8e5b
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rcx
jmp 0x1401ba7ce
push r14
push rdx
bswap edx
jmp 0x1401b8472
push rax
ret
push rax
rdtsc
movzx eax, r10w
push rbx
xchg rdx, rax
lahf
push rbp
movsx bp, cl
push rsi
rdtsc
push rdi
movsx rdi, ax
cdqe
mov rsi, 0xffffffffa7374c94
mov esi, dword [rsp + 0x80]
inc esi
mov ah, 0x12
not esi
dec esi
clc
rol ah, cl
rol esi, 3
cqo
mov bpl, 0x85
cwd
dec esi
and dil, 0x95
shl ah, cl
or ax, r15w
add rsi, r8
bswap bp
bt dx, ax
lea rsi, [rsi + r11]
sar ah, 0xb7
xchg dl, dil
sar dil, cl
mov qword [rsp + 0x80], r12
adc r11b, 0x92
mov rbp, rsp
btr di, 0x2b
rcl ah, 0xa0
lea rdi, [rbp - 0x200]
and dil, 0xf0
mov rsp, rdi
cwd
rol dh, cl
bsf dx, bp
lea r11, [0x1401ba208]
movzx rdx, dx
test r12, 0x45942d3c
movzx edx, byte [rsi]
test r13, 0x491c7c9b
add rsi, 1
sar ax, cl
adc al, r8b
movsxd rax, dword [r11 + rdx*4]
cmc
clc
cmp rbx, rax
add rax, r11
jmp 0x1401b7a10
push r11
xchg r11b, r11b
not r11
movzx r11, cx
push r8
pushfq
setae r11b
mov qword [rsp + 0x18], r10
jmp 0x1401ba926
push r13
jmp 0x1401b79a6
push r15
jmp 0x1401b9e35
movabs r8, 0
mov r11w, 0x7c8c
movzx r11w, r10b
push r8
push r9
not r11w
setns r11b
bswap r11w
movabs r11, 0x100000000
jmp 0x1401b72a5
Function at 0x1800011c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
movdqa xmm0, xmmword [0x18000b5b0]
xor eax, eax
movdqa xmmword [rsp], xmm0
mov r8, rcx
test rdx, rdx
je 0x180001333
cmp rdx, 8
jb 0x180001340
movdqa xmm2, xmmword [0x18000b570]
mov r9, rdx
movdqa xmm3, xmmword [0x18000b590]
mov r10, 0xfffffffffffffffe
mov qword [rsp + 0x20], rbx
and r9, 0xfffffffffffffff8
sub r10, rcx
mov qword [rsp + 0x10], rdi
movzx edi, word [rsp]
lea rbx, [rcx + 4]
mov r11d, 2
sub r11, rcx
nop word [rax + rax]
movzx ecx, word [rbx - 4]
movq xmm1, rax
punpcklqdq xmm1, xmm1
add rax, 8
paddq xmm1, xmm2
movd xmm0, edi
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, ecx
xorps xmm1, xmm0
movd xmm0, edi
movd ecx, xmm1
mov word [rbx - 4], cx
lea rcx, [r10 + rbx]
movq xmm1, rcx
movzx ecx, word [rbx - 2]
punpcklqdq xmm1, xmm1
paddq xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, ecx
xorps xmm1, xmm0
movd xmm0, edi
movd ecx, xmm1
mov word [rbx - 2], cx
mov rcx, rbx
sub rcx, r8
movq xmm1, rcx
movzx ecx, word [rbx]
punpcklqdq xmm1, xmm1
paddq xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, ecx
xorps xmm1, xmm0
movd xmm0, edi
movd ecx, xmm1
mov word [rbx], cx
lea rcx, [r11 + rbx]
movq xmm1, rcx
movzx ecx, word [rbx + 2]
punpcklqdq xmm1, xmm1
paddq xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rbx + 2], cx
add rbx, 8
cmp rax, r9
jb 0x180001230
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x20]
cmp rax, rdx
jae 0x18000134f
nop dword [rax + rax]
lea ecx, [rax - 0xc]
xor byte [r8 + rax], cl
inc rax
cmp rax, rdx
jb 0x180001340
add rsp, 0x18
ret

Function at 0x180001360
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edi, edi
mov r9, rcx
mov dword [rsp + 0x20], edi
mov eax, edi
test rcx, rcx
je 0x1800013da
mov r8d, 2
mov ecx, eax
cmp byte [rcx + r9], 0xc3
jne 0x1800013b2
lea ecx, [r8 - 1]
cmp byte [rcx + r9], 0xcc
jne 0x1800013b2
mov ecx, r8d
cmp byte [rcx + r9], 0xcc
je 0x1800013b9
inc eax
inc r8d
jmp 0x180001394
test eax, eax
je 0x1800013da
nop dword [rax]
mov ebx, eax
add rbx, r9
cmp byte [rbx], 0x74
jne 0x1800013d5
movzx ecx, byte [rbx + 1]
cmp byte [rcx + rbx + 2], 0xb8
je 0x1800013f9
add eax, 0xffffffff
jne 0x1800013c0
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180009840
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
je 0x1800013da
mov ecx, 0x3a32ca43
call fcn.180007a90
mov rcx, rax
mov edx, 0x4f2db15b
call fcn.180007ba0
mov rsi, rax
lea r9, [rsp + 0x20]
mov edx, 1
mov r8d, 0x40
mov rcx, rbx
call rsi
test eax, eax
je 0x1800013da
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov edx, 1
mov byte [rbx], 0x75
mov rcx, rbx
call rsi
test eax, eax
setne dil
mov eax, edi
jmp 0x1800013dc
Function at 0x180007a90
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword gs:[0x60]
mov ebp, ecx
mov rdx, qword [rax + 0x18]
mov rbx, qword [rdx + 0x20]
test rbx, rbx
je 0x180007b60
mov r14d, 0x104
movzx eax, word [rbx + 0x48]
test ax, ax
je 0x180007b60
cmp ax, r14w
jae 0x180007b60
mov rax, qword [rbx + 0x50]
xor edi, edi
movzx ecx, word [rax]
test cx, cx
je 0x180007b1e
xor esi, esi
movzx ecx, cx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
inc edi
mov byte [rsp + rsi + 0x20], al
mov rax, qword [rbx + 0x50]
mov esi, edi
movzx ecx, word [rax + rdi*2]
test cx, cx
jne 0x180007b00
mov eax, edi
cmp rax, r14
jae 0x180007b96
mov byte [rsp + rdi + 0x20], 0
lea rdx, [rsp + 0x21]
movsx ecx, byte [rsp + 0x20]
mov eax, 0xe93
test ecx, ecx
je 0x180007b54
nop dword [rax]
imul eax, eax, 0x81
lea rdx, [rdx + 1]
add eax, ecx
movsx ecx, byte [rdx - 1]
test ecx, ecx
jne 0x180007b40
cmp eax, ebp
je 0x180007b90
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180007ae1
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180009840
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov rax, qword [rbx + 0x20]
jmp 0x180007b62
call fcn.180009970
int3
Function at 0x180007ba0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xf0
mov edi, edx
mov r9, rcx
test rcx, rcx
je 0x180007ce8
test edx, edx
je 0x180007ce8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180007ce8
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x180007ce8
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp]
xor r8d, r8d
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov eax, dword [rsp + 0x70]
add rax, r9
mov r10d, dword [rax + 0x20]
mov ebp, dword [rax + 0x1c]
add r10, r9
mov r11d, dword [rax + 0x24]
add rbp, r9
mov esi, dword [rax + 0x14]
add r11, r9
test esi, esi
je 0x180007ce8
nop dword [rax]
movzx eax, word [r11]
mov ecx, dword [r10]
add rcx, r9
mov ebx, dword [rbp + rax*4]
mov eax, 0xe93
add rbx, r9
movsx edx, byte [rcx]
inc rcx
test edx, edx
je 0x180007cd4
imul eax, eax, 0x81
lea rcx, [rcx + 1]
add eax, edx
movsx edx, byte [rcx - 1]
test edx, edx
jne 0x180007cc0
cmp edi, eax
je 0x180007d03
inc r8d
add r11, 2
add r10, 4
cmp r8d, esi
jb 0x180007ca0
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, rbx
jmp 0x180007cea
Function at 0x185a704
Capabilities:
Encode data using xor

Disassembly:
jmp 0x185a70e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x185a737
pop rbp
sub rbp, 0x33
sub rbp, 0x145a704
sub rsp, 0x20
jmp 0x185a756
mov rax, 0x145a704
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
add byte [rax - 0x39], cl
ror dword [rbx], 6
add byte [rax], al
mov rdx, 0x463d29aa
xor byte [rax], dl
inc rax
dec rcx
jne 0x185a775
invalid
jmp 0x185a78c
loop 0x185a7b1
and dword [r11], esp
xchg esi, eax
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
loop 0x185a7c2
imul esp, dword [rdx - 0x1d555555], 0xffffffab
loop 0x185a80e
push 0xffffffffffffffa9
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
loop 0x185a815
push 0xffffffffaaaaaa82
loop 0x185a80c
loop 0x185a75d
stosd dword [rdi], eax
imul esp, dword [rcx], 0x2b
cmpsb byte [rsi], byte [rdi]
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
loop 0x185a766
cli
cli
loop 0x185a7d2
sahf
cmc
test byte [rdx - 0x55555556], ch
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
loop 0x185a7dd
jp 0x185a7b9
mov ebp, 0xaaaaaaab
stosb byte [rdi], al
loop 0x185a77f
loop 0x185a7e7
sub al, byte [r15]
imul byte [rdx + 0x42aaaaaa]
scasd eax, dword [rdi]
stosb byte [rdi], al
stosb byte [rdi], al
scasd eax, dword [rdi]
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
mov r12d, 0x6baaaaaa
test al, 0x9b
stosb byte [rdi], al
stosb byte [rdi], al
imul eax, dword [rdx - 0x58], 0xffffff9b
mov ebx, 0xae6b2be2
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
loop 0x185a84c
invalid
imul esi, edx, 0xe2faf8f0
adc bl, byte [rsi - 0x55557b0b]
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
loop 0x185a822
adc edi, dword [rdx - 0x13]
jp 0x185a7fe
mov ebp, 0xaaaaaaab
stosb byte [rdi], al
stosb byte [rdi], al
loop 0x185a7c4
scasd eax, dword [rdi]
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
invalid
stosb byte [rdi], al
stosb byte [rdi], al
clc
xlatb
stosb byte [rdi], al
stosb byte [rdi], al
stosb byte [rdi], al
invalid
push rcx
movsd dword [rdi], dword [rsi]
mov dh, 0xaa
stosb byte [rdi], al
stosb byte [rdi], al
sub dl, byte [rcx + 0x43]
movsd dword [rdi], dword [rsi]
mov ecx, 0xccaaaaaa
sub edx, dword [rcx + 0x55]
invalid