joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eee0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45ef8f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045efe0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004683e0
xorps xmm15, xmm15
mov r14, qword [0x0068e290]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00468500
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045eee0
Function at 0x46a300
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x404423
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a240
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00468500
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x404400
cmp byte [0x0068e06c], 0
je 0x46a315
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x467540
jmp 0x404400

Function at 0x46a320
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0068e400]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0068e06c], 0
je 0x46a355
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0068e720]
aesenc xmm0, xmmword [0x0068e730]
aesenc xmm0, xmmword [0x0068e740]
movq rax, xmm0
ret
jmp 0x40a460

Function at 0x46a360
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0068e400]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0068e06c], 0
je 0x46a396
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0068e720]
aesenc xmm0, xmmword [0x0068e730]
aesenc xmm0, xmmword [0x0068e740]
movq rax, xmm0
ret
jmp 0x40a4c0

Function at 0x46c160
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46c194
mov rcx, 0x28
jmp 0x46c19f
shl rcx, 3
add rcx, 0x1480
mov qword [0x0068e290], rcx
pop rbp
ret
Function at 0x48cfe0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48d0aa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403900
xorps xmm15, xmm15
mov r14, qword [0x0068e290]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48d08f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004f75e0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044eb20
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0048e940
inc rbx
cmp rcx, rbx
jae 0x48d07e
mov edi, 1
lea rsi, [0x004f75e0]
call fcn.0044ec00
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0054f248]
lea rsi, [0x0054e818]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00468500
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0048cfe0

Function at 0x4b3ce0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4b441f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4b3d0d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4b3f91
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4b3fbd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00551120]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004f74e0]
lea rbx, [0x0054f040]
call fcn.00437e60
inc rax
cmp rax, r8
jge 0x4b3fe2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4b4017
lea rdi, [0x004f7560]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4b3d03
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4b3ffb
jmp 0x4b3fd0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00468500
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004b3ce0

Function at 0x4b45c0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4b45d7
inc rax
cmp rax, 4
jge 0x4b45ef
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4b45d4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4b4600
inc rax
cmp rax, 4
jge 0x4b460e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4b4637
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4b461b
jmp 0x4b45fd
Function at 0x4c4200
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c434e
push rbp
mov rbp, rsp
sub rsp, 0x68
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x00600590]
call fcn.004b4840
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [0x004c4360]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.00403900
xorps xmm15, xmm15
mov r14, qword [0x0068e290]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4c4312
mov rdx, qword [rsp + 0x28]
nop dword [rax + rax]
cmp rdx, rcx
jb 0x4c4348
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
jb 0x4c433d
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rdi
sar rdi, 0x3f
and rcx, rdi
mov rdi, qword [rsp + 0x38]
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x50]
call rsi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x68
pop rbp
ret
mov rax, rcx
mov rcx, rbx
call fcn.0046a8a0
call fcn.0046a820
nop
call fcn.00468500
jmp fcn.004c4200
Function at 0x140002be0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14003e080]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor ebp, ebp
mov esi, edx
mov qword [rsp + 0x58], rbp
lea rdx, [0x140040ae0]
mov qword [rsp + 0x50], rcx
mov rdi, rcx
mov qword [rsp + 0x48], rbp
mov r9d, 0x800000
mov qword [rsp + 0x40], rbp
xor r8d, r8d
mov dword [rsp + 0x38], ebp
xor ecx, ecx
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
jne 0x140002c67
lea rdx, str.Failed_to_create_MainWindow_n
call fcn.140007040
xor eax, eax
jmp 0x140002e12
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_MonitorFromWindow]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x28
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [rsp + 0x70]
mov rcx, rbx
sub eax, dword [rsp + 0x68]
sub eax, 0x50
mov dword [rsp + 0x30], ebp
cdq
mov dword [rsp + 0x28], 0x50
sub eax, edx
mov dword [rsp + 0x20], 0xc8
sar eax, 1
mov r9d, eax
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x64]
sub eax, 0xc8
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowPos]
xor r8d, r8d
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov qword [rsp + 0x58], rbp
lea r8, [0x1400383f0]
mov qword [rsp + 0x50], rdi
lea rdx, str.STATIC
mov qword [rsp + 0x48], rbp
mov r9d, 0x50000000
mov qword [rsp + 0x40], rbx
xor ecx, ecx
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0xc8
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0xa
call qword [sym.imp.USER32.dll_CreateWindowExW]
test rax, rax
jne 0x140002d3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0xfffffffa
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [rsp + 0x58], rbp
lea rdx, str.msctls_progress32
mov qword [rsp + 0x50], rax
mov r9d, 0x50000008
mov qword [rsp + 0x48], rbp
xor r8d, r8d
mov qword [rsp + 0x40], rbx
xor ecx, ecx
mov dword [rsp + 0x38], 0x23
mov dword [rsp + 0x30], 0xb4
mov dword [rsp + 0x28], 0x28
mov dword [rsp + 0x20], 0xa
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x270f
mov r8d, 0x1e
mov qword [0x140040ad0], rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, qword [0x140040ad0]
test rcx, rcx
jne 0x140002dc8
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x140002e12
xor r9d, r9d
mov edx, 0x40a
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
lea r8, [0x140003430]
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14000ac30
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b9e4
Capabilities:
Parse pe header

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

Function at 0x14001679c
Capabilities:
Parse pe header

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

Function at 0x1400169a0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001679c
Function at 0x14001b68c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b6a2
mov al, 1
jmp 0x14001b702
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b6b3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b700
mov ecx, dword [rcx + 0x18]
nop
call fcn.14002289c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b700
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b700
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b700
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b702
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001e184
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.14000b280
sub rsp, rax
mov rax, qword [0x14003e080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140019c34
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001e1d3
mov rax, rbp
jmp 0x14001e2db
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 + 0x40370]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001f140
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x40370]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001e2d7
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 0x14001e2d7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001f140
test rax, rax
js 0x14001e2d7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001e2d7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001e2c9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001e2c9
cmp byte [rcx], 0xd
jne 0x14001e2af
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001e2be
cmp byte [rcx + 1], 0xa
jne 0x14001e2be
inc rcx
jmp 0x14001e2be
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3eba0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001e291
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001e2db
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000ac30
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 0x140022044
Capabilities:
Query environment variable

Disassembly:
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 0x1400220cb
mov rsi, rbx
cmp word [rax], bp
je 0x14002208a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140022074
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140022070
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001bdd0
mov rdi, rax
test rax, rax
je 0x1400220b8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14002a6c0
mov rbp, rdi
xor ecx, ecx
call fcn.14001affc
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 0x140024df0
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.14001ac9c
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 0x140024e91
cmp ebx, dword [rsp + 0x30]
je 0x140024e8a
test esi, esi
je 0x140024e8a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140024e65
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140024e72
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140024e4f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140024e76
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140024e93
mov eax, 1
jmp 0x140024e93
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140025428
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, [0x140040370]
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 0x14002547f
cmp word [rdx], r13w
jne 0x14002547f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140025484
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400255a9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400255ca
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400254bd
mov rdx, r9
mov word [rbx], cx
jmp 0x1400254e4
cmp r9, r8
jae 0x1400254f4
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 0x14002549e
jmp 0x1400255a9
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 0x14002559e
cmp dword [rsp + 0x80], esi
je 0x14002559e
lea r8, [0x140040370]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140025576
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140025546
mov word [rbx], r13w
jmp 0x1400255a6
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 0x140025553
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400255a6
cmp word [rsp + 0x70], r13w
jne 0x140025583
cmp rbx, r14
je 0x140025540
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001f148
cmp word [rsp + 0x70], r13w
je 0x1400255a9
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, [0x140040370]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400255a3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400255a9
Function at 0x140029988
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.14001f148
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001f148
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029ad8
cmp rax, 0xffffffffffffffff
je 0x140029ad8
xor edi, edi
test rbp, rbp
jle 0x140029a83
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140019a9c
mov rbx, rax
test rax, rax
jne 0x140029a10
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029a79
mov edx, 0x8000
mov ecx, r14d
call fcn.1400176f8
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.14001a61c
cmp eax, 0xffffffff
je 0x140029a59
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029a20
mov edx, r15d
mov ecx, r14d
call fcn.1400176f8
jmp 0x140029a79
cmp byte [rsi + 0x38], dil
je 0x140029a70
cmp dword [rsi + 0x34], 5
jne 0x140029a70
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029a79
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001affc
jmp 0x140029aec
jns 0x140029aec
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001f148
cmp rax, 0xffffffffffffffff
jne 0x140029aa4
cmp byte [rsi + 0x30], dil
je 0x140029aec
mov edi, dword [rsi + 0x2c]
jmp 0x140029aec
mov ecx, r14d
call fcn.14002289c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029aec
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 0x140029aec
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ae5
mov eax, dword [rsi + 0x2c]
jmp 0x140029aea
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001f148
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 0x14002a2f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002a318
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002a318
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180003ee0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13b0
call fcn.180056600
sub rsp, rax
mov rdi, rcx
movsxd rsi, r8d
xor ecx, ecx
movsxd rbp, edx
call fcn.180066378
mov rcx, rax
mov dword [rsp + 0x24], eax
mov r9d, 1
mov dword [rsp + 0x13a4], 0xffffffff
nop word [rax + rax]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, r9d
mov dword [rsp + r9*4 + 0x24], ecx
inc r9
cmp r9, 0x270
jb 0x180003f30
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.18001a6b0
mov ecx, eax
lea rbx, [rcx + rcx*2]
test ebx, ebx
jne 0x180003f85
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.18001a6b0
mov ecx, eax
lea rbx, [rcx + rcx*2]
cmp ebx, 1
jb 0x180003f70
shr rbx, 0x20
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
inc ebx
sub ebx, 1
je 0x180003fc7
sub ebx, 1
je 0x180003fb1
cmp ebx, 1
jne 0x180003fef
mov rcx, rsi
call fcn.1800561b4
mov rcx, qword [rdi]
mov rcx, qword [rcx + 0x18]
jmp 0x180003fe3
mov rdi, qword [rdi]
mov r8, rsi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x180003fdf
mov rdi, qword [rdi]
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, qword [rdi + 0x18]
mov rbx, rax
call fcn.1800021f0
mov qword [rax + rbp*8], rbx
lea r11, [rsp + 0x13b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret