joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52103370
Capabilities:
Get storage device properties

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
lea rbx, [rsp + 0x70]
mov rdi, rdx
mov ebp, ecx
xor edx, edx
mov rcx, rdi
mov rsi, r8
call fcn.52171f28
mov rcx, rbx
mov r8d, ebp
lea rdx, str..PhysicalDrive_d
call qword [0x52194558]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [0x52194270]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x5210345c
lea r12, [0x5218b240]
xor edx, edx
mov r8d, 0x2710
mov dword [rsp + 0x60], 0
lea r13, [rsp + 0x64]
mov qword [rsp + 0x64], 0
mov rcx, r12
mov dword [rsp + 0x6c], 0
call fcn.52171f28
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0x2710
mov qword [rsp + 0x20], r12
mov r9d, 0xc
mov r8, r13
mov qword [rsp + 0x30], rax
mov edx, 0x2d1400
mov rcx, rbx
call qword [0x52194288]
test eax, eax
jne 0x52103484
mov rcx, rbx
call qword [0x52194268]
cmp rsi, 0x13
jbe 0x52103630
mov rdx, rdi
mov ecx, ebp
call fcn.52102fc0
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [0x5218b258]
test eax, eax
je 0x52103453
add rax, r12
mov r15, qword [0x521944a8]
mov r13d, 0x64
mov qword [rsp + 0x58], rax
mov r12, rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov r14, rax
test r13d, r13d
movzx edx, byte [r12]
je 0x52103560
test dl, dl
je 0x52103560
movsx ecx, dl
mov byte [rsp + 0x4e], dl
call r15
test eax, eax
je 0x52103600
movzx edx, byte [rsp + 0x4e]
cmp dl, 0x39
jg 0x521035e0
sub edx, 0x30
movsx ecx, byte [r12 + 1]
shl edx, 4
mov byte [rsp + 0x4e], dl
mov byte [rsp + 0x4f], cl
call r15
test eax, eax
je 0x52103600
movzx edx, byte [rsp + 0x4f]
cmp dl, 0x39
jg 0x521035f0
sub edx, 0x30
or dl, byte [rsp + 0x4e]
add r12, 2
movzx ecx, dl
mov byte [rsp + 0x4e], dl
call qword [0x521944a0]
test eax, eax
je 0x52103600
movzx edx, byte [rsp + 0x4e]
cmp dl, 0x20
je 0x521034b6
sub r13d, 1
mov byte [r14], dl
add r14, 1
test r13d, r13d
movzx edx, byte [r12]
jne 0x521034c4
mov r8, qword [rsp + 0x50]
mov byte [r14], 0
mov edx, dword [r8]
add r8, 4
lea eax, [rdx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x52103569
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea rdx, [r8 + 2]
mov ecx, eax
cmove r8, rdx
add cl, al
sbb r8, 3
sub r8, qword [rsp + 0x50]
cmp r8d, esi
mov r12d, r8d
jae 0x52103453
mov rdx, qword [rsp + 0x50]
add r8, 1
mov rcx, rdi
call fcn.52171f38
mov rcx, rbx
call qword [0x52194268]
test r12d, r12d
je 0x5210345c
xor eax, eax
jmp 0x52103470
and edx, 0xffffffdf
sub edx, 0x37
jmp 0x521034ef
and edx, 0xffffffdf
sub edx, 0x37
jmp 0x5210351c
mov rcx, qword [rsp + 0x58]
call fcn.52171ee0
cmp eax, esi
mov r12d, eax
jae 0x52103453
mov rdx, qword [rsp + 0x58]
lea r8, [rax + 1]
mov rcx, rdi
call fcn.52171f38
jmp 0x521035c0
mov eax, 0xffffffff
jmp 0x52103470
Function at 0x52103710
Capabilities:
Get storage device properties

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
movsx eax, byte [rcx]
mov rbx, rdx
mov rsi, r8
cmp al, 0x2a
je 0x52103791
cmp al, 0x2f
jne 0x52103733
movsx eax, byte [rcx + 1]
add rcx, 1
test al, al
je 0x5210382e
sub eax, 0x30
cmp eax, 9
jbe 0x5210375f
jmp 0x52103781
lea r8d, [rdx - 0x30]
cmp r8d, 9
ja 0x52103781
lea r8d, [rax + rax*4]
lea edx, [rdx + r8*2 - 0x30]
add eax, edx
cmp eax, 0x5a
jg 0x52103781
add rcx, 1
movsx edx, byte [rcx]
test dl, dl
jne 0x52103745
mov r8, rsi
mov rdx, rbx
mov ecx, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.52103370
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp r8, 5
jbe 0x52103835
lea rdx, str.__d:
xor r8d, r8d
mov rcx, rbx
mov rbp, rbx
xor edi, edi
lea r12, str.__d:
call fcn.52171f08
mov edx, 3
jmp 0x52103800
mov rcx, rbp
add edi, 1
call fcn.52171ee0
cdqe
lea rdx, [rbp + rax]
sub rsi, rax
cmp edi, 0x59
lea rbp, [rdx + 1]
mov byte [rdx], 0x2c
jg 0x52103818
cmp rsi, 5
jbe 0x52103818
mov rdx, r12
mov r8d, edi
mov rcx, rbp
call fcn.52171f08
xor edx, edx
cmp edi, 9
setg dl
add edx, 3
movsxd rdx, edx
mov ecx, edi
sub rsi, rdx
add rdx, rbp
mov r8, rsi
call fcn.52103370
cmp eax, 0xffffffff
jne 0x521037c0
cmp rbx, rbp
jae 0x52103835
xor eax, eax
mov byte [rbp - 1], 0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor eax, eax
jmp 0x5210376a
lea r8, str.No_any_serial_number_of_harddisk_got
lea rcx, str..._src_platforms_windows_hdinfo.c
mov edx, 0x23e
call fcn.520f41f0
mov eax, 0xffffffff
jmp 0x52103786
Function at 0x52109200
Capabilities:
Hash data with md5

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x5210923a
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0
mov qword [rcx], 0
add rsp, 0x28
ret
lea rdx, str.src_hashes_md5.c
lea rcx, [0x5217e2f1]
mov r8d, 0xe9
call fcn.5210e1a0
nop
nop
nop word cs:[rax + rax]
Function at 0x52109260
Capabilities:
Hash data with md5

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
mov rsi, rdx
je 0x52109470
test rdx, rdx
je 0x52109489
mov edx, dword [rcx + 0x18]
mov eax, 0x10
cmp edx, 0x3f
jbe 0x52109294
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea r8d, [rdx*8]
add r8, qword [rcx]
mov eax, edx
mov qword [rcx], r8
lea ecx, [rdx + 1]
cmp ecx, 0x38
mov dword [rbx + 0x18], ecx
mov byte [rbx + rax + 0x1c], pe_nt_image_headers64
ja 0x521093f0
cmp ecx, 0x38
lea rdi, [rbx + 0x1c]
je 0x521093b9
mov edx, ecx
lea r9d, [rcx + 1]
mov eax, ecx
not edx
mov byte [rbx + rax + 0x1c], 0
and edx, 7
cmp r9d, 0x38
je 0x521093b2
test edx, edx
je 0x5210935d
cmp edx, 1
je 0x5210934b
cmp edx, 2
je 0x5210933f
cmp edx, 3
je 0x52109333
cmp edx, 4
je 0x52109326
cmp edx, 5
je 0x52109319
cmp edx, 6
je 0x5210930d
mov byte [rbx + r9 + 0x1c], 0
lea r9d, [rcx + 2]
mov ecx, r9d
add r9d, 1
mov byte [rbx + rcx + 0x1c], 0
mov r10d, r9d
add r9d, 1
mov byte [rbx + r10 + 0x1c], 0
mov r11d, r9d
add r9d, 1
mov byte [rbx + r11 + 0x1c], 0
mov edx, r9d
add r9d, 1
mov byte [rbx + rdx + 0x1c], 0
mov eax, r9d
add r9d, 1
mov byte [rbx + rax + 0x1c], 0
mov ecx, r9d
add r9d, 1
cmp r9d, 0x38
mov byte [rbx + rcx + 0x1c], 0
je 0x521093b2
lea r11d, [r9 + 1]
lea edx, [r9 + 2]
mov r10d, r9d
mov byte [rbx + r10 + 0x1c], 0
lea eax, [r9 + 3]
lea ecx, [r9 + 4]
mov byte [rbx + r11 + 0x1c], 0
lea r10d, [r9 + 5]
mov byte [rbx + rdx + 0x1c], 0
lea r11d, [r9 + 6]
lea edx, [r9 + 7]
add r9d, 8
cmp r9d, 0x38
mov byte [rbx + rax + 0x1c], 0
mov byte [rbx + rcx + 0x1c], 0
mov byte [rbx + r10 + 0x1c], 0
mov byte [rbx + r11 + 0x1c], 0
mov byte [rbx + rdx + 0x1c], 0
jne 0x5210935d
mov dword [rbx + 0x18], 0x38
mov qword [rbx + 0x54], r8
mov rdx, rdi
mov rcx, rbx
call fcn.521089c0
mov r9d, dword [rbx + 8]
xor eax, eax
mov dword [rsi], r9d
mov edi, dword [rbx + 0xc]
mov dword [rsi + 4], edi
mov r8d, dword [rbx + 0x10]
mov dword [rsi + 8], r8d
mov ebx, dword [rbx + 0x14]
mov dword [rsi + 0xc], ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
cmp ecx, 0x40
je 0x52109457
lea edi, [rdx + 2]
mov byte [rbx + rcx + 0x1c], 0
cmp edi, 0x40
je 0x52109450
lea r8d, [rdx + 3]
mov byte [rbx + rdi + 0x1c], 0
cmp r8d, 0x40
je 0x52109450
lea r9d, [rdx + 4]
mov byte [rbx + r8 + 0x1c], 0
cmp r9d, 0x40
je 0x52109450
lea r10d, [rdx + 5]
mov byte [rbx + r9 + 0x1c], 0
cmp r10d, 0x40
je 0x52109450
lea r11d, [rdx + 6]
mov byte [rbx + r10 + 0x1c], 0
cmp r11d, 0x40
je 0x52109450
cmp edx, 0x38
mov byte [rbx + r11 + 0x1c], 0
jne 0x52109450
mov byte [rbx + 0x5b], 0
mov dword [rbx + 0x18], 0x40
lea rdi, [rbx + 0x1c]
mov rcx, rbx
mov rdx, rdi
call fcn.521089c0
mov r8, qword [rbx]
xor ecx, ecx
jmp 0x521092c5
lea rdx, str.src_hashes_md5.c
lea rcx, [0x5217e2f1]
mov r8d, 0x106
call fcn.5210e1a0
lea rdx, str.src_hashes_md5.c
lea rcx, [0x5217e2fc]
mov r8d, 0x107
call fcn.5210e1a0
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x521515e0
Capabilities:
Check for software breakpoints

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
test r8d, r8d
mov rbp, rcx
je 0x52151620
mov rcx, qword [rdx + 0x10]
cmp dword [rcx + 8], 0xcd
je 0x52151612
test byte [rcx + 0xd], 0x10
jne 0x52151612
cmp qword [rdx + 0x28], 0
jne 0x52151612
cmp qword [rcx + 0x28], rdx
je 0x52151623
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, rdx
mov rsi, qword [rdx + 0x18]
mov rbx, qword [rcx]
mov rdi, qword [rdx + 0x20]
and esi, 0x7fff
test rbx, rbx
je 0x52151612
mov edx, dword [rbx + 8]
movsxd r12, esi
cmp edx, 0x5c
je 0x521516a3
ja 0x521516c0
lea eax, [rdx - 7]
cmp eax, 1
jbe 0x52151612
mov rcx, rbp
call fcn.521511d0
test al, 4
jne 0x52151612
mov edx, eax
and edx, 3
cmp edx, 3
je 0x52151740
mov edx, eax
and edx, 0x300
cmp edx, 0x300
je 0x52151770
and eax, 0x30000
mov rcx, rbx
cmp eax, 0x30000
je 0x52151796
mov rbx, qword [rcx]
test rbx, rbx
je 0x52151612
mov edx, dword [rbx + 8]
cmp edx, 0x5c
jne 0x52151644
mov rax, qword [rbx + 0x10]
and eax, 0x7fff
cmp r12, rax
je 0x521516d3
mov rcx, rbx
jmp 0x5215168f
cmp edx, 0xcd
jne 0x5215164e
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp word [rbx + 0xc], 0
jne 0x52151612
cmp qword [rbx + 0x18], rdi
jne 0x52151612
cmp rcx, rbx
mov rax, qword [rbx]
je 0x521517d0
mov qword [rcx], rax
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 0x100]
mov qword [rbx], rdx
mov qword [rax + 0x100], rbx
jmp 0x5215168f
test al, 8
je 0x521517b0
mov edx, dword [rbx + 0x10]
and edx, 0x7fff
cmp edx, esi
je 0x52151612
mov edx, dword [rbx + 0x14]
and edx, 0x7fff
cmp edx, esi
jne 0x52151668
jmp 0x52151612
mov rdx, qword [rbx + 0x18]
and edx, 0x7fff
cmp r12, rdx
je 0x52151612
and eax, 0x30000
mov rcx, rbx
cmp eax, 0x30000
jne 0x5215168f
mov rax, qword [rbx + 0x20]
and eax, 0x7fff
cmp r12, rax
jne 0x5215168f
jmp 0x52151612
mov rdx, qword [rbx + 0x10]
and edx, 0x7fff
cmp r12, rdx
jne 0x52151668
jmp 0x52151612
mov rdx, qword [rbp + 0x38]
mov qword [rdx], rax
jmp 0x521516f7
Function at 0x5216fb00
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x20
cmp dword [rcx + 0x244], 0x10
ja 0x5216fb80
mov rbx, rcx
mov ecx, dword [rcx + 0x238]
mov rsi, rdx
mov edi, r8d
call fcn.5210e1e0
test eax, eax
mov r14d, eax
jne 0x5216fb86
mov eax, dword [rbx + 0x240]
test eax, eax
jne 0x5216fb71
movsxd rcx, dword [rbx + 0x244]
test ecx, ecx
jne 0x5216fba0
cmp qword [rbx + 0x248], 0
je 0x5216fd90
lea r13, [rbx + 0x228]
lea r12, [rbx + 0x1f8]
jmp 0x5216fc1a
cmp eax, 1
je 0x5216fda0
nop word [rax + rax]
mov r14d, 0x10
lea rsp, [rbp - 0x38]
mov eax, r14d
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, dword [rbx + 0x23c]
lea r13, [rbx + 0x228]
test eax, eax
jne 0x5216fbe0
cmp ecx, 0xc
jne 0x5216fbe0
mov rax, qword [rbx + 0x228]
mov qword [rbx + 0x208], rax
mov eax, dword [r13 + 8]
mov dword [rbx + 0x214], 0x1000000
mov dword [rbx + 0x210], eax
jmp 0x5216fc85
lea eax, [rcx - 1]
lea r12, [rbx + 0x1f8]
lea r8, [rbx + rax + 0x1f9]
mov rdx, r12
movzx eax, byte [rdx + 0x30]
xor byte [rdx], al
add rdx, 1
cmp rdx, r8
jne 0x5216fbf5
shl rcx, 3
add qword [rbx + 0x248], rcx
mov rdx, r12
mov rcx, rbx
call fcn.52108300
mov edx, 8
mov rcx, r13
call fcn.5210ece0
mov rax, qword [rbx + 0x248]
mov rdx, r12
bswap rax
mov qword [rbx + 0x230], rax
lea rax, [rbx + 0x208]
movzx ecx, byte [rdx + 0x30]
xor byte [rdx], cl
add rdx, 1
cmp rax, rdx
jne 0x5216fc42
mov rdx, r12
mov rcx, rbx
call fcn.52108300
mov rdx, qword [rbx + 0x200]
mov rax, qword [rbx + 0x1f8]
mov rcx, r12
mov qword [rbx + 0x210], rdx
mov qword [rbx + 0x208], rax
mov edx, 0x10
call fcn.5210ece0
mov rdx, qword [rbx + 0x210]
mov rax, qword [rbx + 0x208]
mov rcx, r13
mov qword [rbx + 0x220], rdx
mov qword [rbx + 0x218], rax
mov edx, 0x10
call fcn.5210ece0
mov qword [rbx + 0x240], 1
mov qword [rbx + 0x248], 0
mov r13d, edi
and r13d, 0xfffffff0
je 0x5216fdc0
lea r15, [rbx + 0x1f8]
xor r12d, r12d
nop dword [rax + rax]
mov eax, r12d
mov rdx, r15
mov rcx, rbx
mov rax, qword [rsi + rax]
xor qword [rbx + 0x1f8], rax
lea eax, [r12 + 8]
add r12d, 0x10
mov rax, qword [rsi + rax]
xor qword [rbx + 0x200], rax
call fcn.52108300
sub qword [rbx + 0x248], 0xffffffffffffff80
cmp r12d, r13d
jb 0x5216fce0
mov eax, r12d
add rsi, rax
cmp edi, r12d
jbe 0x5216fb86
sub edi, 1
sub edi, r12d
lea r12, [rsi + rdi + 1]
lea rdi, [rbx + 0x1f8]
jmp 0x5216fd49
cmp rsi, r12
je 0x5216fb86
movsxd rdx, dword [rbx + 0x244]
add rsi, 1
movzx ecx, byte [rsi - 1]
lea eax, [rdx + 1]
mov dword [rbx + 0x244], eax
xor byte [rbx + rdx + 0x1f8], cl
cmp eax, 0x10
jne 0x5216fd40
mov rdx, rdi
mov rcx, rbx
call fcn.52108300
mov dword [rbx + 0x244], 0
sub qword [rbx + 0x248], 0xffffffffffffff80
jmp 0x5216fd40
mov r14d, 1
jmp 0x5216fb86
mov eax, dword [rbx + 0x244]
cmp eax, 0xf
jg 0x5216fb80
xor r12d, r12d
test eax, eax
jne 0x5216fd20
jmp 0x5216fcc4
xor r12d, r12d
jmp 0x5216fd20
Function at 0x521701f0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
mov ebp, 0x10
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x240]
test eax, eax
jne 0x52170331
cmp dword [rcx + 0x244], 0xf
mov rbx, rcx
ja 0x52170331
mov ecx, dword [rcx + 0x238]
mov rsi, rdx
mov r12d, r8d
call fcn.5210e1e0
test eax, eax
mov ebp, eax
jne 0x52170331
mov eax, dword [rbx + 0x244]
lea edx, [rax + r12]
cmp edx, 0xc
jbe 0x52170252
or dword [rbx + 0x23c], 1
xor edi, edi
test eax, eax
jne 0x521702ab
mov r13d, r12d
and r13d, 0xfffffff0
je 0x52170342
lea r14, [rbx + 0x1f8]
nop dword [rax]
mov eax, edi
mov rdx, r14
mov rcx, rbx
mov rax, qword [rsi + rax]
xor qword [rbx + 0x1f8], rax
lea eax, [rdi + 8]
add edi, 0x10
mov rax, qword [rsi + rax]
xor qword [rbx + 0x200], rax
call fcn.52108300
sub qword [rbx + 0x248], 0xffffffffffffff80
cmp edi, r13d
jb 0x52170270
mov eax, edi
add rsi, rax
cmp r12d, edi
jbe 0x52170331
sub r12d, 1
lea r13, [rbx + 0x1f8]
sub r12d, edi
lea rdi, [rbx + 0x208]
lea r12, [rsi + r12 + 1]
jmp 0x521702d5
cmp r12, rsi
je 0x52170331
movsxd rdx, dword [rbx + 0x244]
add rsi, 1
lea ecx, [rdx + 1]
mov dword [rbx + 0x244], ecx
movzx eax, byte [rsi - 1]
cmp ecx, 0x10
mov byte [rbx + rdx + 0x228], al
jne 0x521702d0
mov rdx, r13
nop dword [rax]
movzx ecx, byte [rdx + 0x30]
xor byte [rdx], cl
add rdx, 1
cmp rdi, rdx
jne 0x52170300
mov rdx, r13
mov rcx, rbx
call fcn.52108300
sub qword [rbx + 0x248], 0xffffffffffffff80
cmp r12, rsi
mov dword [rbx + 0x244], 0
jne 0x521702d5
add rsp, 0x20
mov eax, ebp
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edi, eax
jmp 0x521702ab

Function at 0x52171770
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x52182b50]
mov rdx, rcx
cmp word [r8], 0x5a4d
jne 0x521717dd
mov rcx, r8
call fcn.52171650
test eax, eax
je 0x521717dd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x521717dd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x521717d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x521717df
add rax, 0x28
cmp rax, r9
jne 0x521717c0
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
lea rax, [rsp + 0x30]
mov rbx, r8
mov r9d, 8
mov r8, rdi
mov rsi, rdx
mov qword [rsp + 0x20], rax
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140001095
lea rax, [rsp + 0x38]
mov r9, rdi
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001068
cmp rdi, qword [rsp + 0x38]
jne 0x140001068
mov bl, 1
jmp 0x14000106a
xor bl, bl
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor edx, edx
movzx ecx, bl
test eax, eax
cmove ecx, edx
movzx eax, cl
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400055dc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000544c

Function at 0x14000739b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000d0a0]
jne 0x1400045ba
rol rcx, 0x10
test cx, 0xffff
jne 0x1400045b6
repz ret
ror rcx, 0x10
jmp 0x1400072f4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000eb90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000ec88]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140007379
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, [0x14000eb90]
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 0x14000739b
mov rax, qword [rsp + 0x88]
mov qword [0x14000ec88], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000ec28], rax
mov rax, qword [0x14000ec88]
mov qword [0x14000eb00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000ec10], rax
mov dword [0x14000eaf0], 0xc0000409
mov dword [0x14000eaf4], 1
mov rax, qword [0x14000d0a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000d0a8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000eb88], eax
mov ecx, 1
call fcn.140007b08
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000a4b8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000eb88], 0
jne 0x140007422
mov ecx, 1
call fcn.140007b08
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 0x1400076e0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000d0a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002be8
xor ebx, ebx
cmp qword [0x14000f090], rbx
mov rdi, rax
jne 0x1400077f3
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400078ca
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400078ca
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000f090], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000f098], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000f0a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000f0b0], rax
test rax, rax
je 0x1400077ea
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14000f0a8], rax
jmp 0x1400077fa
mov rax, qword [0x14000f0a8]
jmp 0x140007801
mov rax, qword [0x14000f0a8]
mov r11, qword [0x14000f0b0]
cmp rax, rdi
je 0x140007868
cmp r11, rdi
je 0x140007868
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000f0b0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140007868
test rax, rax
je 0x140007868
call rsi
test rax, rax
je 0x140007862
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140007862
test byte [rsp + 0x40], 1
jne 0x140007868
bts ebp, 0x15
jmp 0x1400078a8
mov rcx, qword [0x14000f098]
cmp rcx, rdi
je 0x1400078a8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400078a8
call rax
mov rbx, rax
test rax, rax
je 0x1400078a8
mov rcx, qword [0x14000f0a0]
cmp rcx, rdi
je 0x1400078a8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400078a8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000f090]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400078ca
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400078cc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400045a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002ac0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rbp, [rcx + 2]
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], rbp
nop word [rax + rax]
movzx r9d, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx ebx, r9b
movzx r8d, byte [rbp]
movzx eax, dl
shr al, 7
movzx r10d, r8b
movzx eax, al
add r10b, r10b
imul eax, eax, 0x1b
add bl, bl
movzx ecx, byte [rbp + 1]
mov byte [rsp], dl
add dl, dl
mov byte [rsp + 0x80], r9b
mov byte [rsp + 0x88], r8b
xor dl, al
mov dword [rsp + 8], eax
movzx eax, dl
movzx esi, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp + 4], eax
movzx eax, r9b
shr al, 7
movzx eax, al
imul r14d, eax, 0x1b
xor bl, r14b
movzx eax, bl
movzx r9d, bl
shr al, 7
add r9b, r9b
movzx eax, al
imul eax, eax, 0x1b
xor r9b, al
mov dword [rsp + 0xc], eax
movzx eax, r8b
shr al, 7
movzx eax, al
imul r12d, eax, 0x1b
xor r10b, r12b
movzx eax, r10b
movzx r8d, r10b
shr al, 7
xor r10b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
movzx eax, cl
shr al, 7
add cl, cl
movzx eax, al
imul r13d, eax, 0x1b
xor r8b, bpl
xor cl, r13b
mov dword [rsp + 0x10], r13d
movzx eax, cl
shr al, 7
movzx eax, al
imul r15d, eax, 0x1b
movzx eax, cl
add al, al
xor al, r15b
xor r10b, al
mov byte [rsp + 0x78], al
shr al, 7
xor r10b, r8b
movzx eax, al
xor r10b, r9b
imul edi, eax, 0x1b
xor r10b, sil
movzx eax, r8b
mov byte [rsp + 1], r10b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
movzx eax, r9b
shr al, 7
movzx eax, al
imul r10d, eax, 0x1b
movzx eax, sil
xor byte [rsp + 0x78], cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
mov r13, qword [rsp + 0x18]
movzx eax, byte [rsp + 1]
xor al, byte [rsp + 0x80]
xor al, byte [rsp]
add al, al
movzx ecx, byte [rsp + 0x78]
xor al, dl
xor cl, r8b
xor al, r10b
mov r8d, dword [rsp + 0xc]
xor al, r11b
xor cl, r9b
xor al, dil
movzx r9d, byte [r13 + 1]
xor al, bpl
xor cl, bl
xor al, r14b
movzx ebx, byte [rsp + 0x88]
xor al, byte [rsp + 4]
xor cl, sil
xor al, byte [rsp + 8]
xor al, byte [r13 + 1]
xor al, byte [rsp + 0x88]
xor al, byte [rsp + 0x80]
movzx esi, byte [rsp + 0x80]
mov byte [r13 - 2], al
movzx eax, cl
xor al, bl
xor cl, r9b
xor al, sil
add al, al
xor al, dl
xor al, r10b
xor al, r11b
xor al, dil
xor al, r15b
xor al, r12b
xor al, r8b
xor al, r14b
mov r14, r13
movzx r14d, byte [rsp]
xor al, r9b
xor al, bl
xor cl, r14b
xor al, r14b
add cl, cl
mov byte [r13 - 1], al
xor cl, dl
mov r13d, dword [rsp + 0x10]
xor cl, r10b
movzx eax, byte [rsp + 1]
xor cl, r11b
xor al, r9b
xor cl, dil
xor al, bl
xor cl, r15b
add al, al
xor cl, r13b
xor al, dl
xor cl, r8b
xor cl, byte [rsp + 8]
xor al, r10b
xor al, r11b
xor al, dil
xor al, r13b
xor al, bpl
mov rbp, qword [rsp + 0x18]
xor al, r12b
xor al, byte [rsp + 4]
xor al, r9b
xor al, sil
xor al, r14b
mov byte [rbp], al
xor cl, bl
xor cl, sil
xor cl, r14b
mov byte [rbp + 1], cl
add rbp, 4
sub qword [rsp + 0x20], 1
mov qword [rsp + 0x18], rbp
jne 0x140002af0
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret