joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006db98
Capabilities:
Read file on windows

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, rdx
mov r14, rcx
xor edi, edi
xor ebx, ebx
xor esi, esi
call qword [sym.imp.msvcrt.dll_feof]
test eax, eax
jne 0x18006dc39
cmp esi, edi
jne 0x18006dbed
lea r15d, [rdi + 0x3e8]
mov edx, edi
mov r8d, r15d
mov rcx, rbx
call fcn.18006c0a0
test rax, rax
je 0x18006dc75
mov rbx, rax
mov edi, r15d
call qword [sym.imp.msvcrt.dll__errno]
movsxd rcx, esi
mov r9, r14
add rcx, rbx
mov edx, 1
and dword [rax], 0
mov eax, edi
sub eax, esi
movsxd r8, eax
call qword [sym.imp.msvcrt.dll_fread]
mov rcx, r14
mov r15, rax
call qword [sym.imp.msvcrt.dll_ferror]
test eax, eax
jne 0x18006dc7e
mov rcx, r14
add esi, r15d
call qword [sym.imp.msvcrt.dll_feof]
test eax, eax
je 0x18006dbc6
cmp esi, edi
jne 0x18006dcbc
lea r8d, [rdi + 1]
mov edx, edi
mov rcx, rbx
call fcn.18006c0a0
test rax, rax
jne 0x18006dcb9
lea r8, [0x1801b3848]
mov edx, 0xc8
mov rcx, rbp
call fcn.18004481c
test rbx, rbx
je 0x18006dc71
mov rax, qword [fcn.180099778]
mov rcx, rbx
call rax
xor eax, eax
jmp 0x18006dce5
lea r8, [0x1801b3870]
jmp 0x18006dc53
call qword [sym.imp.msvcrt.dll__errno]
cmp dword [rax], 0
je 0x18006dc99
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.msvcrt.dll_strerror]
jmp 0x18006dca0
lea rax, str.Error_reading_file
mov r9, rax
lea r8, [0x1801b3654]
mov edx, 0xc8
mov rcx, rbp
call fcn.18004481c
jmp 0x18006dc60
mov rbx, rax
movsxd rax, esi
mov rdx, rbp
mov rcx, rbx
mov byte [rax + rbx], 0
call fcn.18006d478
mov rdi, rax
test rbx, rbx
je 0x18006dce2
mov rdx, qword [fcn.180099778]
mov rcx, rbx
call rdx
mov rax, rdi
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
Function at 0x18006ef30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov rdi, qword [0x1801b8448]
mov rsi, rdx
mov rbx, qword [rdi + 8]
test rbx, rbx
jne 0x18006efbd
mov r9d, 0x4f4e4554
lea r8, [0x1801160a0]
mov edx, 0x2728e
mov ecx, dword [r8]
mov eax, ecx
xor eax, r9d
mov r9d, ecx
mov dword [r8], eax
lea r8, [r8 + 4]
sub rdx, 1
jne 0x18006ef69
mov edx, 0x4e078
mov ecx, 1
call qword [sym.imp.msvcrt.dll_calloc]
mov rbx, rax
test rax, rax
je 0x18006efb2
and dword [rax + 0x70], 0
mov rcx, rax
call fcn.180073cf0
test eax, eax
jne 0x18006efb4
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
xor ebx, ebx
mov qword [rdi + 8], rbx
test rbx, rbx
je 0x18006efcc
mov rdx, rsi
mov rcx, rbx
call fcn.18007573c
test eax, eax
je 0x18006efd0
xor al, al
jmp 0x18006f028
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x40]
call fcn.180075f14
mov rdi, rax
test eax, eax
jle 0x18006f026
lea rdx, [0x1800ce2a8]
lea rcx, [0x1801b8c90]
call qword [sym.imp.msvcrt.dll_fopen]
mov rcx, qword [rsp + 0x40]
mov r8d, 1
mov r9, rax
movsxd rdx, edi
mov rbx, rax
call fcn.1800a29e0
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_fclose]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_free]
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18006f038
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
lea rbx, [0x1800ced90]
mov r9d, ecx
not r9d
cmp r8, 4
jb 0x18006f08a
mov r10, r8
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r8, rax
xor r11d, r11d
movzx ecx, byte [rdx + r11]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r11
xor r9d, dword [rbx + rax*4]
cmp r11, 4
jl 0x18006f061
add rdx, 4
sub r10, 1
jne 0x18006f05e
test r8, r8
je 0x18006f0ac
movzx ecx, byte [rdx]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc rdx
xor r9d, dword [rbx + rax*4]
sub r8, 1
jne 0x18006f08f
mov rbx, qword [rsp + 8]
not r9d
mov eax, r9d
ret
Function at 0x1800782bc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
and qword [rcx + 8], 0
lea rax, vtable.MemoryAllocator.0
mov rbx, r8
mov qword [rcx], rax
and rbx, 0xfffffffffffff000
mov rsi, rdx
test r8, r8
mov rdi, rcx
cmove rbx, r8
add rbx, 0x1000
mov r9d, 0x40
mov rcx, rbx
mov r8d, 0x3000
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rdi + 8], rax
test rax, rax
je 0x1800782f1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800798d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, rdx
mov ecx, 0xfffffffd
sub rax, r8
mov rdi, r8
add rax, 0x7ffffffa
mov rsi, rdx
cmp rax, rcx
ja 0x18007996b
mov byte [rbp - 0x16], reloc.WS2_32.dll_WSASetLastError
xor ecx, ecx
mov byte [rbp - 0x15], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x14], 0x76
mov byte [rbp - 0x13], 0x26
mov byte [rbp - 0x12], 0x36
mov byte [rbp - 0x11], 0x7e
mov byte [rbp - 0x10], 0x2b
mov byte [rbp - 0xf], 0x36
mov byte [rbp - 0xe], 0x37
mov byte [rbp - 0xd], 0x3c
mov byte [rbp - 0xc], WSACleanup
mov byte [rbp - 0xb], WSACleanup
mov byte [rbp - 0xa], 0x7e
mov byte [rbp - 9], cl
mov al, byte [rbp - 0x16]
mov al, byte [rbp + rcx - 0x16]
sub al, 6
mov byte [rbp + rcx - 0x16], al
inc rcx
cmp rcx, 0xd
jb 0x180079947
mov r8, rsi
lea rdx, [rbp - 0x16]
mov rcx, rdi
call fcn.18008068c
jmp 0x1800799d3
mov byte [rbp - 0x20], 0x77
xor ecx, ecx
mov byte [rbp - 0x1f], 0x7a
mov byte [rbp - 0x1e], 0x7d
mov byte [rbp - 0x1d], 0x2d
mov byte [rbp - 0x1c], 0x68
mov byte [rbp - 0x1b], 0x7f
mov byte [rbp - 0x1a], 0x76
mov byte [rbp - 0x19], 0x7d
mov byte [rbp - 0x18], 0x6a
mov byte [rbp - 0x17], cl
mov al, byte [rbp - 0x20]
mov al, byte [rbp + rcx - 0x20]
sub al, 0xd
mov byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 9
jb 0x180079997
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.18008068c
mov r8d, 8
mov qword [rbp + 0x18], rsi
lea rdx, [rbp + 0x18]
mov rbx, rax
lea rcx, [rax + rdi]
call fcn.180080f0c
add rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x18007b7d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r13, r8
mov r14, rdx
mov r8, rdx
mov r15, rcx
mov edx, 0x200
add rcx, 8
call fcn.1800799e8
mov r9, rax
mov edx, 5
sub r9, r14
mov r12, rax
add r9, 0x7ffffffa
mov eax, 0xfffffffd
cmp r9, rax
lea ecx, [rdx + 9]
cmova edx, ecx
mov rcx, r14
call fcn.180080ae4
mov r9, rax
mov r8, r14
mov rdx, r12
mov rcx, r15
mov rsi, rax
call fcn.180081204
add r12, rax
mov rcx, r12
call fcn.18007a900
mov byte [rbp - 0x30], 0x75
xor edi, edi
mov byte [rbp - 0x2f], 0x77
mov ecx, edi
mov byte [rbp - 0x2e], 0x7e
mov byte [rbp - 0x2d], 0x28
lea rbx, [r12 + rax]
mov byte [rbp - 0x2c], 0x7a
mov byte [rbp - 0x2b], 0x6b
mov byte [rbp - 0x2a], 0x80
mov byte [rbp - 0x29], 0x34
mov byte [rbp - 0x28], 0x28
mov byte [rbp - 0x27], 0x7a
mov byte [rbp - 0x26], 0x7b
mov byte [rbp - 0x25], 0x78
mov byte [rbp - 0x24], dil
mov al, byte [rbp - 0x30]
mov al, byte [rbp + rcx - 0x30]
sub al, 8
mov byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0xc
jb 0x18007b89a
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.18008068c
add rbx, rax
mov rdx, r13
mov r8, rbx
mov rcx, r15
call fcn.180078d5c
mov byte [rbp - 0x23], 0x79
add rbx, rax
mov byte [rbp - 0x22], 0x6a
mov rcx, rdi
mov byte [rbp - 0x21], 0x78
mov byte [rbp - 0x20], 0x79
mov byte [rbp - 0x1f], 0x25
mov byte [rbp - 0x1e], 0x77
mov byte [rbp - 0x1d], 0x66
mov byte [rbp - 0x1c], 0x7d
mov byte [rbp - 0x1b], 0x31
mov byte [rbp - 0x1a], 0x25
mov byte [rbp - 0x19], 0x77
mov byte [rbp - 0x18], 0x66
mov byte [rbp - 0x17], 0x7d
mov byte [rbp - 0x16], 0x40
mov byte [rbp - 0x15], WSASetLastError
mov byte [rbp - 0x14], 0x6a
mov byte [rbp - 0x13], 0x25
mov byte [rbp - 0x12], 0x35
mov byte [rbp - 0x11], 0x7d
mov byte [rbp - 0x10], 0x2a
mov byte [rbp - 0xf], 0x35
mov byte [rbp - 0xe], 0x36
mov byte [rbp - 0xd], 0x3b
mov byte [rbp - 0xc], WSACleanup
mov byte [rbp - 0xb], WSACleanup
mov byte [rbp - 0xa], 0x7d
mov byte [rbp - 9], dil
mov al, byte [rbp - 0x23]
mov al, byte [rbp + rcx - 0x23]
sub al, 5
mov byte [rbp + rcx - 0x23], al
inc rcx
cmp rcx, 0x1a
jb 0x18007b93f
lea r8, [rbx + 0x55]
mov rcx, rbx
lea rdx, [rbp - 0x23]
call fcn.18008068c
add rbx, rax
mov rcx, rbx
call fcn.180079a6c
mov byte [rbp + 0x30], 0x76
add rbx, rax
mov byte [rbp + 0x31], 0x69
mov byte [rbp + 0x32], 0x78
mov byte [rbp + 0x33], dil
mov al, byte [rbp + 0x30]
mov al, byte [rbp + rdi + 0x30]
sub al, 4
mov byte [rbp + rdi + 0x30], al
inc rdi
cmp rdi, 3
jb 0x18007b983
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.18008068c
add rbx, rax
mov rcx, rbx
call fcn.180079a6c
add rbx, rax
mov r9, rsi
mov rdx, rbx
mov r8, r14
mov rcx, r15
call fcn.180079390
lea rdx, [rsi + r14]
mov rcx, r15
lea r8, [rax + rbx]
call fcn.1800798d8
mov r8, r14
mov rdx, r12
mov rcx, r15
call fcn.1800798d8
sub rsi, rax
mov rdx, rsi
lea rcx, [rax + r14]
call fcn.180080f98
lea r11, [rsp + 0x50]
mov al, 1
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18007be4c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
lea rax, [rdx - 1]
mov r15, r8
mov rbx, rdx
mov rsi, rcx
cmp rax, 0xfffffffffffffffd
ja 0x18007bf9c
mov rax, r8
mov ecx, 0xfffffffd
sub rax, rdx
mov edx, 5
add rax, 0x7ffffffa
cmp rax, rcx
mov rcx, rbx
lea r8d, [rdx + 9]
cmova edx, r8d
call fcn.180080ae4
lea rcx, [rsi + 8]
mov r8, rbx
mov r12, rax
lea rdx, [rax + 0x100]
call fcn.1800799e8
mov r9, r12
mov r8, rbx
mov rdx, rax
mov rcx, rsi
mov r14, rax
call fcn.180081204
add r14, rax
mov rcx, r14
call fcn.18007a900
mov byte [rbp - 0x10], reloc.WS2_32.dll_WSASetLastError
xor ecx, ecx
mov byte [rbp - 0xf], WSACleanup
mov byte [rbp - 0xe], 0x79
mov byte [rbp - 0xd], 0x23
lea rdi, [r14 + rax]
mov byte [rbp - 0xc], 0x75
mov byte [rbp - 0xb], 0x66
mov byte [rbp - 0xa], 0x7b
mov byte [rbp - 9], 0x2f
mov byte [rbp - 8], 0x23
mov byte [rbp - 7], 0x75
mov byte [rbp - 6], 0x76
mov byte [rbp - 5], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 4], cl
mov al, byte [rbp - 0x10]
mov al, byte [rbp + rcx - 0x10]
sub al, 3
mov byte [rbp + rcx - 0x10], al
inc rcx
cmp rcx, 0xc
jb 0x18007bf1c
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.18008068c
add rdi, rax
mov rdx, r15
mov r8, rdi
mov rcx, rsi
call fcn.180078d5c
add rdi, rax
mov rcx, rdi
call fcn.180079a6c
add rdi, rax
mov r9, r12
mov rdx, rdi
mov r8, rbx
mov rcx, rsi
call fcn.180079390
lea rdx, [r12 + rbx]
mov rcx, rsi
lea r8, [rax + rdi]
call fcn.1800798d8
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.1800798d8
sub r12, rax
mov rdx, r12
lea rcx, [rax + rbx]
call fcn.180080f98
mov al, 1
jmp 0x18007bf9e
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x18007c99c
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x18007ca0e
cmp ecx, 0x7c
je 0x18007ca13
cmp ecx, 0x29
jne 0x18007ca1e
cmp dword [rbx + 0x1c], 0
jne 0x18007ca13
test dword [rbx + 0x80], 0x10000000
je 0x18007cb3e
cmp ecx, 0x5d
jne 0x18007c9e5
test dword [rbx + 0x80], 0x10000000
je 0x18007cb30
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18007c018
mov dil, 1
mov rcx, rbx
call fcn.18007eee0
test dil, dil
je 0x18007ca09
mov rcx, rbx
call fcn.18007ef54
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x18007c9b0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x18007ca3b
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.18007ee88
mov rcx, rbx
call fcn.18007eee0
jmp 0x18007ca01
cmp ecx, 0x5c
jne 0x18007ca99
mov rcx, rbx
call fcn.18007eee0
test byte [rbx + 0x80], 0x80
je 0x18007ca8c
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18007ca70
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.18007ee88
mov rcx, rbx
call fcn.18007eee0
jmp 0x18007ca09
cmp al, 0x42
jne 0x18007ca8c
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.18007ee88
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x18007ca66
mov rcx, rbx
call fcn.18007cb5c
jmp 0x18007ca01
cmp ecx, 0x5b
jne 0x18007cab9
mov rcx, rbx
call fcn.18007eee0
mov rcx, rbx
call fcn.18007d2bc
cmp dword [rbx + 0x7c], 0x5d
jne 0x18007cb30
jmp 0x18007ca31
cmp ecx, 0x28
jne 0x18007cadc
mov rcx, rbx
call fcn.18007eee0
mov rcx, rbx
call fcn.18007f480
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x18007cb3e
jmp 0x18007c9f4
cmp ecx, 0x5e
jne 0x18007cae9
lea edx, [rcx - 0x5c]
jmp 0x18007ca5d
cmp ecx, 0x24
jne 0x18007caf6
lea edx, [rcx - 0x21]
jmp 0x18007ca5d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18007cb22
cmp ecx, 0x3f
je 0x18007cb22
cmp ecx, 0x7b
je 0x18007cb22
cmp ecx, 0x7d
jne 0x18007c9d0
test dword [rbx + 0x80], 0x10000000
je 0x18007cb4c
jmp 0x18007c9e5
mov edx, 0xa
mov rcx, rbx
call fcn.18007e36c
int3
mov edx, 4
mov rcx, rbx
call fcn.18007e36c
int3
mov edx, 5
mov rcx, rbx
call fcn.18007e36c
int3
mov edx, 6
mov rcx, rbx
call fcn.18007e36c
int3

Function at 0x18007f5f4
Capabilities:
Encode data using xor

Disassembly:
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp fcn.1800106b4
Function at 0x180080b58
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xe0
mov r15, r9
mov ebx, r8d
mov r14, rdx
xor esi, esi
lea ecx, [rbx*2 + 1]
call fcn.180095720
mov rdi, rax
mov rcx, rax
mov r10, r14
mov byte [rsp + 0x20], 0x34
mov byte [rbp - 0x80], 0x35
mov byte [rbp - 0x7f], 0x36
mov byte [rbp - 0x7e], 0x37
mov byte [rbp - 0x7d], 0x38
mov byte [rbp - 0x7c], 0x39
mov byte [rbp - 0x7b], 0x3a
mov byte [rbp - 0x7a], 0x3b
mov byte [rbp - 0x79], 0x3c
mov byte [rbp - 0x78], 0x3d
mov byte [rbp - 0x77], 0x45
mov byte [rbp - 0x76], 0x46
mov byte [rbp - 0x75], 0x47
mov byte [rbp - 0x74], 0x48
mov byte [rbp - 0x73], 0x49
mov byte [rbp - 0x72], 0x4a
mov byte [rbp - 0x71], sil
mov al, byte [rsp + 0x20]
xor edx, edx
mov al, byte [rsp + rdx + 0x20]
sub al, 4
mov byte [rsp + rdx + 0x20], al
inc rdx
cmp rdx, 0x10
jb 0x180080be2
test ebx, ebx
je 0x180080c25
mov rdx, rbx
movzx eax, byte [r10]
shr rax, 4
mov al, byte [rsp + rax + 0x20]
mov byte [rcx], al
movzx eax, byte [r10]
and eax, 0xf
mov al, byte [rsp + rax + 0x20]
mov byte [rcx + 1], al
add rcx, 2
inc r10
sub rdx, 1
jne 0x180080bfc
mov byte [rcx], sil
mov r8d, 0x700
mov rdx, r15
lea rcx, [rbp + 0xf]
call fcn.180078144
nop
and qword [rbp - 0x61], 0
mov byte [rbp - 0x59], 0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x41], xmm1
and qword [rbp - 0x31], 0
mov byte [rbp - 0x29], 0
movdqa xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x11], 0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov byte [rbp + 7], 0
xor r9d, r9d
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x61]
mov rcx, rdi
call fcn.180077a80
movabs rbx, 0x2aaaaaaaaaaaaaab
test al, al
je 0x180080d01
mov rcx, qword [rbp - 0x49]
mov r8, qword [rbp - 0x51]
sub rcx, r8
mov rax, rbx
imul rcx
mov rcx, rdx
sar rcx, 2
mov rax, rcx
shr rax, 0x3f
add rcx, rax
lea rax, [rbp - 9]
cmovne rax, r8
mov rax, qword [rax]
sub rax, qword [rbp - 0x61]
cqo
sub rax, rdx
sar rax, 1
lea rsi, [r14 + rax]
lea rax, [rbp - 9]
test rcx, rcx
cmovne rax, r8
mov rax, qword [rax]
sub rax, qword [rbp - 0x61]
add rcx, rax
add rcx, rdi
xor r9d, r9d
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x61]
call fcn.180077a80
movsxd rax, dword [rbp + 0x7f]
add rsi, rax
mov rcx, rdi
call fcn.18009529c
nop
mov r8, qword [rbp - 0x51]
test r8, r8
je 0x180080d60
mov rcx, qword [rbp - 0x41]
sub rcx, r8
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x180080d57
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180080d89
mov rcx, r8
call fcn.18009529c
nop
lea rcx, [rbp + 0xf]
call fcn.180078778
mov rax, rsi
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800995a0
nop
int3
Function at 0x180080d90
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x230
mov r15, r9
mov r12, r8
mov rbx, rdx
xor esi, esi
call fcn.18008094c
mov r14, rax
test rax, rax
je 0x180080ee5
test rbx, rbx
jne 0x180080dd5
xor ecx, ecx
jmp 0x180080de1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov r8d, 0x104
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [0x1800ac35c]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__wfopen
xor edx, edx
mov rcx, rax
mov rdi, rax
lea r8d, [rdx + 2]
call sub.msvcrt.dll_fseek
mov rcx, rdi
call sub.msvcrt.dll_ftell
xor r8d, r8d
movsxd rbx, eax
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_fseek
mov rcx, rbx
call fcn.180095720
mov r9, rdi
mov r8d, 1
mov rdx, rbx
mov rcx, rax
mov rbp, rax
call sub.msvcrt.dll_fread
mov rcx, rdi
call sub.msvcrt.dll_fclose
mov eax, 0x5a4d
cmp word [rbp], ax
jne 0x180080edd
movsxd rcx, dword [rbp + 0x3c]
add rcx, rbp
cmp dword [rcx], 0x4550
jne 0x180080edd
movzx r8d, word [rcx + 0x14]
mov edx, esi
movzx ebx, word [rcx + 6]
add r8, rcx
test ebx, ebx
je 0x180080edd
movsxd rax, edx
lea r11, [r8 + 0x18]
lea r9, [rax + rax*4]
mov rax, r12
lea r11, [r11 + r9*8]
sub r11, r12
movzx ecx, byte [rax]
movzx r10d, byte [rax + r11]
sub ecx, r10d
jne 0x180080ea9
inc rax
test r10d, r10d
jne 0x180080e94
test ecx, ecx
je 0x180080eb5
inc edx
cmp edx, ebx
jl 0x180080e7f
jmp 0x180080edd
mov eax, dword [r8 + r9*8 + 0x24]
mov sil, 1
add rax, r14
mov qword [r15], rax
mov ecx, dword [r8 + r9*8 + 0x28]
cmp ecx, dword [r8 + r9*8 + 0x20]
mov rax, qword [rsp + 0x270]
cmovbe ecx, dword [r8 + r9*8 + 0x20]
mov dword [rax], ecx
mov rcx, rbp
call fcn.18009529c
lea r11, [rsp + 0x230]
mov al, sil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x180080f0c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and dword [rax + 0x18], 0
lea r9, [rax + 0x18]
mov rsi, r8
mov rbx, rdx
mov rdx, rsi
mov r8d, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and qword [rsp + 0x20], 0
mov r9, rsi
mov rcx, rax
mov r8, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
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]
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18008189c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rbx, rdx
mov rdi, rcx
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1800818c0
cmp rax, 0x100
jae 0x180081977
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x230
call fcn.1800970a0
mov r8, rbx
mov qword [rsp + 0x38], rdi
mov edx, 0x100
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_strcpy_s
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], 1
call fcn.180081bbc
test eax, eax
je 0x180081977
mov edx, dword [rsp + 0x40]
lea r9, [rbp + 0x180]
and dword [rbp + 0x180], 0
mov r8d, 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
mov rcx, rax
mov r9d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [rsp + 0x40]
lea r9, [rbp + 0x180]
mov r8d, dword [rbp + 0x180]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rsp + 0x40]
jmp 0x180081979
xor eax, eax
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x180081b44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rdx]
mov r10, r9
mov r9d, dword [rsp + 0x28]
movsxd r8, r8d
inc r9d
mov byte [rsp + 0x28], 1
mov rdx, qword [rax + r8*8]
mov r8, r10
jmp fcn.18007b7d8
Function at 0x18008c4e8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd rbp, edx
mov edi, r8d
mov rbx, rcx
mov r8, rbp
xor edx, edx
mov rcx, r9
mov rsi, r9
call fcn.1800970a0
mov eax, ebp
xor edx, edx
imul eax, edi
movsxd rcx, eax
movzx eax, dil
add rcx, rbx
imul r9d, eax, 0xd
mov r8b, r9b
xor r8b, 0x6e
test ebp, ebp
jle 0x18008c552
mov al, r8b
xor al, byte [rcx]
mov byte [rsi], al
mov al, r9b
add al, byte [rcx]
inc rsi
add al, dl
inc rcx
add r8b, al
inc edx
cmp edx, ebp
jl 0x18008c535
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18009206c
Capabilities:
Encode data using xor

Disassembly:
xorps xmm0, xmm0
movsxd r8, ecx
lea rdx, [0x1800fe150]
lea rax, [0x1801b6c88]
add rdx, r8
mov r9, rax
movups xmmword [0x1801b6c88], xmm0
movups xmmword [0x1801b6c98], xmm0
mov cl, r8b
inc r8d
xor cl, byte [rdx]
inc rdx
xor cl, 0x6e
mov byte [r9], cl
inc r9
test cl, cl
jne 0x180092094
ret

Function at 0x1800964b0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.180096e50
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.180096e50
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.180096e50
mov ecx, dword [0x1801b73c4]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x14
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.180098330
call fcn.180096e50
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret