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

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ff7b080d6d9
cmp byte [rcx + 0x71], 0
je 0x7ff7b080d6d9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ff7b080d6cc
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ff7b080d688
sub eax, 1
je 0x7ff7b080d68c
cmp eax, 2
jne 0x7ff7b080d6cc
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x7ff7b080d6ba
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ff7b080d6cc
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x7ff7b080ee90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov ecx, 8
call fcn.7ff7b08327b8
lea rcx, [0x7ff7b08079e0]
mov qword [rax], rcx
mov qword [rsp + 0x48], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x7ff7b08184a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x7ff7b080eef6
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x7ff7b081cbc0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov rbx, rdx
xor r12d, r12d
mov rcx, qword [r8 + 0x10]
add rcx, 2
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rdi, rdx
shr rdi, 1
shl rdi, 2
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
movabs rbp, 0x7fffffffffffffff
cmp rdi, rbp
ja 0x7ff7b081ce13
cmp rdi, 0xf
ja 0x7ff7b081cc4f
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov r8, rdi
mov edx, 0x3d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rdi + rbx], r12b
jmp 0x7ff7b081cce7
mov rax, rdi
or rax, 0xf
cmp rax, rbp
jbe 0x7ff7b081cc84
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.7ff7b08327b8
test rax, rax
je 0x7ff7b081ccb9
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x7ff7b081ccc8
mov rbp, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
test rcx, rcx
jne 0x7ff7b081cca1
mov rsi, r12
jmp 0x7ff7b081ccc8
cmp rcx, 0x1000
jb 0x7ff7b081ccc0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x7ff7b081ce19
jmp 0x7ff7b081cc69
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7b08327b8
mov rsi, rax
mov qword [rbx], rsi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rbp
mov r8, rdi
mov edx, 0x3d
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov byte [rsi + rdi], 0
mov r9, r12
mov r11d, r12d
mov edi, r12d
mov rdx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x7ff7b081cd03
add rdx, qword [r14]
mov r8, qword [r14]
jmp 0x7ff7b081cd09
add rdx, r14
mov r8, r14
mov rbp, rdx
cmp r8, rdx
je 0x7ff7b081cdac
lea r15, [0x7ff7b0838cc0]
nop dword [rax]
movsx eax, byte [r8]
movzx ecx, al
shl edi, 8
or edi, ecx
add r11d, 8
cmp r11d, 6
jl 0x7ff7b081cd7c
movsxd rcx, r11d
mov eax, 0xaaaaaaab
mul r11d
shr edx, 2
mov r10d, edx
imul eax, edx, 0xfffffffa
add r11d, eax
nop dword [rax]
sub rcx, 6
mov rax, rdi
shr rax, cl
and eax, 0x3f
movzx edx, byte [rax + r15]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x7ff7b081cd6f
mov rax, qword [rbx]
mov byte [rax + r9], dl
inc r9
sub r10, 1
jne 0x7ff7b081cd50
inc r8
cmp r8, rbp
jne 0x7ff7b081cd20
test r11d, r11d
jle 0x7ff7b081cdac
mov ecx, 6
sub ecx, r11d
shl edi, cl
and edi, 0x3f
movzx ecx, byte [rdi + r15]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x7ff7b081cda8
mov rax, qword [rbx]
mov byte [rax + r9], cl
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x7ff7b081cde2
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x7ff7b081cddd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff7b081ce0c
mov rcx, r8
call fcn.7ff7b08327b0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.7ff7b07fe2b0
nop
call fcn.7ff7b07fe210
int3
Function at 0x7ff7b0825290
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rbx, rcx
xor r14d, r14d
lea rcx, [0x7ff7b08373d0]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x7ff7b0825492
mov rcx, qword [rbx + 0x10]
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
sub rax, rcx
cmp rax, 0x34
jb 0x7ff7b08254b0
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x7ff7b08252f4
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x34
lea r9, [0x7ff7b08418d0]
lea rcx, [rbp + 0x27]
call fcn.7ff7b0822c90
nop
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 7
cmova rdx, qword [rbp + 0x27]
lea rcx, [rbp - 9]
call qword [0x7ff7b0836870]
mov rax, qword [rbx + 0x10]
sub rdi, rax
cmp rdi, 0x22
jb 0x7ff7b08254aa
cmp qword [rbx + 0x18], 7
jbe 0x7ff7b082534b
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x22
lea r9, [0x7ff7b0841820]
lea rcx, [rbp + 7]
call fcn.7ff7b0822c90
nop
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
lea r8, [rbp + 0x6f]
mov rcx, 0xffffffff80000002
call qword [sym.imp.advapi32.dll_RegOpenKeyW]
test eax, eax
je 0x7ff7b082539a
cmp eax, 2
sete bl
jmp 0x7ff7b08253f7
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.advapi32.dll_RegCloseKey]
lea rdx, [0x7ff7b0841940]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [rbp - 9]
call rax
lea rdx, [rbp + 7]
mov rcx, 0xffffffff80000002
test eax, eax
je 0x7ff7b08253dd
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
call qword [sym.imp.advapi32.dll_RegDeleteTreeW]
xor bl, bl
jmp 0x7ff7b08253f7
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
call qword [sym.imp.advapi32.dll_RegDeleteTreeW]
test eax, eax
je 0x7ff7b08253f5
xor bl, bl
jmp 0x7ff7b08253f7
mov bl, 1
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x7ff7b082543a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7b0825435
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7b0825435
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7b08327b0
movdqa xmm0, xmmword [0x7ff7b0841b00]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], r14w
mov rdx, qword [rbp + 0x3f]
cmp rdx, 7
jbe 0x7ff7b082548f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7b082548a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7b082548a
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7b08327b0
movzx eax, bl
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.7ff7b07fe2b0
nop
call fcn.7ff7b07fe2b0
int3
Function at 0x7ff7b0825b30
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r11, qword [rcx + 0x18]
add r11, 0x20
mov r10, qword [r11]
cmp r10, r11
je 0x7ff7b0825b9c
nop dword [rax]
mov r8, qword [r10 + 0x50]
lea r9, [0x7ff7b08419b0]
test r8, r8
je 0x7ff7b0825b94
movsx eax, byte [r9]
lea r9, [r9 + 1]
movzx edx, word [r8]
lea r8, [r8 + 2]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x7ff7b0825b7d
add ax, 0x20
lea ecx, [rdx - 0x41]
cmp cx, 0x19
ja 0x7ff7b0825b8a
add dx, 0x20
test ax, ax
je 0x7ff7b0825b9f
cmp ax, dx
je 0x7ff7b0825b60
mov r10, qword [r10]
cmp r10, r11
jne 0x7ff7b0825b50
xor eax, eax
ret
mov rax, qword [r10 + 0x20]
ret

Function at 0x7ff7b0825bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
movsxd rax, dword [rcx + 0x3c]
xor r11d, r11d
mov rbx, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov esi, dword [rdi + 0x18]
test esi, esi
je 0x7ff7b0825c53
mov r14d, dword [rdi + 0x24]
mov r15d, dword [rdi + 0x20]
nop dword [rax + rax]
lea rax, [r14 + r11*2]
movzx ebp, word [rax + rbx]
lea rax, [r15 + r11*4]
mov r9d, dword [rax + rbx]
add r9, rbx
je 0x7ff7b0825c4b
lea r10, [0x7ff7b08419c0]
sub r10, r9
nop
movsx edx, byte [r10 + r9]
movsx eax, byte [r9]
lea r9, [r9 + 1]
lea ecx, [rdx - 0x41]
cmp cx, 0x19
lea r8d, [rdx + 0x20]
lea ecx, [rax - 0x41]
cmova r8w, dx
cmp cx, 0x19
ja 0x7ff7b0825c3a
add ax, 0x20
test r8w, r8w
jne 0x7ff7b0825c45
test ax, ax
je 0x7ff7b0825c6e
cmp r8w, ax
je 0x7ff7b0825c10
inc r11d
cmp r11d, esi
jb 0x7ff7b0825bf0
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
mov ecx, dword [rdi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rbp*4]
add rax, rbx
jmp 0x7ff7b0825c55
Function at 0x7ff7b08268c0
Capabilities:
Hash data with md5

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov r14, rdx
mov rsi, rcx
xor r12d, r12d
mov byte [rsp + 0x50], r12b
mov qword [rax - 0x54], r12
mov dword [rax - 0x4c], 0x67452301
mov dword [rax - 0x48], 0xefcdab89
mov dword [rax - 0x44], 0x98badcfe
mov dword [rax - 0x40], 0x10325476
cmp qword [rdx + 0x18], 0xf
jbe 0x7ff7b0826916
mov rdx, qword [rdx]
mov r8d, dword [r14 + 0x10]
lea rcx, [rsp + 0x50]
call fcn.7ff7b0826590
lea rcx, [rsp + 0x50]
call fcn.7ff7b0826660
cmp byte [rsp + 0x50], 0
jne 0x7ff7b082694c
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
jmp 0x7ff7b08269b7
lea rbx, [rsp + 0xac]
lea rdi, [rsp + 0x28]
mov ebp, 0x10
nop
movzx r8d, byte [rbx]
lea rdx, [0x7ff7b0841aec]
mov rcx, rdi
call fcn.7ff7b0825c80
add rdi, 2
lea rbx, [rbx + 1]
sub rbp, 1
jne 0x7ff7b0826960
mov byte [rsp + 0x48], bpl
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7b08269a0
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.7ff7b080f550
lea rbx, [r14 + 0x18]
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x7ff7b08269f1
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x7ff7b08269ec
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff7b0826a1f
mov rcx, r8
call fcn.7ff7b08327b0
mov qword [r14 + 0x10], r12
mov qword [rbx], 0xf
mov byte [r14], 0
mov rax, rsi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x7ff7b08276e0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x18
cmp dword [0x7ff7b0864420], 0
jne 0x7ff7b08278b4
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x10]
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x7ff7b08278be
mov r8, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r8 + 0x88]
test ecx, ecx
je 0x7ff7b082774e
lea rdx, [r8 + rcx]
mov ecx, dword [r8 + rcx + 0xc]
mov eax, dword [rcx + r8]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x7ff7b082774e
mov eax, dword [rcx + r8 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x7ff7b082775a
mov r9, qword [r9]
mov rax, qword [r9 + 0x30]
test rax, rax
jne 0x7ff7b0827711
test rdx, rdx
je 0x7ff7b08278be
mov qword [rsp + 0x20], rbx
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x28], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x30], rsi
add rbp, r8
mov esi, dword [rdx + 0x1c]
mov qword [rsp + 0x10], rdi
add rsi, r8
mov edi, dword [rdx + 0x20]
mov qword [rsp + 8], r14
add rdi, r8
mov qword [rsp], r15
lea r14, [0x7ff7b0864420]
xor r10d, r10d
mov r15d, 0x775a
nop word [rax + rax]
lea eax, [rbx - 1]
mov edx, dword [rdi + rax*4]
add rdx, r8
cmp word [rdx], r15w
jne 0x7ff7b0827815
xor r11d, r11d
mov r9d, 0x864fb136
mov rax, rdx
nop dword [rax + rax]
movzx eax, word [rax]
mov ecx, r9d
ror ecx, 8
inc r11d
add ecx, eax
mov eax, r11d
add rax, rdx
xor r9d, ecx
cmp byte [rax], 0
jne 0x7ff7b08277d0
lea rdx, [r10*8]
inc r10d
mov dword [rdx + r14 + 4], r9d
lea eax, [rbx - 1]
movzx eax, word [rbp + rax*2]
mov eax, dword [rsi + rax*4]
mov dword [rdx + r14 + 8], eax
cmp r10d, 0x1f4
je 0x7ff7b082781a
add ebx, 0xffffffff
jne 0x7ff7b08277b0
mov r15, qword [rsp]
lea eax, [r10 - 1]
mov rsi, qword [rsp + 0x30]
xor r9d, r9d
mov rbp, qword [rsp + 0x28]
mov dword [0x7ff7b0864420], r10d
test eax, eax
je 0x7ff7b08278a5
nop word [rax + rax]
mov ecx, r10d
xor eax, eax
sub ecx, r9d
cmp ecx, 1
je 0x7ff7b0827899
nop dword [rax]
mov edx, eax
lea r11d, [rax + 1]
mov ebx, dword [r14 + r11*8 + 8]
mov edi, dword [r14 + rdx*8 + 8]
cmp edi, ebx
jbe 0x7ff7b0827889
mov ecx, dword [r14 + rdx*8 + 4]
mov eax, dword [r14 + r11*8 + 4]
mov dword [r14 + rdx*8 + 4], eax
mov dword [r14 + r11*8 + 4], ecx
mov dword [r14 + rdx*8 + 8], ebx
mov dword [r14 + r11*8 + 8], edi
mov r10d, dword [0x7ff7b0864420]
mov ecx, r10d
mov eax, r11d
sub ecx, r9d
dec ecx
cmp r11d, ecx
jb 0x7ff7b0827850
inc r9d
lea eax, [r10 - 1]
cmp r9d, eax
jb 0x7ff7b0827840
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 8]
mov eax, 1
add rsp, 0x18
ret
xor eax, eax
add rsp, 0x18
ret
Function at 0x7ff7b082ad40
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xe04adcdf
call fcn.7ff7b08278d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x7ff7b083215c
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, [0x7ff7b0836ab0]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x7ff7b0832196
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x7ff7b083219b
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 0x7ff7b08321e4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ff7b08369b0]
cmp byte [rcx + rax], 0
je 0x7ff7b08321e4
dec r8
sub rdx, 1
jne 0x7ff7b08321ca
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x7ff7b08334ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff7b0833536
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff7b0833536
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff7b0833536
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff7b0833536
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff7b0833536
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff7b0833538
xor al, al
add rsp, 0x28
ret
Function at 0x1400062d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400062fd
xor eax, eax
jmp 0x140006469
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006337
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140006337
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140006469
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000645c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000637a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400063a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006461
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006414
sub eax, 1
je 0x140006414
cmp eax, 2
jne 0x14000645c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006461
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006442
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000645c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140006461
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14004b1a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400071a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140007273
cmp byte [rcx + 0x71], 0
je 0x140007273
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000726f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140007234
sub eax, 1
je 0x140007238
cmp eax, 2
jne 0x14000726f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004b1a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140007266
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000726f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000721c
xor al, al
jmp 0x14000721c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004b1a0
add rsp, 0x60
pop rbx
ret

Function at 0x14000b840
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000b89d
lea rbx, [0x14004fc70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000b884
cmp r10, 2
jb 0x14000b884
cmp byte [r9], r8b
jne 0x14000b884
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000b860
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000b8df
lea rbx, [0x14004fc70]
cmp r8b, 0x23
jne 0x14000b8c3
cmp byte [r9], r8b
jne 0x14000b8c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000b8b0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x14000b9e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000b9fe
mov qword [r8], r14
lea rdx, [0x1400553a0]
call fcn.14000b8f0
mov rbx, rax
test rax, rax
jne 0x14000ba23
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000bb4d
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000bb4d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000bb4d
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000bb4d
cmp rdi, 0xffffffffffffffff
je 0x14000bb4d
mov rcx, rdi
call fcn.14000ed60
mov rbp, rax
test rax, rax
je 0x14000bb4d
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000bb3a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140061eb0]
test r8, r8
je 0x14000bb2f
movsx rdx, word [r8 + 0x60e0]
lea rcx, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000bb24
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e0], cx
movsx rax, cx
lea rcx, [r8 + 0x60e4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60dc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000bb56
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000bb48
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000bb58
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret