joyce8/EMBER2024-capa huggingface dataset:
Function at 0x141701058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1417011df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141701089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14170106f
add dl, dl
jne 0x141701096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417010f6
xor eax, eax
add dl, dl
jne 0x1417010a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417011ad
add dl, dl
jne 0x1417010b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417010c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417010d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417010dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417010ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14170107e
mov eax, 1
add dl, dl
jne 0x141701106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141701113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417010fb
sub eax, ebx
mov ebx, 1
jne 0x14170114c
mov ecx, 1
add dl, dl
jne 0x14170112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14170113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141701123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14170107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141701168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141701175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14170115d
cmp eax, 0x7d00
jae 0x14170119b
cmp eax, 0x500
jb 0x141701196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14170107e
cmp eax, 0x7f
ja 0x14170119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14170107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417011d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14170107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002800
Capabilities:
Parse pe header

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

Function at 0x180001830
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov rdx, 0xffffffffffffffff
mov rcx, rdx
nop word [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x180001850
mov rax, rdx
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x180001860
add rcx, rax
add rcx, 2
cmovb rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rax
test rax, rax
jne 0x18000188c
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, r8
sub rcx, rbx
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x180001892
lea rcx, [r8 - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800018a4
movzx eax, word [str._r]
mov word [rcx], ax
lea rcx, [r8 - 1]
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1800018c0
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1800018d0
mov rbx, qword [rsp + 0x30]
mov rax, r8
add rsp, 0x20
pop rdi
ret
Function at 0x14006d660
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14006d71d
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14006d71d
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xd10a1362
lea rcx, [r14 + r11*4]
mov ecx, dword [rcx + rbx]
add rcx, rbx
movzx r9d, byte [rcx]
inc rcx
test r9b, r9b
je 0x14006d718
nop
movsx edx, r9b
lea rcx, [rcx + 1]
sub r9b, 0x41
mov r8d, edx
or r8d, 0x20
cmp r9b, 0x19
movzx r9d, byte [rcx - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test r9b, r9b
jne 0x14006d6e0
cmp r10d, 0x51617205
je 0x14006d725
test r11d, r11d
jne 0x14006d6c0
mov rax, qword [rax]
jmp 0x14006d690
mov ecx, dword [rsi + 0x24]
mov rdi, qword [rsp + 0x18]
add rcx, rbx
mov r14, qword [rsp + 0x20]
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
mov rsi, qword [rsp + 0x10]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
mov rbx, qword [rsp + 8]
ret

Function at 0x14006d760
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14006d81d
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14006d81d
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xd042233d
lea rcx, [r14 + r11*4]
mov ecx, dword [rcx + rbx]
add rcx, rbx
movzx r9d, byte [rcx]
inc rcx
test r9b, r9b
je 0x14006d818
nop
movsx edx, r9b
lea rcx, [rcx + 1]
sub r9b, 0x41
mov r8d, edx
or r8d, 0x20
cmp r9b, 0x19
movzx r9d, byte [rcx - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test r9b, r9b
jne 0x14006d7e0
cmp r10d, 0xf236853c
je 0x14006d825
test r11d, r11d
jne 0x14006d7c0
mov rax, qword [rax]
jmp 0x14006d790
mov ecx, dword [rsi + 0x24]
mov rdi, qword [rsp + 0x18]
add rcx, rbx
mov r14, qword [rsp + 0x20]
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
mov rsi, qword [rsp + 0x10]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
mov rbx, qword [rsp + 8]
ret
Function at 0x14007d500
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
movzx eax, dl
mov r15, rcx
xor al, 1
mov byte [rcx + 0x4e], al
test dl, dl
je 0x14007d528
mov ebp, dword [rcx + 0x50]
jmp 0x14007d52a
xor ebp, ebp
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14007d5cd
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14007d5cd
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x7b1a0e98
lea rcx, [r14 + r11*4]
mov ecx, dword [rcx + rbx]
add rcx, rbx
movzx r9d, byte [rcx]
inc rcx
test r9b, r9b
je 0x14007d5c8
nop
movsx edx, r9b
lea rcx, [rcx + 1]
sub r9b, 0x41
mov r8d, edx
or r8d, 0x20
cmp r9b, 0x19
movzx r9d, byte [rcx - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test r9b, r9b
jne 0x14007d590
cmp r10d, 0x1ff3231
je 0x14007d5d5
test r11d, r11d
jne 0x14007d570
mov rax, qword [rax]
jmp 0x14007d540
mov ecx, dword [rsi + 0x24]
mov edx, ebp
add rcx, rbx
movzx r8d, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + r8*4]
mov rcx, qword [r15]
add rax, rbx
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r15
pop r14
pop rdi
jmp rax
Function at 0x140081d20
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140081d42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140081dbc
mov rdi, r14
mov rcx, rbx
call fcn.14007ba40
test rax, rax
jle 0x140081d94
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1403934b0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140081dac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x140081db4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140081d56
sub r14, rdi
jmp 0x140081e9f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140081dd3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140081dd5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140081e07
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1403934b0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140081e9c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140081e42
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140081e7d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140369788
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140081e9c
cmp rbp, rax
ja 0x140081e50
test rbp, rbp
je 0x140081e9c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140369788
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140081ec0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140081f58
test r8, r8
jle 0x140081f50
nop word [rax + rax]
mov rcx, rdi
call fcn.14007bb70
test rax, rax
jle 0x140081f2e
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.1403934b0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140081f48
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140081f50
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140081ef0
sub r14, rbx
mov rax, r14
jmp 0x140081fd6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140081f71
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140081f73
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x140081fcb
test ecx, ecx
jle 0x140081fac
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.1403934b0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x140081fcb
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140081fcb
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140368b8c
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400832b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1403e7140]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400832dd
xor eax, eax
jmp 0x14008342b
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140083317
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140083317
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14008342b
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14008341e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14008335a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140083369
movsx ecx, dil
jmp 0x1400833bd
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + gethostname]
test eax, eax
je 0x1400833d7
sub eax, 1
je 0x1400833d7
cmp eax, 2
jne 0x14008341e
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140368c28
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140083423
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140083404
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140368b8c
cmp rsi, rax
jne 0x14008341e
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140083423
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140360560
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400a2730
Capabilities:
Hash data using sha512

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1403e7140]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ecx, ecx
lea rax, vtable.sw::templates::basic_sha512_char_.0
mov qword [rsp + 0x30], rax
movabs rax, 0x6a09e667f3bcc908
mov qword [rsp + 0x40], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rsp + 0x48], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsp + 0x50], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsp + 0x58], rax
movabs rax, 0x510e527fade682d1
mov qword [rsp + 0x60], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsp + 0x68], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x70], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], ecx
mov qword [rsp + 0x38], rcx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x84]
call fcn.140393bf0
nop
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400a2e10
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400a28f0
nop
mov rax, rsi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140360560
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b8cf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1403e7140]
xor rax, rsp
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r8d, dword [rsp + 0x3c]
mov dword [rsp + 0x20], 0x40
xor edx, edx
lea rcx, [rdx - 1]
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400b8dc8
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x1400b8d68
mov byte [rbx], 0xc3
mov eax, dword [rsp + 0x3c]
mov r8d, eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x140
mov rdx, rbx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400b8dc8
call rbx
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
lea rcx, [r8 - 1]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
jmp 0x1400b8dca
xor al, al
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140360560
add rsp, 0x80
pop rbx
ret

Function at 0x1400b8ef0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1403e7140]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x1400b8fb9
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1400b8fb9
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xe9f33642
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx ecx, byte [r9]
inc r9
test cl, cl
je 0x1400b8fb4
nop
movsx edx, cl
lea r9, [r9 + 1]
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
movzx ecx, byte [r9 - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test cl, cl
jne 0x1400b8f80
cmp r10d, 0x25c6158f
je 0x1400b8fc1
test r11d, r11d
jne 0x1400b8f60
mov rax, qword [rax]
jmp 0x1400b8f30
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
lea rdx, [rsp + 0x28]
mov rcx, qword [0x1403e7ce0]
add rax, rbx
call rax
mov eax, dword [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, qword [0x1403ec148]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rcx]
call qword [rax + 0x1d0]
shr eax, 0x1f
xor al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140360560
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x1400c1ac0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
xor r8d, r8d
lea rdx, [0x1403c2538]
mov rcx, rbx
call fcn.14008e5f0
mov dword [rsp + 0x20], 1
mov rcx, qword [0x1403e7ce0]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400c1b65
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400c1b5f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400c1b56
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c1b40
mov rdx, rax
mov rcx, rbx
call fcn.14008e8f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d4fa0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r15
sub rsp, 0x40
mov r10, qword [0x140421cc8]
mov r15, rcx
test r10, r10
jne 0x1400d50a5
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], r14
mov rax, qword [rax + 0x10]
nop
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x1400d506a
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1400d506a
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xd145616b
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x1400d5065
movsx ecx, r9b
lea r8, [r8 + 1]
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
movzx r9d, byte [r8 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r9b, r9b
jne 0x1400d5030
cmp r10d, 0x40c4131d
je 0x1400d5072
test r11d, r11d
jne 0x1400d5010
mov rax, qword [rax]
jmp 0x1400d4fe0
mov ecx, dword [rsi + 0x24]
mov r14, qword [rsp + 0x68]
add rcx, rbx
mov rdi, qword [rsp + 0x60]
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
mov rsi, qword [rsp + 0x58]
add rcx, rbx
mov r10d, dword [rcx + rdx*4]
add r10, rbx
mov rbx, qword [rsp + 0x50]
mov qword [0x140421cc8], r10
cvttss2si edx, dword [r15 + 0x10]
mov rcx, qword [r15]
mov dword [rsp + 0x30], 8
cvttss2si eax, dword [r15 + 0x14]
cvttss2si r9d, dword [r15 + 0xc]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
xor edx, edx
cvttss2si r8d, dword [r15 + 8]
call r10
test eax, eax
setne al
add rsp, 0x40
pop r15
ret
Function at 0x1401c3670
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x1403e7140]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rdx
mov r15, rcx
mov qword [rsp + 0x20], rdx
cmp qword [rdx + 0x10], 0
jne 0x1401c36a8
xor eax, eax
jmp 0x1401c379f
add rcx, 0x7f0
movss xmm2, dword [r8 + 0xc]
movss xmm1, dword [r8 + 8]
movss xmm0, dword [r8 + 4]
mov eax, dword [r8]
mov dword [rcx], eax
movss dword [rcx + 4], xmm0
movss dword [rcx + 8], xmm1
movss dword [rcx + 0xc], xmm2
call fcn.1400ba270
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x1401c3779
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1401c3779
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
mov r10d, 0x36bf4627
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x1401c3774
movsx ecx, r9b
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
movzx r9d, byte [r8]
lea r8, [r8 + 1]
test r9b, r9b
jne 0x1401c3740
cmp r10d, 0x6e736153
je 0x1401c3781
test r11d, r11d
jne 0x1401c3720
mov rax, qword [rax]
jmp 0x1401c36f0
mov edx, dword [rsi + 0x1c]
add rdx, rbx
mov eax, dword [rsi + 0x24]
add rax, rbx
movzx eax, word [rax + r11*2]
mov edx, dword [rdx + rax*4]
add rdx, rbx
call rdx
add eax, 0x1c84
mov dword [r15 + 0xd04], eax
mov byte [r15 + 0xd08], 1
mov rcx, rbp
call fcn.1400808f0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140360560
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401e6b00
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r15, qword [rcx + 0x18]
test r15, r15
je 0x1401e6bf0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x1401e6bcc
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1401e6bcc
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
lea rcx, [r14 + r11*4]
mov ecx, dword [rcx + rbx]
add rcx, rbx
mov r10d, 0xd74ee05b
movzx r9d, byte [rcx]
inc rcx
test r9b, r9b
je 0x1401e6bc7
nop
movsx edx, r9b
sub r9b, 0x41
mov r8d, edx
or r8d, 0x20
cmp r9b, 0x19
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
movzx r9d, byte [rcx]
lea rcx, [rcx + 1]
test r9b, r9b
jne 0x1401e6b90
cmp r10d, 0x322e5b4f
je 0x1401e6bd4
test r11d, r11d
jne 0x1401e6b70
mov rax, qword [rax]
jmp 0x1401e6b40
mov edx, dword [rsi + 0x1c]
add rdx, rbx
mov eax, dword [rsi + 0x24]
add rax, rbx
movzx eax, word [rax + r11*2]
mov edx, dword [rdx + rax*4]
add rdx, rbx
mov rcx, r15
call rdx
lea rcx, [rbp + 0x50]
call fcn.140090020
nop
mov edx, 0x78
mov rcx, rbp
call fcn.140360580
mov rax, rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret