joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001cfb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001d015
lea rbx, [0x140162090]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001cff4
cmp r10, 2
jb 0x14001cff4
cmp byte [r9], r8b
jne 0x14001cff4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
xor rdx, rcx
mov ecx, eax
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r10, r10
jne 0x14001cfd0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001d05b
lea rbx, [0x140162090]
cmp r8b, 0x23
jne 0x14001d03b
cmp byte [r9], r8b
jne 0x14001d03b
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
mov ecx, eax
inc r9
shr ecx, 8
mov eax, dword [rbx + rdx*4]
xor eax, ecx
test r8b, r8b
jne 0x14001d028
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14001d220
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14001d253
mov r8d, 0x6fb
lea rdx, str.e:codecppocean2ocean2guiimguiimgui.cpp
lea rcx, str.filename__mode
call fcn.140067378
test rsi, rsi
je 0x14001d25f
mov qword [rsi], 0
lea rdx, [0x14009c3cc]
mov rcx, rbx
call fcn.14001d070
mov rdi, rax
test rax, rax
jne 0x14001d286
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rdi
mov qword [rsp + 0x38], r14
call fcn.140064dc8
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001d367
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.140065318
test eax, eax
jne 0x14001d367
mov rcx, rdi
call fcn.140064dc8
movsxd rbx, eax
cmp ebx, 0xffffffff
je 0x14001d367
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call fcn.140065318
test eax, eax
jne 0x14001d367
mov rbp, rbx
cmp rbx, 0xffffffffffffffff
je 0x14001d367
mov rax, qword [0x14017e8b0]
test rax, rax
je 0x14001d2fd
inc dword [rax + 0xec]
mov rdx, qword [0x14017e8b8]
mov rcx, rbp
call fcn.14001c1e0
mov r14, rax
test rax, rax
je 0x14001d367
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call fcn.140066b2c
mov rcx, rdi
mov rbx, rax
call fcn.140064f80
cmp rbx, rbp
je 0x14001d35a
mov rax, qword [0x14017e8b0]
test rax, rax
je 0x14001d349
dec dword [rax + 0xec]
mov rdx, qword [0x14017e8b8]
mov rcx, r14
call fcn.14001c1f0
jmp 0x14001d36f
test rsi, rsi
je 0x14001d362
mov qword [rsi], rbp
mov rax, r14
jmp 0x14001d371
mov rcx, rdi
call fcn.140064f80
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f5a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0xc8]
mov r14, rcx
movsxd rdi, edx
mov ebx, edi
mov esi, edi
mov ebp, edi
shr ebx, 0x18
mov r9d, edi
shr esi, 0x10
mov r10d, edi
shr ebp, 8
mov r11d, edi
shr r9d, 8
shr r10d, 0x10
movzx edx, dil
shr r11d, 0x18
test eax, eax
jg 0x14001f61a
mov r8d, 0x70d
lea rdx, str.e:codecppocean2ocean2guiimguiimgui.h
lea rcx, str.Size___0
call fcn.140067378
mov eax, dword [r14 + 0xc8]
movzx edx, dil
movzx r9d, bpl
movzx r10d, sil
movzx r11d, bl
movsxd rcx, eax
lea rbx, [0x140162090]
mov rax, qword [r14 + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
movzx eax, dl
not r8d
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, r9b
mov edx, dword [rbx + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, r10b
mov r8d, dword [rbx + rcx*4]
xor r8d, edx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, r11b
mov edx, dword [rbx + rcx*4]
xor edx, r8d
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x14017e8b0]
mov ebx, dword [rbx + rcx*4]
xor ebx, edx
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x14001f699
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x14001f6a8
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x14001f6bf
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140033130
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140024f00
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x140024f54
lea r11, [0x140162090]
cmp r9b, 0x23
jne 0x140024f33
cmp byte [r8], r9b
jne 0x140024f33
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
mov eax, ecx
inc r8
shr eax, 8
mov ecx, dword [r11 + rdx*4]
xor ecx, eax
test r9b, r9b
jne 0x140024f20
not ecx
jmp fcn.140024e70
Function at 0x14002c810
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14017b088]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14017e8b0]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x14002c844
cmp byte [rbx + 0x41ce], 0
je 0x14002c8b9
movss xmm1, dword [rbx + 0x3830]
xor ecx, ecx
movaps xmm0, xmm1
mov edi, 1
mulss xmm0, dword [0x14016ced8]
mulss xmm1, dword [0x14016cec8]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
or dword [rbx + 0x3f30], 1
mov qword [rbx + 0x3f48], rcx
movss dword [rbx + 0x3f40], xmm0
mov dword [rbx + 0x3f34], edi
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x14016ce14]
or dword [rbx + 0x3f30], 0x40
movss dword [rbx + 0x3f90], xmm0
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14001cea0
test dil, 1
je 0x14002c97f
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14002c935
lea r11, [0x140162090]
cmp r9b, 0x23
jne 0x14002c914
cmp byte [r8], r9b
jne 0x14002c914
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
mov eax, edx
inc r8
shr eax, 8
mov edx, dword [r11 + rcx*4]
xor edx, eax
test r9b, r9b
jne 0x14002c901
not edx
mov ecx, edx
call fcn.140024e70
test rax, rax
je 0x14002c97f
cmp byte [rax + 0x8e], 0
je 0x14002c97f
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.14001cea0
mov r8d, 0x20c0347
lea rcx, [rsp + 0x20]
call fcn.140027aa0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005c070
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140054190
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x13e0
call fcn.14005cde0
sub rsp, rax
mov rax, qword [0x14017b088]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
call fcn.1400591e0
mov edx, 1
mov dword [rsp + 0x13c4], 0xffffffff
mov r8d, edx
mov dword [rsp + 0x44], eax
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
inc r8d
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jl 0x1400541e0
xor ebx, ebx
mov dword [rsp + 0x40], 0x270
mov edi, 0x80000000
lea esi, [rbx - 1]
lea rcx, [rsp + 0x40]
call fcn.140009160
mov r8d, eax
mov eax, 0xa36e71a3
mul r8d
shr edx, 8
cmp edx, 0xa36e71
jae 0x140054215
mov eax, 0xa36e71a3
mul r8d
shr edx, 8
imul ecx, edx, 0x191
sub r8d, ecx
lea eax, [r8 + rdi]
cmp eax, edi
lea ecx, [rax - 0x80000000]
cmovae ecx, r8d
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
lea rcx, [rsp + 0x40]
call fcn.140009160
mov r8d, eax
mov eax, 0x75f50b53
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 9
cmp ecx, 0x5d7d42
jae 0x140054260
mov eax, 0x75f50b53
movss dword [rsp + 0x28], xmm1
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
mov rdx, qword [0x14017ea68]
shr eax, 9
imul eax, eax, 0x2bd
sub r8d, eax
lea eax, [r8 + rdi]
cmp eax, edi
lea ecx, [rax - 0x80000000]
cmovae ecx, r8d
cmp qword [0x14017ea70], rdx
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
je 0x1400542ed
movsd xmm0, qword [rsp + 0x24]
movsd qword [rdx], xmm0
add qword [0x14017ea68], 8
jmp 0x140054300
lea r8, [rsp + 0x24]
lea rcx, [0x14017ea60]
call fcn.1400545e0
nop
lea rcx, [rsp + 0x40]
call fcn.140009160
and eax, 1
lea ecx, [rax + rdi]
cmp ecx, edi
lea edx, [rcx - 0x80000000]
lea rcx, [rsp + 0x40]
cmovae edx, eax
mov eax, 1
test edx, edx
cmove eax, esi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.140009160
and eax, 1
movss dword [rsp + 0x30], xmm1
lea ecx, [rax + rdi]
cmp ecx, edi
lea edx, [rcx - 0x80000000]
cmovae edx, eax
mov eax, 1
test edx, edx
mov rdx, qword [0x14017ea80]
cmove eax, esi
cmp qword [0x14017ea88], rdx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
je 0x140054388
movsd xmm0, qword [rsp + 0x2c]
movsd qword [rdx], xmm0
add qword [0x14017ea80], 8
jmp 0x1400543a0
lea r8, [rsp + 0x2c]
lea rcx, [0x14017ea78]
call fcn.1400545e0
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.140009160
and eax, 1
lea ecx, [rax - 0x7ffffffd]
cmp ecx, edi
lea eax, [rcx - 0x80000000]
lea edx, [rcx + rdi]
cmovae edx, eax
mov rax, qword [0x14017ea98]
cmp qword [0x14017eaa0], rax
mov dword [rsp + 0x20], edx
je 0x1400543e1
mov dword [rax], edx
add qword [0x14017ea98], 4
jmp 0x1400543f5
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [0x14017ea90]
call fcn.140054430
inc ebx
cmp ebx, 0xa
jl 0x140054215
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.14005c070
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140064b48
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.14005cde0
sub rsp, rax
mov rax, qword [0x14017b088]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140078098
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140064b97
mov rax, rbp
jmp 0x140064c9f
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 + 0x17e060]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140078330
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x17e060]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140064c9b
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 0x140064c9b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140078330
test rax, rax
js 0x140064c9b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140064c9b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140064c8d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140064c8d
cmp byte [rcx], 0xd
jne 0x140064c73
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140064c82
cmp byte [rcx + 1], 0xa
jne 0x140064c82
inc rcx
jmp 0x140064c82
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x17b4f0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140064c55
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140064c9f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14005c070
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 0x140070d28
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 0x140070b87
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x140070b87
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140070b87
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140070b87
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140070b87
cmp dword [rcx + 0x84], 0xe
jbe 0x140070b87
cmp dword [rcx + 0xf8], 0
je 0x140070b87
mov ecx, ebx
call fcn.140070c44
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.140070a14
nop
cmp dword [rbp + 0x20], 0
je 0x140070bd5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140070be0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140070b18
Function at 0x1400783dc
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14017e060]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14007843a
cmp word [rdx], r12w
jne 0x14007843a
or byte [rax + r8*8 + 0x38], cl
jmp 0x140078440
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14007859b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140078576
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140078479
mov rcx, r9
jmp 0x14007849c
cmp r9, rdx
jae 0x1400784b3
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14007845d
jmp 0x14007859b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140078570
cmp dword [rsp + 0x80], edi
je 0x140078570
mov rdx, r14
lea r11, [0x14017e060]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140078549
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14007851c
mov word [rbx], r12w
jmp 0x140078597
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140078525
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140078597
cmp word [rsp + 0x70], r12w
jne 0x140078556
cmp rbx, rsi
je 0x140078516
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140078338
cmp word [rsp + 0x70], r12w
je 0x14007859b
mov word [rbx], r13w
jmp 0x140078597
lea r11, [0x14017e060]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140078593
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14007859b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140079560
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140079592
call fcn.140064024
mov dword [rax], 0x16
call fcn.140064708
jmp 0x1400796b1
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400796b1
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400796b1
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400795c1
lock or dword [rcx + 0x14], 0x10
jmp 0x1400796b1
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400795d5
call fcn.14007a5fc
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140078098
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140078888
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14007969f
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14007966a
mov rcx, rsi
call fcn.140078098
cmp eax, edi
je 0x140079655
mov rcx, rsi
call fcn.140078098
cmp eax, 0xfffffffe
je 0x140079655
mov rcx, rsi
call fcn.140078098
movsxd rbx, eax
lea r14, [0x14017e060]
mov rcx, rsi
sar rbx, 6
call fcn.140078098
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14007965c
lea rdx, [0x14017b5f0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14007966a
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14007968e
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14007968e
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14007968e
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1400796b4
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140080ba4
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 0x140080c2b
mov rsi, rbx
cmp word [rax], bp
je 0x140080bea
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140080bd4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140080bd0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14007ad4c
mov rdi, rax
test rax, rax
je 0x140080c18
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14005e110
mov rbp, rdi
xor ecx, ecx
call fcn.140079064
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 0x140086bd4
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.140078338
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140078338
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140086d24
cmp rax, 0xffffffffffffffff
je 0x140086d24
xor edi, edi
test rbp, rbp
jle 0x140086ccf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14007b164
mov rbx, rax
test rax, rax
jne 0x140086c5c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140086cc5
mov edx, 0x8000
mov ecx, r14d
call fcn.14007570c
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.14007ca0c
cmp eax, 0xffffffff
je 0x140086ca5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140086c6c
mov edx, r15d
mov ecx, r14d
call fcn.14007570c
jmp 0x140086cc5
cmp byte [rsi + 0x38], dil
je 0x140086cbc
cmp dword [rsi + 0x34], 5
jne 0x140086cbc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140086cc5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140079064
jmp 0x140086d38
jns 0x140086d38
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140078338
cmp rax, 0xffffffffffffffff
jne 0x140086cf0
cmp byte [rsi + 0x30], dil
je 0x140086d38
mov edi, dword [rsi + 0x2c]
jmp 0x140086d38
mov ecx, r14d
call fcn.140081288
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140086d38
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.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 0x140086d38
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140086d31
mov eax, dword [rsi + 0x2c]
jmp 0x140086d36
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140078338
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 0x140005a40
Capabilities:
Get geographical location

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x140005c13
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov rdx, qword [rax + 8]
nop dword [rax]
test rdx, rdx
je 0x140005ad1
cmp rcx, rdx
jae 0x140005ac7
sub rdx, rcx
cmp rdi, rdx
cmova rdi, rdx
movzx edx, byte [rax + 0x17]
test dl, 0x40
je 0x140005aae
and edx, 0x1f
cmp dl, 0x11
jne 0x140005a94
mov qword [rsp + 0x80], rax
xor edx, edx
jmp 0x140005ba0
cmp dl, 0x19
jne 0x140005b7e
mov rdx, qword [rax + 0x38]
mov rsi, qword [rax + 0x40]
mov qword [rsp + 0x48], rsi
xor eax, eax
jmp 0x140005aeb
mov rdx, qword [rax + 0x20]
mov rax, rbx
mov rbx, rdx
call fcn.140005960
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
add rdx, 0x18
inc rax
sub rdi, r8
mov rcx, r9
mov rbx, r10
cmp rax, rsi
jge 0x140005b74
mov r8, qword [rdx + 8]
cmp qword [r8], rcx
jbe 0x140005b48
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x60], r8
mov rax, r8
nop
call fcn.140005a40
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov r8, qword [rsp + 0x60]
mov r8, qword [r8]
cmp rcx, r8
mov r9, rcx
cmova rcx, r8
mov r10, r8
sub r8, rcx
sub r9, rcx
add r10, rbx
cmp rdi, r8
ja 0x140005adb
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
lea rax, [0x1405c6896]
mov ebx, 0xc
call fcn.140037aa0
inc rdx
sub rdi, rsi
mov rcx, r8
mov rbx, r9
nop dword [rax + rax]
cmp qword [rax + 0x40], rdx
jbe 0x140005b74
mov rsi, qword [rax + 0x30]
cmp qword [rsi], rcx
jbe 0x140005be7
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x28], rcx
mov rax, rsi
call fcn.140005a40
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rax + 0x30]
mov rsi, qword [rsi]
cmp rcx, rsi
mov r8, rcx
cmova rcx, rsi
mov r9, rsi
sub rsi, rcx
sub r8, rcx
add r9, rbx
cmp rdi, rsi
ja 0x140005b8f
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140069e40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.140005a40