joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005ba0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x140005c36
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140005c3d
mov r15, rsi
jmp 0x140005bfb
cmp r15, r14
cmovb r14, r15
mov rcx, rdi
mov r8, r14
call sub.msvcrt.dll_memcpy
add rdi, r14
sub r15, r14
mov rax, qword [rbx + 0x50]
sub dword [rax], r14d
mov rax, qword [rbx + 0x38]
add qword [rax], r14
test r15, r15
jle 0x140005c2e
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005c13
mov rax, qword [rbx + 0x50]
mov r14d, dword [rax]
test r14d, r14d
jg 0x140005bd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140005c2e
mov byte [rdi], al
inc rdi
dec r15
test r15, r15
jg 0x140005bfb
sub rsi, r15
jmp 0x140005d2a
xor esi, esi
jmp 0x140005d2a
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005c90
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x140005c90
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call sub.msvcrt.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 0x140005ca1
jmp 0x140005d27
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x140005d27
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x140005cd0
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
nop dword [rax]
cmp r14, 0x1000
jb 0x140005d03
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call sub.msvcrt.dll_fread
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x140005cd0
jmp 0x140005d27
test r14, r14
je 0x140005d24
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call sub.msvcrt.dll_fread
sub r14, rax
jmp 0x140005d27
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 0x140009300
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, 1
cmp dword [0x140018688], 0
jne 0x14000946f
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r10, qword [rcx + 0x30]
test r10, r10
je 0x14000946d
xor r9d, r9d
mov r8d, 0xdfdfdfdf
jmp 0x14000935f
mov r9, r11
mov rcx, qword [rcx]
mov r10, qword [rcx + 0x30]
test r10, r10
je 0x1400093a1
mov rdx, r10
movsxd r10, dword [r10 + 0x3c]
mov r11d, dword [r10 + rdx + 0x88]
test r11, r11
je 0x140009353
mov r9d, dword [r11 + rdx + 0xc]
add r11, rdx
mov r10d, dword [r9 + rdx]
and r10d, r8d
cmp r10d, 0x4c44544e
jne 0x140009350
mov r10d, dword [r9 + rdx + 4]
and r10d, r8d
mov r9, r11
cmp r10d, 0x4c440e4c
jne 0x140009353
jmp 0x1400093ad
mov r11, r9
test r9, r9
je 0x14000946d
mov r8d, dword [r11 + 0x18]
mov r9d, dword [r11 + 0x1c]
add r9, rdx
mov r10d, dword [r11 + 0x20]
add r10, rdx
mov r11d, dword [r11 + 0x24]
add r11, rdx
xor ecx, ecx
lea rsi, [0x140018688]
jmp 0x1400093e9
test r8, r8
je 0x140009478
dec r8d
mov edi, dword [r10 + r8*4]
movzx ebx, word [rdi + rdx]
cmp ebx, 0x775a
jne 0x1400093e0
add rdi, rdx
mov ebx, 0x75776791
mov ebp, 1
xor r14d, r14d
nop dword [rax]
mov r15d, ebx
movzx r14d, word [r14 + rdi]
rol ebx, 0x18
add ebx, r14d
xor ebx, r15d
mov r14d, ebp
inc ebp
cmp byte [rdi + r14], 0
jne 0x140009410
mov edi, ecx
shl rdi, 4
mov dword [rdi + rsi + 8], ebx
movzx ebx, word [r11 + r8*2]
mov ebx, dword [r9 + rbx*4]
mov dword [rdi + rsi + 0xc], ebx
mov qword [rdi + rsi + 0x10], 0
inc ecx
cmp ecx, 0x258
jne 0x1400093e0
mov dword [0x140018688], 0x258
mov ecx, 0x258
mov edx, 0x257
jmp 0x140009484
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dword [0x140018688], ecx
mov edx, ecx
dec edx
je 0x14000946f
xor r8d, r8d
lea r9, [0x1400186a8]
mov r10d, edx
jmp 0x1400094a8
dec r10d
cmp r8d, edx
je 0x14000946f
mov r10d, r10d
inc r8d
cmp ecx, r8d
je 0x1400094a0
mov esi, dword [0x140018694]
mov r11, r10
mov rdi, r9
jmp 0x1400094fb
mov ebp, dword [rdi - 0x18]
mov r14, qword [rdi - 0x10]
mov r15d, dword [rdi - 8]
mov dword [rdi - 0x18], r15d
mov dword [rdi - 0x14], ebx
mov rbx, qword [rdi]
mov qword [rdi - 0x10], rbx
mov dword [rdi - 8], ebp
mov dword [rdi - 4], esi
mov qword [rdi], r14
add rdi, 0x10
dec r11
je 0x1400094a0
mov ebx, dword [rdi - 4]
cmp esi, ebx
ja 0x1400094d0
mov esi, ebx
jmp 0x1400094f2

Function at 0x1400096b0
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, 0x8395cb5a
call fcn.140009510
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 0x14000b0a4
Capabilities:
Parse pe header

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

Function at 0x14000c560
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14000c2e0
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.14000c2e0
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.14000c2e0
mov ecx, dword [0x14001ac20]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 8
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.14000ec20
call fcn.14000c2e0
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret

Function at 0x14000ccb0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cd0c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cd0c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000cd0c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000cd0c
cmp dword [rcx + 0x84], 0xe
jbe 0x14000cd0c
cmp dword [rcx + 0xf8], 0
je 0x14000cd0c
mov ecx, ebx
call fcn.14000cf20
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14001b780]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000d0a0
cmp dword [rsp + 0x60], 0
jne 0x14000cd4f
mov ecx, ebx
call fcn.14000cfa0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14000cd60
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cdc2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cdc2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14000cdc2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14000cdc2
cmp dword [rdx + 0x84], 0xe
jbe 0x14000cdc2
cmp dword [rdx + 0xf8], 0
je 0x14000cdc2
mov ecx, ebx
call fcn.14000cf20
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14001b780]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000d0a0
cmp dword [rsp + 0x60], 0
jne 0x14000ce05
mov ecx, ebx
call fcn.14000cfa0
int3
add rsp, 0x40
pop rbx
ret

Function at 0x14000d1b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x140018440]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x14000d21c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14000d21c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x14000d26f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x14000d200
mov rcx, qword [0x14001b788]
test rcx, rcx
jne 0x14000d252
call fcn.14000fff0
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x14001b788], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x14000d353
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x14000d355
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x14000d37a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14000d21c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14000d21c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14000d21c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x14000d343
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x14000d321
jmp 0x14000d21c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x14000d21c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140009860
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14000abbc
int3
Function at 0x14000d930
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140018440]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14000d96c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.14000b09c
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000da28
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000da8e
test ebx, ebx
jne 0x14000da8e
lea ecx, [rax + 2]
call fcn.14000b09c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140009860
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1400020e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx eax, byte [rdx + 1]
lea r11, [rsp + 0x28]
movzx r8d, byte [rdx]
lea rsi, [0x140000000]
movdqu xmm0, xmmword [0x140059940]
mov rdi, rcx
shl r8d, 8
movzx ecx, byte [rdx + 4]
or r8d, eax
movzx eax, byte [rdx + 2]
shl ecx, 8
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 3]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 5]
or ecx, eax
mov dword [rsp], r8d
movzx eax, byte [rdx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
mov dword [rsp + 4], ecx
movzx ecx, byte [rdx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
mov dword [rsp + 8], ecx
movzx ecx, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [rsp + 0xc], ecx
xor r10d, r10d
movdqu xmm1, xmmword [rsp]
pxor xmm1, xmm0
lea ebx, [r10 + 0x20]
movdqu xmmword [rsp + 0x20], xmm1
psrldq xmm1, 8
movd eax, xmm1
mov edx, dword [r10 + rsi + 0x59a80]
lea r9, [r11 + 4]
xor edx, dword [r11 - 4]
xor edx, eax
xor edx, dword [r9]
mov eax, edx
shr rax, 0x18
movzx r8d, byte [rax + rsi + 0x59980]
mov eax, edx
shr eax, 0x10
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rsi + 0x59980]
or r8d, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + rsi + 0x59980]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx eax, byte [rax + rsi + 0x59980]
or r8d, eax
mov ecx, r8d
mov eax, r8d
rol ecx, 0xd
ror eax, 9
xor ecx, eax
mov eax, dword [r9]
xor ecx, dword [rsp + r10 + 0x20]
xor ecx, r8d
mov dword [r11 + 8], ecx
lea r11, [r9]
mov dword [r10 + rdi], ecx
lea r10, [r10 + 4]
sub rbx, 1
jne 0x1400021d0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140020df0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000228c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x49]
call fcn.140023610
movzx eax, byte [rbx + 1]
lea r10, [rbp - 0x59]
movzx r9d, byte [rbx]
lea r11, [rbp - 0x51]
movzx ecx, byte [rbx + 4]
lea r14, [0x140059980]
movzx r8d, byte [rbx + 8]
shl ecx, 8
shl r9d, 8
or r9d, eax
shl r8d, 8
movzx eax, byte [rbx + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [rbx + 3]
shl r9d, 8
or r9d, eax
movzx eax, byte [rbx + 5]
or ecx, eax
mov dword [rbp - 0x59], r9d
movzx eax, byte [rbx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 9]
or r8d, eax
mov dword [rbp - 0x55], ecx
movzx eax, byte [rbx + 0xa]
movzx ecx, byte [rbx + 0xc]
shl ecx, 8
shl r8d, 8
or r8d, eax
movzx eax, byte [rbx + 0xb]
shl r8d, 8
or r8d, eax
movzx eax, byte [rbx + 0xd]
or ecx, eax
mov dword [rbp - 0x51], r8d
movzx eax, byte [rbx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 0xf]
shl ecx, 8
mov ebx, 0x20
or ecx, eax
lea rax, [rbp - 0x59]
sub rsi, rax
mov dword [rbp - 0x4d], ecx
mov edx, dword [r10 + rsi]
lea r9, [r11 + 4]
xor edx, dword [r11 - 4]
xor edx, r8d
xor edx, dword [r9]
mov eax, edx
shr rax, 0x18
movzx r8d, byte [rax + r14]
mov eax, edx
shr eax, 0x10
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + r14]
or r8d, eax
mov eax, edx
shr eax, 8
movzx ecx, al
shl r8d, 8
movzx eax, byte [rcx + r14]
or r8d, eax
movzx eax, dl
shl r8d, 8
movzx ecx, byte [rax + r14]
or r8d, ecx
mov ecx, r8d
mov eax, r8d
ror ecx, 0xe
rol eax, 0xa
xor ecx, eax
mov eax, r8d
ror eax, 8
xor ecx, eax
mov eax, r8d
rol eax, 2
xor ecx, eax
xor ecx, r8d
mov r8d, dword [r9]
xor ecx, dword [r10]
lea r10, [r10 + 4]
mov dword [r11 + 8], ecx
lea r11, [r9]
sub rbx, 1
jne 0x140002380
mov ecx, dword [rbp + 0x33]
mov eax, ecx
shr eax, 0x18
mov byte [rdi], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 1], al
mov al, byte [rbp + 0x33]
mov byte [rdi + 3], al
shr ecx, 8
mov byte [rdi + 2], cl
mov ecx, dword [rbp + 0x2f]
mov eax, ecx
shr eax, 0x18
mov byte [rdi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 5], al
mov al, byte [rbp + 0x2f]
mov byte [rdi + 7], al
shr ecx, 8
mov byte [rdi + 6], cl
mov ecx, dword [rbp + 0x2b]
mov eax, ecx
shr eax, 0x18
mov byte [rdi + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 9], al
mov al, byte [rbp + 0x2b]
mov byte [rdi + 0xb], al
shr ecx, 8
mov byte [rdi + 0xa], cl
mov ecx, dword [rbp + 0x27]
mov eax, ecx
shr eax, 0x18
mov byte [rdi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 0xd], al
mov al, byte [rbp + 0x27]
shr ecx, 8
mov byte [rdi + 0xf], al
mov byte [rdi + 0xe], cl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140020df0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400052c4
Capabilities:
Get memory capacity

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
lea rbp, [rax - 0xa8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], bl
mov dword [rsp + 0x40], 0x40
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1400053b8
xorps xmm6, xmm6
mov rdx, qword [rsp + 0x48]
mov rcx, rdx
and ecx, 0x3fffffff
shr rdx, 0x1e
test rcx, rcx
je 0x14000536d
shr rcx, 0x14
xorps xmm6, xmm6
test rcx, rcx
js 0x140005350
cvtsi2sd xmm6, rcx
jmp 0x140005365
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
mulsd xmm6, qword [0x14005a3d8]
xorps xmm0, xmm0
test rdx, rdx
js 0x14000537c
cvtsi2sd xmm0, rdx
jmp 0x140005391
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
addsd xmm6, xmm0
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x14000539d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.1400095cc
cvttsd2si ebx, xmm6
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400053f1
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005418
call fcn.140020e10
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140020df0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.14002ee40
int3

Function at 0x140005618
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x804
cmp ax, cx
jne 0x140005689
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
lea rcx, [0x1400055d0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [rsp + 0x30], 5
jle 0x140005689
lea rdx, str.Normal_environment_detected.
lea rcx, [0x140063870]
call fcn.1400136bc
mov rcx, rax
call fcn.140013588
call fcn.1400052c4
cmp eax, 1
jle 0x140005674
add rsp, 0x28
ret
call fcn.140005778
call fcn.140005500
mov ecx, 1
call fcn.140027344
int3
call fcn.140005500
call fcn.140005778
mov ecx, 1
call fcn.140027344
int3
jmp 0x140005618

Function at 0x1400056a0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x804
cmp ax, cx
jne 0x140005689
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
lea rcx, [0x1400055d0]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [rsp + 0x30], 5
jle 0x140005689
lea rdx, str.Normal_environment_detected.
lea rcx, [0x140063870]
call fcn.1400136bc
mov rcx, rax
call fcn.140013588
call fcn.1400052c4
cmp eax, 1
jle 0x140005674
add rsp, 0x28
ret
call fcn.140005778
call fcn.140005500
mov ecx, 1
call fcn.140027344
int3
call fcn.140005500
call fcn.140005778
mov ecx, 1
call fcn.140027344
int3
jmp 0x140005618
Function at 0x140027344
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400271d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400271d7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400271d7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400271d7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400271d7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400271d7
cmp dword [rcx + 0xf8], 0
je 0x1400271d7
mov ecx, ebx
call fcn.140027278
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140027068
cmp dword [rbp + 0x20], 0
je 0x140027224
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002722c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140027170
Function at 0x180026bb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18001388a
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18001386d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x180013858

Function at 0x180030d60
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.1800424a8
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x180030db2
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x180030db2
sub ecx, 1
je 0x180030dab
cmp ecx, 1
je 0x180030da4
xor eax, eax
jmp 0x180030db7
mov eax, 3
jmp 0x180030db7
mov eax, 1
jmp 0x180030db7
mov eax, 2
add rsp, 0x28
ret

Function at 0x180045ba0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180045c0f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180045c0f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180045c0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180045c0f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180045c0f
cmp dword [rcx + 0x84], 0xe
jbe 0x180045c0f
cmp dword [rcx + 0xf8], 0
je 0x180045c0f
mov ecx, ebx
call fcn.180045cc0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180045a9c
nop
cmp dword [rbp + 0x20], 0
je 0x180045c5d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180045c68
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180045ba0