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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180070020]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180045af3
cmp byte [rcx + 0x71], 0
je 0x180045af3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180045aef
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 0x180045ab4
sub eax, 1
je 0x180045ab8
cmp eax, 2
jne 0x180045aef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180056740
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180045ae6
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 0x180045aef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180045a9c
xor al, al
jmp 0x180045a9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180056740
add rsp, 0x60
pop rbx
ret

Function at 0x180052e70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800530c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180052f8a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180052ed4
mov rax, qword [0x180070008]
cmp qword [rsp + 0x20], rax
ja 0x180052ed4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180052e96
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180052f05
jmp 0x180052f8a
cmp dword [rsp + 0x50], 0x10000
jne 0x180052f6d
cmp qword [rsp + 0x48], 0x10000
jb 0x180052f6d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180052f4b
mov rax, qword [rsp + 0x28]
jmp 0x180052f8c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180052f5b
xor eax, eax
jmp 0x180052f8c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180052f85
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800530c0
mov qword [rsp + 0x20], rax
jmp 0x180052e96
xor eax, eax
add rsp, 0x68
ret
Function at 0x180052fa0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180053100
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800530b6
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180052ffb
mov rax, qword [0x180070008]
cmp qword [rsp + 0x20], rax
ja 0x180052ffb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180052fbd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18005302c
jmp 0x1800530b6
cmp dword [rsp + 0x50], 0x10000
jne 0x180053094
cmp qword [rsp + 0x48], 0x10000
jb 0x180053094
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180053072
mov rax, qword [rsp + 0x28]
jmp 0x1800530b8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180053082
xor eax, eax
jmp 0x1800530b8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800530b1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180053100
mov qword [rsp + 0x20], rax
jmp 0x180052fbd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180053150
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800536e0
mov qword [rsp + 0x28], 0
cmp qword [0x180073468], 0
jne 0x180053198
cmp qword [0x180073460], 0
je 0x180053198
mov rax, qword [0x180073460]
mov qword [0x180073468], rax
cmp qword [0x180073468], 0
je 0x18005323e
mov rax, qword [0x180073468]
cmp qword [rax + 0x10], 0
je 0x18005323e
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005323e
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005323e
mov rax, qword [0x180073468]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180053204
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18005320b
xor eax, eax
jmp 0x1800533b5
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800533b5
mov rax, qword [0x180073460]
mov qword [0x180073468], rax
jmp 0x180053260
mov rax, qword [0x180073468]
mov rax, qword [rax + 8]
mov qword [0x180073468], rax
cmp qword [0x180073468], 0
je 0x1800532ad
cmp qword [0x180073468], 0
je 0x1800532ab
mov rax, qword [0x180073468]
cmp qword [rax + 0x10], 0
je 0x1800532ab
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800532ab
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800532ab
jmp 0x1800531dc
jmp 0x18005324e
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800533c0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800533b3
mov rax, qword [rsp + 0x48]
mov qword [0x180073468], rax
mov rax, qword [0x180073468]
mov dword [rax], 0x52727464
mov rax, qword [0x180073468]
mov qword [rax + 0x10], 0
mov rax, qword [0x180073468]
mov rcx, qword [0x180073460]
mov qword [rax + 8], rcx
mov rax, qword [0x180073468]
mov qword [0x180073460], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180073468]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180053364
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18005339e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18005335a
mov rax, qword [0x180073468]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800531dc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800540d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180054117
xor al, al
jmp 0x1800541b9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180054141
xor al, al
jmp 0x1800541b9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x1800541b1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x1800541b1
mov al, 1
jmp 0x1800541b9
jmp 0x1800541b7
xor al, al
add rsp, 0x78
ret

Function at 0x1800544c0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180073460]
mov qword [rsp + 0x28], rax
jmp 0x1800544e0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005450f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18005450d
call sub.KERNEL32.dll_GetLastError
jmp 0x180054511
jmp 0x1800544d2
xor eax, eax
add rsp, 0x38
ret
Function at 0x180054bd0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180073478], eax
je 0x180054beb
mov eax, 0x10dd
jmp 0x180054d10
mov rax, qword [0x180073490]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180054c95
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180054c60
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180054c60
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180053820
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180056760
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180054bf7
mov qword [0x180073490], 0
call fcn.180054280
mov rax, qword [0x180073488]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180054cf9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180056760
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180054cb1
mov qword [0x180073488], 0
mov dword [0x180073478], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180055240
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18007347c], 0
je 0x18005525d
mov eax, dword [0x18007347c]
jmp 0x180055323
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180055270
xor eax, eax
jmp 0x180055323
mov ecx, 0x10
call fcn.180056e6c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800552de
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800552c3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180056760
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18007347c], eax
mov qword [0x180073480], 0
mov eax, dword [rsp + 0x20]
jmp 0x180055323
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1800552f8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180055299
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180073488]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180073488], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x18005781c
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 0x1800578a0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18005a960]
cmp byte [rcx + rax], 0
je 0x1800578a0
dec r8
sub rdx, 1
jne 0x180057886
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14000b690
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 0x14000b523
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b523
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b523
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b523
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b523
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b523
cmp dword [rcx + 0xf8], 0
je 0x14000b523
mov ecx, ebx
call fcn.14000b5c4
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.14000b3b4
cmp dword [rbp + 0x20], 0
je 0x14000b570
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000b578
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000b4bc
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
xchg dword [rdi + 0x1c], esp
pop rsp
xchg esi, eax
movabs al, byte [0x8f7465d40121c4fa]
invalid
Function at 0x180002030
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rsi, r8
cmp qword [0x18003b0a0], rbx
je 0x1800020dd
mov edx, 0x1ce
lea rcx, [rsp + 0x20]
call fcn.18000884c
cmp qword [rax + 0x18], 0x10
jb 0x18000206a
mov rax, qword [rax]
mov rcx, qword [0x18003b0a0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x38]
mov rdi, rax
cmp rdx, 0x10
jb 0x1800020b6
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800020b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800020ef
call fcn.1800102a0
movdqa xmm0, xmmword [0x180030fa0]
mov byte [rsp + 0x20], bl
movdqu xmmword [rsp + 0x30], xmm0
test rdi, rdi
je 0x1800020dd
mov r8, rsi
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call rdi
mov ebx, eax
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.180016bd4
int3

Function at 0x1800031e8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov eax, dword [rcx]
mov rdi, rcx
mov r10d, 4
xor ebx, ebx
xor r9d, r9d
test eax, eax
jle 0x180003222
mov r11, r8
mov al, byte [r11]
inc ebx
mov rcx, qword [rdx]
lea r11, [r11 + 4]
xor byte [rcx + r9], al
inc r9
mov eax, dword [rdi]
cmp ebx, eax
jl 0x180003209
add rdx, 8
inc r8
sub r10, 1
jne 0x1800031fd
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x18000323c
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
mov rdi, rcx
mov r12d, 4
mov ecx, r12d
mov rbp, r8
mov rsi, rdx
call fcn.1800105ac
mov ecx, r12d
mov rbx, rax
call fcn.1800105ac
mov edx, dword [rdi + 4]
xor r13d, r13d
mov r9, rax
mov r10d, r13d
lea ecx, [rdx*4]
test ecx, ecx
jle 0x1800032b2
mov rcx, rbp
sub rsi, rbp
mov al, byte [rsi + rcx]
inc r10d
mov byte [rcx], al
inc rcx
mov edx, dword [rdi + 4]
lea eax, [rdx*4]
cmp r10d, eax
jl 0x180003298
mov eax, dword [rdi + 8]
lea r10d, [rdx*4]
inc eax
imul eax, dword [rdi]
shl eax, 2
cmp r10d, eax
jge 0x18000345a
movsxd r14, r10d
add r14, 0xfffffffffffffffd
add r14, rbp
mov sil, byte [r14 - 1]
mov eax, r10d
cdq
mov byte [rbx], sil
mov cl, byte [r14]
and edx, 3
add eax, edx
mov byte [rbx + 1], cl
mov r8b, byte [r14 + 1]
sar eax, 2
mov byte [rbx + 2], r8b
cdq
mov r11b, byte [r14 + 2]
mov byte [rbx + 3], r11b
idiv dword [rdi + 4]
test edx, edx
jne 0x1800033a4
mov byte [rbx + 1], r8b
mov rdx, rbx
mov r8, r12
mov byte [rbx], cl
lea r12, [0x180030ac0]
mov byte [rbx + 2], r11b
mov byte [rbx + 3], sil
movzx eax, byte [rdx]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
mov al, byte [rcx + r12]
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x180003328
mov ecx, dword [rdi + 4]
mov eax, r10d
shl ecx, 2
cdq
idiv ecx
mov r8b, 1
mov r12d, 4
dec eax
test eax, eax
jle 0x18000337b
mov edx, eax
mov al, r8b
add r8b, r8b
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
xor r8b, cl
sub rdx, 1
jne 0x180003363
and word [r9 + 2], 0
mov rdx, r9
mov byte [r9], r8b
sub rdx, rbx
mov byte [r9 + 1], r13b
mov rcx, rbx
mov r8, r12
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x180003394
jmp 0x1800033dd
cmp dword [rdi + 4], 6
jle 0x1800033dd
cmp edx, r12d
jne 0x1800033dd
mov rdx, rbx
lea r13, [0x180030ac0]
mov r8, r12
movzx eax, byte [rdx]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
mov al, byte [rcx + r13]
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x1800033bc
xor r13d, r13d
mov ecx, dword [rdi + 4]
mov eax, r10d
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp]
xor al, byte [rbx]
mov byte [r14 + 3], al
mov eax, r10d
mov ecx, dword [rdi + 4]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp + 1]
xor al, byte [rbx + 1]
mov byte [r14 + 4], al
mov eax, r10d
mov ecx, dword [rdi + 4]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp + 2]
xor al, byte [rbx + 2]
mov byte [r14 + 5], al
mov eax, r10d
mov ecx, dword [rdi + 4]
add r10d, r12d
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
mov al, byte [rcx + rbp + 3]
xor al, byte [rbx + 3]
mov byte [r14 + 6], al
add r14, 4
mov eax, dword [rdi + 8]
inc eax
imul eax, dword [rdi]
shl eax, 2
cmp r10d, eax
jl 0x1800032d8
mov rcx, r9
call fcn.1800102a0
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
jmp fcn.1800102a0
Function at 0x180003488
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov eax, dword [rcx]
mov r8, rdx
mov r11, rcx
mov r9d, 4
xor ebx, ebx
xor r10d, r10d
test eax, eax
jle 0x1800034d2
mov rdx, qword [r8]
inc ebx
movzx eax, byte [rdx + r10]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
lea rax, [0x1800309c0]
mov al, byte [rcx + rax]
mov byte [rdx + r10], al
inc r10
mov eax, dword [r11]
cmp ebx, eax
jl 0x1800034a4
add r8, 8
sub r9, 1
jne 0x18000349b
mov rbx, qword [rsp + 8]
ret

Function at 0x1800034e4
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov bl, r8b
mov r11b, dl
xor r10b, r10b
mov edi, 8
mov al, r10b
mov dl, r11b
xor al, r11b
movzx ecx, al
test bl, 1
movzx eax, r10b
cmove ecx, eax
mov al, r11b
add al, al
shr bl, 1
movzx r8d, al
mov r10b, cl
mov cl, r8b
xor cl, 0x1b
test dl, dl
movzx r11d, cl
cmovns r11d, r8d
sub rdi, 1
jne 0x1800034fc
mov rbx, qword [rsp + 8]
mov al, r10b
mov rdi, qword [rsp + 0x10]
ret