joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001e7f4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001e88d
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001e845
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800206f4
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18000d024
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30f8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x180101318]
movsxd r8, eax
mov rax, qword [rdi + 0x3108]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001e895
mov rcx, rbx
call fcn.18000d024
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001f130
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180101320]
mov rbx, rcx
and dword [rax + 0x3094], 0
test rcx, rcx
je 0x18001f199
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001f1a4
lea rdx, [0x1800f5ccc]
mov rcx, rbx
mov rdi, rax
call fcn.18000c72c
mov rbx, rax
test rax, rax
je 0x18001f199
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800460dc
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rbx, rcx
test r8, r8
je 0x180046142
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180046133
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180046129
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800460fd
mov r8, qword [rbx]
mov rcx, qword [0x180101338]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180046154
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180100010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [r11 - 0x18]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x1801014e0]
mov rdx, qword [rbx]
mov al, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rbp, [rdx - 5]
cmove rbp, rdx
lea rdi, [rdx - 5]
test al, al
lea rsi, [rcx*2 + 5]
cmove rdi, rdx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800461ca
mov eax, 0xa
jmp 0x180046217
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800461e6
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180046e90
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x180046620
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180046637
cmp r8b, 0x90
je 0x180046637
cmp r8b, 0xcc
jne 0x180046659
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180046655
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180046659
add edx, r10d
cmp edx, r9d
jb 0x180046645
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180699058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1806991df
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 0x180699089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18069906f
add dl, dl
jne 0x180699096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806990f6
xor eax, eax
add dl, dl
jne 0x1806990a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806991ad
add dl, dl
jne 0x1806990b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806990c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806990d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806990dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806990ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18069907e
mov eax, 1
add dl, dl
jne 0x180699106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180699113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806990fb
sub eax, ebx
mov ebx, 1
jne 0x18069914c
mov ecx, 1
add dl, dl
jne 0x18069912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18069913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180699123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18069907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180699168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180699175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18069915d
cmp eax, 0x7d00
jae 0x18069919b
cmp eax, 0x500
jb 0x180699196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18069907e
cmp eax, 0x7f
ja 0x18069919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18069907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806991d2
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 0x18069907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001119f
Capabilities:
Create thread

Disassembly:
jmp 0x140015480
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x14002a040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x1400300f8]
call fcn.1400117ee
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14001125d
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.140011415
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.1400111cc
nop
lea rcx, [rbp + 0x108]
call fcn.140011348
nop
lea rax, [0x140011587]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.1400115aa
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140015583
lea rcx, [rbp + 8]
call fcn.14001136b
nop
jmp 0x14001559c
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400111e5
nop
lea rcx, [rbp + 8]
call fcn.140011348
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1400256e0]
call fcn.1400116b3
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400113ed
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1400114ab
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d810
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]
nop
add rsp, 0x28
ret

Function at 0x1400115c8
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001cba0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001cbc0
xor al, al
jmp 0x14001cc41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001cbd3
xor al, al
jmp 0x14001cc41
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 0x14001cbfd
xor al, al
jmp 0x14001cc41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001cc11
xor al, al
jmp 0x14001cc41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001cc23
xor al, al
jmp 0x14001cc41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001cc3f
xor al, al
jmp 0x14001cc41
mov al, 1
add rsp, 0x38
ret
Function at 0x14001b990
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001182a
movzx eax, al
test eax, eax
jne 0x14001b9b0
mov ecx, 7
call fcn.1400116c7
nop
mov byte [rsp + 0x20], 0
call fcn.140011708
mov byte [rsp + 0x21], al
cmp dword [0x14002a598], 1
jne 0x14001b9d4
mov ecx, 7
call fcn.1400116c7
nop
jmp 0x14001ba2c
cmp dword [0x14002a598], 0
jne 0x14001ba27
mov dword [0x14002a598], 1
lea rdx, [0x140024880]
lea rcx, [0x140024550]
call fcn.1400113d4
test eax, eax
je 0x14001ba08
mov eax, 0xff
jmp 0x14001bb31
lea rdx, [0x140024440]
lea rcx, [section..rdata]
call fcn.1400116ef
mov dword [0x14002a598], 2
jmp 0x14001ba2c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400116a9
call fcn.1400115fa
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001ba89
mov rcx, qword [rsp + 0x30]
call fcn.1400112fd
movzx eax, al
test eax, eax
je 0x14001ba89
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140031020]
nop
call fcn.140011645
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001babd
mov rcx, qword [rsp + 0x38]
call fcn.1400112fd
movzx eax, al
test eax, eax
je 0x14001babd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400117c1
nop
call fcn.14001bba0
mov dword [rsp + 0x28], eax
call fcn.1400115c8
movzx eax, al
test eax, eax
jne 0x14001badc
mov ecx, dword [rsp + 0x28]
call fcn.140011096
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001baeb
call fcn.1400117d0
nop
xor edx, edx
mov cl, 1
call fcn.1400112cb
mov eax, dword [rsp + 0x28]
jmp 0x14001bb31
add rsp, 0x68
ret
Function at 0x140001c00
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1400140c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x30], pe_nt_image_headers64
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x140001c81
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140001c70
lea rdx, [rsp + 0x40]
jmp 0x140001c8e
mov r8d, 7
lea rdx, str.Unknown
mov rcx, rbx
call fcn.140003ab0
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000c780
add rsp, 0x150
pop rbx
ret
Function at 0x140008e30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400140c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x140014700]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x140008e78
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x140008e6c
mov rax, qword [rax + 0x10]
jmp 0x140008e72
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140008e60
cmp byte [rcx + 0x19], 0
jne 0x140008f54
cmp dword [rcx + 0x20], 4
jg 0x140008f54
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140008ea1
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x140008ed3
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x140008ec0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140008800
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140008f0e
cmp rcx, qword [rbx + 8]
je 0x140008f0e
cmp qword [rbx + 0x10], 1
jne 0x140008f12
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000c780
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x140008ef8
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140008f80
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.140005e50
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140008dd0
lea rdx, [0x140012498]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, str.invalid_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3

Function at 0x14000d490
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d4da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d4da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d4da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d4da
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d4da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000d4dc
xor al, al
add rsp, 0x28
ret
Function at 0x181db96e0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.181db9867
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 0x181db9711
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181db96f7
add dl, dl
jne 0x181db971e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181db977e
xor eax, eax
add dl, dl
jne 0x181db972d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x181db9835
add dl, dl
jne 0x181db973e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181db974b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181db9758
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181db9765
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x181db9772
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x181db9706
mov eax, 1
add dl, dl
jne 0x181db978e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x181db979b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181db9783
sub eax, ebx
mov ebx, 1
jne 0x181db97d4
mov ecx, 1
add dl, dl
jne 0x181db97b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x181db97c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181db97ab
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181db9706
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x181db97f0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x181db97fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x181db97e5
cmp eax, 0x7d00
jae 0x181db9823
cmp eax, 0x500
jb 0x181db981e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181db9706
cmp eax, 0x7f
ja 0x181db9826
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x181db9706
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x181db985a
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 0x181db9706
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002820
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4f], rax
movdqa xmm0, xmmword [0x1400052c0]
xor ecx, ecx
movdqa xmm1, xmmword [0x1400052f0]
movdqa xmmword [rbp - 0x49], xmm0
movdqa xmm0, xmmword [0x140005280]
movdqa xmmword [rbp - 0x39], xmm1
movdqa xmm1, xmmword [0x140005290]
movdqa xmmword [rbp - 0x29], xmm0
movdqa xmm0, xmmword [str.e___5_7_]
movdqa xmmword [rbp - 0x19], xmm1
movdqa xmm1, xmmword [0x140005260]
movdqa xmmword [rbp - 9], xmm0
movdqa xmm0, xmmword [0x140005300]
movdqa xmmword [rbp + 7], xmm1
movdqa xmm1, xmmword [0x140005310]
movdqa xmmword [rbp + 0x17], xmm0
movdqa xmmword [rbp + 0x27], xmm1
mov dword [rbp + 0x37], 0x100eafc
lea eax, [rcx + 0x18]
xor byte [rbp + rcx - 0x49], al
inc rcx
cmp rcx, 0x82
jb 0x1400028ba
mov byte [rbp + 0x3a], 0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x140002947
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x140002947
mov ebx, dword [r10 + 0x20]
dec r9d
mov r11d, 0xebb0f6d5
lea rcx, [r8 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r8
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x140002942
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140002923
cmp r11d, 0xc9702acc
je 0x14000294c
test r9d, r9d
jne 0x140002907
mov rax, qword [rax]
jmp 0x1400028e2
mov ecx, dword [r10 + 0x24]
add rcx, r8
movzx edx, word [rcx + r9*2]
mov r9d, 0x20019
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
lea rcx, [rbp + 0x47]
mov qword [rsp + 0x20], rcx
lea rdx, [rbp - 0x49]
add rax, r8
mov rcx, 0xffffffff80000002
xor r8d, r8d
call rax
mov rcx, qword gs:[0x60]
mov esi, eax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x1400029fc
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x1400029fc
mov edi, dword [r10 + 0x20]
dec r8d
mov r11d, 0xe2a1de20
lea rax, [r9 + r8*4]
mov edx, dword [rax + rdi]
add rdx, r9
mov al, byte [rdx]
inc rdx
test al, al
je 0x1400029f7
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rdx]
inc rdx
test al, al
jne 0x1400029d8
cmp r11d, 0x754d7c6d
je 0x140002a01
test r8d, r8d
jne 0x1400029bc
mov rcx, qword [rcx]
jmp 0x140002997
mov ecx, dword [r10 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov rcx, qword [rbp + 0x47]
add rax, r9
call rax
test esi, esi
sete al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140003e30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140002a4c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400052b0]
call fcn.140002820
test al, al
je 0x140002a63
movdqu xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x30], 0x4e4c5c
xor ecx, ecx
mov byte [rsp + 0x34], 1
lea eax, [rcx + 0x18]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 0x13
jb 0x140002a81
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x38]
call fcn.14000339c
mov rcx, rax
call fcn.140001178
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140002b23
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x140002b23
mov edi, dword [r9 + 0x20]
dec edx
mov r11d, 0x52154c9e
lea rcx, [rdi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x140002b1f
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x140002aff
cmp r11d, 0x95cdfd26
je 0x140002b28
test edx, edx
jne 0x140002ae2
mov rax, qword [rax]
jmp 0x140002abe
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r8
call rax
jmp 0x140002a63
Function at 0x142efe8b8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x142efe8c2
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 0x142efe8eb
pop rbp
sub rbp, 0x33
sub rbp, 0x2efe8b8
sub rsp, 0x20
jmp 0x142efe90a
mov rax, 0x2efe8b8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffe4a05fe8
xor byte [rax], dl
inc rax
dec rcx
jne 0x142efe929
jmp 0x142efe940
movabs al, byte [0xe8e8e8d461630161]
movabs al, byte [0xe9a0e8e8e9e02969]
add dword [rax - 0x171fd7d1], esp
call 0x16d1f8a45
shr al, 0xe8
call 0xe2fa0905
jmp 0x127594c93
Function at 0x1800089f0
Capabilities:
Create thread
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x180057010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
cmp edx, 1
jne 0x180008ab3
mov eax, 0x5a4d
mov dword [rsp + 0x30], 0
cmp word [rcx], ax
jne 0x180008a80
movsxd rax, dword [rcx + 0x3c]
shl rax, 6
cmp dword [rax + rcx], 0x4550
jne 0x180008a80
movzx ecx, word [rax + rcx + 0x14]
test cx, cx
je 0x180008a80
lea r8d, [rdx + 0x3f]
mov qword [rsp + 0x58], rbx
mov ebx, ecx
lea r9, [rsp + 0x30]
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x28], 0
lea r8, [0x1800084c0]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180008ab3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180046de0
add rsp, 0x40
pop rdi
ret

Function at 0x18000b8b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000b90d
lea rbx, [0x1800499f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000b8f4
cmp r10, 2
jb 0x18000b8f4
cmp byte [r9], r8b
jne 0x18000b8f4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18000b8d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000b94f
lea rbx, [0x1800499f0]
cmp r8b, 0x23
jne 0x18000b933
cmp byte [r9], r8b
jne 0x18000b933
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18000b920
mov rbx, qword [rsp + 8]
not eax
ret