joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025850
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140025880
xor eax, eax
jmp 0x140025943
mov rbp, rbx
cmp word [rax], si
je 0x1400258a5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002588c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140025888
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.140023e7c
movsxd r14, eax
test eax, eax
jne 0x1400258e3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140025879
mov rcx, r14
call fcn.14001e398
mov rdi, rax
test rax, rax
jne 0x1400258fc
xor ecx, ecx
call fcn.14001c37c
jmp 0x1400258d8
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.140023e7c
test eax, eax
jne 0x14002592d
mov rcx, rdi
call fcn.14001c37c
jmp 0x140025937
xor ecx, ecx
call fcn.14001c37c
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 0x14002c8e4
Capabilities:
Set environment variable

Disassembly:
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.140015b14
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002c96e
cmp byte [rbp - 0x21], r15b
je 0x14002c969
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002c9a4
call fcn.14001fa3c
test eax, eax
jne 0x14002c990
cmp byte [rbp - 0x21], r15b
je 0x14002c988
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002c9a4
cmp byte [rbp - 0x21], r15b
je 0x14002c9a1
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.140018650
test eax, eax
jne 0x14002ca44
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140015b14
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002c9e3
cmp byte [rbp - 0x21], r15b
je 0x14002ca18
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002ca18
call fcn.14001fa3c
test eax, eax
jne 0x14002ca04
cmp byte [rbp - 0x21], r15b
je 0x14002c9fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002ca18
cmp byte [rbp - 0x21], r15b
je 0x14002ca15
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.140018650
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002ca44
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002ca47
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002ca55
mov rcx, rdi
call fcn.14001c37c
cmp byte [rbp + 0x3f], r15b
je 0x14002ca64
mov rcx, qword [rbp + 0x27]
call fcn.14001c37c
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 0x14002d854
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.14002201c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002201c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002d9a4
cmp rax, 0xffffffffffffffff
je 0x14002d9a4
xor edi, edi
test rbp, rbp
jle 0x14002d94f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001d0d0
mov rbx, rax
test rax, rax
jne 0x14002d8dc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002d945
mov edx, 0x8000
mov ecx, r14d
call fcn.140019a20
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.14001dc44
cmp eax, 0xffffffff
je 0x14002d925
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002d8ec
mov edx, r15d
mov ecx, r14d
call fcn.140019a20
jmp 0x14002d945
cmp byte [rsi + 0x38], dil
je 0x14002d93c
cmp dword [rsi + 0x34], 5
jne 0x14002d93c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002d945
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001c37c
jmp 0x14002d9b8
jns 0x14002d9b8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002201c
cmp rax, 0xffffffffffffffff
jne 0x14002d970
cmp byte [rsi + 0x30], dil
je 0x14002d9b8
mov edi, dword [rsi + 0x2c]
jmp 0x14002d9b8
mov ecx, r14d
call fcn.140026290
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002d9b8
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 0x14002d9b8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14002d9b1
mov eax, dword [rsi + 0x2c]
jmp 0x14002d9b6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002201c
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 0x140005230
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movzx edx, word [rcx]
movabs rax, 0xcbf29ce484222325
test dx, dx
je 0x140005266
movabs r8, 0x100000001b3
nop dword [rax]
movzx edx, dx
lea rcx, [rcx + 2]
xor rax, rdx
movzx edx, word [rcx]
imul rax, r8
test dx, dx
jne 0x140005250
ret

Function at 0x140005990
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
jbe 0x1400059c5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
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.140005630
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 0x140005b04
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140005a7d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140005af3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140005aba
mov r10, qword [rdx]
cmp r10, rax
je 0x140005ab4
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 0x140005af3
cmp r9, rdx
je 0x140005acf
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140005b15
cmp r9, rdx
jne 0x140005ac0
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 0x140005a30
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 0x140005af3
Function at 0x140005bf0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r14, rdx
mov rsi, rcx
movzx r12d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
movzx eax, byte [r8 + 1]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 2]
xor r12, rax
imul r12, rcx
movzx eax, byte [r8 + 3]
xor r12, rax
imul r12, rcx
mov rcx, r12
and rcx, qword [rsi + 0x30]
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x140005c77
mov rbx, r15
mov rbp, r15
jmp 0x140005cba
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x140005c91
cmp rbx, rcx
je 0x140005cb4
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140005c83
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x555555555555555
cmp qword [rsi + 0x10], rax
jne 0x140005cd8
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, reloc.SinoSPE.dll_Ordinal_48
call fcn.1403ca490
mov rdi, rax
mov qword [rsp + 0x28], rax
mov eax, dword [r13]
mov dword [rdi + 0x10], eax
xor r13d, r13d
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x28], r13
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x140005d22
cvtsi2ss xmm0, rcx
jmp 0x140005d37
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140005d4a
cvtsi2ss xmm1, rcx
jmp 0x140005d5f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
jbe 0x140005db9
mov rcx, rsi
call fcn.140005b40
mov rcx, qword [rsi + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
je 0x140005dac
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x140005da9
mov rbx, rax
cmp rax, rdx
je 0x140005ded
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140005d98
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x140005df4
mov qword [rcx + rax*8], rdi
jmp 0x140005e06
mov qword [rsp + 0x20], rax
jmp 0x140005db1
cmp r8, rbp
jne 0x140005dff
mov qword [rcx + rax*8], rdi
jmp 0x140005e0b
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140005e0b
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x140005c99
Function at 0x1400ceb60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, r8
mov r8, rcx
movabs rax, 0xcbf29ce484222325
movabs rcx, 0x100000001b3
movzx edx, byte [rbx + 0x10]
xor rdx, rax
movzx eax, byte [rbx + 0x11]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rbx + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rbx + 0x13]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
and rdx, qword [r8 + 0x30]
shl rdx, 4
add rdx, qword [r8 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1400cebe9
cmp rax, rbx
jne 0x1400cebdf
mov rax, qword [r8 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400cebf4
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1400cebf4
cmp rax, rbx
jne 0x1400cebf4
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
dec qword [r8 + 0x10]
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rcx, qword [rbx + 8]
mov qword [rdi + 8], rcx
lea rcx, [rbx + 0x18]
call fcn.14008c330
mov edx, 0x150
mov rcx, rbx
call fcn.1403ca488
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400cee90
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
mov r14, rdx
mov rbx, r8
mov r8, rcx
movabs rax, 0xcbf29ce484222325
movabs rcx, 0x100000001b3
movzx edx, byte [rbx + 0x10]
xor rdx, rax
movzx eax, byte [rbx + 0x11]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rbx + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rbx + 0x13]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
and rdx, qword [r8 + 0x30]
shl rdx, 4
add rdx, qword [r8 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1400cef17
cmp rax, rbx
jne 0x1400cef0d
mov rax, qword [r8 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1400cef22
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1400cef22
cmp rax, rbx
jne 0x1400cef22
mov rax, qword [rbx]
mov qword [rdx], rax
mov rsi, qword [rbx]
lea rcx, [rbx + 0xe8]
dec qword [r8 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rsi
mov rax, qword [rbx + 8]
mov qword [rsi + 8], rax
call fcn.140006060
lea rcx, [rbx + 0xb8]
call fcn.140006060
lea rcx, [rbx + 0xa8]
call fcn.1400cfbf0
lea rcx, [rbx + 0x80]
call fcn.1400cfe30
lea rcx, [rbx + 0x58]
call fcn.140006060
lea rcx, [rbx + 0x38]
call fcn.140006060
lea rcx, [rbx + 0x18]
call fcn.140006060
mov edx, 0x120
mov rcx, rbx
call fcn.1403ca488
mov rbx, qword [rsp + 0x50]
mov rax, r14
mov qword [r14], rsi
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400d0af0
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
mov r11, rdx
movabs rax, 0xcbf29ce484222325
xor r9, rax
movzx eax, byte [r8 + 1]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
imul r9, rcx
and rdx, r9
mov r9, qword [r10 + 8]
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, r9
je 0x1400d0b7c
mov ecx, dword [r8]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x1400d0b7e
cmp rax, rdx
je 0x1400d0b7c
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400d0b60
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
xor eax, eax
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
Function at 0x1401250a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1404af540]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rdx
mov qword [rsp + 0x50], rdx
mov rdi, qword [0x1404bad20]
mov r8, rdx
cmp qword [rdx + 0x18], 7
jbe 0x1401250e3
mov r8, qword [rdx]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rdx + 0x10]
add rdx, rdx
mov ebp, 0
mov ecx, ebp
je 0x140125124
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x140125110
mov r8, r14
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x470]
call fcn.140125c20
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140125148
mov rcx, qword [rdi + 0x478]
cmp rcx, qword [rdi + 0x478]
jne 0x1401252cb
mov ebx, ebp
lea rsi, [rdi + 0x4b8]
nop
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.SinoSPE.dll_Ordinal_40]
test al, al
je 0x14012517d
inc ebx
add rsi, 8
cmp ebx, 0xa
jl 0x140125160
jmp 0x1401252cb
cmp qword [rdi + 0x480], rbp
jne 0x1401251cb
mov rcx, qword [0x1404c33f8]
test rcx, rcx
je 0x1401251b8
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0xffffffff
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [rdi]
xor r9d, r9d
mov r8b, 1
movzx edx, r8b
mov rcx, rdi
call qword [rax + reloc.SinoSPE.dll_Ordinal_40]
mov r8, r14
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x470]
call fcn.140125660
mov rcx, qword [rax]
mov dword [rcx + 0x30], ebx
movsxd rbx, ebx
mov rcx, qword [rdi + rbx*8 + 0x4b8]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0x3b0]
mov rcx, qword [rdi + rbx*8 + 0x4b8]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x110]
mov rcx, rdi
call fcn.1401b7c90
mov rax, qword [rdi + 0x4b0]
mov ecx, dword [rax + 0x7c]
sub ecx, dword [rax + 0x74]
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x5c], ecx
cmp byte [rdi + 0x3b0], bpl
je 0x140125259
movups xmm1, xmmword [rdi + 0x3d8]
movdqa xmm0, xmm1
psrldq xmm0, 0xc
movd ebp, xmm0
psrldq xmm1, 4
movd eax, xmm1
jmp 0x14012525b
mov eax, ebp
test ecx, ecx
js 0x14012526b
add eax, ebp
add eax, ecx
js 0x14012526b
mov dword [rdi + 0x8c], eax
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14012529e
mov dword [rsp + 0x30], Ordinal_23
mov eax, dword [rdi + 0x8c]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x88]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi + 0xc8], xmm0
mov rcx, rdi
call fcn.1401b4430
mov edx, 4
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
nop
mov rcx, r14
call fcn.140006060
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1403ca460
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140125610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 7
mov r8, rdx
jbe 0x14012561d
mov r8, qword [rdx]
mov r9, qword [rdx + 0x10]
movabs rcx, 0xcbf29ce484222325
mov edx, 0
add r9, r9
je 0x140125654
movabs r10, 0x100000001b3
nop
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r10
cmp rdx, r9
jb 0x140125640
mov rax, rcx
ret
Function at 0x14012fe60
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
cmp qword [rdx + 0x10], 0
lea rdi, [rcx + 0x58]
mov r14, rdx
mov rbp, rcx
je 0x14012ff9e
lea r9, [0x1404ba700]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x14012fe90
mov rax, qword [rdi + 0x18]
xor esi, esi
mov qword [rsp + 0x50], rbx
cmp rdx, rax
ja 0x14012fede
mov qword [rsp + 0x58], r15
mov r15, rdi
cmp rax, 7
jbe 0x14012febc
mov r15, qword [rdi]
lea rbx, [rdx + rdx]
mov qword [rdi + 0x10], rdx
mov r8, rbx
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + r15], si
mov r15, qword [rsp + 0x58]
jmp 0x14012fee6
mov rcx, rdi
call fcn.140004f70
mov rdx, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x14012ff27
lea rbx, [rcx + 9]
mov qword [rdi + 0x10], rbx
cmp rdx, 7
jbe 0x14012ff0b
mov rdi, qword [rdi]
lea rcx, [rdi + rcx*2]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea rdx, str.Picture_
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx*2], si
jmp 0x14012ff44
lea r9, str.Picture_
mov qword [rsp + 0x20], 9
mov edx, 9
mov rcx, rdi
call fcn.140003d80
cmp qword [r14 + 0x18], 7
mov rdx, r14
mov rbx, qword [rsp + 0x50]
jbe 0x14012ff56
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp + 0x58]
call fcn.140003f40
cmp qword [rbp + 0x70], 7
lea rcx, [rbp + 0x58]
jbe 0x14012ff71
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14012ffb1
lea rax, [rbp + 0x58]
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 7
jbe 0x14012ff8d
mov rax, qword [rax]
mov word [rax], si
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
xor esi, esi
mov qword [rdi + 0x10], rsi
cmp qword [rdi + 0x18], 7
jbe 0x14012ffae
mov rdi, qword [rdi]
mov word [rdi], si
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
jmp 0x14012fe60
Function at 0x1401301e0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
cmp qword [rdx + 0x10], 0
lea rdi, [rcx + 0x58]
mov r14, rdx
mov rbp, rcx
je 0x14012ff9e
lea r9, [0x1404ba700]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x14012fe90
mov rax, qword [rdi + 0x18]
xor esi, esi
mov qword [rsp + 0x50], rbx
cmp rdx, rax
ja 0x14012fede
mov qword [rsp + 0x58], r15
mov r15, rdi
cmp rax, 7
jbe 0x14012febc
mov r15, qword [rdi]
lea rbx, [rdx + rdx]
mov qword [rdi + 0x10], rdx
mov r8, rbx
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + r15], si
mov r15, qword [rsp + 0x58]
jmp 0x14012fee6
mov rcx, rdi
call fcn.140004f70
mov rdx, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x14012ff27
lea rbx, [rcx + 9]
mov qword [rdi + 0x10], rbx
cmp rdx, 7
jbe 0x14012ff0b
mov rdi, qword [rdi]
lea rcx, [rdi + rcx*2]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetUBound
lea rdx, str.Picture_
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx*2], si
jmp 0x14012ff44
lea r9, str.Picture_
mov qword [rsp + 0x20], 9
mov edx, 9
mov rcx, rdi
call fcn.140003d80
cmp qword [r14 + 0x18], 7
mov rdx, r14
mov rbx, qword [rsp + 0x50]
jbe 0x14012ff56
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp + 0x58]
call fcn.140003f40
cmp qword [rbp + 0x70], 7
lea rcx, [rbp + 0x58]
jbe 0x14012ff71
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14012ffb1
lea rax, [rbp + 0x58]
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 7
jbe 0x14012ff8d
mov rax, qword [rax]
mov word [rax], si
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
xor esi, esi
mov qword [rdi + 0x10], rsi
cmp qword [rdi + 0x18], 7
jbe 0x14012ffae
mov rdi, qword [rdi]
mov word [rdi], si
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
jmp 0x14012fe60