joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1808d7d68
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1808d7d72
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 0x1808d7d9b
pop rbp
sub rbp, 0x33
sub rbp, 0x8d7d68
cmp edx, 1
je 0x1808d7dde
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x1808d7dee
mov rax, 0x8d7d68
add rax, rbp
add rax, 0xb8
mov rcx, 0x647
mov rdx, 0xffffffffdd2d5b1a
xor byte [rax], dl
inc rax
dec rcx
jne 0x1808d7e0d
jmp 0x1808d7e24
push rdx
xchg ebx, eax
xchg ecx, eax
xchg ebx, eax
sbb bl, byte es:[rdx]
sbb dl, byte [rdx - 0x65]
fist dword [rdx]
sbb ebx, dword [rdx]
sbb dl, byte [rdx + 0x1b]
push rdx
fstp st(2)
sbb eax, 0x521a1a1a
fstp st(0)
xor bl, byte [rdx]
sbb bl, byte [rdx]
push rdx
in eax, dx
clc
push rdx
sbb ebx, ebx
xchg ecx, eax
wait
invalid
Function at 0x14007364a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14012ee98
xor r8d, r8d
xor edx, edx
jmp 0x14012eb88

Function at 0x140073d16
Capabilities:
Set registry value

Disassembly:
jmp 0x1400894c0
push rbp
push rdi
sub rsp, 0x2f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140197140]
xor rax, rbp
mov qword [rbp + 0x2b8], rax
lea rcx, [0x1401ac108]
call fcn.140078208
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14008955b
lea rdx, [0x14016f4a8]
lea rcx, [rbp + 0x1e8]
call fcn.140074bb7
nop
lea rcx, [rbp + 0x1e8]
call fcn.140073799
nop
lea rcx, [rbp + 0x1e8]
call fcn.140077614
xor al, al
jmp 0x1400896c6
mov dword [rbp + 0x24], 1
lea rax, str.20D04FE0_3AEA_1069_A2D8_08002B30309D
mov qword [rbp + 0x48], rax
lea rax, str.645FF040_5081_101B_9F08_00AA002F954E
mov qword [rbp + 0x50], rax
lea rax, str.208D2C60_3AEA_1069_A2D7_08002B30309D
mov qword [rbp + 0x58], rax
lea rax, str.59031a47_3f72_44a7_89c5_5595fe6b30ee
mov qword [rbp + 0x60], rax
mov byte [rbp + 0x84], 1
lea rax, [rbp + 0x48]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xa8]
add rax, 0x20
mov qword [rbp + 0xe8], rax
jmp 0x1400895d4
mov rax, qword [rbp + 0xc8]
add rax, 8
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xe8]
cmp qword [rbp + 0xc8], rax
je 0x1400896b5
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
mov qword [rbp + 0x108], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400896b0
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x228]
call fcn.140074bb7
mov qword [rbp + 0x298], rax
mov rax, qword [rbp + 0x298]
mov qword [rbp + 0x2a0], rax
mov r8, qword [rbp + 0x2a0]
lea rdx, [0x14016f640]
lea rcx, [rbp + 0x268]
call fcn.1400741c1
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rbp + 0x2b0], rax
mov rcx, qword [rbp + 0x2b0]
call fcn.140073799
nop
lea rcx, [rbp + 0x268]
call fcn.140077614
nop
lea rcx, [rbp + 0x228]
call fcn.140077614
mov byte [rbp + 0x84], 0
jmp 0x1400895c2
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rbp + 0x84]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14016e480]
call fcn.1400773da
mov rax, rdi
mov rcx, qword [rbp + 0x2b8]
xor rcx, rbp
call fcn.140075797
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret
Function at 0x140074ccf
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400d3efc
sub rsp, 0x28
and dword [rsp + 0x30], 0
call fcn.140075fc6
mov r9d, 2
lea r8, [rsp + 0x30]
mov rcx, qword [rax + 0x28]
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1400d3f49
sub ecx, 1
je 0x1400d3f42
cmp ecx, 1
je 0x1400d3f3b
xor eax, eax
jmp 0x1400d3f4e
mov eax, 3
jmp 0x1400d3f4e
mov eax, 1
jmp 0x1400d3f4e
mov eax, 2
add rsp, 0x28
ret

Function at 0x140074f13
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14015c234
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140197140]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x14019c2e0]
xor r11d, r11d
lea rdi, [0x14016effa]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x14015c2a4
mov rax, 0xfffffffffffffffe
jmp 0x14015c3f1
cmp word [r10 + 6], r11w
jne 0x14015c313
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x14015c2ce
test r14, r14
je 0x14015c2bf
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x14015c3f1
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x14015c2dc
mov r8b, 2
jmp 0x14015c2fa
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x14015c2ea
mov r8b, 3
jmp 0x14015c2fa
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x14015c3e6
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x14015c33c
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x14015c3e6
cmp bl, bpl
jb 0x14015c3e6
cmp bl, r8b
jae 0x14015c3e6
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x14015c369
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x14015c3e6
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x14015c34b
cmp r9, rbp
jae 0x14015c395
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x14015c298
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x14015c3e6
cmp edx, 0x110000
jae 0x14015c3e6
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x14015c3e6
test r14, r14
je 0x14015c3d4
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140077c1d
jmp 0x14015c3f1
mov rdx, rsi
mov rcx, r10
call fcn.14007880c
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140075797
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140074f9a
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400d54a4
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400d5531
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400d5531
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d5531
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400d5518
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400d5512
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400d551a
add rdx, 0x28
jmp 0x1400d54f7
xor edx, edx
test rdx, rdx
jne 0x1400d5523
xor al, al
jmp 0x1400d5537
cmp dword [rdx + 0x24], 0
jge 0x1400d552d
xor al, al
jmp 0x1400d5537
mov al, 1
jmp 0x1400d5537
xor al, al
jmp 0x1400d5537
add rsp, 0x18
ret

Function at 0x1400754cc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400ed280
mov rax, rcx
neg rcx
test rax, 7
je 0x1400ed29d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400ed2f8
test al, 7
jne 0x1400ed290
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1400ed2b1
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400ed322
test dh, dh
je 0x1400ed31c
shr rdx, 0x10
test dl, dl
je 0x1400ed316
test dh, dh
je 0x1400ed310
shr rdx, 0x10
test dl, dl
je 0x1400ed30a
test dh, dh
je 0x1400ed304
shr edx, 0x10
test dl, dl
je 0x1400ed2fe
test dh, dh
jne 0x1400ed2b1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140075503
Capabilities:
Query environment variable

Disassembly:
jmp 0x140149594
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14014961b
mov rsi, rbx
cmp word [rax], bp
je 0x1401495da
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401495c4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401495c0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140073064
mov rdi, rax
test rax, rax
je 0x140149608
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400757bf
mov rbp, rdi
xor ecx, ecx
call fcn.14007327b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400757e2
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400cbaec
jmp 0x1400d24e8
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x1400cbb1c
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x1400cbafe
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x140074432
Function at 0x140075a21
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400eb114
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1401752e8]
mov ecx, 2
lea r8, [0x1401752e0]
lea rdx, str.FlsGetValue
call fcn.1400eabe4
mov ecx, ebx
test rax, rax
je 0x1400eb14e
add rsp, 0x20
pop rbx
jmp qword [0x1401ad020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140075c83
Capabilities:
Query environment variable

Disassembly:
jmp 0x140149440
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 0x140149470
xor eax, eax
jmp 0x140149533
mov rbp, rbx
cmp word [rax], si
je 0x140149495
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14014947c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140149478
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.140076dc7
movsxd r14, eax
test eax, eax
jne 0x1401494d3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140149469
mov rcx, r14
call fcn.140073064
mov rdi, rax
test rax, rax
jne 0x1401494ec
xor ecx, ecx
call fcn.14007327b
jmp 0x1401494c8
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.140076dc7
test eax, eax
jne 0x14014951d
mov rcx, rdi
call fcn.14007327b
jmp 0x140149527
xor ecx, ecx
call fcn.14007327b
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 0x140075c97
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400eb064
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1401752a8]
xor ecx, ecx
lea r8, [0x1401752a0]
lea rdx, str.FlsAlloc
call fcn.1400eabe4
test rax, rax
je 0x1400eb09d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1401ad020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140075d64
Capabilities:
Get geographical location

Disassembly:
jmp 0x140139cb4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x140178718]
mov rbp, rcx
lea r8, [0x140178710]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1401391d4
test rax, rax
je 0x140139d14
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1401ad030]
jmp 0x140139d2e
xor edx, edx
mov rcx, rbp
call fcn.14007500d
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140075d78
Capabilities:
Terminate process

Disassembly:
jmp 0x1400d6620
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
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]

Function at 0x140075ff3
Capabilities:
Parse pe header

Disassembly:
jmp 0x14012ee2c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14012eb88

Function at 0x140076787
Capabilities:
Clear file content

Disassembly:
jmp 0x14015d7f4
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.140073d98
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140073d98
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14015d944
cmp rax, 0xffffffffffffffff
je 0x14015d944
xor edi, edi
test rbp, rbp
jle 0x14015d8ef
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140077a06
mov rbx, rax
test rax, rax
jne 0x14015d87c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14015d8e5
mov edx, 0x8000
mov ecx, r14d
call fcn.140076a98
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.140077556
cmp eax, 0xffffffff
je 0x14015d8c5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14015d88c
mov edx, r15d
mov ecx, r14d
call fcn.140076a98
jmp 0x14015d8e5
cmp byte [rsi + 0x38], dil
je 0x14015d8dc
cmp dword [rsi + 0x34], 5
jne 0x14015d8dc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14015d8e5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14007327b
jmp 0x14015d958
jns 0x14015d958
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140073d98
cmp rax, 0xffffffffffffffff
jne 0x14015d910
cmp byte [rsi + 0x30], dil
je 0x14015d958
mov edi, dword [rsi + 0x2c]
jmp 0x14015d958
mov ecx, r14d
call fcn.140078528
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14015d958
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 0x14015d958
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14015d951
mov eax, dword [rsi + 0x2c]
jmp 0x14015d956
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140073d98
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 0x14007684a
Capabilities:
Parse pe header

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

Function at 0x140076944
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400a9124
jmp 0x1400c599c
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400a9156
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400a9139
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140073195
Function at 0x14007707e
Capabilities:
Terminate process

Disassembly:
jmp 0x1400ec06c
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400ec086
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140077c3b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140077e11
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400eb16c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140175308]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140175300]
call fcn.1400eabe4
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400eb1ac
call qword [0x1401ad020]
jmp 0x1400eb1b2
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400780b4
Capabilities:
Parse pe header

Disassembly:
jmp 0x14012ee1c
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 0x14012ebf7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14012ebf7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14012ebf7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14012ebf7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14012ebf7
cmp dword [rcx + 0x84], 0xe
jbe 0x14012ebf7
cmp dword [rcx + 0xf8], 0
je 0x14012ebf7
mov ecx, ebx
call fcn.14012ed60
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.14012e8e8
nop
cmp dword [rbp + 0x20], 0
je 0x14012ec45
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14012ec80
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14012eb88

Function at 0x14007814f
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x140137f3c
Capabilities:
Get file size

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140073ee7
sub rsp, rax
mov rax, qword [0x140197140]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140078276
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14013ce7b
mov rax, rbp
jmp 0x14013cf83
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x19b9a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140074c7f
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x19b9a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14013cf7f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14013cf7f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140074c7f
test rax, rax
js 0x14013cf7f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14013cf7f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14013cf71
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14013cf71
cmp byte [rcx], 0xd
jne 0x14013cf57
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14013cf66
cmp byte [rcx + 1], 0xa
jne 0x14013cf66
inc rcx
jmp 0x14013cf66
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x197f00]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14013cf39
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14013cf83
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140075797
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14014e350
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400741d0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14014e3f1
cmp ebx, dword [rsp + 0x30]
je 0x14014e3ea
test esi, esi
je 0x14014e3ea
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14014e3c5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14014e3d2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14014e3af
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14014e3d6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14014e3f3
mov eax, 1
jmp 0x14014e3f3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret