joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002b58
Capabilities:
Get geographical location

Disassembly:
jmp 0x140060e18
sub rsp, 0x28
call fcn.140003d6e
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140060e6a
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 0x140060e6a
sub ecx, 1
je 0x140060e63
cmp ecx, 1
je 0x140060e5c
xor eax, eax
jmp 0x140060e6f
mov eax, 3
jmp 0x140060e6f
mov eax, 1
jmp 0x140060e6f
mov eax, 2
add rsp, 0x28
ret

Function at 0x140002d79
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400e2d64
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1401183c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x14011ccc8]
xor r11d, r11d
lea rdi, [0x1400f2d0b]
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 0x1400e2dd4
mov rax, 0xfffffffffffffffe
jmp 0x1400e2f21
cmp word [r10 + 6], r11w
jne 0x1400e2e43
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400e2dfe
test r14, r14
je 0x1400e2def
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400e2f21
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400e2e0c
mov r8b, 2
jmp 0x1400e2e2a
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400e2e1a
mov r8b, 3
jmp 0x1400e2e2a
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400e2f16
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 0x1400e2e6c
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400e2f16
cmp bl, bpl
jb 0x1400e2f16
cmp bl, r8b
jae 0x1400e2f16
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400e2e99
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400e2f16
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 0x1400e2e7b
cmp r9, rbp
jae 0x1400e2ec5
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400e2dc8
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400e2f16
cmp edx, 0x110000
jae 0x1400e2f16
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 0x1400e2f16
test r14, r14
je 0x1400e2f04
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1400058df
jmp 0x1400e2f21
mov rdx, rsi
mov rcx, r10
call fcn.140006451
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140003585
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002df6
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140014c78
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140014d05
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140014d05
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140014d05
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 0x140014cec
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140014ce6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140014cee
add rdx, 0x28
jmp 0x140014ccb
xor edx, edx
test rdx, rdx
jne 0x140014cf7
xor al, al
jmp 0x140014d0b
cmp dword [rdx + 0x24], 0
jge 0x140014d01
xor al, al
jmp 0x140014d0b
mov al, 1
jmp 0x140014d0b
xor al, al
jmp 0x140014d0b
add rsp, 0x18
ret

Function at 0x14000330f
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c3130
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 0x1400c31b7
mov rsi, rbx
cmp word [rax], bp
je 0x1400c3176
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c3160
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c315c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000105f
mov rdi, rax
test rax, rax
je 0x1400c31a4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400035ad
mov rbp, rdi
xor ecx, ecx
call fcn.140001262
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 0x1400035cb
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x140058a6c
jmp 0x14005f450
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x140058a9c
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x140058a7e
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x14000233d

Function at 0x1400037e2
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400744c0
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400f80f8]
mov ecx, 2
lea r8, [0x1400f80f0]
lea rdx, str.FlsGetValue
call fcn.140073f90
mov ecx, ebx
test rax, rax
je 0x1400744fa
add rsp, 0x20
pop rbx
jmp qword [0x14012b020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140003a3f
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c2fdc
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 0x1400c300c
xor eax, eax
jmp 0x1400c30cf
mov rbp, rbx
cmp word [rax], si
je 0x1400c3031
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c3018
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c3014
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.140004b01
movsxd r14, eax
test eax, eax
jne 0x1400c306f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c3005
mov rcx, r14
call fcn.14000105f
mov rdi, rax
test rax, rax
jne 0x1400c3088
xor ecx, ecx
call fcn.140001262
jmp 0x1400c3064
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.140004b01
test eax, eax
jne 0x1400c30b9
mov rcx, rdi
call fcn.140001262
jmp 0x1400c30c3
xor ecx, ecx
call fcn.140001262
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 0x140003a4e
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140074410
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400f80b8]
xor ecx, ecx
lea r8, [0x1400f80b0]
lea rdx, str.FlsAlloc
call fcn.140073f90
test rax, rax
je 0x140074449
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x14012b020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003b11
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400c5464
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, [0x1400fb588]
mov rbp, rcx
lea r8, [0x1400fb580]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1400c4984
test rax, rax
je 0x1400c54c4
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x14012b030]
jmp 0x1400c54de
xor edx, edx
mov rcx, rbp
call fcn.140002e5f
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 0x140003b1b
Capabilities:
Terminate process

Disassembly:
jmp 0x1400e51c0
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 0x140003d9b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140075bfc
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140075958

Function at 0x14000403e
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e50e0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400e5108
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400e5108
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140004584
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x140034998
jmp 0x140051f74
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400349ca
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400349ad
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140001181
Function at 0x140004a07
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400e5020
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1400e5061
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400e5055
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400e5063
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400e5043
xor eax, eax
ret

Function at 0x140004d9a
Capabilities:
Terminate process

Disassembly:
jmp 0x140075120
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14007513a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400058fd
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 0x140005abf
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140074518
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400f8118]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400f8110]
call fcn.140073f90
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140074558
call qword [0x14012b020]
jmp 0x14007455e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005bbe
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400d862c
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.140002d1f
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400d86b6
cmp byte [rbp - 0x21], r15b
je 0x1400d86b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400d86ec
call fcn.14000620d
test eax, eax
jne 0x1400d86d8
cmp byte [rbp - 0x21], r15b
je 0x1400d86d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400d86ec
cmp byte [rbp - 0x21], r15b
je 0x1400d86e9
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.14000658c
test eax, eax
jne 0x1400d878c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002d1f
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400d872b
cmp byte [rbp - 0x21], r15b
je 0x1400d8760
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400d8760
call fcn.14000620d
test eax, eax
jne 0x1400d874c
cmp byte [rbp - 0x21], r15b
je 0x1400d8745
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400d8760
cmp byte [rbp - 0x21], r15b
je 0x1400d875d
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.14000658c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400d878c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400d878f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400d879d
mov rcx, rdi
call fcn.140001262
cmp byte [rbp + 0x3f], r15b
je 0x1400d87ac
mov rcx, qword [rbp + 0x27]
call fcn.140001262
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 0x140005d5d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140075bec
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 0x1400759c7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400759c7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400759c7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400759c7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400759c7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400759c7
cmp dword [rcx + 0xf8], 0
je 0x1400759c7
mov ecx, ebx
call fcn.140075b30
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.1400756b0
nop
cmp dword [rbp + 0x20], 0
je 0x140075a15
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140075a50
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140075958

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

Disassembly:
jmp 0x140034954
jmp 0x140051f5c
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140034986
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140034969
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140004160
Function at 0x1400158bc
Capabilities:
Parse pe header

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

Function at 0x140060e18
Capabilities:
Get geographical location

Disassembly:
jmp 0x140060e18
sub rsp, 0x28
call fcn.140003d6e
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140060e6a
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 0x140060e6a
sub ecx, 1
je 0x140060e63
cmp ecx, 1
je 0x140060e5c
xor eax, eax
jmp 0x140060e6f
mov eax, 3
jmp 0x140060e6f
mov eax, 1
jmp 0x140060e6f
mov eax, 2
add rsp, 0x28
ret

Function at 0x140075200
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140075200
mov rax, rcx
neg rcx
test rax, 7
je 0x14007521d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140075278
test al, 7
jne 0x140075210
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 0x140075231
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400752a2
test dh, dh
je 0x14007529c
shr rdx, 0x10
test dl, dl
je 0x140075296
test dh, dh
je 0x140075290
shr rdx, 0x10
test dl, dl
je 0x14007528a
test dh, dh
je 0x140075284
shr edx, 0x10
test dl, dl
je 0x14007527e
test dh, dh
jne 0x140075231
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 0x140075958
Capabilities:
Parse pe header

Disassembly:
jmp 0x140075bec
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 0x1400759c7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400759c7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400759c7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400759c7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400759c7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400759c7
cmp dword [rcx + 0xf8], 0
je 0x1400759c7
mov ecx, ebx
call fcn.140075b30
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.1400756b0
nop
cmp dword [rbp + 0x20], 0
je 0x140075a15
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140075a50
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140075958
Function at 0x1400c2fdc
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c2fdc
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 0x1400c300c
xor eax, eax
jmp 0x1400c30cf
mov rbp, rbx
cmp word [rax], si
je 0x1400c3031
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c3018
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c3014
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.140004b01
movsxd r14, eax
test eax, eax
jne 0x1400c306f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c3005
mov rcx, r14
call fcn.14000105f
mov rdi, rax
test rax, rax
jne 0x1400c3088
xor ecx, ecx
call fcn.140001262
jmp 0x1400c3064
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.140004b01
test eax, eax
jne 0x1400c30b9
mov rcx, rdi
call fcn.140001262
jmp 0x1400c30c3
xor ecx, ecx
call fcn.140001262
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 0x1400c3130
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400c3130
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 0x1400c31b7
mov rsi, rbx
cmp word [rax], bp
je 0x1400c3176
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c3160
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c315c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000105f
mov rdi, rax
test rax, rax
je 0x1400c31a4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400035ad
mov rbp, rdi
xor ecx, ecx
call fcn.140001262
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 0x1400cb780
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.14000210d
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 0x1400cb821
cmp ebx, dword [rsp + 0x30]
je 0x1400cb81a
test esi, esi
je 0x1400cb81a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400cb7f5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400cb802
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400cb7df
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400cb806
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400cb823
mov eax, 1
jmp 0x1400cb823
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret