joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800719cc
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 0x18007187f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18007187f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18007187f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18007187f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18007187f
cmp dword [rcx + 0x84], 0xe
jbe 0x18007187f
cmp dword [rcx + 0xf8], 0
je 0x18007187f
mov ecx, ebx
call fcn.180071930
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.18007170c
nop
cmp dword [rbp + 0x20], 0
je 0x1800718cd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800718d8
int3
xor r8d, r8d
xor edx, edx
jmp 0x180071810

Function at 0x180072c20
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.18006608c
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x180072c6b
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x180072c9f
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x180072c9f
call fcn.18007c244
xor ebx, ebx
test eax, eax
jne 0x180072c8d
cmp byte [rbp - 0x48], bl
je 0x180072c86
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x180072c9f
cmp byte [rbp - 0x48], bl
je 0x180072c9d
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1800726a8
mov esi, eax
test eax, eax
je 0x180072cdb
call fcn.180064878
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x180072d34
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1800726a8
mov edi, eax
test eax, eax
je 0x180072d17
call fcn.180064878
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x180072d26
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.180085744
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x180072d34
mov rcx, qword [rbp - 0x50]
call fcn.18007a834
cmp byte [rbp - 8], bl
je 0x180072d42
mov rcx, qword [rbp - 0x20]
call fcn.18007a834
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x18007c584
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, str.GetTempPath2W
mov edi, ecx
lea rdx, str.GetTempPath2W
mov ecx, 5
lea r8, [0x1800a3070]
call fcn.18007bfd8
test rax, rax
je 0x18007c5ce
movabs r10, 0xa3e5bf4030d1b870
mov rdx, rbx
mov ecx, edi
call qword [0x1800936f0]
jmp 0x18007c5d9
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18007e304
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, [0x1800ba330]
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 0x18007e35b
cmp word [rdx], r13w
jne 0x18007e35b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18007e360
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18007e485
mov r11d, ntohl
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18007e4a6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18007e399
mov rdx, r9
mov word [rbx], cx
jmp 0x18007e3c0
cmp r9, r8
jae 0x18007e3d0
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 0x18007e37a
jmp 0x18007e485
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 0x18007e47a
cmp dword [rsp + 0x80], esi
je 0x18007e47a
lea r8, [0x1800ba330]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18007e452
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18007e422
mov word [rbx], r13w
jmp 0x18007e482
mov ecx, ntohl
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 0x18007e42f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18007e482
cmp word [rsp + 0x70], r13w
jne 0x18007e45f
cmp rbx, r14
je 0x18007e41c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18007fd28
cmp word [rsp + 0x70], r13w
je 0x18007e485
mov ecx, ntohl
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, [0x1800ba330]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18007e47f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18007e485
Function at 0x18007f970
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18007f986
mov al, 1
jmp 0x18007f9e6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18007f997
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18007f9e4
mov ecx, dword [rcx + 0x18]
nop
call fcn.18008c9a0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18007f9e4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18007f9e4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18007f9e4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18007f9e6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18008571c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18008573c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800647ec
or eax, 0xffffffff
jmp 0x18008573e
xor eax, eax
add rsp, 0x28
ret
Function at 0x18008768c
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 0x1800876bc
xor eax, eax
jmp 0x18008777f
mov rbp, rbx
cmp word [rax], si
je 0x1800876e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800876c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800876c4
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.18008563c
movsxd r14, eax
test eax, eax
jne 0x18008771f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800876b5
mov rcx, r14
call fcn.18007a870
mov rdi, rax
test rax, rax
jne 0x180087738
xor ecx, ecx
call fcn.18007a834
jmp 0x180087714
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.18008563c
test eax, eax
jne 0x180087769
mov rcx, rdi
call fcn.18007a834
jmp 0x180087773
xor ecx, ecx
call fcn.18007a834
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 0x18008779c
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 0x180087823
mov rsi, rbx
cmp word [rax], bp
je 0x1800877e2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1800877cc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1800877c8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.18007a870
mov rdi, rax
test rax, rax
je 0x180087810
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.18008f5a0
mov rbp, rdi
xor ecx, ecx
call fcn.18007a834
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 0x18008aa3c
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.180078c54
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 0x18008aadd
cmp ebx, dword [rsp + 0x30]
je 0x18008aad6
test esi, esi
je 0x18008aad6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18008aab1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18008aabe
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18008aa9b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18008aac2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18008aadf
mov eax, 1
jmp 0x18008aadf
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18008d0c0
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.18007fd28
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18007fd28
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18008d210
cmp rax, 0xffffffffffffffff
je 0x18008d210
xor edi, edi
test rbp, rbp
jle 0x18008d1bb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18007beac
mov rbx, rax
test rax, rax
jne 0x18008d148
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18008d1b1
mov edx, 0x8000
mov ecx, r14d
call fcn.18008cf44
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.18007dc9c
cmp eax, 0xffffffff
je 0x18008d191
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18008d158
mov edx, r15d
mov ecx, r14d
call fcn.18008cf44
jmp 0x18008d1b1
cmp byte [rsi + 0x38], dil
je 0x18008d1a8
cmp dword [rsi + 0x34], 5
jne 0x18008d1a8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohl
cmp byte [rsi + 0x30], dil
je 0x18008d1b1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18007a834
jmp 0x18008d224
jns 0x18008d224
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18007fd28
cmp rax, 0xffffffffffffffff
jne 0x18008d1dc
cmp byte [rsi + 0x30], dil
je 0x18008d224
mov edi, dword [rsi + 0x2c]
jmp 0x18008d224
mov ecx, r14d
call fcn.18008c9a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18008d224
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, ntohl
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohl
jmp 0x18008d224
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18008d21d
mov eax, dword [rsi + 0x2c]
jmp 0x18008d222
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18007fd28
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 0x18008e1e4
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.18006608c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x18008e26e
cmp byte [rbp - 0x21], r15b
je 0x18008e269
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18008e2a4
call fcn.18007c244
test eax, eax
jne 0x18008e290
cmp byte [rbp - 0x21], r15b
je 0x18008e288
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18008e2a4
cmp byte [rbp - 0x21], r15b
je 0x18008e2a1
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.1800726a8
test eax, eax
jne 0x18008e344
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.18006608c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18008e2e3
cmp byte [rbp - 0x21], r15b
je 0x18008e318
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x18008e318
call fcn.18007c244
test eax, eax
jne 0x18008e304
cmp byte [rbp - 0x21], r15b
je 0x18008e2fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x18008e318
cmp byte [rbp - 0x21], r15b
je 0x18008e315
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.1800726a8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18008e344
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18008e347
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18008e355
mov rcx, rdi
call fcn.18007a834
cmp byte [rbp + 0x3f], r15b
je 0x18008e364
mov rcx, qword [rbp + 0x27]
call fcn.18007a834
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 0x18008f0d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18008f0f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18008f0f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001000
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
mov eax, 0x2030
call fcn.1800010b0
sub rsp, rax
mov rbx, rcx
sub edx, 1
je 0x180001045
cmp edx, 1
jne 0x180001091
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x11]
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
test eax, eax
jns 0x180001091
int3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, 0x1004
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180001091
call qword [sym.imp.ntdll.dll_RtlGetLastWin32Error]
test eax, eax
jne 0x180001091
mov ebx, 2
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
dec ebx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test ebx, ebx
jg 0x180001080
mov eax, 1
add rsp, 0x2030
pop rbx
ret
Function at 0x14005cf90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x28], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rdx], r15
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
mov dword [rsp + 0x20], 1
mov rbp, qword [rcx + 8]
mov rbx, qword [rcx]
mov rdx, rbp
sub rdx, rbx
sar rdx, 5
test rdx, rdx
je 0x14005d014
movabs rax, 0x7ffffffffffffff
cmp rdx, rax
ja 0x14005d17c
lfence
mov rcx, rdi
call fcn.140066310
mov rbp, qword [r14 + 8]
mov rbx, qword [r14]
cmp rbx, rbp
je 0x14005d154
movabs r13, 0xcbf29ce484222325
movabs r12, 0x100000001b3
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005d042
mov rdx, qword [rbx]
mov r9, r13
mov rcx, r15
test r8, r8
je 0x14005d063
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, r8
jb 0x14005d050
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0x18]
call fcn.14004e120
dec dword [rax - 0x75]
or byte [rax - 0x7b], cl
leave
jne 0x14005d081
mov rcx, qword [r14 + 0x20]
mov r8, qword [rdi + 0x10]
mov rax, qword [rdi + 8]
cmp rcx, qword [r14 + 0x20]
je 0x14005d0be
cmp rax, r8
je 0x14005d0aa
lea rdx, [rcx + 0x30]
mov rcx, rax
call fcn.140018de0
add qword [rdi + 8], 0x20
jmp 0x14005d147
lea r8, [rcx + 0x30]
mov rdx, rax
mov rcx, rdi
call fcn.14004ddb0
jmp 0x14005d147
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
cmp rax, r8
je 0x14005d0fd
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm1
mov eax, 0xf
mov byte [rsp + 0x40], 0
add qword [rdi + 8], 0x20
jmp 0x14005d112
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, rdi
call fcn.14004df40
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x14005d147
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d142
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005d182
call fcn.140069cb8
add rbx, 0x20
cmp rbx, rbp
jne 0x14005d031
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140069d50
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140066990
int3
call fcn.14007b2e8
int3
Function at 0x180002780
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800027b2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800027b2
nop word cs:[rax + rax]
jmp 0x1800027b0
mov rax, qword gs:[0x60]
mov r10, qword [rax + 0x18]
add r10, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r11, [rcx - 1]
xor eax, eax
mov r14, r10
mov r14, qword [r14]
cmp r14, r10
je 0x1800028ab
mov rsi, r11
test r8b, r8b
je 0x180002890
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002820
sub rsi, rcx
je 0x1800028a2
test r9b, r9b
je 0x1800028a0
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop word [rax + rax]
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002880
test ebp, ebp
jne 0x180002880
add rbx, 1
cmp rsi, rbx
jne 0x180002840
jmp 0x1800028a7
test ebp, ebp
jne 0x18000280c
jmp 0x1800028a7
jmp 0x180002890
jmp 0x1800028a0
test r9b, r9b
je 0x1800028c0
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800028c0
Function at 0x1800028d0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov rax, qword gs:[0x60]
mov r10, qword [rax + 0x18]
add r10, 0x10
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r9b
or r9b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r14b
or r14b, al
lea rax, [rcx - 1]
mov r15, r10
test r8b, r8b
je 0x180002a00
mov r15, qword [r15]
cmp r15, r10
je 0x180002a22
mov rdi, rax
test r9b, r9b
je 0x180002a10
nop word cs:[rax + rax]
nop
cmp byte [rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x180002980
test r14b, r14b
je 0x180002a20
sub rdi, rcx
je 0x1800029e8
mov r12, qword [r15 + 0x60]
xor edx, edx
nop
movzx esi, word [r12 + rdx*2]
lea ebx, [rsi - 0x41]
lea ebp, [rsi + 0x20]
cmp bx, 0x1a
cmovae ebp, esi
movsx ebx, byte [rcx + rdx]
lea r13d, [rbx - 0x41]
lea r11d, [rbx + 0x20]
cmp r13b, 0x1a
cmovae r11d, ebx
sub ebp, r11d
test esi, esi
je 0x1800029e0
test ebp, ebp
jne 0x1800029e0
add rdx, 1
cmp rdi, rdx
jne 0x1800029a0
jmp 0x1800029e8
test ebp, ebp
jne 0x180002954
mov rax, qword [r15 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002a00
jmp 0x180002a10
jmp 0x180002a20
xor eax, eax
jmp 0x1800029ec
Function at 0x1800027b0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800027e2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800027e2
nop word cs:[rax + rax]
nop
jmp 0x1800027e0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800028dc
mov rsi, r10
test r8b, r8b
je 0x1800028f0
nop word cs:[rax + rax]
nop
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002860
test r9b, r9b
je 0x180002900
sub rsi, rcx
je 0x1800028d8
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx edx, word [r15 + rbx*2]
movsx edi, byte [rcx + rbx]
lea r12d, [rdx - 0x41]
lea ebp, [rdx + 0x20]
cmp r12w, 0x1a
cmovae ebp, edx
cmp edi, 0x41
jl 0x1800028ac
lea r12d, [rdi + 0x20]
cmp dil, 0x5b
cmovge r12d, edi
mov edi, r12d
sub ebp, edi
test dx, dx
je 0x1800028d0
test ebp, ebp
jne 0x1800028d0
add rbx, 1
cmp rsi, rbx
jne 0x180002880
jmp 0x1800028d8
test ebp, ebp
jne 0x18000283c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
jmp 0x1800028f0
jmp 0x180002900