joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400767dc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400694f8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140076866
cmp byte [rbp - 0x21], r15b
je 0x140076861
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14007689c
call fcn.140074190
test eax, eax
jne 0x140076888
cmp byte [rbp - 0x21], r15b
je 0x140076880
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14007689c
cmp byte [rbp - 0x21], r15b
je 0x140076899
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14006b558
test eax, eax
jne 0x14007693c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400694f8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400768db
cmp byte [rbp - 0x21], r15b
je 0x140076910
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140076910
call fcn.140074190
test eax, eax
jne 0x1400768fc
cmp byte [rbp - 0x21], r15b
je 0x1400768f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140076910
cmp byte [rbp - 0x21], r15b
je 0x14007690d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14006b558
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14007693c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007693f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14007694d
mov rcx, rdi
call fcn.140008d60
cmp byte [rbp + 0x3f], r15b
je 0x14007695c
mov rcx, qword [rbp + 0x27]
call fcn.140008d60
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140078760
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140078790
xor eax, eax
jmp 0x140078853
mov rbp, rbx
cmp word [rax], si
je 0x1400787b5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14007879c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140078798
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140076604
movsxd r14, eax
test eax, eax
jne 0x1400787f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140078789
mov rcx, r14
call fcn.140008d20
mov rdi, rax
test rax, rax
jne 0x14007880c
xor ecx, ecx
call fcn.140008d60
jmp 0x1400787e8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140076604
test eax, eax
jne 0x14007883d
mov rcx, rdi
call fcn.140008d60
jmp 0x140078847
xor ecx, ecx
call fcn.140008d60
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14007b1b0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14007b1c6
mov al, 1
jmp 0x14007b226
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14007b1d7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14007b224
mov ecx, dword [rcx + 0x18]
nop
call fcn.140079268
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007b224
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14007b224
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14007b224
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14007b226
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14007b744
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400cad00]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14007b79b
cmp word [rdx], r13w
jne 0x14007b79b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14007b7a0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14007b8c5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14007b8e6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14007b7d9
mov rdx, r9
mov word [rbx], cx
jmp 0x14007b800
cmp r9, r8
jae 0x14007b810
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14007b7ba
jmp 0x14007b8c5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007b8ba
cmp dword [rsp + 0x80], esi
je 0x14007b8ba
lea r8, [0x1400cad00]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14007b892
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14007b862
mov word [rbx], r13w
jmp 0x14007b8c2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14007b86f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14007b8c2
cmp word [rsp + 0x70], r13w
jne 0x14007b89f
cmp rbx, r14
je 0x14007b85c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14007b664
cmp word [rsp + 0x70], r13w
je 0x14007b8c5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400cad00]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14007b8bf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14007b8c5
Function at 0x14007e5bc
Capabilities:
Clear file content

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 r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14007b664
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14007b664
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14007e70c
cmp rax, 0xffffffffffffffff
je 0x14007e70c
xor edi, edi
test rbp, rbp
jle 0x14007e6b7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140008f40
mov rbx, rax
test rax, rax
jne 0x14007e644
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14007e6ad
mov edx, 0x8000
mov ecx, r14d
call fcn.140071c34
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14007563c
cmp eax, 0xffffffff
je 0x14007e68d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14007e654
mov edx, r15d
mov ecx, r14d
call fcn.140071c34
jmp 0x14007e6ad
cmp byte [rsi + 0x38], dil
je 0x14007e6a4
cmp dword [rsi + 0x34], 5
jne 0x14007e6a4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14007e6ad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140008d60
jmp 0x14007e720
jns 0x14007e720
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14007b664
cmp rax, 0xffffffffffffffff
jne 0x14007e6d8
cmp byte [rsi + 0x30], dil
je 0x14007e720
mov edi, dword [rsi + 0x2c]
jmp 0x14007e720
mov ecx, r14d
call fcn.140079268
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14007e720
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14007e720
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14007e719
mov eax, dword [rsi + 0x2c]
jmp 0x14007e71e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14007b664
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14007faa0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14007fac8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14007fac8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001b00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400055e0], rbx
je 0x140001b4c
cmp rax, rbx
jne 0x140001b3f
mov ebx, 1
mov esi, ebx
jmp 0x140001b51
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001b24
mov ebx, 1
mov eax, dword [0x1400055e8]
cmp eax, ebx
jne 0x140001b67
mov ecx, 0x1f
call fcn.140095000
jmp 0x140001bcc
mov eax, dword [0x1400055e8]
test eax, eax
jne 0x140001bc6
mov dword [0x1400055e8], ebx
lea r15, [0x140003330]
lea rdi, [0x140003318]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001bb8
test eax, eax
jne 0x140001bbc
cmp qword [rdi], 0
je 0x140001bad
mov rax, qword [rdi]
mov rcx, qword [vtable._SH_.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140001b8e
test eax, eax
je 0x140001bcc
mov eax, 0xff
jmp 0x140001ca8
mov dword [0x140005024], ebx
mov eax, dword [0x1400055e8]
cmp eax, ebx
jne 0x140001bf3
lea rdx, [0x140003310]
lea rcx, [0x140003300]
call sub.msvcrt.dll__initterm
mov dword [0x1400055e8], 2
test esi, esi
jne 0x140001c00
xor eax, eax
xchg qword [0x1400055e0], rax
cmp qword [0x1400055f0], 0
je 0x140001c34
lea rcx, [0x1400055f0]
call fcn.140002060
test eax, eax
je 0x140001c34
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400055f0]
mov r9, qword [vtable._SH_.0]
call r9
mov r8, qword [0x140005038]
mov rdx, qword [0x140005030]
mov ecx, dword [0x140005028]
call fcn.1400014dc
mov dword [0x140005020], eax
cmp dword [0x140005040], 0
jne 0x140001c64
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140005024], 0
jne 0x140001c79
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140005020]
jmp 0x140001ca8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400020f4
add rsp, 0x28
jmp 0x140001b00

Function at 0x140001f4c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001f98
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001f90
cmp dword [rcx + 0x3c], edx
jl 0x140001f90
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001f90
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001f98
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400141ef
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400333f0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14005a0f5]
call fcn.140015275
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140033447
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140033553
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x1400334ec
cmp qword [rbp + 0x28], 0
jle 0x1400334ec
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14003348c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140015144
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140033542
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140033542
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400145a5
Capabilities:
Execute command
Persist via run registry key
Set registry value

Disassembly:
jmp 0x140028990
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14004f040]
xor rax, rbp
mov qword [rbp + 0x180], rax
lea rcx, [0x14005a18f]
call fcn.140015275
lea rax, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rbp + 0x28], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x44], eax
lea rax, str.SystemPropFile
mov qword [rbp + 0x68], rax
lea rax, str.C:Stalker2SysProcx64DebugSystemPropFile.exe
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rbp + 0x174], eax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x178], rax
mov eax, dword [rbp + 0x174]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0xa4], eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x140043800]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [rbp - 0x30]
lea rdx, [0x140044730]
call fcn.140014f23
mov rcx, qword [rbp + 0x180]
xor rcx, rbp
call fcn.140014901
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret

Function at 0x140014a5a
Capabilities:
Terminate process

Disassembly:
jmp 0x140039cc0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140014bf4
Capabilities:
Get geographical location

Disassembly:
jmp 0x140033b90
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140033bcd
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140015252
add rsp, 0x58
ret
Function at 0x140014cad
Capabilities:
Parse pe header

Disassembly:
jmp 0x14003a7f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003a810
xor al, al
jmp 0x14003a891
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14003a823
xor al, al
jmp 0x14003a891
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14003a84d
xor al, al
jmp 0x14003a891
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14003a861
xor al, al
jmp 0x14003a891
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14003a873
xor al, al
jmp 0x14003a891
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14003a88f
xor al, al
jmp 0x14003a891
mov al, 1
add rsp, 0x38
ret
Function at 0x14001522f
Capabilities:
Write file on windows

Disassembly:
jmp 0x140029ee0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14004f040]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14005a0f5]
call fcn.140015275
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140029f46
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140029f4d
mov al, 1
jmp 0x14002a0bd
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.14001453c
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.14001453c
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.140014e79
movzx eax, al
test eax, eax
je 0x140029fb0
xor al, al
jmp 0x14002a0bd
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x14002a023
cmp dword [rbp + 0x160], 1
je 0x14002a02e
cmp dword [rbp + 0x160], 3
je 0x14002a0ac
jmp 0x14002a0bb
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14002a07e
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14002a07e
xor al, al
jmp 0x14002a0bd
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002a099
mov dword [rbp + 0x154], 1
jmp 0x14002a0a3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14002a0bd
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14002a0bd
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400446b0]
call fcn.140014f23
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140014901
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1417793a4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1417793ae
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1417793d7
pop rbp
sub rbp, 0x33
sub rbp, 0x17793a4
sub rsp, 0x20
jmp 0x1417793f6
mov rax, 0x17793a4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x37de406c
xor byte [rax], dl
inc rax
dec rcx
jne 0x141779415
jmp 0x14177942c
and al, 0xe5
test edi, esp
in eax, 0x50
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0xed
lodsd eax, dword [rsi]
insd dword [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0x6d
test dword [rbx + rbp*4], esp
lodsb al, byte [rsi]
insb byte [edi], dx
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0xab
scasb al, byte [rdi]
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0x9b
mov fs, word [rbp*2 + 0x60ede7ad]
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0x6d
test byte [rsp + rdi], bh
and al, 0xd4
mov al, 0xe7
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0xd5
movsb byte [rdi], byte [rsi]
imul esp, dword [rdx], 0x6d
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0x6d
test dword [rsi + rdx*8], esp
out dx, eax
lea ebp, [rcx + 0x6c6c6cf7]
insb byte [rdi], dx
test byte [rcx + 0x6c], ch
insb byte [rdi], dx
insb byte [rdi], dx
test dword [rdx + 0x6c], edi
insb byte [rdi], dx
insb byte [rdi], dx
lodsd eax, dword [rsi]
test byte [rsi + 0x5d], ch
jge 0x1417794b3
in eax, dx
lodsd eax, dword [rsi]
push 0x246c6c6c
xchg ebx, eax
movsb byte [rdi], byte [rsi]
invalid
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0x6d
test dword [rcx + rbp*2 - 0x7a939394], eax
loope 0x141779530
insb byte [rdi], dx
insb byte [rdi], dx
test byte ds:[rcx], dl
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
cmp esp, dword ss:[riz*8 - 0x5aa2db45]
and al, 0x5d
mov esi, 0x246984ef
xchg ebx, eax
movsb byte [rdi], byte [rsi]
invalid
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0xed
xchg byte [rax + 0x6c], ch
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0xed
in eax, dx
test byte [rcx + 0x6c], ch
insb byte [rdi], dx
insb byte [rdi], dx
test edi, edi
xchg ebx, eax
xchg ebx, eax
xchg ebx, eax
xor ebp, dword [rdi + 0x3e393b3a]
and al, 0xe5
mov ebx, 0x90a2e524
fsubp st(4)
out 0x6a, al
and al, 0xed
stosb byte [rdi], al
insd dword [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
in al, 0x6b
and al, 0xed
stosd dword [rdi], eax
insd dword [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
and al, 0xab
scasd eax, dword [rdi]
outsb dx, byte [rsi]
insb byte [rdi], dx
insb byte [rdi], dx
insb byte [rdi], dx
outsb dx, byte [rsi]
mov esi, 0x6c6be963
insb byte [rdi], dx
insb byte [rdi], dx
out 0x7a, al
and al, 0x93
stosb byte [rdi], al
jle 0x14177953a
invalid