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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
mov r15, rdx
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call fcn.140027440
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov ecx, 0x20
call fcn.14006c698
mov rsi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x14
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.NtQueryVirtualMemory]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400b5630]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.140048a20
lea rbp, [rdi + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
movabs rdx, 0x100000001b3
movabs r9, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rcx + rsi]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x14
jb 0x140065e40
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400288c0
mov r8, qword [rax + 8]
test r8, r8
je 0x140065eae
cmp r8, qword [rdi + 8]
je 0x140065eae
mov rdi, qword [r8 + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x140065eb7
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14 + 8]
call rdi
mov edi, eax
jmp 0x140065ebc
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
mov edx, 0x20
mov rcx, rsi
call fcn.14006c690
test edi, edi
je 0x140065ed1
mov eax, edi
jmp 0x140065f12
mov rax, qword [rsp + 0x68]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
mov eax, dword [rsp + 0x84]
mov dword [rbx + 0x24], eax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x18], rax
mov eax, dword [rsp + 0x80]
mov dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x28], eax
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006c670
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140065f50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, rdx
mov r14, rcx
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [r11 - 0x40], xmm0
mov dword [r11 - 0x30], 0
call fcn.140027440
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov ecx, 0x20
call fcn.14006c698
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0x19
mov qword [rsp + 0x50], 0x1f
movups xmm0, xmmword [str.NtQueryInformationProcess]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400b55c0]
movsd qword [rax + 0x10], xmm0
movzx ecx, byte [0x1400b55c8]
mov byte [rax + 0x18], cl
mov byte [rax + 0x19], 0
mov dword [rsp + 0x30], 1
call fcn.140048a20
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
movabs rdx, 0x100000001b3
movabs r9, 0xcbf29ce484222325
nop dword [rax]
movzx eax, byte [rcx + rdi]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x19
jb 0x140066030
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1400288c0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400660ab
cmp rdx, qword [rsi + 8]
je 0x1400660ab
mov rsi, qword [rdx + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x1400660b4
lea rbx, [r14 + 8]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, qword [rbx]
call rsi
mov rcx, rbx
test eax, eax
js 0x1400660b8
test rbp, rbp
je 0x1400660b8
mov sil, 1
jmp 0x1400660be
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [r14 + 8]
xor sil, sil
mov rbx, rcx
mov edx, 0x20
mov rcx, rdi
call fcn.14006c690
test sil, sil
je 0x1400660f0
mov qword [rsp + 0x20], 0
mov r9d, 0x250
mov r8, rbp
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14006c670
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140066140
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, r8
mov r15, rdx
mov r14, rcx
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [r11 - 0x50], rax
mov dword [r11 - 0x48], eax
mov dword [r11 - 0x40], eax
call fcn.140027440
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov ecx, 0x20
call fcn.14006c698
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0x18
mov qword [rsp + 0x50], 0x1f
movups xmm0, xmmword [str.NtQueryInformationThread]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400b55f8]
movsd qword [rax + 0x10], xmm0
mov byte [rax + 0x18], 0
mov dword [rsp + 0x30], 1
call fcn.140048a20
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
movabs rdx, 0x100000001b3
movabs r9, 0xcbf29ce484222325
nop dword [rax]
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x18
jb 0x140066210
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400288c0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140066284
cmp rcx, qword [rdi + 8]
je 0x140066284
mov rdi, qword [rcx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14006628d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, r15
call rdi
test eax, eax
js 0x14006628d
test rbp, rbp
je 0x14006628d
mov dil, 1
jmp 0x140066290
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor dil, dil
mov edx, 0x20
mov rcx, rbx
call fcn.14006c690
test dil, dil
je 0x1400662c2
mov edx, dword [rsp + 0x6c]
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, rbp
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006c670
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400662f0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006c670
add rsp, 0x68
ret
Function at 0x140069480
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14006965b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400286e0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140069624
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006959c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140069613
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400695d9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400695d3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140069613
cmp r9, rdx
je 0x1400695ef
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140069635
cmp r9, rdx
jne 0x1400695e0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140069520
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140069613
lea rcx, str.invalid_hash_bucket_count
call fcn.14006aaac
int3
Function at 0x14006d570
Capabilities:
Parse pe header

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

Function at 0x14007f798
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14007f7cf
call fcn.14007caa4
mov dword [rax], 0x16
call fcn.14007da7c
xor eax, eax
jmp 0x14007f85d
mov rdx, r9
mov rcx, r8
call fcn.14007f734
mov rbx, rax
test rax, rax
je 0x14007f85a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14007f660]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14007f847
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14007ca18
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14007f82e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14007f83d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400877f0
jmp 0x14007f85a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007f857
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140083164
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140082f60

Function at 0x140085c9c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140085cb2
mov al, 1
jmp 0x140085d12
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140085cc3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140085d10
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400907f0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140085d10
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140085d10
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140085d10
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140085d12
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14008a198
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.14006d380
sub rsp, rax
mov rax, qword [0x1400c7100]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140085b7c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14008a1e7
mov rax, rbp
jmp 0x14008a2ef
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 + 0xca880]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14008bbb8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xca880]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14008a2eb
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 0x14008a2eb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14008bbb8
test rax, rax
js 0x14008a2eb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14008a2eb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14008a2dd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14008a2dd
cmp byte [rcx], 0xd
jne 0x14008a2c3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14008a2d2
cmp byte [rcx + 1], 0xa
jne 0x14008a2d2
inc rcx
jmp 0x14008a2d2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xc7520]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14008a2a5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14008a2ef
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14006c670
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 0x14008af58
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, [0x1400ca880]
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 0x14008afaf
cmp word [rdx], r13w
jne 0x14008afaf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14008afb4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14008b0d9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14008b0fa
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14008afed
mov rdx, r9
mov word [rbx], cx
jmp 0x14008b014
cmp r9, r8
jae 0x14008b024
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 0x14008afce
jmp 0x14008b0d9
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 0x14008b0ce
cmp dword [rsp + 0x80], esi
je 0x14008b0ce
lea r8, [0x1400ca880]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14008b0a6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14008b076
mov word [rbx], r13w
jmp 0x14008b0d6
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 0x14008b083
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14008b0d6
cmp word [rsp + 0x70], r13w
jne 0x14008b0b3
cmp rbx, r14
je 0x14008b070
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14008bbc0
cmp word [rsp + 0x70], r13w
je 0x14008b0d9
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, [0x1400ca880]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14008b0d3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14008b0d9
Function at 0x14008fbd4
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 0x14008fc5b
mov rsi, rbx
cmp word [rax], bp
je 0x14008fc1a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14008fc04
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14008fc00
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140087c74
mov rdi, rax
test rax, rax
je 0x14008fc48
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400982e0
mov rbp, rdi
xor ecx, ecx
call fcn.1400877f0
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 0x140092d44
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.14008615c
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 0x140092de5
cmp ebx, dword [rsp + 0x30]
je 0x140092dde
test esi, esi
je 0x140092dde
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140092db9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140092dc6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140092da3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140092dca
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140092de7
mov eax, 1
jmp 0x140092de7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140097434
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.14008bbc0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14008bbc0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140097584
cmp rax, 0xffffffffffffffff
je 0x140097584
xor edi, edi
test rbp, rbp
jle 0x14009752f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140086730
mov rbx, rax
test rax, rax
jne 0x1400974bc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140097525
mov edx, 0x8000
mov ecx, r14d
call fcn.140083fb4
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.1400874e8
cmp eax, 0xffffffff
je 0x140097505
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400974cc
mov edx, r15d
mov ecx, r14d
call fcn.140083fb4
jmp 0x140097525
cmp byte [rsi + 0x38], dil
je 0x14009751c
cmp dword [rsi + 0x34], 5
jne 0x14009751c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140097525
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400877f0
jmp 0x140097598
jns 0x140097598
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14008bbc0
cmp rax, 0xffffffffffffffff
jne 0x140097550
cmp byte [rsi + 0x30], dil
je 0x140097598
mov edi, dword [rsi + 0x2c]
jmp 0x140097598
mov ecx, r14d
call fcn.1400907f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140097598
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 0x140097598
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140097591
mov eax, dword [rsi + 0x2c]
jmp 0x140097596
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14008bbc0
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 0x140097de0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140097e08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140097e08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x415380
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415526
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004314a0
xorps xmm15, xmm15
mov r14, qword [0x006a9ae8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x4153eb
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415400
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x415425
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415439
cmp rbx, 0x1000
jae 0x4153f5
nop dword [rax]
jmp 0x4154a9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41544d
xor edx, edx
jmp 0x4154a0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004314a0
xorps xmm15, xmm15
mov r14, qword [0x006a9ae8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x41542f
jmp 0x415414
call fcn.00460b80
xorps xmm15, xmm15
mov r14, qword [0x006a9ae8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435a40
lea rax, [0x004f0c71]
mov ebx, 0x18
call fcn.00436340
mov rax, qword [rsp + 0x38]
call fcn.00436040
lea rax, [0x004f0d31]
mov ebx, 0x19
call fcn.00436340
mov rax, qword [rsp + 0x30]
nop
call fcn.00436040
call fcn.00435ca0
call fcn.00435ac0
lea rax, [0x004f3935]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00434100
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cfe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00415380