joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026240
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, qword [rdx + 8]
mov rdi, rdx
mov rbx, qword [rdx]
mov r14, rcx
cmp rbx, rsi
je 0x14002629a
nop dword [rax]
cmp byte [rbx + 0x20], 0
je 0x140026291
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140026283
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140026291
mov byte [rbx + 0x21], 1
add rbx, 0x28
cmp rbx, rsi
jne 0x140026270
mov rdx, qword [rdi + 0x10]
xor ebp, ebp
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rdi + 0x10], rbp
mov qword [rdi + 8], rbp
mov qword [rdi], rbp
mov qword [r14], rax
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rdx
mov rbx, qword [rdi]
test rbx, rbx
je 0x14002638a
mov rsi, qword [rdi + 8]
cmp rbx, rsi
je 0x140026329
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140026311
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14002630c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400263a8
mov rcx, r8
call fcn.140029e34
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
add rbx, 0x28
cmp rbx, rsi
jne 0x1400262d2
mov r8, qword [rdi]
movabs rax, 0x6666666666666667
mov rcx, qword [rdi + 0x10]
sub rcx, r8
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
cmp rdx, 0x1000
jb 0x140026377
mov rcx, qword [r8 - 8]
add rdx, 0x27
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x1400263a8
mov r8, rcx
mov rcx, r8
call fcn.140029e34
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rbp
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.1400309b4
int3
Function at 0x140026e90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
xor edi, edi
mov dword [rcx], edi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
lea ecx, [rdi + 0x50]
call fcn.140029df8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
lea edx, [rdi + 0x10]
call fcn.140026fd0
movups xmm0, xmmword [0x140054510]
movaps xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x140026f2a
lea r9, [rsp + 0x70]
lea r8, [0x14006f5c8]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140025e00
movups xmm0, xmmword [0x1400544f0]
movaps xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x140026f67
lea r9, [rsp + 0x70]
lea r8, [0x14006f5e8]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140025e00
movups xmm0, xmmword [0x140054500]
movaps xmmword [rsp + 0x40], xmm0
lea r9, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x140026fa4
lea r9, [rsp + 0x70]
lea r8, [0x14006f608]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140025e00
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400279a0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, [0x140054c30]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140027a24
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140054b30]
cmp byte [rcx + rax], 0
je 0x140027a24
dec r8
sub rdx, 1
jne 0x140027a0a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14002aaac
Capabilities:
Parse pe header

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

Function at 0x140036478
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 0x1400362d7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400362d7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400362d7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400362d7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400362d7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400362d7
cmp dword [rcx + 0xf8], 0
je 0x1400362d7
mov ecx, ebx
call fcn.140036394
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.140036164
nop
cmp dword [rbp + 0x20], 0
je 0x140036325
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140036330
int3
xor r8d, r8d
xor edx, edx
jmp 0x140036268
Function at 0x14003fe08
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 0x14003fe3a
call fcn.1400379f4
mov dword [rax], 0x16
call fcn.140030994
jmp 0x14003ff59
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14003ff59
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14003ff59
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14003fe69
lock or dword [rcx + 0x14], 0x10
jmp 0x14003ff59
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14003fe7d
call fcn.1400415b8
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14003ebd0
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140040be8
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14003ff47
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14003ff12
mov rcx, rsi
call fcn.14003ebd0
cmp eax, edi
je 0x14003fefd
mov rcx, rsi
call fcn.14003ebd0
cmp eax, 0xfffffffe
je 0x14003fefd
mov rcx, rsi
call fcn.14003ebd0
movsxd rbx, eax
lea r14, [0x140070ca0]
mov rcx, rsi
sar rbx, 6
call fcn.14003ebd0
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14003ff04
lea rdx, [0x14006d480]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14003ff12
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14003ff36
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14003ff36
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14003ff36
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 0x14003ff5c
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 0x140040284
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.14002a8b0
sub rsp, rax
mov rax, qword [0x14006d0c8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14003ebd0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400402d3
mov rax, rbp
jmp 0x1400403db
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 + 0x70ca0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400413c0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x70ca0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400403d7
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 0x1400403d7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400413c0
test rax, rax
js 0x1400403d7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400403d7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400403c9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400403c9
cmp byte [rcx], 0xd
jne 0x1400403af
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400403be
cmp byte [rcx + 1], 0xa
jne 0x1400403be
inc rcx
jmp 0x1400403be
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x6d4d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140040391
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400403db
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14002a430
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 0x14004073c
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, [0x140070ca0]
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 0x14004079a
cmp word [rdx], r12w
jne 0x14004079a
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400407a0
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400408fb
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400408d6
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400407d9
mov rcx, r9
jmp 0x1400407fc
cmp r9, rdx
jae 0x140040813
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 0x1400407bd
jmp 0x1400408fb
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 0x1400408d0
cmp dword [rsp + 0x80], edi
je 0x1400408d0
mov rdx, r14
lea r11, [0x140070ca0]
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 0x1400408a9
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14004087c
mov word [rbx], r12w
jmp 0x1400408f7
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 0x140040885
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400408f7
cmp word [rsp + 0x70], r12w
jne 0x1400408b6
cmp rbx, rsi
je 0x140040876
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400413c8
cmp word [rsp + 0x70], r12w
je 0x1400408fb
mov word [rbx], r13w
jmp 0x1400408f7
lea r11, [0x140070ca0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400408f3
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400408fb
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 0x140047368
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 0x140047398
xor eax, eax
jmp 0x14004745b
mov rbp, rbx
cmp word [rax], si
je 0x1400473bd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400473a4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400473a0
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.1400428b4
movsxd r14, eax
test eax, eax
jne 0x1400473fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140047391
mov rcx, r14
call fcn.140041624
mov rdi, rax
test rax, rax
jne 0x140047414
xor ecx, ecx
call fcn.14003de54
jmp 0x1400473f0
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.1400428b4
test eax, eax
jne 0x140047445
mov rcx, rdi
call fcn.14003de54
jmp 0x14004744f
xor ecx, ecx
call fcn.14003de54
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 0x14004ea50
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.1400413c8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400413c8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14004eba0
cmp rax, 0xffffffffffffffff
je 0x14004eba0
xor edi, edi
test rbp, rbp
jle 0x14004eb4b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14003de90
mov rbx, rax
test rax, rax
jne 0x14004ead8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14004eb41
mov edx, 0x8000
mov ecx, r14d
call fcn.14003b40c
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.14003faf8
cmp eax, 0xffffffff
je 0x14004eb21
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14004eae8
mov edx, r15d
mov ecx, r14d
call fcn.14003b40c
jmp 0x14004eb41
cmp byte [rsi + 0x38], dil
je 0x14004eb38
cmp dword [rsi + 0x34], 5
jne 0x14004eb38
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14004eb41
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14003de54
jmp 0x14004ebb4
jns 0x14004ebb4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400413c8
cmp rax, 0xffffffffffffffff
jne 0x14004eb6c
cmp byte [rsi + 0x30], dil
je 0x14004ebb4
mov edi, dword [rsi + 0x2c]
jmp 0x14004ebb4
mov ecx, r14d
call fcn.140047c40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14004ebb4
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 0x14004ebb4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14004ebad
mov eax, dword [rsi + 0x2c]
jmp 0x14004ebb2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400413c8
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 0x14078bdf3
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14078be19
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14078be03
mov qword [rcx], rax
ret

Function at 0x14079b591
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor eax, eax
test rbx, rbx
setne al
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
call fcn.140788b4b
test rbx, rbx
je 0x14079b5d2
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.14078bdf3
add rdi, 8
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.14079b7d7
Function at 0x1407ef3d8
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, ecx
mov eax, 0x30
mov rax, qword gs:[eax]
mov rax, qword [rax + 0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x10
mov rdi, qword [rdi]
movzx edx, word [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
call fcn.1407ef4c7
cmp eax, 0x1edab0ed
jne 0x1407ef400
mov r14, qword [rdi + 0x30]
movsxd rax, dword [r14 + 0x3c]
mov eax, dword [rax + r14 + 0x88]
test rax, rax
je 0x1407ef499
mov edi, dword [rax + r14 + 0x18]
mov ecx, dword [rax + r14 + 0x1c]
add rcx, r14
mov qword [rsp + 0x20], rcx
mov r12d, dword [rax + r14 + 0x20]
add r12, r14
mov r13d, dword [rax + r14 + 0x24]
add r13, r14
xor ebx, ebx
xor r15d, r15d
cmp r15, rdi
je 0x1407ef49b
mov rbp, r15
mov ecx, dword [r12 + r15*4]
add rcx, r14
mov rdx, 0xffffffffffffffff
cmp byte [rcx + rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x1407ef469
lea r15, [rbp + 1]
call fcn.1407ef4c7
cmp eax, esi
jne 0x1407ef453
movzx ecx, word [r13 + rbp*2]
cmp rdi, rcx
jbe 0x1407ef4b7
mov rax, qword [rsp + 0x20]
mov ebx, dword [rax + rcx*4]
add rbx, r14
jmp 0x1407ef49b
xor ebx, ebx
movzx eax, word [rbx + 4]
add rbx, 0x12
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x1408ab860]
mov rdx, rdi
call fcn.140822d00
int3

Function at 0x1407ef4c7
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
xor r8d, r8d
cmp r8, rdx
jae 0x1407ef503
mov r9b, byte [rcx + r8]
test r9b, r9b
jne 0x1407ef4e2
inc r8
jmp 0x1407ef4cf
lea r10d, [r9 - 0x20]
cmp r9b, 0x61
movzx r9d, r9b
movzx r10d, r10b
cmovb r10d, r9d
imul r9d, eax, 0x21
movzx eax, r10b
add eax, r9d
jmp 0x1407ef4dd
ret
Function at 0x140816890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14081690a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140816900
cmp r11, r10
ja 0x1408169a1
cmp r10, rdx
ja 0x1408169b3
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140816902
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1408168e0
jmp 0x140816977
ja 0x14081690a
mov r11, r10
cmp rax, r8
jne 0x1408168b2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14081697b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140816950
mov r8, r10
sub ecx, r9d
jns 0x14081696e
jmp 0x14081697d
cmp r10, rdx
je 0x140816989
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14081697d
xor al, 1
cmp r8, rdx
jne 0x140816930
jmp 0x14081697d
xor eax, eax
jmp 0x14081697d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1408b18b1]
lea r8, [0x1408b2c40]
mov edx, 0x2b
call fcn.140822c00
lea r8, [0x1408b2c58]
mov rcx, r11
mov rdx, r10
call fcn.1408231b0
lea r8, [0x1408b2c58]
mov rcx, r10
call fcn.140823130
int3

Function at 0x14081a790
Capabilities:
Parse pe header

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

Function at 0x140131ea5
Capabilities:
Encode data using xor

Disassembly:
add r10, 0xc
xor edx, edx
test r8, r8
lea rsp, [rsp + 8]
je 0x140148cb3
jmp 0x140148c4d

Function at 0x140132ca6
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + rcx - 0x1010958e], rdi
lea rdi, [0x140161868]
movzx ecx, byte [r10]
push 0xfffffffffa837da7
xor ecx, edx
and ecx, 0xff
dec qword [rsp]
mov ecx, dword [rdi + rcx*4]
shr edx, 8
xor edx, ecx
inc r10
xor edx, 0x46002e0d
dec rax
lea rsp, [rsp + 8]
jne 0x140132cb5
mov edi, 0x72965b90
bswap edi
pop rdi
Function at 0x140d9d9c1
Capabilities:
Encode data using xor

Disassembly:
mov rdi, qword [r11]
mov qword [rsp], rbp
push rbp
mov rbp, qword [r11 + 8]
add r11, 0xc
dec dword [rsp + 0xb]
xor r9d, r9d
test rbp, rbp
not dword [rsp + 2]
lea rsp, [rsp + 0x10]
je 0x140d9dedb
mov ecx, 0x9831f11e
jmp 0x140d9de96
sal rcx, 0x2f
push rsi
lea rcx, [0x140da8b38]
movzx esi, byte [rdi]
push 0xffffffffce811206
xor esi, r9d
and esi, 0xff
mov esi, dword [rcx + rsi*4]
shr r9d, 8
xor r9d, esi
inc rdi
xor r9d, 0x77b7abaa
rol qword [rsp], 0xc8
dec rbp
lea rsp, [rsp + 8]
jne 0x140d9dea2
pop rsi
not r9d
jmp 0x140dab9f9
push 0x7cbc8738
not dword [rsp + 4]
mov dword [r11], r9d
lea rsp, [rsp + 8]
jmp 0x140d8262f

Function at 0x140da0341
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140d9adf9
push rdi
lea rdi, [r9*2 + 0x372b5d04]
lea rdi, [0x140d76910]
mov r9d, 0x3c1635b0
push r9
inc r9b
movzx r9d, byte [r9 + rbp - 0x3c1635b1]
xor r9d, edx
and r9d, 0xff
mov r9d, dword [rdi + r9*4]
push 0xffffffffec198ea3
shr edx, 8
sar dword [rsp + 0xc], 0xd6
xor edx, r9d
inc rbp
xor edx, 0xcd0c933b
dec rax
lea rsp, [rsp + 0x10]
jne 0x140d84484
jmp 0x140da465c
pop rdi
push 0xffffffffc61f503d
not edx
call fcn.140da0556
lea rsp, [rsp + 0x10]
je 0x140d9adfa
mov r9d, 0xe980b011
or r9, r9
jne 0x140d84474
jmp 0x140d7dca9