joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180043930
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
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xorps xmm0, xmm0
mov rbx, rdx
movups xmmword [rdx], xmm0
and qword [rdx + 0x10], 0
mov qword [rdx + 0x18], 0xf
mov byte [rdx], 0
mov r12, qword [rcx + 0x40]
mov rdi, qword [rcx + 0x38]
jmp 0x180043ab8
movzx esi, byte [rdi]
cmp sil, 0x1f
ja 0x180043a76
xor eax, eax
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], al
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 r11d, dword [rcx + r8 + 0x88]
add r11, r8
cmp r11, r8
je 0x180043a1d
mov r10d, dword [r11 + 0x18]
test r10d, r10d
je 0x180043a1d
mov r13d, dword [r11 + 0x20]
dec r10d
mov r14d, 0x923438e2
lea rcx, [r10*4]
add rcx, r13
mov r9d, dword [rcx + r8]
add r9, r8
mov bpl, byte [r9]
inc r9
test bpl, bpl
je 0x180043a18
movsx ecx, bpl
sub bpl, 0x41
mov edx, ecx
or edx, 0x20
cmp bpl, 0x19
mov bpl, byte [r9]
cmova edx, ecx
inc r9
xor edx, r14d
imul r14d, edx, 0x1000193
test bpl, bpl
jne 0x1800439e6
cmp r14d, 0xb45b59f8
je 0x180043a25
test r10d, r10d
jne 0x1800439c0
mov rax, qword [rax]
jmp 0x18004399b
mov ecx, dword [r11 + 0x24]
mov r9d, esi
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov edx, 9
add rax, r8
lea rcx, [rsp + 0x20]
lea r8, str._U_.4X_
call rax
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180043a5d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1800414b0
jmp 0x180043ab5
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x180043aa0
cmp qword [rbx + 0x18], 0xf
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
jbe 0x180043a95
mov rax, qword [rbx]
mov byte [rax + rcx], sil
mov byte [rax + rcx + 1], 0
jmp 0x180043ab5
mov r8b, byte [rsp + 0x60]
mov r9b, sil
mov edx, 1
mov rcx, rbx
call fcn.18001bc28
inc rdi
cmp rdi, r12
jne 0x180043972
mov rbp, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180045fdc
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx + 0x10]
mov rsi, rcx
sub rax, qword [rcx + 8]
mov r14, rdx
mov rcx, qword [rcx + 0xa8]
sar rax, 3
mov byte [rbp + 0x20], 2
mov dword [rbp + 0x30], eax
test rcx, rcx
je 0x180046187
mov rax, qword [rcx]
lea r9, [rsi + 0xb8]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
call qword [rax + 0x10]
lea rdx, [rbp - 0x20]
mov byte [rbp + 0x20], al
lea rcx, [rsi + 0x20]
call fcn.180042cf0
mov r9d, 1
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rsi + 0x20]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x30], xmm0
call fcn.180040bc8
mov r9b, 1
mov byte [rbp + 0x20], 2
lea r8, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp - 0x30]
call fcn.18001f134
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x18]
je 0x180046096
mov rax, qword [rbp - 0x28]
mov qword [rdx], rax
add qword [rsi + 0x10], 8
jmp 0x1800460a3
lea r8, [rbp - 0x28]
lea rcx, [rsi + 8]
call fcn.18001ac68
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax - 8]
test rcx, rcx
je 0x180046170
cmp r14, 0xffffffffffffffff
je 0x180046170
call fcn.180044010
cmp r14, rax
jbe 0x180046170
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x18004614f
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18004614f
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0x1d46455
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x18004614a
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, ecx
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x18004611f
cmp edi, 0x59c291e9
je 0x180046154
test r11d, r11d
jne 0x180046102
mov rax, qword [rax]
jmp 0x1800460dd
mov edx, dword [r10 + 0x24]
add rdx, r9
movzx r8d, word [rdx + r11*2]
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov ecx, dword [rdx + r8*4]
add rcx, r9
call rcx
lea r11, [rsp + 0x60]
mov al, 1
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800406b8
int3
Function at 0x180046190
Capabilities:
Access peb ldr_data
Encode data using xor
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rcx + 0x10]
mov rsi, rcx
sub rax, qword [rcx + 8]
mov r14, rdx
mov rcx, qword [rcx + 0xa8]
sar rax, 3
mov byte [rbp + 0x20], 0
mov dword [rbp + 0x30], eax
test rcx, rcx
je 0x18004633b
mov rax, qword [rcx]
lea r9, [rsi + 0xb8]
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
call qword [rax + 0x10]
lea rdx, [rbp - 0x20]
mov byte [rbp + 0x20], al
lea rcx, [rsi + 0x20]
call fcn.180042cf0
mov r9d, 1
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
lea rcx, [rsi + 0x20]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
movdqu xmmword [rbp - 0x30], xmm0
call fcn.180040bc8
mov r9b, 1
mov byte [rbp + 0x20], 1
lea r8, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp - 0x30]
call fcn.18001f134
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rsi + 0x18]
je 0x18004624a
mov rax, qword [rbp - 0x28]
mov qword [rdx], rax
add qword [rsi + 0x10], 8
jmp 0x180046257
lea r8, [rbp - 0x28]
lea rcx, [rsi + 8]
call fcn.18001ac68
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax - 8]
test rcx, rcx
je 0x180046324
cmp r14, 0xffffffffffffffff
je 0x180046324
call fcn.180044010
cmp r14, rax
jbe 0x180046324
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x180046303
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x180046303
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0xf4cc00c4
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x1800462fe
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, ecx
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x1800462d3
cmp edi, 0x9b92ff9e
je 0x180046308
test r11d, r11d
jne 0x1800462b6
mov rax, qword [rax]
jmp 0x180046291
mov edx, dword [r10 + 0x24]
add rdx, r9
movzx r8d, word [rdx + r11*2]
mov edx, dword [r10 + 0x1c]
add rdx, r9
mov ecx, dword [rdx + r8*4]
add rcx, r9
call rcx
lea r11, [rsp + 0x60]
mov al, 1
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800406b8
int3

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

Disassembly:
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 8
jb 0x18004653b
mov rax, rcx
ret
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x180046538
Function at 0x18007bb3c
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], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r15, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov ebx, dword [rcx + r8 + 0x88]
add rbx, r8
cmp rbx, r8
je 0x18007bbe3
mov r10d, dword [rbx + 0x18]
test r10d, r10d
je 0x18007bbe3
mov esi, dword [rbx + 0x20]
dec r10d
mov edi, 0x9f2a3718
lea rcx, [rsi + r10*4]
mov r9d, dword [rcx + r8]
add r9, r8
mov r11b, byte [r9]
inc r9
test r11b, r11b
je 0x18007bbde
movsx ecx, r11b
sub r11b, 0x41
mov edx, ecx
or edx, 0x20
cmp r11b, 0x19
mov r11b, byte [r9]
cmova edx, ecx
inc r9
xor edx, edi
imul edi, edx, 0x1000193
test r11b, r11b
jne 0x18007bbaf
cmp edi, 0xe1d20fb4
je 0x18007bbe8
test r10d, r10d
jne 0x18007bb91
mov rax, qword [rax]
jmp 0x18007bb6d
mov ecx, dword [rbx + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r8
xor ecx, ecx
xor r8d, r8d
call rax
mov rcx, 0xffffffffffffffff
lea r12, [rax + 1]
mov eax, 2
mul r12
cmovo rax, rcx
mov rcx, rax
call fcn.180047798
mov rcx, qword gs:[0x60]
mov rbp, rax
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 0x18007bcae
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x18007bcae
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0xd7ce6e63
lea rax, [r14 + r11*4]
mov r8d, dword [rax + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x18007bca9
movsx eax, bl
sub bl, 0x41
mov edx, eax
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, eax
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x18007bc7e
cmp edi, 0x6e9c1cf3
je 0x18007bcb3
test r11d, r11d
jne 0x18007bc61
mov rcx, qword [rcx]
jmp 0x18007bc3c
mov ecx, dword [r10 + 0x24]
mov r8, r12
add rcx, r9
movzx edx, word [rcx + r11*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r9
mov rcx, rbp
call rax
mov rbx, qword [rsp + 0x40]
mov rax, rbp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x18009cfd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x18009d0eb
movabs rax, 0x9e23ee2328df1707
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0xa5eeae603870d4a7
mov qword [r11 - 0x20], rax
movabs rax, 0xe951816551bb7845
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xa5eeae603814a6c6
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x18009d062
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x18009d057
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x18009d0a8
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x18009d074
mov rax, qword [0x1800c4508]
test rax, rax
jne 0x18009d0cf
call fcn.180047230
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.180023250
mov qword [0x1800c4508], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1800466c4
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x18009d0fc
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.1800a08b8
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x18009d22b
movabs rax, 0x8136e83728df1707
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0xa5eeae603814a6b2
mov qword [r11 - 0x20], rax
movabs rax, 0xe951816551bb7845
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xa5eeae603814a6c6
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x18009d1a2
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x18009d197
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x18009d1e8
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x18009d1b4
mov rax, qword [0x1800c4508]
test rax, rax
jne 0x18009d20f
call fcn.180047230
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.180023250
mov qword [0x1800c4508], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1800466c4
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x18009d23c
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.1800a08b8
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18009e248
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x18009e363
movabs rax, 0x9e23ee2335da1d0d
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0xa5eeae603870d4a7
mov qword [r11 - 0x20], rax
movabs rax, 0xe951816551bb7845
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0xa5eeae603814a6c6
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x18009e2da
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x18009e2cf
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x18009e320
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x18009e2ec
mov rax, qword [0x1800c4508]
test rax, rax
jne 0x18009e347
call fcn.180047230
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.180023250
mov qword [0x1800c4508], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1800466c4
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x18009e374
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.1800a08b8
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
lea rax, [rcx - 0x10000]
movabs rdx, 0x7ffffffeffff
cmp rax, rdx
ja 0x1800a2819
mov rax, qword [rcx]
xor r9d, r9d
test rax, rax
je 0x1800a2819
mov rbx, qword [rax + 0x10]
mov r10d, r9d
cmp byte [rbx], r9b
je 0x1800a27cb
inc r10
cmp byte [r10 + rbx], r9b
jne 0x1800a27c2
movabs r11, 0xcbf29ce484222325
test r10, r10
je 0x1800a2814
mov al, byte [r9 + rbx]
movzx ecx, byte [r9 + rbx]
add al, 0x20
mov r8b, byte [r9 + rbx]
sub r8b, 0x41
movzx edx, al
cmp r8b, 0x19
movabs rax, 0x100000001b3
cmova edx, ecx
inc r9
imul r11, rax
movsx rcx, dl
xor r11, rcx
cmp r9, r10
jb 0x1800a27da
mov rax, r11
jmp 0x1800a281b
xor eax, eax
mov rbx, qword [rsp + 8]
ret
Function at 0x1800a2f94
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], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rbp, rcx
cmp edx, 1
jne 0x1800a3132
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 0x1800a303c
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x1800a303c
mov r14d, dword [r9 + 0x20]
dec r10d
mov edi, 0x907d7ba4
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x1800a3037
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x1800a300c
cmp edi, 0x8b03e98
je 0x1800a3041
test r10d, r10d
jne 0x1800a2fef
mov rax, qword [rax]
jmp 0x1800a2fca
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r8
call rax
mov rax, qword [0x1800c4a70]
test rax, rax
jne 0x1800a3117
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 0x1800a30f2
mov r11d, dword [r9 + 0x18]
test r11d, r11d
je 0x1800a30f2
mov r14d, dword [r9 + 0x20]
dec r11d
mov esi, 0xd6987380
lea rcx, [r14 + r11*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov bl, byte [r10]
inc r10
test bl, bl
je 0x1800a30ed
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r10]
cmova edx, ecx
inc r10
xor edx, esi
imul esi, edx, 0x1000193
test bl, bl
jne 0x1800a30c2
cmp esi, 0x11b4e73c
je 0x1800a30f7
test r11d, r11d
jne 0x1800a30a5
mov rax, qword [rax]
jmp 0x1800a3080
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r11*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
mov qword [0x1800c4a70], rax
and qword [rsp + 0x28], 0
lea r8, [0x1800a2f80]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x27a2d1370
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
lea rax, [rbp - 8]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call rax
test eax, eax
sete al
test al, al
je 0x27a2d13d8
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptAcquireContextW___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x27a2d1553
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x800c
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
sete al
test al, al
je 0x27a2d142a
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptCreateHash___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x27a2d1553
mov rax, qword [rbp - 0x10]
mov ecx, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
test eax, eax
sete al
test al, al
je 0x27a2d1472
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptHashData___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x27a2d1553
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov edx, 0x6610
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
call rax
test eax, eax
sete al
test al, al
je 0x27a2d14c5
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptDeriveKey___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x27a2d1553
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call rax
test eax, eax
sete al
test al, al
je 0x27a2d151d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_in_CryptDecrypt___u__n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x27a2d1553
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call rax
nop
add rsp, 0x50
pop rbp
ret
Function at 0x27a2d1573
Capabilities:
Create thread

Disassembly:
push rbp
mov eax, 0xa8f0
call fcn.27a2d24c0
sub rsp, rax
lea rbp, [rsp + 0x80]
movabs rax, 0x540dfde795cc5c41
movabs rdx, 0x5998c10966077a95
mov qword [rbp + 0xa840], rax
mov qword [rbp + 0xa848], rdx
lea rax, [rbp - 0x40]
lea rdx, [0x27a2d90e8]
mov ecx, 0xa880
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0xa86c], 0xa880
mov r9d, 4
mov r8d, 0x3000
mov edx, 0xa880
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0xa860], rax
cmp qword [rbp + 0xa860], 0
jne 0x27a2d1624
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_to_Allocate_memory___u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xffffffff
jmp 0x27a2d1756
lea rcx, [rbp + 0xa840]
mov edx, dword [rbp + 0xa86c]
lea rax, [rbp - 0x40]
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
call sym.DecryptAES_char__unsigned_long__char__unsigned_long_
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0xa860]
mov r8d, 0xa880
mov rcx, rax
call sym.memmove
lea rdx, [rbp - 0x44]
mov rax, qword [rbp + 0xa860]
mov r9, rdx
mov r8d, 0x20
mov edx, 0xa880
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
sete al
test al, al
je 0x27a2d16b1
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffe
jmp 0x27a2d1756
mov rax, qword [rbp + 0xa860]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0xa858], rax
cmp qword [rbp + 0xa858], 0
jne 0x27a2d1717
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.Failed_u__n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, 0xfffffffd
jmp 0x27a2d1756
mov rax, qword [rbp + 0xa860]
mov rdx, rax
lea rax, str._n_nalmem_:__p_n
mov rcx, rax
call sym.printf_char_const__::_
mov rax, qword [rbp + 0xa858]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0xa860]
call rax
mov eax, 0
add rsp, 0xa8f0
pop rbp
ret

Function at 0x27a2d1900
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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 rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]