joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801aa160
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180260bc0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1801aa1c4
mov eax, 0xa
jmp 0x1801aa253
test esi, esi
je 0x1801aa1e6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1801aa209
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1801aa209
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1801aa202
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1801aa209
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1801aa270
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180251300]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1801aa39a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1801aa391
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1801aa374
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1801aa374
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1801aa374
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1801aa332
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x18025be30]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1801aa391
jmp 0x1801aa367
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1801aa367
mov rcx, qword [0x18025be30]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1801aa391
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1801aa2e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1801aa3f3
cmp dword [rbx + 0xc], esi
jbe 0x1801aa3f3
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1801aa3ec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1801aa840
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1801aa3b0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801ab970
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1801aa9f0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1801aaa5f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1801aaa48
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1801aaa3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1801aaa10
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x18025be30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1801aab20
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1801aab60
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180260bb0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1801aab9e
cmp rsi, r14
jb 0x1801aab96
cmp rsi, r15
jae 0x1801aab96
cmp qword [rsi + 8], 0
jne 0x1801aad67
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1801aab81
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1801aac32
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1801aac29
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801aac29
cmp dword [rsp + 0x70], 0x10000
je 0x1801aacab
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1801aac29
sub rbx, rbp
cmp rbx, r14
jae 0x1801aabf0
test rsi, rsi
jne 0x1801aad10
cmp rdi, r15
ja 0x1801aad4f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1801aad4f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1801aad4f
cmp dword [rsp + 0x70], 0x10000
je 0x1801aace1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1801aac62
jmp 0x1801aad4f
test rbx, rbx
je 0x1801aac29
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801aad10
cmp rbx, r14
jae 0x1801aabd0
jmp 0x1801aac32
test rdi, rdi
je 0x1801aad4f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1801aad10
cmp rdi, r15
jbe 0x1801aac40
jmp 0x1801aad4f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1801aad20
mov rax, qword [0x180260bb0]
mov qword [rsi], rax
mov qword [0x180260bb0], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1801ace48
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1801ace82
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1801ace87
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1801aced0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1801aced0
dec r8
sub rdx, 1
jne 0x1801aceb6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x7c004088
Capabilities:
Encode data using xor

Disassembly:
mov dword [rbp - 0x20], ecx
cmp eax, dword [rbp - 0x40]
je 0x7c004033
mov rax, qword [rbp - 0x50]

Function at 0x7c00583c
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rbp + 0x48]
add rax, 0x46d0
or rax, qword [rbp + 0x28]
mov qword [rbp + 0x38], rax
mov ecx, dword [rbp - 0x20]
mov dword [rbp - 0xc], ecx
mov rax, qword [rbp - 0x40]
and rax, 0x2676
mov edx, dword [rbp - 0xc]
mov r8d, edx
mov r9d, dword [rbp - 0x2c]
add r8d, r9d
mov qword [rbp + 0x30], rax
mov rax, qword [rbp]
mov ecx, r9d
mov r10d, dword [rbp - 0x20]
shr r10d, cl
mov dword [rbp - 4], r10d
sub r9d, edx
mov r11, qword [rbp - 0x40]
xor r11, 0x1d9f
add byte [rcx + rcx*4 + 0x5d], cl
xor byte [rbp + 0xf], al
scasd eax, dword [rdi]
enter 0xffffffffffff8944, 0x4d
invalid
mov r8d, dword [rbp - 0x2c]
imul r8d, r8d
mov dword [rbp - 0x1c], r8d
imul edx, edx
mov dword [rbp + 0xc], edx
mov edx, dword [rbp - 4]
mov r8d, dword [rbp - 0x2c]
sub edx, r8d
mov dword [rbp - 4], edx
cmp rax, 0x6601
add byte [rax], al
je 0x7c005802
Function at 0x7c00729c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xe2c
mov ecx, dword [rbp + 0x74]
sub eax, dword [rbp + 0xd8]
mov rdx, qword [rbp - 0x28]
xor rdx, 0x27aa
mov qword [rbp + 0xb8], rdx
cmp ecx, eax
jne 0x7c007298
jmp fcn.7c006e31
mov al, byte [rbp + 0xdf]
xor al, 1
mov eax, 0x52be
mov ecx, eax
mov eax, 0x956e
add byte [rax], al
mov edx, eax
mov r8, qword [rbp + 0xd0]
mov r9, qword [rbp + 0xd0]
mov r10, qword [rbp + 0xd0]
mov r11, qword [rbp + 0x10]
add r8, 0xffffffffffffb32a
sub rdx, r10
xor r9, 0x11ae
mov qword [rbp + 0xb8], rdx
mov rdx, qword [rbp + 0xd0]
add rdx, 0xffffffffffffad49
mov r10, qword [rbp - 0x28]
xor r10, rdx
mov qword [rbp + 0xb8], r10
add byte [rax - 0x75], cl
push rbp
fmul dword [rax + 0x31]
rol byte [rcx - 0x75], cl
add ecx, dword [rax - 0x77]
mov dword [rbp + 0xb8], edx
mov esi, dword [rbp - 0x2c]
mov dword [rbp + 0x30], esi
mov dword [rbp - 4], eax
mov rdx, qword [rbp + 0x10]
mov r10, qword [rbp - 0x28]
mov qword [rbp - 0x40], rcx
mov rcx, r10
shl r8, cl
mov qword [rbp + 0xb8], r8
add rdx, 8
mov qword [rbp + 0x90], rdx
mov rdx, qword [rbp + 0x10]
mov edx, dword [rbp + 0x10]
mov r8, qword [rbp - 0x20]
imul r8, r9
imul eax, ecx
mov r9, qword [rbp - 0x40]
sub r9, qword [rbp + 0xd0]
mov qword [rbp + 0xb8], r8
mov eax, dword [rdx + 4]
mov edx, eax
sub rdx, r9
shr rdx, 1
mov eax, edx
mov dword [rbp + 0x34], eax
jmp fcn.7c00724a
jmp 0x7c007155
mov eax, 0x7235
mov ecx, eax
mov rdx, qword [rbp - 0x20]
imul rdx, rdx
sub rcx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xc8]
mov r9, qword [rbp - 0x20]
mov qword [rbp + 0xb8], r9
add byte [rax], al
mov eax, dword [rbp - 0x2c]
add eax, eax
mov r10, r8
imul r10, r10
mov dword [rbp + 0x30], eax
mov r11, qword [rbp - 0x28]
xor r11, rcx
sub r9, r8
mov rcx, qword [rbp - 0x20]
add r8, rcx
imul r9, r8
sub rdx, r10
mov qword [rbp + 0xb8], r11
cmp rdx, r9
jb 0x7c006ed3
jmp 0x7c006b34
mov rax, qword [rbp + 0xa0]
mov rcx, qword [rax]
mov rdx, qword [rbp - 0x20]
xor rdx, 0xffffffffffffffff
mov qword [rbp + 0xb8], rdx
add rcx, qword [rbp + 0x18]
mov qword [rax], rcx
jmp 0x7c006e54
sub al, 0xfe
invalid
invalid
mov eax, dword [rbp - 0xc]
mov rcx, qword [rbp + 0xd0]
add rcx, 0xffffffffffffc921
mov dl, byte [rbp + 0x6b]
and dl, 1
movzx r8d, dl
and eax, r8d
mov r9, qword [rbp - 0x28]
xor r9, rcx
mov qword [rbp + 0xb8], r9
mov eax, 0x83000000
clc
add byte [rdi], cl
test ecx, ebp
cli
invalid
invalid
jmp 0x7c006f7e
mov qword [rbp + 0x18], rax
mov rax, qword [rbp - 0x28]
sub rax, rax
mov qword [rbp + 0xb8], rax
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x28]
shl rax, cl
mov qword [rbp + 0xb8], rax
and r8d, 0x3d59
mov dword [rbp + 0x30], r8d
cmp rdi, rdx
jae 0x7c007003
jmp 0x7c007028
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 0x44]
xor ecx, 0x6c1c
int1
sbb al, 0x6c
add byte [rax], al
mov edx, dword [rbp + 0xd8]
xor edx, 0x7687
mov dword [rbp + 0x74], ecx
cmp edx, eax
jbe 0x7c006acb
jmp 0x7c006ade
mov rax, qword [rbp + 0x90]
add rax, 2
mov qword [rbp + 0x90], rax
jmp fcn.7c00724a
Function at 0x7c00a0fc
Capabilities:
Encode data using xor

Disassembly:
sub byte [rbx], bh
pop rbx
mov byte [rbp + 0x32c3432b], dl
outsb dx, byte [rsi]
fdiv dword [rdx + rbp*2 - 0x11fe0eda]
int1
add esi, ebp
fcompp
xchg esi, eax
int 0xa0
mov ah, 0xd8
invalid
fild word [r15]
mov al, 0xaa
loope 0x7c00a0a6
or dword [rdx - 0x1dfa14b1], ecx
mov ah, 0xa6
xchg dword [rsi + 0x4edbe099], esi
sbb ebp, dword [rcx - 0xbad0c3a]
neg byte [r8 - 0x5c39727e]
neg byte [rax - 0x5c39727e]
stc
out dx, al
nop
loop 0x7c00a0f1
invalid

Function at 0x7c00a528
Capabilities:
Encode data using xor

Disassembly:
sub eax, esp
xchg ebp, eax
out 0xb7, al
sbb byte [r10 + 0x54483688], 0x89
xor byte [rax - 0x27], al
stc
jae sym.DUI70.dll_struct_DirectUI::IClassInfo____ptr64___ptr64_DirectUI::Thumb::s_pClassInfo
sbb ebp, ecx
invalid

Function at 0x7c012eb0
Capabilities:
Encode data using xor

Disassembly:
push 0x55b2541e
fild dword [0x9de685a9]
and ch, byte [rbx + 6]
mov edx, 0x62fab6b1
xor ah, ch
jne sym.DUI70.dll_private:_long_int___cdecl_DirectUI::SelectorSelectionItemProxy::Select_void____ptr64
mov eax, 0x80b20cde

Function at 0x7c015990
Capabilities:
Encode data using xor

Disassembly:
pop rbp
mov r8b, 0x8d
wait
push 0xffffffffbe7047a1
adc byte [rax - 0x3ed50413], dh
mov dl, 0x6e
and eax, 0xb2cbb8b7
insb byte [rdi], dx
jbe 0x7c015977
jbe 0x7c015977
jbe 0x7c015977
sub byte [rdx], al
invalid

Function at 0x7c021098
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, 0xa1a402ed
sub al, 0x98
and eax, 0x73a77fdf

Function at 0x7c02109c
Capabilities:
Encode data using add xor sub operations

Disassembly:
movabs eax, dword [0x73a77fdf2544982c]
int 0x57
cmp byte [rbp - 0x76], bh
xchg ecx, eax
push rax
sal dword [rdi - 0xe], cl
invalid

Function at 0x7c0210a8
Capabilities:
Encode data using add xor sub operations

Disassembly:
movabs eax, dword [0x73a77fdf2544982c]
int 0x57
cmp byte [rbp - 0x76], bh
xchg ecx, eax
push rax
sal dword [rdi - 0xe], cl
invalid

Function at 0x7c0210b4
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
and dword [rdx], 0x11571d39
xor bl, dl
in eax, dx
add ah, byte [rcx + riz*4 + 0x2544982c]
movabs eax, dword [0x73a77fdf2544982c]
invalid
push rdi
xor al, 0x30
mov dl, ah
ffree st(5)
pop rbx
test qword [rdx - 0x2bec4cae], rbx
xchg edx, eax
mov edx, 0x69a4029d
xor dword [rax + 0x49], ebp
movsd dword [rdi], dword [rsi]
test edx, ebx
xchg edi, eax
je 0x7c021099
pop rax
mov al, 0x7d
or bh, byte [rax]
test eax, 0x5fe27603
and dword [rcx], ebp
adc eax, dword [rax - 0x55]
or byte [rdx + 0x45], cl
xchg byte [rdx + 0x57], bh
invalid
Function at 0x180d9b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180d9b1df
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 0x180d9b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d9b06f
add dl, dl
jne 0x180d9b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d9b0f6
xor eax, eax
add dl, dl
jne 0x180d9b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180d9b1ad
add dl, dl
jne 0x180d9b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d9b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d9b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d9b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180d9b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180d9b07e
mov eax, 1
add dl, dl
jne 0x180d9b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180d9b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d9b0fb
sub eax, ebx
mov ebx, 1
jne 0x180d9b14c
mov ecx, 1
add dl, dl
jne 0x180d9b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d9b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d9b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d9b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180d9b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180d9b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180d9b15d
cmp eax, 0x7d00
jae 0x180d9b19b
cmp eax, 0x500
jb 0x180d9b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d9b07e
cmp eax, 0x7f
ja 0x180d9b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180d9b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180d9b1d2
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 0x180d9b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140002280
Capabilities:
Encode data using xor
Execute command

Disassembly:
sub rsp, 0x68
cmp byte [0x140004561], 0
movups xmm0, xmmword [str.:_aGUGB]
movzx eax, word [0x140004560]
mov word [rsp + 0x40], ax
movups xmmword [rsp + 0x30], xmm0
je 0x14000243d
xor ecx, ecx
cmp dword [0x140006088], 2
jl 0x1400023f9
movdqa xmm0, xmmword [str.0000000000000000]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140004570]
movdqa xmm4, xmmword [0x1400045b0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [str.2222]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140004590]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140004590]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400022f0
movaps xmm6, xmmword [rsp + 0x50]
cmp ecx, 0x12
jge 0x14000243d
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x12
jl 0x140002410
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x30]
call fcn.140002480
mov ecx, 0x7530
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140001c40
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x68
ret

Function at 0x140003160
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140009850]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140009860]
mov dword [rax], 1
mov rax, qword [0x140009870]
mov dword [rax], 1
mov rax, qword [0x140009840]
mov dword [rax], 1
mov rax, qword [0x140009700]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x140009830]
mov dword [0x14000c020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400097f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400097d0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400096b0]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x140001591
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
pxor xmm0, xmm0
movsd qword [rbp - 8], xmm0
movsd xmm0, qword [0x140009018]
movsd qword [rbp - 0x10], xmm0
mov dword [rbp - 0x14], 0
mov dword [rbp - 0x18], 0
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax]
cmp al, 0x2d
jne 0x140001615
mov dword [rbp - 0x18], 1
add dword [rbp - 0x14], 1
jmp 0x140001615
movsd xmm1, qword [rbp - 8]
movsd xmm0, qword [0x140009018]
mulsd xmm1, xmm0
mov eax, dword [rbp - 0x14]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movsx eax, al
sub eax, 0x30
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
addsd xmm0, xmm1
movsd qword [rbp - 8], xmm0
add dword [rbp - 0x14], 1
mov eax, dword [rbp - 0x14]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0x2e
je 0x14000163d
mov eax, dword [rbp - 0x14]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
test al, al
jne 0x1400015d9
mov eax, dword [rbp - 0x14]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
cmp al, 0x2e
jne 0x1400016b6
add dword [rbp - 0x14], 1
jmp 0x1400016a2
mov eax, dword [rbp - 0x14]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movsx eax, al
sub eax, 0x30
pxor xmm0, xmm0
cvtsi2sd xmm0, eax
divsd xmm0, qword [rbp - 0x10]
movsd xmm1, qword [rbp - 8]
addsd xmm0, xmm1
movsd qword [rbp - 8], xmm0
movsd xmm1, qword [rbp - 0x10]
movsd xmm0, qword [0x140009018]
mulsd xmm0, xmm1
movsd qword [rbp - 0x10], xmm0
add dword [rbp - 0x14], 1
mov eax, dword [rbp - 0x14]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
test al, al
jne 0x140001657
cmp dword [rbp - 0x18], 0
je 0x1400016d2
movsd xmm0, qword [rbp - 8]
movq xmm1, qword [0x140009020]
xorpd xmm0, xmm1
movsd qword [rbp - 8], xmm0
movsd xmm0, qword [rbp - 8]
movq rax, xmm0
movq xmm0, rax
add rsp, 0x20
pop rbp
ret

Function at 0x140001a20
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]