joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005c6d0
Capabilities:
Encode data using xor
Hash data using fnv

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, 0x40
mov rsi, r8
mov r13, rdx
mov r12, rcx
cmp rdx, r8
je 0x14005c791
mov rax, qword [rcx + 8]
mov rdi, rdx
mov rbp, qword [rcx + 0x18]
movabs r14, 0xcbf29ce484222325
mov r15, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r13 + 0x10]
inc rcx
xor r14, rax
imul r14, rdx
cmp rcx, 8
jb 0x14005c728
and r14, qword [r12 + 0x30]
add r14, r14
mov rax, qword [rbp + r14*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.14005da24
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x14005c7b2
cmp rdi, rsi
jne 0x14005c75a
cmp qword [rsp + 0x30], r13
jne 0x14005c78a
mov qword [rbp + r14*8], rdi
mov qword [r15], rdi
mov qword [rdi + 8], r15
lea r11, [rsp + 0x40]
mov rax, rsi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp qword [rsp + 0x30], r13
jne 0x14005c7c8
mov r13, qword [rsp + 0x20]
mov qword [rbp + r14*8], r13
mov rax, r13
jmp 0x14005c7cb
mov rax, r15
mov qword [rbp + r14*8 + 8], rax
cmp rdi, rsi
je 0x14005c78a
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
movabs r13, 0x100000001b3
movzx eax, byte [rdi + rcx + 0x10]
inc rcx
xor r14, rax
imul r14, r13
cmp rcx, 8
jb 0x14005c7eb
and r14, qword [r12 + 0x30]
mov r13, qword [rsp + 0x20]
add r14, r14
mov rax, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.14005da24
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x14005c841
cmp rdi, rsi
je 0x14005c785
jmp 0x14005c817
mov qword [rbp + r14*8], r13
mov qword [rbp + r14*8 + 8], r13
jmp 0x14005c7d0

Function at 0x14005cba4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14005cc28
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140062920]
cmp byte [rcx + rax], 0
je 0x14005cc28
dec r8
sub rdx, 1
jne 0x14005cc0e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14005e488
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
mov r8, rdx
movzx eax, byte [section..data]
movsx eax, al
add eax, 7
movzx edx, byte [0x140014001]
movsx r9d, dl
xor edx, edx
div r9d
movzx edx, byte [0x140014002]
movsx edx, dl
sub eax, edx
cvtsi2sd xmm0, rax
movzx eax, byte [0x140014004]
movsx eax, al
cvtsi2sd xmm1, eax
movzx eax, byte [0x140014003]
movsx eax, al
cvtsi2sd xmm2, eax
addsd xmm2, xmm2
subsd xmm1, xmm2
mulsd xmm1, xmm0
movsd qword [rsp + 0x20], xmm1
movzx eax, byte [section..data]
movsx eax, al
add eax, 7
movzx edx, byte [0x140014001]
movsx r9d, dl
xor edx, edx
div r9d
movzx edx, byte [0x140014002]
movsx edx, dl
cmp eax, edx
je 0x14000cdaf
movzx eax, byte [0x140014003]
movsx eax, al
movzx edx, byte [0x140014358]
movsx edx, dl
lea edx, [rdx + rdx*8]
lea edx, [rdx + rdx*2]
add edx, eax
cmp edx, 3
jne 0x14000ce07
movzx eax, byte [section..data]
movzx eax, byte [0x140014001]
movzx eax, byte [0x140014002]
movsd xmm0, qword [rsp + 0x20]
movzx eax, byte [section..data]
movsx eax, al
add eax, 7
movzx edx, byte [0x140014001]
movsx r9d, dl
xor edx, edx
div r9d
movzx edx, byte [0x140014002]
movsx edx, dl
sub eax, edx
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
test eax, eax
jle 0x14000ce2b
cmp qword [r8 + 0x18], 0x10
jb 0x14000ce11
mov r8, qword [r8]
cmp qword [rcx + 0x18], 0x10
jb 0x14000ce1b
mov rcx, qword [rcx]
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
jmp 0x14000ce2b
and al, 1
add rsp, 0x28
ret
Function at 0x14000cf60
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x48
mov r8, rcx
mov rax, qword [0x1400142c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, qword [rcx]
mov r9, qword [r8 + 0x18]
movzx eax, byte [section..data]
movsx eax, al
add eax, 7
movzx edx, byte [0x140014001]
movsx r10d, dl
xor edx, edx
div r10d
movzx edx, byte [0x140014002]
movsx edx, dl
sub eax, edx
cvtsi2sd xmm0, rax
movzx eax, byte [0x140014004]
movsx eax, al
cvtsi2sd xmm1, eax
movzx eax, byte [0x140014003]
movsx eax, al
cvtsi2sd xmm2, eax
addsd xmm2, xmm2
subsd xmm1, xmm2
mulsd xmm1, xmm0
movsd qword [rsp + 0x38], xmm1
movzx eax, byte [section..data]
movsx eax, al
add eax, 7
movzx edx, byte [0x140014001]
movsx r10d, dl
xor edx, edx
div r10d
movzx edx, byte [0x140014002]
movsx edx, dl
cmp eax, edx
je 0x14000d025
movzx eax, byte [0x140014003]
movsx eax, al
movzx edx, byte [0x140014358]
movsx edx, dl
lea edx, [rdx + rdx*8]
lea edx, [rdx + rdx*2]
add edx, eax
cmp edx, 3
jne 0x14000d07d
movzx eax, byte [section..data]
movzx eax, byte [0x140014001]
movzx eax, byte [0x140014002]
movsd xmm0, qword [rsp + 0x38]
movzx eax, byte [section..data]
movsx eax, al
add eax, 7
movzx edx, byte [0x140014001]
movsx r10d, dl
xor edx, edx
div r10d
movzx edx, byte [0x140014002]
movsx edx, dl
sub eax, edx
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
test eax, eax
jle 0x14000d0d6
mov byte [rsp + 0x3c], 0x3d
mov dword [rsp + 0x38], 0x525e4a56
mov al, 0x3d
xor dword [rsp + 0x38], 0x3c3b3a39
xor al, 0x3d
mov byte [rsp + 0x3c], al
cmp r9, 0x10
cmovae r8, rcx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x38]
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000f060
nop
add rsp, 0x48
ret
movzx eax, byte [rsp + 0x3c]
test al, al
jne 0x14000d08c
jmp 0x14000d09a
Function at 0x14000d580
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x1400142c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x14000d6ad
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14000d5dd
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x14000d5dd
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x14000d6f2
cmp qword [rdi + 0x80], 0
je 0x14000d6b1
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x14000d617
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x14000d6b8
mov byte [rsp + 0x5f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x5f]
mov r8, rbx
call qword [r10 + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x14000d6d1
mov r15, qword [rsp + 0x48]
sub r15, r14
je 0x14000d69d
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x14000d6f0
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rbx
mov eax, 0xffffffff
jmp 0x14000d6eb
xor esi, esi
jmp 0x14000d6f2
mov esi, 0xffffffff
jmp 0x14000d6f2
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x14000d6f2
cmp eax, 3
jne 0x14000d6f0
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000f060
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000db60
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x14000db9b
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x14000dba2
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
xor esi, esi
jmp 0x14000dc99
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000dbf5
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x14000dbf5
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x14000dc06
jmp 0x14000dc96
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x14000dc96
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x14000dc32
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov r15, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop dword [rax]
cmp r14, 0x1000
jb 0x14000dc71
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call r15
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x14000dc40
jmp 0x14000dc96
test r14, r14
je 0x14000dc93
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
jmp 0x14000dc96
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14000dcb0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x14000dce6
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000dd33
test rsi, rsi
jle 0x14000dd33
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax]
test r15d, r15d
jle 0x14000dd33
cmp r15, rsi
cmovae r15, rsi
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x58]
sub dword [rax], r15d
mov rax, qword [rbx + 0x40]
add qword [rax], r15
test r14, r14
jg 0x14000dd3b
jmp 0x14000dd5b
mov r14, rsi
test r14, r14
jle 0x14000dd5b
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x14000dd5b
mov edx, 1
mov rcx, rdi
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub r14, rax
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000e150
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x1400142c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14000e1fa
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x14000e1fa
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000e1f8
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x14000e211
cmp eax, 1
je 0x14000e1c7
test eax, eax
jne 0x14000e1f8
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x14000e1ee
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14000e1f8
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x14000e1fa
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f060
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x14000e1fa

Function at 0x14000f6d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f71a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f71a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f71a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f71a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f71a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000f71c
xor al, al
add rsp, 0x28
ret
Function at 0x140da9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140da91df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140da9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140da906f
add dl, dl
jne 0x140da9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140da90f6
xor eax, eax
add dl, dl
jne 0x140da90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140da91ad
add dl, dl
jne 0x140da90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140da90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140da90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140da90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140da90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140da907e
mov eax, 1
add dl, dl
jne 0x140da9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140da9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140da90fb
sub eax, ebx
mov ebx, 1
jne 0x140da914c
mov ecx, 1
add dl, dl
jne 0x140da912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140da913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140da9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140da907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140da9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140da9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140da915d
cmp eax, 0x7d00
jae 0x140da919b
cmp eax, 0x500
jb 0x140da9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140da907e
cmp eax, 0x7f
ja 0x140da919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140da907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140da91d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140da907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18000ba80
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call sub.kernel32.dll_GetSystemInfo
mov ecx, dword [rsp + 0x34]
test rcx, rcx
je 0x18000bd8b
mov rax, rbx
shr rax, 0x20
je 0x18000bad8
mov rax, rbx
xor edx, edx
div rcx
jmp 0x18000bade
mov eax, ebx
xor edx, edx
div ecx
lea rdi, [rcx + rbx]
sub rdi, rdx
test rdx, rdx
cmove rdi, rbx
test rdi, rdi
cmove rdi, rcx
test r14, r14
je 0x18000bc73
shl r14, 4
add r14, r15
xor ecx, ecx
lea r9, [0x18022adc4]
lea r10, [0x18022ada8]
xor r8d, r8d
xor edx, edx
xor r12d, r12d
xor r11d, r11d
xor ebx, ebx
jmp 0x18000bb39
add r15, 0x10
mov r12b, 1
mov r8b, 1
nop dword [rax]
cmp r15, r14
je 0x18000bca7
mov r13, r15
lea r15, [r13 + 0x10]
mov ebp, dword [r13]
cmp ebp, 2
jne 0x18000bb8e
nop dword [rax]
cmp r15, r14
je 0x18000bbf0
mov ebp, dword [r15]
cmp ebp, 2
jne 0x18000bb70
add r15, 0x10
cmp r15, r14
jne 0x18000bb59
jmp 0x18000bbf0
mov r12d, ebp
movsxd r12, dword [r9 + r12*4]
add r12, r9
jmp r12
mov ebp, ebp
movsxd rbp, dword [r10 + rbp*4]
add rbp, r10
jmp rbp
mov r8b, 1
jmp 0x18000bb30
add r15, 0x10
mov r12b, 1
mov dl, 1
jmp 0x18000bb30
cmp r11, 1
sete r10b
test r8b, 1
je 0x18000bc8d
movzx r9d, dl
and r9d, 1
shl r9d, 5
add r9d, 0x20
test r10b, r10b
je 0x18000bce9
not dl
movzx ecx, dl
and ecx, 1
lea ebp, [rcx*2 + 0x22]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, r9d
xor r9d, r9d
call sub.kernel32.dll_CreateFileMappingW
mov r14, rax
call fcn.1802058e0
test r14, r14
je 0x18000bd21
cmp eax, 0xb7
jne 0x18000bd2a
mov dword [rsi + 8], 9
jmp 0x18000bd70
xor ebx, ebx
xor r10d, r10d
xor edx, edx
xor ecx, ecx
or r10b, dl
mov r9d, 1
test r10b, 1
jne 0x18000bc9b
jmp 0x18000bce9
or dl, r10b
mov r9d, 0x10
test dl, 1
je 0x18000bce9
mov dword [rsi + 8], 7
jmp 0x18000bd70
cmp r11, 1
sete r10b
test r12b, 1
jne 0x18000bbf8
test r8b, 1
je 0x18000bc7c
movzx r8d, dl
and r8d, 1
lea r9d, [r8*2 + 2]
cmp r11, 1
jne 0x18000bce9
not dl
movzx ecx, dl
and ecx, 1
lea ebp, [rcx*2 + 2]
jmp 0x18000bc2a
test rbx, rbx
je 0x18000bcf7
mov dword [rsi + 8], 8
jmp 0x18000bd70
mov rdx, rdi
mov r8d, 0x3000
call sub.kernel32.dll_VirtualAlloc
test rax, rax
je 0x18000bd13
mov qword [rsi], 1
jmp 0x18000bd57
call fcn.1802058e0
mov dword [rsi + 8], 0xa
jmp 0x18000bd6d
mov dword [rsi + 8], 0xb
jmp 0x18000bd6d
mov r8, rdi
shr r8, 0x20
mov qword [rsp + 0x20], 0
mov rcx, r14
mov edx, ebp
mov r9d, ebx
call sub.kernel32.dll_MapViewOfFile
test rax, rax
je 0x18000bd61
mov qword [rsi], 0
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rdi
jmp 0x18000bd77
call fcn.1802058e0
mov dword [rsi + 8], 0xc
mov dword [rsi + 0xc], eax
mov qword [rsi], 2
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.C:Users_runneradmin_.cargo_registry_srcindex.crates.io_6f17d22bba15001fmmap_fixed_fixed_0.1.3_srclib.rs
call fcn.1802285d0
ud2
Function at 0x180038400
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
lea r14, [r9*8]
xor r15d, r15d
mov rax, r9
shr rax, 0x3d
jne 0x18003869a
movabs rax, 0x7ffffffffffffffc
cmp r14, rax
ja 0x18003869a
mov rdi, r9
mov rbx, r8
test r14, r14
mov qword [rbp - 0x28], rcx
je 0x18003847f
movzx eax, byte [0x1803165a1]
mov r15d, 4
mov edx, 4
mov rcx, r14
call fcn.180004660
test rax, rax
je 0x18003869a
mov rcx, rdi
jmp 0x180038486
mov eax, 4
xor ecx, ecx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x20], rdi
lea r13, [rbx + rdi]
xor r12d, r12d
xor esi, esi
xor r15d, r15d
jmp 0x1800384c4
mov rax, qword [rbp - 0x10]
mov dword [rax + r12*8], r14d
mov byte [rax + r12*8 + 4], dil
inc r12
mov qword [rbp - 8], r12
cmp rbx, r13
je 0x180038642
movzx ecx, byte [rbx]
movzx r14d, cl
test r14b, r14b
js 0x1800384f0
inc rbx
xor edi, edi
cmp r14d, 0x3f
jne 0x180038570
jmp 0x18003861b
mov eax, r14d
and eax, 0x1f
movzx edx, byte [rbx + 1]
and edx, 0x3f
cmp r14b, 0xe0
jb 0x180038541
movzx r14d, byte [rbx + 2]
shl edx, 6
and r14d, 0x3f
or r14d, edx
cmp cl, 0xf0
jb 0x18003855a
movzx ecx, byte [rbx + 3]
add rbx, 4
and eax, 7
shl eax, 0x12
shl r14d, 6
and ecx, 0x3f
or ecx, r14d
or ecx, eax
mov r14d, ecx
xor edi, edi
cmp r14d, 0x3f
jne 0x180038570
jmp 0x18003861b
add rbx, 2
shl eax, 6
or eax, edx
mov r14d, eax
xor edi, edi
cmp r14d, 0x3f
jne 0x180038570
jmp 0x18003861b
add rbx, 3
shl eax, 0xc
or r14d, eax
xor edi, edi
cmp r14d, 0x3f
je 0x18003861b
cmp r14d, 0x2a
jne 0x18003861e
cmp r15, rsi
cmovbe r15, rsi
jmp 0x180038599
inc rbx
cmp r14d, 0x2a
jne 0x180038610
cmp rbx, r13
je 0x180038636
movzx ecx, byte [rbx]
movzx r14d, cl
test r14b, r14b
jns 0x180038590
mov eax, r14d
and eax, 0x1f
movzx edx, byte [rbx + 1]
and edx, 0x3f
cmp r14b, 0xdf
jbe 0x1800385f4
movzx r14d, byte [rbx + 2]
shl edx, 6
and r14d, 0x3f
or r14d, edx
cmp cl, 0xf0
jb 0x180038602
movzx ecx, byte [rbx + 3]
add rbx, 4
and eax, 7
shl eax, 0x12
shl r14d, 6
and ecx, 0x3f
or ecx, r14d
or ecx, eax
mov r14d, ecx
jmp 0x180038593
add rbx, 2
shl eax, 6
or eax, edx
mov r14d, eax
jmp 0x180038593
add rbx, 3
shl eax, 0xc
or r14d, eax
jmp 0x180038593
mov dil, 1
xor esi, esi
cmp r14d, 0x3f
jne 0x18003861e
inc rsi
cmp r12, qword [rbp - 0x18]
jne 0x1800384b0
lea rcx, [rbp - 0x18]
call fcn.180044f00
jmp 0x1800384b0
mov sil, 1
cmp qword [rbp - 0x20], 0
jne 0x18003864b
jmp 0x180038672
xor esi, esi
cmp qword [rbp - 0x20], 0
je 0x180038672
cmp r12, qword [rbp - 0x18]
jne 0x18003865a
lea rcx, [rbp - 0x18]
call fcn.180044f00
mov rax, qword [rbp - 0x10]
mov dword [rax + r12*8], 0x110000
mov byte [rax + r12*8 + 4], sil
inc r12
mov qword [rbp - 8], r12
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x28]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rax], xmm0
mov qword [rax + 0x18], r15
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, r15
mov rdx, r14
call fcn.180227bf0
int3
Function at 0x180040dc0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x180040e02
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x180040e0a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x180040e1b
jmp 0x180040e32
xor r10d, r10d
jmp 0x180040ebd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x180040e32
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x180040e49
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x180040e69
add r11, r8
jmp 0x180040f99
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x180040f32
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x180040ee0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x180040f4f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x180040f60
jmp 0x180040f7b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x180040f7b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x180040f95
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret