joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c5d10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x38
mov rcx, qword [0x1801b3fa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800c5d7a
mov rax, qword [rsp + 0x30]
sub rax, 5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800c5da3
mov eax, 0xa
jmp 0x1800c5ed4
cmp dword [rsp + 0x68], 0
je 0x1800c5e0e
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x30]
add rax, 5
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800c5e0c
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x48]
mov byte [rax + 1], 0xf9
jmp 0x1800c5e5a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800c5e3e
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800c5e5a
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800c66d0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x90], 0x40000000
jbe 0x1800c6731
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
cmp qword [rsp + 0x30], rax
jae 0x1800c6731
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
cmp qword [rsp + 0x28], rax
jbe 0x1800c6759
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
sub rax, 0xfff
mov qword [rsp + 0x28], rax
mov rax, qword [0x1801b3f90]
mov qword [rsp + 0x20], rax
jmp 0x1800c6784
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800c67be
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jb 0x1800c67a4
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jb 0x1800c67a6
jmp 0x1800c6777
mov rax, qword [rsp + 0x20]
cmp qword [rax + 8], 0
je 0x1800c67bc
mov rax, qword [rsp + 0x20]
jmp 0x1800c6930
jmp 0x1800c6777
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x1800c6827
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1800c64d0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1800c67fa
jmp 0x1800c6827
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800c6825
jmp 0x1800c6827
jmp 0x1800c67cb
cmp qword [rsp + 0x20], 0
jne 0x1800c6898
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
ja 0x1800c6898
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.1800c65b0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1800c686b
jmp 0x1800c6898
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800c6896
jmp 0x1800c6898
jmp 0x1800c683c
cmp qword [rsp + 0x20], 0
je 0x1800c692b
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0xfc0
jbe 0x1800c68cb
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x1801b3f90]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov qword [0x1801b3f90], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x1800c70d0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1800c7129
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1800c7129
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1800c7129
xor eax, eax
jmp 0x1800c7170
mov dword [rsp], 1
jmp 0x1800c713a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1800c716b
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800c7169
xor eax, eax
jmp 0x1800c7170
jmp 0x1800c7132
mov eax, 1
add rsp, 0x18
ret
Function at 0x1800c83f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov eax, 0x35
movaps xmmword [rsp + 0x30], xmm7
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm8
mov rbx, rcx
movsd xmm8, qword [0x1800d8eb0]
cvtsi2sd xmm6, rax
test rax, rax
jns 0x1800c8429
addsd xmm6, xmm8
movaps xmm0, xmm8
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_log2]
divsd xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movsd xmm6, qword [0x180103e68]
mov ecx, 1
cvttsd2si eax, xmm0
xorps xmm7, xmm7
cmp eax, ecx
cmovl eax, ecx
test eax, eax
jle 0x1800c8563
mov qword [rsp + 0x60], rbp
movabs rbp, 0x38eb3ffff6d3
mov qword [rsp + 0x68], rsi
movabs rsi, 0xb5026f5aa96619e9
mov qword [rsp + 0x70], rdi
mov edi, eax
mov eax, dword [rbx]
cmp eax, 0x138
jne 0x1800c84dc
lea r8, [rbx + 0x10]
mov r9d, eax
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x1800c84a0
jmp 0x1800c84eb
cmp eax, 0x270
jb 0x1800c84eb
mov rcx, rbx
call fcn.1800c9be0
mov eax, dword [rbx]
xorps xmm1, xmm1
mov rcx, qword [rbx + rax*8 + 8]
inc eax
mov dword [rbx], eax
mov rax, rcx
shr rax, 0x1d
and rax, qword [rbx + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, rbp
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rax, rcx
shr rax, 0x2b
xor rax, rcx
cvtsi2sd xmm1, rax
jns 0x1800c853d
addsd xmm1, xmm8
mulsd xmm1, xmm6
mulsd xmm6, xmm8
addsd xmm7, xmm1
sub rdi, 1
jne 0x1800c8485
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x20]
divsd xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret

Function at 0x1800c9be0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov r10, rcx
lea r9, [rcx + 0x9c8]
movabs rbx, 0xb5026f5aa96619e9
mov r11d, 0x9c
nop
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 + 0x4d8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x1800c9c00
lea r9, [r10 + 0xea8]
mov r11d, 0x9b
nop word [rax + rax]
mov edx, dword [r9]
xor edx, dword [r9 + 8]
lea r9, [r9 + 8]
btr edx, 0x1f
xor rdx, qword [r9 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
xor rcx, qword [r9 - 0xea8]
xor rcx, rdx
mov qword [r9 - 0x9c8], rcx
sub r11, 1
jne 0x1800c9c50
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov dword [r10], r11d
ret
Function at 0x1800ca7c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0xae0
mov rax, qword [0x1801347c0]
xor rax, rsp
mov qword [rsp + 0xad0], rax
mov rbx, rdx
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x80]
mov r8, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x20
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1800ca86f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_opening_Steam_key_n
jmp 0x1800ca937
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.SteamExe
lea rax, [rsp + 0xc0]
mov dword [rsp + 0x30], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1800ca925
mov ecx, dword [rsp + 0x30]
cmp ecx, 1
jb 0x1800ca925
shr ecx, 1
je 0x1800ca8e3
lea rax, [rsp + 0xc0]
lea edx, [rbx + 0x5c]
nop
cmp word [rax], 0x2f
jne 0x1800ca8d9
mov word [rax], dx
add rax, 2
sub rcx, 1
jne 0x1800ca8d0
lea rax, [rsp + 0x40]
mov edx, 0x800
lea r9, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r8, str.__s__steam:__rungameid__s
lea rcx, [rsp + 0x2d0]
call fcn.1800ca650
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x80]
call fcn.1800ca2b0
jmp 0x1800ca93f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error_reading_SteamExe_key_n
mov rcx, rax
call fcn.1800ca960
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.1800d0360
add rsp, 0xae0
pop rbx
ret
Function at 0x1800caa40
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801347c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, dword [0x1800d9100]
xor edi, edi
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov dword [rsp + 0x68], eax
mov rbx, rcx
movzx eax, word [0x1800d9104]
lea rcx, [rsp + 0x40]
movups xmm1, xmmword [0x1800d90e8]
mov word [rsp + 0x6c], ax
mov eax, 0x30
movups xmmword [rsp + 0x40], xmm0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
movsd xmm0, qword [0x1800d90f8]
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov edx, 0xc0000000
movsd qword [rsp + 0x60], xmm0
mov word [rsp + 0x6a], ax
movups xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x1800cab44
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1800caaf8
movzx eax, word [rsp + 0x6a]
cmp ax, 0x39
jae 0x1800cab67
inc ax
mov word [rsp + 0x6a], ax
jmp 0x1800cab13
cmp eax, 0xe7
jne 0x1800cab67
mov edx, 0x2710
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1800cab67
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
je 0x1800caad8
mov byte [rbx], 1
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800d0360
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
xor al, al
jmp 0x1800cab49

Function at 0x1800cab70
Capabilities:
Read file on windows
Read pipe

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x1800cab90
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
test rbx, rbx
je 0x1800cab86
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1800cab86
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rbp
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x58], ebp
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1800cac1b
mov eax, dword [rsp + 0x58]
cmp rax, rdi
jb 0x1800cac30
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
mov r8d, edi
mov dword [rsp + 0x68], ebp
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x1800cac04
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, rbx
call fcn.1800ca9b0
mov rbp, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
mov byte [rbx], bpl
xor al, al
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800cac40
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, r8
test r8, r8
jne 0x1800cac56
mov al, 1
add rsp, 0x30
pop rdi
ret
test rcx, rcx
jne 0x1800cac63
xor al, al
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x1800cac5b
test rdx, rdx
je 0x1800cac5b
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x50]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1800cac9a
cmp dword [rsp + 0x50], edi
jne 0x1800cac9a
mov ebx, eax
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1800d0248
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, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800d0282
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800d0287
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 0x1800d02d0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800da0e0]
cmp byte [rcx + rax], 0
je 0x1800d02d0
dec r8
sub rdx, 1
jne 0x1800d02b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140462ae0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0xb300620e
add rdx, 0xffffffff88ba2e3d
mov qword [rsp + rdx*2 - 0x77752096], rbx
not edx
jbe 0x14046594d
call fcn.140450e3a
lea rdx, [0x140466390]
mov ebx, 0x31bfe489
sal bx, 0x61
movzx ebx, byte [rax + rbx - 0x31bfc912]
push 0x7808ec20
xor ebx, r10d
sar qword [rsp], 0x7a
and ebx, 0xff
inc dword [rsp + 2]
mov ebx, dword [rdx + rbx*4]
shr byte [rsp + 1], 0x67
or word [rsp + 3], 0xd53d
shr r10d, 8
xor r10d, ebx
inc rax
not byte [rsp + 6]
xor r10d, 0xf1180a3e
dec r9
lea rsp, [rsp + 8]
jne 0x140465954
pop rbx
Function at 0x10006190
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
lea rcx, [rsp + 0x20]
call fcn.10006168
xor r8d, r8d
cmp eax, r8d
je 0x100061cf
cmp qword [rsp + 0x20], r8
je 0x100061cf
mov rcx, r8
lea eax, [r8 + 0x40]
mov rdx, qword [rsp + 0x20]
shr rdx, cl
inc rcx
and edx, 1
add r8d, edx
dec rax
jne 0x100061b4
mov eax, r8d
jmp 0x100061de
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
add rsp, 0x68
ret

Function at 0x100061e4
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x60
movabs rax, 0x100000000
mov rbx, rcx
mov dword [rsp + 0x20], 0x40
mov qword [rcx], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x10006226
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x48], rax
cmovb rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov al, 1
add rsp, 0x60
pop rbx
ret
Function at 0x10026204
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
xor eax, eax
mov rsi, r8
mov rdi, rdx
mov dword [rcx + 0x2c], eax
mov dword [rcx + 0x34], eax
mov dword [rcx + 0x3c], eax
mov dword [rcx + 0x38], eax
mov dword [rcx + 0x44], eax
movzx eax, word [rdx]
mov word [rcx + 0x10], ax
movzx eax, word [rdx + 2]
mov rbx, rcx
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 4]
add rcx, 0x5c
mov qword [rcx - 0x3c], rax
mov eax, dword [rdx + 8]
add rdx, 0x28
mov dword [rcx - 0x2c], eax
mov eax, dword [rdx - 0x1c]
mov r8d, 0x3c
mov dword [rcx - 0x1c], eax
mov eax, dword [rdx - 0x18]
mov dword [rcx - 0x34], eax
movzx eax, word [rdx - 0x10]
mov dword [rcx - 0x44], eax
movzx eax, word [rdx - 0xe]
mov dword [rcx - 0xc], eax
mov eax, dword [rdx - 0xc]
mov qword [rcx - 0x14], rax
mov eax, dword [rdx - 8]
mov dword [rcx - 8], eax
call sub.msvcrt.dll_memcpy
movzx r11d, word [rbx + 0x10]
and r11w, 0xf000
cmp r11w, 0x8000
jne 0x10026299
mov eax, dword [rdi + 0x6c]
shl rax, 0x20
or qword [rbx + 0x20], rax
movzx eax, word [rdi + 0x74]
shl rax, 0x20
or qword [rbx + 0x48], rax
movzx eax, word [rdi + 0x78]
shl eax, 0x10
or dword [rbx + 0x14], eax
movzx eax, word [rdi + 0x7a]
shl eax, 0x10
or dword [rbx + 0x18], eax
mov eax, 0x80
cmp word [rsi + 0x48], ax
jbe 0x1002630d
movzx edx, word [rdi + 0x80]
lea ecx, [rax + rdx]
movzx eax, word [rsi + 0x48]
cmp ecx, eax
jle 0x100262da
xor al, al
jmp 0x1002630f
cmp dx, 0x1c
jb 0x1002630d
mov eax, dword [rdi + 0x84]
mov dword [rbx + 0x44], eax
mov eax, dword [rdi + 0x88]
mov dword [rbx + 0x2c], eax
mov eax, dword [rdi + 0x8c]
mov dword [rbx + 0x34], eax
mov eax, dword [rdi + 0x90]
mov dword [rbx + 0x38], eax
mov eax, dword [rdi + 0x94]
mov dword [rbx + 0x3c], eax
mov al, 1
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x1003b340
Capabilities:
Encode data using xor

Disassembly:
lea r10, [rdx + r8]
mov r9, rdx
cmp rdx, r10
je 0x1003b36e
mov r8b, byte [r9]
lea rdx, [0x1018d6f0]
inc r9
xor r8b, cl
shr ecx, 8
movzx eax, r8b
movzx edx, word [rdx + rax*2]
xor ecx, edx
cmp r9, r10
jne 0x1003b34c
mov eax, ecx
ret

Function at 0x1004569c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
movzx eax, word [rdx + 4]
mov word [rcx + 4], ax
movzx eax, word [rdx + 6]
mov word [rcx + 6], ax
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
add rdx, 0x18
add rcx, 0x18
call fcn.10043b10
nop
lea rdx, [rsi + 0x28]
lea rcx, [rdi + 0x28]
call fcn.100430c8
nop
mov qword [rdi + 0x38], 0
mov dword [rdi + 0x40], 0
mov dword [rdi + 0x44], 0
mov ebp, dword [rsi + 0x40]
test ebp, ebp
je 0x10045742
mov rbx, rbp
shl rbx, 3
mov rcx, rbx
call fcn.10003f74
mov qword [rdi + 0x38], rax
mov dword [rdi + 0x40], ebp
mov dword [rdi + 0x44], ebp
mov r8, rbx
mov rdx, qword [rsi + 0x38]
mov rcx, rax
call sub.msvcrt.dll_memcpy
nop
lea rcx, [rdi + 0x48]
lea rdx, [rsi + 0x48]
mov r8d, 0x28
call sub.msvcrt.dll_memcpy
mov qword [rdi + 0x70], 0
mov qword [rdi + 0x78], 0
mov rbx, qword [rsi + 0x78]
test rbx, rbx
je 0x1004578d
mov rcx, rbx
call fcn.10003f74
mov qword [rdi + 0x70], rax
mov r8, rbx
mov rdx, qword [rsi + 0x70]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov qword [rdi + 0x78], rbx
mov rax, rdi
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10053cf8
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rsi
push rdi
mov r10d, 0x14
mov rsi, r9
mov r9, rdx
cmp r8d, r10d
mov r11d, r8d
mov rdx, rcx
jb 0x10053e71
movzx eax, word [r9]
xor edi, edi
mov word [rcx], ax
movzx eax, word [r9 + 2]
movzx r8d, word [rcx]
cmp r8w, 2
mov word [rcx + 2], ax
movzx eax, word [r9 + 4]
mov word [rcx + 4], ax
movzx eax, word [r9 + 6]
mov qword [rcx + 0x10], rdi
mov word [rcx + 6], ax
mov qword [rcx + 0x18], rdi
je 0x10053e80
cmp r8w, 9
je 0x10053eab
lea ebx, [rdi + 1]
cmp r8w, bx
jne 0x10053d94
lea r8d, [r10 + 0xc]
cmp r11d, r8d
jb 0x10053e71
mov eax, dword [r9 + 0x10]
mov qword [rcx + 0x18], rax
movzx eax, word [r9 + 0x18]
mov qword [rcx + 0x10], rax
movzx eax, word [r9 + 0x1a]
mov dword [rcx + 0xc], eax
mov eax, r8d
jmp 0x10053f0a
cmp r8w, 8
jne 0x10053e01
mov ecx, 0x28
cmp r11d, ecx
jb 0x10053e71
mov eax, dword [r9 + 0x14]
mov qword [rdx + 0x10], rax
mov eax, dword [r9 + 0x18]
mov qword [rdx + 0x18], rax
movzx r8d, word [r9 + 0x20]
movzx eax, word [r9 + 0x22]
cmp r8d, edi
mov dword [rdx + 0xc], eax
jbe 0x10053dfa
lea eax, [rcx + 0xc]
cmp eax, r11d
ja 0x10053e71
mov eax, ecx
mov edx, dword [rax + r9 + 8]
lea ecx, [rcx + rdx + 0xd]
cmp ecx, r11d
ja 0x10053e71
cmp edx, 0x400
ja 0x10053e71
add edi, ebx
cmp edi, r8d
jb 0x10053dcb
mov eax, ecx
jmp 0x10053f0a
movzx eax, r8w
cmp eax, 0xa
jg 0x10053e45
je 0x10053e1f
cmp eax, 3
je 0x10053e1f
jle 0x10053e71
cmp eax, 5
jle 0x10053e56
cmp eax, 7
jle 0x10053e61
jmp 0x10053e71
mov r10d, 0x18
cmp r11d, r10d
jb 0x10053e71
mov ecx, dword [r9 + 0x14]
mov qword [rdx + 0x10], rcx
lea r10d, [rcx + 0x18]
cmp r11d, r10d
jb 0x10053e71
cmp ecx, 0x40000000
jbe 0x10053e61
jmp 0x10053e71
cmp eax, 0xb
jl 0x10053e71
cmp eax, 0xc
jle 0x10053e56
cmp eax, 0xe
jg 0x10053e71
jmp 0x10053e61
mov r10d, 0x18
cmp r11d, r10d
jb 0x10053e71
cmp r8w, 8
jb 0x10053e78
add r10d, 4
cmp r11d, r10d
jae 0x10053e78
xor eax, eax
jmp 0x10053f0a
mov eax, r10d
jmp 0x10053f0a
mov r8d, 0x20
cmp r11d, r8d
jb 0x10053e71
mov eax, dword [r9 + 0x10]
mov qword [rcx + 0x18], rax
mov eax, dword [r9 + 0x14]
mov dword [rcx + 8], eax
mov eax, dword [r9 + 0x18]
mov dword [rcx + 0xc], eax
mov eax, dword [r9 + 0x1c]
mov qword [rcx + 0x10], rax
jmp 0x10053ed4
mov r8d, 0x38
cmp r11d, r8d
jb 0x10053e71
mov rax, qword [r9 + 0x10]
mov qword [rcx + 0x18], rax
mov rax, qword [r9 + 0x18]
mov qword [rcx + 0x10], rax
mov eax, dword [r9 + 0x2c]
mov dword [rcx + 8], eax
mov eax, dword [r9 + 0x30]
mov dword [rcx + 0xc], eax
cmp dword [rcx + 8], 0xffffffff
jne 0x10053eea
mov eax, dword [rsi + 0xc]
mov ebx, 1
sub eax, ebx
test qword [rcx + 0x10], rax
jne 0x10053eed
mov rbx, rdi
mov cl, byte [rsi + 0x16]
mov rdx, qword [rdx + 0x10]
shr rdx, cl
mov ecx, r8d
add rdx, rbx
lea r8, [rcx + rdx*4]
cmp r8, r11
cmovbe edi, r8d
mov eax, edi
pop rdi
pop rsi
pop rbx
ret