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

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14008c9e9
cmp byte [rcx + 0x71], 0
je 0x14008c9e9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14008c9dc
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14008c998
sub eax, 1
je 0x14008c99c
cmp eax, 2
jne 0x14008c9dc
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14008c9ca
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14008c9dc
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x14008cff0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], rdx
push rbp
mov rbp, rsp
sub rsp, 0x60
xor r9d, r9d
lea r8, [rbp + 0x18]
xor edx, edx
lea rdi, [0x1401cc3c8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x14008d02b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
cmp dword [rbp + 0x18], 0
je 0x14008d11f
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x28], 4
mov dword [rbp - 0x40], 0x3f36253e
mov dword [rbp - 0x3c], 0x3b327b38
mov word [rbp - 0x38], 0x34
mov byte [rbp - 0x36], 1
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 9
jb 0x14008d060
mov byte [rbp - 0x36], bl
lea rdx, [rbp - 0x40]
call fcn.1400883c0
test al, al
jne 0x14008d10d
mov dword [rbp - 0x40], 0x3a363813
mov dword [rbp - 0x3c], 0x323e1635
mov dword [rbp - 0x38], 0x292d39
mov byte [rbp - 0x34], 1
mov rcx, rbx
lea eax, [rcx + 0x50]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xb
jb 0x14008d0a0
mov byte [rbp - 0x34], bl
movdqa xmm0, xmmword [0x1400e70b0]
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0xf0e0514
mov dword [rbp - 0xc], 0xb0a014a
mov word [rbp - 8], pe_nt_image_headers64
nop dword [rax]
nop dword [rax + rax]
lea eax, [rbx + 0x50]
xor byte [rbp + rbx - 0x20], al
inc rbx
cmp rbx, 0x18
jb 0x14008d0e0
mov byte [rbp - 7], 0
mov r9d, select
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x20]
call fcn.140088500
call fcn.1400886c0
nop
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x14008d132
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
call fcn.14009aac0
int3
Function at 0x14008ff60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rax - 0x68], esi
movdqa xmm0, xmmword [0x1400e7450]
movdqu xmmword [rax - 0x40], xmm0
movdqa xmm1, xmmword [str.momkUWU___]
movdqu xmmword [rax - 0x30], xmm1
mov dword [rax - 0x20], 0x16161a1a
mov word [rax - 0x1c], 0x100
mov eax, esi
nop dword [rax + rax]
lea ecx, [rax + 0xc]
xor byte [rsp + rax + 0x48], cl
inc rax
cmp rax, 0x24
jb 0x14008ffb0
mov byte [rsp + 0x6d], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x48]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x14008ffe3
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14005b320
nop
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], select
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x28]
test rdi, rdi
je 0x140090089
mov r14, qword [rsp + 0x38]
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div r14
lea rax, [rsp + 0x28]
cmp rbp, 0xf
cmova rax, rsi
movzx r9d, byte [rax + rdx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14009007b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140090070
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140090083
mov rcx, rbx
call fcn.14005b190
sub rdi, 1
jne 0x140090030
cmp rbp, 0xf
jbe 0x1400900c3
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400900bb
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400900bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140099b9c
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140090310
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x290
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140090429
xor r15d, r15d
nop dword [rax]
xorps xmm0, xmm0
mov qword [rsp + 0x40], r15
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x7c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r15w
jne 0x140090380
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.140082e60
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r15w
jne 0x1400903a0
mov rsi, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
cmp rsi, 7
mov rdx, qword [rsp + 0x40]
mov r9, rdi
cmova rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140082d80
mov rbp, rax
cmp rsi, 7
jbe 0x14009040d
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140090405
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140090451
mov rcx, rbx
call fcn.140099b9c
mov rcx, r14
cmp rbp, 0xffffffffffffffff
jne 0x140090458
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140090360
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x58]
jmp 0x140090434

Function at 0x140090470
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400904a4
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x1400904ac
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140091e30
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
movdqa xmm0, xmmword [0x1400e7140]
xor ebx, ebx
movdqa xmm1, xmmword [0x1400e73a0]
mov ecx, ebx
movdqu xmmword [rbp - 0x47], xmm0
mov dword [rbp - 0x17], 0x63595355
movdqa xmm0, xmmword [0x1400e73f0]
movdqu xmmword [rbp - 0x27], xmm0
mov dword [rbp - 0x13], 0x2a362803
movdqu xmmword [rbp - 0x37], xmm1
mov dword [rbp - 0xf], 0x128203e
mov word [rbp - 0xb], select
mov byte [rbp - 9], 1
nop word [rax + rax]
lea eax, [rcx + 0xc]
xor byte [rbp + rcx - 0x47], al
inc rcx
cmp rcx, 0x3d
jb 0x140091e90
mov byte [rbp - 9], bl
mov rcx, rbx
mov dword [rbp - 0x50], 0x7d363c33
mov dword [rbp - 0x4c], 0x332d31
mov byte [rbp - 0x48], 1
nop dword [rax + rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 7
jb 0x140091ec0
movzx eax, byte [str.open]
mov rcx, rbx
xor al, 0x50
mov byte [rbp - 0x48], bl
mov byte [rbp + 0x10], al
movzx eax, byte [reloc.WS2_32.dll_WSASetLastError]
xor al, 0x51
mov word [rbp + 0x14], pe_nt_image_headers64
mov byte [rbp + 0x11], al
movzx eax, byte [0x1400e05b6]
xor al, 0x52
mov byte [rbp + 0x12], al
movzx eax, byte [0x1400e05b7]
xor al, 0x53
mov byte [rbp + 0x13], al
nop dword [rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 4
jb 0x140091f10
mov dword [rsp + 0x28], ebx
lea r9, [rbp - 0x47]
lea r8, [rbp - 0x50]
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x10]
mov byte [rbp + 0x15], bl
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
movdqa xmm0, xmmword [0x1400e7140]
mov rcx, rbx
movdqa xmm1, xmmword [0x1400e73a0]
movdqu xmmword [rbp - 0x47], xmm0
mov dword [rbp - 7], 0x3b202821
movdqa xmm0, xmmword [0x1400e7400]
movdqu xmmword [rbp - 0x37], xmm1
mov word [rbp - 3], 0x23
movdqa xmm1, xmmword [0x1400e7030]
movdqu xmmword [rbp - 0x27], xmm0
mov byte [rbp - 1], 1
movdqu xmmword [rbp - 0x17], xmm1
nop dword [rax + rax]
lea eax, [rcx + 0xc]
xor byte [rbp + rcx - 0x47], al
inc rcx
cmp rcx, 0x45
jb 0x140091f90
mov byte [rbp - 1], bl
mov rcx, rbx
mov dword [rbp - 0x50], 0x7d363c33
mov dword [rbp - 0x4c], 0x332d31
mov byte [rbp - 0x48], 1
nop dword [rax + rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 7
jb 0x140091fc0
movzx eax, byte [str.open]
mov rcx, rbx
xor al, 0x50
mov byte [rbp - 0x48], bl
mov byte [rbp + 0x10], al
movzx eax, byte [reloc.WS2_32.dll_WSASetLastError]
xor al, 0x51
mov word [rbp + 0x14], pe_nt_image_headers64
mov byte [rbp + 0x11], al
movzx eax, byte [0x1400e05b6]
xor al, 0x52
mov byte [rbp + 0x12], al
movzx eax, byte [0x1400e05b7]
xor al, 0x53
mov byte [rbp + 0x13], al
nop dword [rax]
lea eax, [rcx + 0x50]
xor byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 4
jb 0x140092010
mov dword [rsp + 0x28], ebx
lea r9, [rbp - 0x47]
lea r8, [rbp - 0x50]
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x10]
mov byte [rbp + 0x15], bl
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret
Function at 0x140092060
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4c], 0
je 0x140092083
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xc]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x4b
jb 0x140092070
mov byte [rcx + 0x4c], 0
ret

Function at 0x140092090
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x5f], 0
je 0x1400920b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xc]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x5e
jb 0x1400920a0
mov byte [rcx + 0x5f], 0
ret

Function at 0x1400920c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x49], 0
je 0x1400920e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xc]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x48
jb 0x1400920d0
mov byte [rcx + 0x49], 0
ret

Function at 0x1400920f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4d], 0
je 0x140092113
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xc]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x4c
jb 0x140092100
mov byte [rcx + 0x4d], 0
ret

Function at 0x140092120
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x51], 0
je 0x140092143
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xc]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x50
jb 0x140092130
mov byte [rcx + 0x51], 0
ret

Function at 0x140092150
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140092173
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xc]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140092160
mov byte [rcx + 0x47], 0
ret

Function at 0x140092180
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x4a], 0
je 0x1400921a3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0xc]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x49
jb 0x140092190
mov byte [rcx + 0x4a], 0
ret

Function at 0x1400921b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe0], 0
je 0x1400921d9
xor eax, eax
mov r8d, 0x330c
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x6f
jb 0x1400921c1
mov byte [rcx + 0xe0], 0
ret

Function at 0x1400921e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe4], 0
je 0x140092209
xor eax, eax
mov r8d, 0x330c
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x71
jb 0x1400921f1
mov byte [rcx + 0xe4], 0
ret

Function at 0x140092210
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x54], 0
je 0x140092235
xor eax, eax
mov r8d, 0x330c
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x29
jb 0x140092220
mov byte [rcx + 0x54], 0
ret

Function at 0x140092240
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xc], 0
je 0x140092265
xor eax, eax
mov r8d, 0x330c
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 5
jb 0x140092250
mov byte [rcx + 0xc], 0
ret

Function at 0x140092270
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x14], 0
je 0x140092295
xor eax, eax
mov r8d, 0x330c
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 9
jb 0x140092280
mov byte [rcx + 0x14], 0
ret
Function at 0x1400932c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rbx, rcx
cmp byte [0x1401cc209], 0
jne 0x1400933d6
mov qword [rbp - 0x39], 0xffffffffffffffff
mov qword [rbp - 0x31], 0xffffffffffffffff
mov qword [rbp - 0x29], 0xffffffffffffffff
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x21], r8
mov dword [rbp - 0x19], 0xffffffff
mov qword [rbp - 0x15], 0xfffffffffffffffd
mov dword [rbp - 0xd], 0xffffffff
xor edi, edi
mov qword [rbp - 9], rdi
cmp qword [0x1401cc3e8], rdi
jne 0x1400933cf
lea rax, [rbp - 1]
mov qword [rbp + 0x6f], rax
mov dword [rbp - 0x49], 0x27332731
mov dword [rbp - 0x45], 0x27782735
mov dword [rbp - 0x41], 0x1003e36
mov eax, edi
nop
lea ecx, [rax + 0x50]
xor byte [rbp + rax - 0x49], cl
inc rax
cmp rax, 0xa
jb 0x140093350
mov byte [rbp - 0x3e], dil
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x17], rdi
lea rax, [rbp - 0x49]
inc r8
cmp byte [rax + r8], dil
jne 0x140093377
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.14005b320
nop
mov rdx, rbx
lea rcx, [rbp + 0x1f]
call fcn.140056980
nop
lea rdx, [rbp - 1]
mov rcx, rax
call fcn.140092560
mov qword [rsp + 0x28], rdi
lea rcx, [0x1401cc3e8]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp - 0x39]
mov rdx, rax
mov rcx, qword [0x1401cc7e8]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromFileW]
mov byte [0x1401cc209], 1
mov rcx, rbx
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
jmp fcn.1400588c0
Function at 0x140099270
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x24], 0
je 0x140099293
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x5a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x23
jb 0x140099280
mov byte [rcx + 0x24], 0
mov rax, rcx
ret

Function at 0x1400992a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x1400992c5
xor eax, eax
mov r8d, 0x345a
nop
lea edx, [r8 + rax]
xor word [rcx + rax*2], dx
inc rax
cmp rax, 0x21
jb 0x1400992b0
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x1400992e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x17], 0
je 0x140099303
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x5a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x16
jb 0x1400992f0
mov byte [rcx + 0x17], 0
ret

Function at 0x140099310
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x34], 0
je 0x140099333
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x5a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x33
jb 0x140099320
mov byte [rcx + 0x34], 0
ret

Function at 0x14009a5f0
Capabilities:
Parse pe header

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

Function at 0x14009aa18
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 0x14009aa52
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14009aa57
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 0x14009aaa0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14009fc70]
cmp byte [rcx + rax], 0
je 0x14009aaa0
dec r8
sub rdx, 1
jne 0x14009aa86
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180002fa0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180021a94], 0xa
jl 0x180002fd2
mov eax, dword [0x180021a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002fd2
nop word cs:[rax + rax]
jmp 0x180002fd0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180021a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180021a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180021a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180021aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800030a8
mov rsi, r10
test r8b, r8b
je 0x1800030c0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180003040
test r9b, r9b
je 0x1800030d0
sub rsi, rcx
je 0x1800030a4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800030a0
test ebp, ebp
jne 0x1800030a0
add rbx, 1
cmp rsi, rbx
jne 0x180003060
jmp 0x1800030a4
test ebp, ebp
jne 0x18000302c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800030c0
jmp 0x1800030d0

Function at 0x1400019a8
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4160ab
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ecce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415f85
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415f94
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415fb3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415fc3
cmp rbx, 0x1000
jae 0x415f8b
jmp 0x41602d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415fd5
xor edx, edx
jmp 0x416024
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ecce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415fb9
jmp 0x415fa8
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005ecce0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004c0d9c]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004c120b]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004c3293]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS