joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006fce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x180231100]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x18006fd27
nop
cmp al, 0x25
jne 0x18006fd1c
cmp byte [rcx + 1], al
jne 0x18006fd27
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x18006fd10
cmp byte [rcx], 0x25
jne 0x18006fe10
cmp byte [rcx + 1], 0x25
je 0x18006fe10
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x20]
call fcn.180080640
xorps xmm3, xmm3
lea r8, [rsp + 0x20]
cvtss2sd xmm3, xmm6
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.180046020
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x18006fd7e
inc rcx
cmp byte [rcx], 0x20
je 0x18006fd76
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18006fdfe
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18006fd99
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x18006fdaf
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18006fdec
movss xmm2, dword [0x18019eca0]
cmp al, 0x39
ja 0x18006fdec
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x18006fdc6
cmp r9b, 0x2d
jne 0x18006fe0b
xorps xmm1, xmmword [0x18019f390]
movaps xmm0, xmm1
jmp 0x18006fe13
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18006fe13
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800d1df0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x18006fe40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x180231100]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
movaps xmm6, xmm2
mov ebx, edx
test al, al
je 0x18006fe87
nop
cmp al, 0x25
jne 0x18006fe7c
cmp byte [rcx + 1], al
jne 0x18006fe87
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x18006fe70
cmp byte [rcx], 0x25
jne 0x18006ff66
cmp byte [rcx + 1], 0x25
je 0x18006ff66
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rsp + 0x20]
call fcn.180080640
movaps xmm3, xmm6
lea r8, [rsp + 0x20]
movq r9, xmm6
lea rcx, [rsp + 0x40]
mov edx, 0x40
call fcn.180046020
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x18006feda
inc rcx
cmp byte [rcx], 0x20
je 0x18006fed2
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18006ff58
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18006fef5
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x18006ff0b
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x18006ff46
movsd xmm2, qword [0x1801abd58]
cmp al, 0x39
ja 0x18006ff46
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x18006ff22
cmp r9b, 0x2d
jne 0x18006ff61
xorps xmm1, xmmword [0x180213ad0]
movaps xmm0, xmm1
jmp 0x18006ff69
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x18006ff69
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800d1df0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
ret
Function at 0x180096470
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18009653c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18009653c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180096555
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18009652c
cmp byte [rax], 0x5c
jne 0x180096526
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x180096526
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x180096512
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x180096523
test r8b, 0x10
jne 0x180096526
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x180096526
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180098c80
test edi, edi
jne 0x180096490
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.1800979e0
int3
Function at 0x180098e90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov rsi, rdx
mov r14, rcx
cmp rdx, r8
je 0x1800990a0
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov rax, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rdi
lea rdi, [rcx + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x80], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x88], r10
jbe 0x180098eff
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x180098f34
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x180098f20
mov r15, qword [r14 + 0x30]
mov rcx, rdi
mov rbx, qword [rsi]
and r15, rdx
shl r15, 4
mov rdx, rsi
add r15, r10
mov r13, qword [r15]
mov r12, qword [r15 + 8]
call fcn.180086e10
dec qword [rdi + 8]
cmp rsi, r12
je 0x180098f84
mov r14, rbx
cmp rbx, rbp
je 0x180098f9e
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.180086e10
dec qword [rdi + 8]
cmp r14, r12
jne 0x180098f60
mov r14, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
cmp r13, rsi
mov r13, qword [rsp + 0x78]
jne 0x180098fb7
mov qword [r15], r12
mov rax, r12
jmp 0x180098fba
cmp r13, rsi
jne 0x180098fa6
mov qword [r15], rbx
mov rax, qword [rsp + 0x78]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x180099087
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18009907f
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
mov rsi, rbx
jbe 0x180098fe5
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x180099019
movabs r13, 0x100000001b3
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x180099000
mov r13, qword [rsp + 0x78]
mov r15, qword [r14 + 0x30]
mov rdx, rbx
mov rbx, qword [rbx]
and r15, rcx
shl r15, 4
mov rcx, rdi
add r15, qword [rsp + 0x88]
mov r14, qword [r15 + 8]
call fcn.180086e10
dec qword [rdi + 8]
cmp rsi, r14
je 0x180099066
mov rsi, rbx
cmp rbx, rbp
je 0x18009907c
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.180086e10
dec qword [rdi + 8]
cmp rsi, r14
jne 0x180099047
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
je 0x18009907f
mov r14, qword [rsp + 0x70]
jmp 0x180098fd0
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
Function at 0x180099240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1800992c0
mov rax, qword [rbx + 0x38]
mov rdx, qword [rbx + 8]
shr rax, 3
mov qword [rsp + 0x38], rdi
cmp rax, rcx
jbe 0x180099280
mov r8, rdx
mov rcx, rbx
mov rdx, qword [rdx]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp fcn.180098e90
lea rcx, [rbx + 8]
call fcn.180086d70
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 8]
mov qword [rax + 8], rax
mov qword [rbx + 0x10], 0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x30], rax
call fcn.180088900
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x1800994b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1800994e4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800994d0
ret

Function at 0x180099d50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180231100]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.1800d1f5c
test rax, rax
je 0x180099d81
mov qword [rax], rdi
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1800a0ba0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x180099dce
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800d1df0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x18009a2c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xf], sil
je 0x18009a2f4
mov eax, esi
lea ecx, [rax + 0x5f]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xe
jb 0x18009a2e0
mov byte [r8 + 0xf], sil
add r8, 0xe
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.180012740
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x18009a319
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180034630
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x18009a393
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009a38e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009a38e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d1d5c
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800aaf70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
movdqa xmm0, xmmword [0x1801e7a10]
xor edi, edi
movdqa xmm1, xmmword [0x1801e78a0]
mov ecx, edi
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x10], 1
movdqu xmmword [rbp - 0x20], xmm1
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x5f]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x1f
jb 0x1800aafb0
xorps xmm0, xmm0
mov byte [rbp - 0x10], dil
mov rbx, 0xffffffffffffffff
mov qword [rbp - 0x40], rdi
movups xmmword [rbp - 0x50], xmm0
mov r8, rbx
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x30]
inc r8
cmp byte [rax + r8], dil
jne 0x1800aafe1
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.18000d780
lea rdx, [rbp - 0x50]
lea rcx, [0x180235650]
call fcn.1800c30c0
movdqa xmm0, xmmword [0x1801e7a10]
mov rcx, rdi
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x52100523
mov dword [rbp - 0x3c], 0x5f31215b
mov word [rbp - 0x38], 0x100
nop dword [rax + rax]
lea eax, [rcx + 0x5f]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x18
jb 0x1800ab030
xorps xmm0, xmm0
mov byte [rbp - 0x37], dil
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rdi
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1800ab060
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.18000d780
lea rdx, [rbp - 0x30]
lea rcx, [0x180235770]
call fcn.1800c30c0
movdqa xmm0, xmmword [0x1801e7a10]
mov rcx, rdi
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x100523
mov byte [rbp - 0x3c], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x5f]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x13
jb 0x1800ab0b0
xorps xmm0, xmm0
mov byte [rbp - 0x3c], dil
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rdi
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1800ab0e0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.18000d780
lea rdx, [rbp - 0x30]
lea rcx, [0x180235890]
call fcn.1800c30c0
movdqa xmm0, xmmword [0x1801e7a20]
mov rcx, rdi
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x161d1f09
mov dword [rbp - 0x3c], 0x1000616
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x5f]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x16
jb 0x1800ab130
xorps xmm0, xmm0
mov byte [rbp - 0x39], dil
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rdi
inc rbx
cmp byte [rax + rbx], dil
jne 0x1800ab157
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.18000d780
lea rdx, [rbp - 0x30]
lea rcx, [0x1802359b0]
call fcn.1800c30c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1800bd310
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov rsi, rdx
cmp dword [rcx], 1
mov r14, rcx
jne 0x1800bd483
mov rax, qword [0x180235f58]
mov qword [rsp + 0x60], rbx
test rax, rax
jne 0x1800bd411
mov rax, qword gs:[0x60]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rdi
mov r8, qword [rax + 0x18]
mov rax, qword [r8 + 0x10]
mov rbp, qword [rax]
mov r11, rbp
nop dword [rax]
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x1800bd3e8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1800bd3e8
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x87f7208f
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x1800bd3e3
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x1800bd3c0
cmp edx, 0xde43abcb
je 0x1800bd467
test r8d, r8d
jne 0x1800bd3a0
mov rax, qword [r11]
mov r11, rax
cmp rax, rbp
je 0x1800bd3fd
cmp qword [rax + 0x30], r15
jne 0x1800bd370
mov rax, r15
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov qword [0x180235f58], rax
movzx ecx, word [r14 + 4]
lea rbx, [0x180234f70]
mov r8, rbx
lea rdx, [r14 + 8]
mov r9d, reloc.WS2_32.dll_recv
call rax
xorps xmm0, xmm0
mov r8, 0xffffffffffffffff
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
inc r8
cmp byte [rbx + r8], r15b
jne 0x1800bd441
mov rdx, rbx
mov rcx, rsi
call fcn.18000d780
mov rbx, qword [rsp + 0x60]
mov rax, rsi
add rsp, 0x40
pop r15
pop r14
pop rsi
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x1800bd400
mov dword [rsp + 0x28], 0xc0a0e2a
mov rcx, r15
mov dword [rsp + 0x2c], 0xb130c
mov byte [rsp + 0x30], 1
nop dword [rax + rax]
lea eax, [rcx + 0x5f]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 7
jb 0x1800bd4a0
xorps xmm0, xmm0
mov byte [rsp + 0x30], r15b
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
lea rax, [rsp + 0x28]
mov qword [rdx + 0x18], r15
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x1800bd4d0
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.18000d780
mov rax, rsi
add rsp, 0x40
pop r15
pop r14
pop rsi
ret
Function at 0x1800c7e20
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x180231100]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov rsi, rcx
mov rax, qword gs:[0x60]
movsxd rbp, r8d
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1800c7ed7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1800c7ed7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xf4ccddcf
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1800c7ed2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1800c7eb0
cmp r8d, 0x59ce6a7a
je 0x1800c7edc
test r9d, r9d
jne 0x1800c7e90
mov rax, qword [rax]
jmp 0x1800c7e60
mov edx, dword [rbx + 0x24]
mov rcx, rsi
add rdx, r10
movzx r8d, word [rdx + r9*2]
mov edx, dword [rbx + 0x1c]
add rdx, r10
mov eax, dword [rdx + r8*4]
add rax, r10
call rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
mov rcx, rax
lea r8, [rsp + 0x30]
mov r9d, 4
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800d1df0
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800cf500
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180231100]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x1800cf54f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180236860]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800cf58d
cmp rsi, r14
jb 0x1800cf585
cmp rsi, r15
jae 0x1800cf585
cmp qword [rsi + 8], 0
jne 0x1800cf757
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800cf570
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800cf622
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800cf619
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800cf619
cmp dword [rsp + 0x40], 0x10000
je 0x1800cf69b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800cf619
sub rbx, rbp
cmp rbx, r14
jae 0x1800cf5e0
test rsi, rsi
jne 0x1800cf700
cmp rdi, r15
ja 0x1800cf73f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
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 0x1800cf73f
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800cf73f
cmp dword [rsp + 0x40], 0x10000
je 0x1800cf6d1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800cf652
jmp 0x1800cf73f
test rbx, rbx
je 0x1800cf619
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 0x1800cf700
cmp rbx, r14
jae 0x1800cf5c0
jmp 0x1800cf622
test rdi, rdi
je 0x1800cf73f
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 0x1800cf700
cmp rdi, r15
jbe 0x1800cf630
jmp 0x1800cf73f
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 0x1800cf710
mov rax, qword [0x180236860]
mov qword [rsi], rax
mov qword [0x180236860], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800d1df0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x1800cffa0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x18023685c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x1800cffe7
mov rax, qword [0x180236850]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800cfff4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x1800cffd0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x1800cffe7
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.1800d04b0
mov edi, eax
test eax, eax
jne 0x1800d00dd
mov r9d, dword [0x18023685c]
cmp ebx, r9d
jae 0x1800d006c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180236850]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x1800d0065
mov edx, esi
mov ecx, ebx
call fcn.1800d0210
mov edi, eax
test eax, eax
jne 0x1800d006c
mov r9d, dword [0x18023685c]
inc ebx
cmp ebx, r9d
jb 0x1800d0030
cmp qword [rsp + 0x20], 0
je 0x1800d00db
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800d00c7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800d00b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800d0090
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180235f78]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x1800d0210
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, 0x30
mov rax, qword [0x180231100]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180236850]
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 0x1800d0283
mov eax, 0xa
jmp 0x1800d0316
test esi, esi
je 0x1800d02a5
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 0x1800d02c8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800d02c8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800d02c1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800d02c8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
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]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800d1df0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret