joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007e1e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140179f20
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1401bc020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1401c1e78]
xor r11d, r11d
lea rdi, [0x14018c2ec]
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 0x140179f90
mov rax, 0xfffffffffffffffe
jmp 0x14017a0dd
cmp word [r10 + 6], r11w
jne 0x140179fff
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x140179fba
test r14, r14
je 0x140179fab
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x14017a0dd
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140179fc8
mov r8b, 2
jmp 0x140179fe6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x140179fd6
mov r8b, 3
jmp 0x140179fe6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x14017a0d2
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 0x14017a028
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x14017a0d2
cmp bl, bpl
jb 0x14017a0d2
cmp bl, r8b
jae 0x14017a0d2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x14017a055
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x14017a0d2
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 0x14017a037
cmp r9, rbp
jae 0x14017a081
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140179f84
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x14017a0d2
cmp edx, 0x110000
jae 0x14017a0d2
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 0x14017a0d2
test r14, r14
je 0x14017a0c0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140081398
jmp 0x14017a0dd
mov rdx, rsi
mov rcx, r10
call fcn.1400820c2
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14007eb39
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14007e26a
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400b59e8
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400b5a75
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400b5a75
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b5a75
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400b5a5c
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400b5a56
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400b5a5e
add rdx, 0x28
jmp 0x1400b5a3b
xor edx, edx
test rdx, rdx
jne 0x1400b5a67
xor al, al
jmp 0x1400b5a7b
cmp dword [rdx + 0x24], 0
jge 0x1400b5a71
xor al, al
jmp 0x1400b5a7b
mov al, 1
jmp 0x1400b5a7b
xor al, al
jmp 0x1400b5a7b
add rsp, 0x18
ret
Function at 0x14007e436
Capabilities:
Resume thread

Disassembly:
jmp 0x1400b2b00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401d23a7]
call fcn.140081a3c
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
je 0x1400b2b3c
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14007e832
Capabilities:
Query environment variable

Disassembly:
jmp 0x14015fc44
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 0x14015fccb
mov rsi, rbx
cmp word [rax], bp
je 0x14015fc8a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14015fc74
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14015fc70
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14007c064
mov rdi, rax
test rax, rax
je 0x14015fcb8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14007eb5c
mov rbp, rdi
xor ecx, ecx
call fcn.14007c2b7
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 0x14007e9ea
Capabilities:
Suspend thread

Disassembly:
jmp 0x1400b2b60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401d23a7]
call fcn.140081a3c
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
je 0x1400b2b9c
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

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

Disassembly:
jmp 0x1400eae40
jmp 0x1400f2788
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x1400eae70
movzx eax, byte [r9 + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x1400eae52
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x14007d5f9

Function at 0x14007edaa
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140107cd4
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140192c28]
mov ecx, 2
lea r8, [0x140192c20]
lea rdx, str.FlsGetValue
call fcn.1401077a4
mov ecx, ebx
test rax, rax
je 0x140107d0e
add rsp, 0x20
pop rbx
jmp qword [0x1401d3020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x14007f07a
Capabilities:
Query environment variable

Disassembly:
jmp 0x14015faf0
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 0x14015fb20
xor eax, eax
jmp 0x14015fbe3
mov rbp, rbx
cmp word [rax], si
je 0x14015fb45
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14015fb2c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14015fb28
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.1400803ad
movsxd r14, eax
test eax, eax
jne 0x14015fb83
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14015fb19
mov rcx, r14
call fcn.14007c064
mov rdi, rax
test rax, rax
jne 0x14015fb9c
xor ecx, ecx
call fcn.14007c2b7
jmp 0x14015fb78
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.1400803ad
test eax, eax
jne 0x14015fbcd
mov rcx, rdi
call fcn.14007c2b7
jmp 0x14015fbd7
xor ecx, ecx
call fcn.14007c2b7
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 0x14007f08e
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140107c24
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140192be8]
xor ecx, ecx
lea r8, [0x140192be0]
lea rdx, str.FlsAlloc
call fcn.1401077a4
test rax, rax
je 0x140107c5d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1401d3020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x14007f14c
Capabilities:
Get geographical location

Disassembly:
jmp 0x140161f78
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, [0x140198768]
mov rbp, rcx
lea r8, [0x140198760]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.140161498
test rax, rax
je 0x140161fd8
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1401d3030]
jmp 0x140161ff2
xor edx, edx
mov rcx, rbp
call fcn.14007e2e7
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 0x14007f165
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140139fb8
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140139d14

Function at 0x14007fd7c
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x1400c432c
jmp 0x1400e5814
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400c435e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400c4341
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14007c1b8
Function at 0x14008069b
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140107d2c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140192c48]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140192c40]
call fcn.1401077a4
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140107d6c
call qword [0x1401d3020]
jmp 0x140107d72
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400816c7
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401758cc
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.14007e175
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140175956
cmp byte [rbp - 0x21], r15b
je 0x140175951
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14017598c
call fcn.140081e29
test eax, eax
jne 0x140175978
cmp byte [rbp - 0x21], r15b
je 0x140175970
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14017598c
cmp byte [rbp - 0x21], r15b
je 0x140175989
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.14008224d
test eax, eax
jne 0x140175a2c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14007e175
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401759cb
cmp byte [rbp - 0x21], r15b
je 0x140175a00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140175a00
call fcn.140081e29
test eax, eax
jne 0x1401759ec
cmp byte [rbp - 0x21], r15b
je 0x1401759e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140175a00
cmp byte [rbp - 0x21], r15b
je 0x1401759fd
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.14008224d
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140175a2c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140175a2f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140175a3d
mov rcx, rdi
call fcn.14007c2b7
cmp byte [rbp + 0x3f], r15b
je 0x140175a4c
mov rcx, qword [rbp + 0x27]
call fcn.14007c2b7
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 0x1400818b6
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x1400c42e8
jmp 0x1400e57fc
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400c431a
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400c42fd
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14007f8d1

Function at 0x14008210d
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400b1f70
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x308]
mov rax, qword [0x1401bc020]
xor rax, rbp
mov qword [rbp + 0x2b8], rax
lea rcx, [0x1401d2325]
call fcn.140081a3c
mov rcx, qword [rbp + 0x2e0]
call fcn.14007ff7f
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x130
mov rcx, qword [rbp + 0x2e8]
call fcn.14008033f
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x1400b2089
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400809f7
cmp eax, 1
jne 0x1400b207d
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140081aa0
cmp eax, 1
jne 0x1400b207b
lea rdx, [rbp + 0x5c]
lea rcx, [rbp + 0x278]
call fcn.14007e89b
nop
lea r8, [rbp + 0x278]
mov edx, dword [rbp + 0x38]
lea rcx, [rbp + 0x238]
call fcn.14007c32f
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rbp + 0x2b0], rax
mov rdx, qword [rbp + 0x2b0]
mov rcx, qword [rbp + 0x2e8]
call fcn.1400809cf
nop
lea rcx, [rbp + 0x238]
call fcn.14007f291
nop
lea rcx, [rbp + 0x278]
call fcn.14007d0db
jmp 0x1400b1ffe
jmp 0x1400b2089
mov rcx, qword [rbp + 0x2e0]
call fcn.140080a06
mov rax, qword [rbp + 0x2e8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14018cdc0]
call fcn.140080a65
mov rax, rdi
mov rcx, qword [rbp + 0x2b8]
xor rcx, rbp
call fcn.14007eb39
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret
Function at 0x140167db0
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.14007d39c
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 0x140167e51
cmp ebx, dword [rsp + 0x30]
je 0x140167e4a
test esi, esi
je 0x140167e4a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140167e25
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140167e32
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140167e0f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140167e36
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140167e53
mov eax, 1
jmp 0x140167e53
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14016bf4c
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.14007d086
sub rsp, rax
mov rax, qword [0x1401bc020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140081ac3
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14016bf9b
mov rax, rbp
jmp 0x14016c0a3
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 + 0x1c15b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14007def0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1c15b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14016c09f
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 0x14016c09f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14007def0
test rax, rax
js 0x14016c09f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14016c09f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14016c091
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14016c091
cmp byte [rcx], 0xd
jne 0x14016c077
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14016c086
cmp byte [rcx + 1], 0xa
jne 0x14016c086
inc rcx
jmp 0x14016c086
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1bcbc0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14016c059
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14016c0a3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14007eb39
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 0x14016c950
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14016c966
mov al, 1
jmp 0x14016c9c6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14016c977
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14016c9c4
mov ecx, dword [rcx + 0x18]
nop
call fcn.140081d84
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14016c9c4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14016c9c4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14016c9c4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14016c9c6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14016cdc8
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, [0x1401c15b0]
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 0x14016ce1f
cmp word [rdx], r13w
jne 0x14016ce1f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14016ce24
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14016cf49
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14016cf6a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14016ce5d
mov rdx, r9
mov word [rbx], cx
jmp 0x14016ce84
cmp r9, r8
jae 0x14016ce94
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 0x14016ce3e
jmp 0x14016cf49
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 0x14016cf3e
cmp dword [rsp + 0x80], esi
je 0x14016cf3e
lea r8, [0x1401c15b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14016cf16
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14016cee6
mov word [rbx], r13w
jmp 0x14016cf46
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 0x14016cef3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14016cf46
cmp word [rsp + 0x70], r13w
jne 0x14016cf23
cmp rbx, r14
je 0x14016cee0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14007cf0f
cmp word [rsp + 0x70], r13w
je 0x14016cf49
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, [0x1401c15b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14016cf43
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14016cf49
Function at 0x140002d50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x3a910]
mov eax, 0x3aa10
call fcn.1400044a0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3a900], rax
xor ebx, ebx
mov dword [rsp + 0x68], 0x10001
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov edx, 0xffffffff
mov dword [rsp + 0x6c], 0x1f40
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x70], 0x1f40
lea edi, [rbx + 1]
mov dword [rsp + 0x74], 0x80001
mov word [rsp + 0x78], bx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
lea rcx, [rbp - 0x7f]
mov r8d, 0x3a97f
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
lea r9, [rbp - 0x80]
mov r10d, 2
nop
test r8b, 0xf
lea r9, [r9 + 1]
mov eax, r8d
mov ecx, 6
cmovne ecx, r10d
shr eax, 9
and cl, al
mov eax, edi
sub al, cl
movsx ecx, r8b
movsx edx, al
mov eax, r8d
imul edx, ecx
shr eax, 6
xor al, r8b
inc r8d
add dl, al
mov byte [r9 - 1], dl
cmp r8d, 0x3a980
jb 0x140002df0
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov r8d, 0x30
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], 0x3a980
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rbp + 0x3a900]
xor rcx, rsp
call fcn.1400037b0
lea r11, [rsp + 0x3aa10]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret