joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800038f4
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x18011a100]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r13, rdx
mov r15, rcx
mov r14b, 1
xor edi, edi
xor ebx, ebx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov esi, eax
test rbx, rbx
je 0x180003973
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x180003a33
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov esi, eax
test eax, eax
je 0x180003933
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0x180003933
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x180003933
test eax, eax
je 0x1800039be
test r14b, r14b
jne 0x1800039be
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180003933
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4d0
call fcn.1800857b0
lea rdx, [rsp + 0x50]
mov dword [rbp - 0x80], 0x10000b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x180003933
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x180003a1e
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x38]
mov dword [rsp + 0x48], esi
lea r8, [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
inc edi
jmp 0x180003933
xor r14b, r14b
test edi, edi
jne 0x18000392f
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x180003a4d
mov rax, qword [rcx]
call qword [rax + 0x10]
xor ebx, ebx
and qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r9d, r9d
mov r8d, 0x81a
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtGetNextThread]
mov edi, eax
test rbx, rbx
je 0x180003a8f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
js 0x180003abc
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov edi, eax
test eax, eax
je 0x180003a4f
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x180003a4f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x180003a4f
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.180059c00
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x18000f8ec
Capabilities:
Encrypt data using rc4 prga

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
xor r10d, r10d
movzx r14d, cx
mov edi, r14d
mov r15, r9
shr edi, 8
mov rbp, r8
mov r12, rdx
mov esi, r14d
mov ebx, r10d
mov r11d, r10d
test r8, r8
je 0x18000f973
movzx eax, word [r12 + r11*2]
mov edx, eax
movzx ecx, al
shr edx, 8
add edx, ebx
cmp edi, ecx
jb 0x18000f973
jne 0x18000f969
movsxd rcx, ebx
movsxd r9, edx
cmp rcx, r9
jge 0x18000f969
mov eax, 0xff
movzx r8d, r14w
and r8w, ax
movzx eax, byte [rcx + r15]
cmp ax, r8w
je 0x18000f99c
inc rcx
cmp rcx, r9
jl 0x18000f956
inc r11
mov ebx, edx
cmp r11, rbp
jb 0x18000f929
mov cl, 1
cmp qword [rsp + 0x48], r10
jbe 0x18000f9b3
mov r8, qword [rsp + 0x40]
movzx eax, byte [r10 + r8]
test al, al
jns 0x18000f9a0
inc r10
and eax, 0x7f
shl eax, 8
movzx edx, byte [r10 + r8]
or edx, eax
jmp 0x18000f9a2
xor al, al
jmp 0x18000f9b5
mov edx, eax
sub esi, edx
js 0x18000f9b3
xor cl, 1
inc r10
cmp r10, qword [rsp + 0x48]
jb 0x18000f981
mov al, cl
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret

Function at 0x180016ff4
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18001702a
and qword [rsp + 0x28], 0
lea r8, [0x180016fc0]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18001702a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180017380
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1800173a0
xor eax, eax
jmp 0x180017486
cmp qword [rcx + 0x68], 0
je 0x1800173b1
call fcn.18001996c
jmp 0x180017486
mov rax, qword [rcx + 0x38]
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800173c8
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800173ca
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800173fc
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180085070
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180017480
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180017433
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18001745c
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.18006a498
add r14, rax
sub rdi, rax
cmp rax, rbx
jne 0x180017480
cmp rdi, rbx
ja 0x18001743a
test rdi, rdi
je 0x180017480
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.18006a498
sub rdi, rax
sub rbp, rdi
mov rax, rbp
add rsp, 0x20
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18001f52c
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], r8
mov rsi, rdx
mov rbp, rcx
movzx eax, byte [r8]
mov r13d, eax
movabs rcx, 0xcbf29ce484222325
xor r13, rcx
movabs rcx, 0x100000001b3
imul r13, rcx
mov rcx, qword [rbp + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rbx, qword [rdx + rcx*8 + 8]
lea r8, [rbp + 8]
mov r12, qword [r8]
cmp rbx, r12
jne 0x18001f58f
mov rbx, r12
mov r14, r12
jmp 0x18001f5c2
mov rdx, qword [rdx + rcx*8]
jmp 0x18001f59e
cmp rbx, rdx
je 0x18001f5bc
mov rbx, qword [rbx + 8]
cmp al, byte [rbx + 0x10]
jne 0x18001f595
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r12, rbx
mov r14, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [rbp + 0x10], rax
je 0x18001f709
mov qword [rsp + 0x30], r8
and qword [rsp + 0x38], 0
mov ecx, 0x20
call fcn.180059d40
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x20]
mov al, byte [rax]
mov byte [rdi + 0x10], al
and qword [rdi + 0x18], 0
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x18001f616
cvtsi2ss xmm0, rcx
jmp 0x18001f62b
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18001f63e
cvtsi2ss xmm1, rcx
jmp 0x18001f653
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x18001f6ab
mov rcx, rbp
call fcn.180023c14
mov rcx, qword [rbp + 0x30]
and rcx, r13
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x18001f69e
mov r8, qword [rdx + rcx*8]
mov cl, byte [rdi + 0x10]
jmp 0x18001f696
mov rbx, rax
cmp rax, r8
je 0x18001f6df
mov rax, qword [rax + 8]
cmp cl, byte [rax + 0x10]
jne 0x18001f68a
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x18001f6e6
mov qword [rcx + rax*8], rdi
jmp 0x18001f6f8
mov qword [rsp + 0x20], rax
jmp 0x18001f6a3
cmp r8, r14
jne 0x18001f6f1
mov qword [rcx + rax*8], rdi
jmp 0x18001f6fd
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18001f6fd
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18001f5aa
lea rcx, str.unordered_map_set_too_long
call fcn.180036160
int3
Function at 0x180023c14
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdx, qword [rcx + 0x10]
mov edi, 1
add rdx, rdi
mov rbx, qword [rcx + 0x38]
mov rsi, rcx
xorps xmm0, xmm0
js 0x180023c48
cvtsi2ss xmm0, rdx
jmp 0x180023c5d
mov rax, rdx
and rdx, rdi
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.180084850
movss xmm1, dword [0x1801095d0]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x180023c8b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180023c8b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x180023cb9
cmp rbx, 0x200
jae 0x180023cb6
shl rbx, 3
cmp rbx, rcx
jae 0x180023cb9
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rdi
shl rax, cl
cmp rbx, rax
ja 0x180023e21
lea rax, [rbx - 1]
mov rbx, qword [rsi + 8]
or rax, rdi
mov r8, rbx
bsr rcx, rax
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18001aa8c
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 0x180023dd5
movzx r8d, byte [rax + 0x10]
movabs r9, 0xcbf29ce484222325
mov r11, qword [rsi + 0x30]
mov edx, r8d
mov rdi, qword [rsi + 0x18]
xor rdx, r9
mov rcx, qword [rcx]
movabs r9, 0x100000001b3
imul rdx, r9
and r11, rdx
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x180023d5e
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x180023dc9
mov r10, qword [rdi + r11*8 + 8]
cmp r8b, byte [r10 + 0x10]
jne 0x180023d9e
mov r10, qword [r10]
cmp r10, rax
je 0x180023d57
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 0x180023d57
mov r10, qword [r10 + 8]
cmp r8b, byte [r10 + 0x10]
je 0x180023dfb
cmp qword [rdi + r11*8], r10
jne 0x180023d94
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 [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x180023d19
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.180024e20
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov r10, qword [r10]
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 0x180023dc9
lea rcx, str.invalid_hash_bucket_count
call fcn.180036160
int3
Function at 0x180024f94
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, r8
mov r14, rdx
mov r13, rcx
cmp rdx, r8
je 0x1800250fe
mov rbp, qword [rcx + 0x18]
movabs rax, 0xcbf29ce484222325
movzx r15d, byte [rdx + 0x10]
mov rbx, rdx
mov r12, qword [rcx + 8]
xor r15, rax
mov rsi, qword [rdx + 8]
movabs rax, 0x100000001b3
imul r15, rax
and r15, qword [rcx + 0x30]
add r15, r15
mov rax, qword [rbp + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x20], rax
mov rax, rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rbx
mov rbx, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x180025034
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [rsp + 0x38]
mov edx, 0x20
mov rcx, rax
call fcn.18005a0f4
mov rax, qword [rsp + 0x20]
dec qword [r13 + 0x10]
cmp qword [rsp + 0x28], rax
je 0x18002506b
cmp rbx, rdi
jne 0x18002500c
cmp qword [rsp + 0x30], r14
jne 0x1800250f7
mov qword [rbp + r15*8], rbx
jmp 0x1800250f7
cmp qword [rsp + 0x30], r14
jne 0x18002507c
mov qword [rbp + r15*8], r12
mov rax, r12
jmp 0x18002507f
mov rax, rsi
mov qword [rbp + r15*8 + 8], rax
jmp 0x180025129
movzx eax, byte [rbx + 0x10]
movabs rcx, 0xcbf29ce484222325
mov r14, qword [r13 + 0x30]
xor rax, rcx
movabs rcx, 0x100000001b3
imul rax, rcx
and r14, rax
add r14, r14
mov rax, qword [rbp + r14*8 + 8]
mov qword [rsp + 0x28], rax
mov r15, rbx
mov rbx, qword [rbx]
mov rcx, qword [r15 + 0x18]
test rcx, rcx
je 0x1800250d5
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov edx, 0x20
mov rcx, r15
call fcn.18005a0f4
dec qword [r13 + 0x10]
cmp r15, qword [rsp + 0x28]
je 0x18002511f
cmp rbx, rdi
jne 0x1800250bc
mov qword [rbp + r14*8], rbx
mov qword [rsi], rbx
mov qword [rbx + 8], rsi
lea r11, [rsp + 0x40]
mov rax, rdi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rbp + r14*8], r12
mov qword [rbp + r14*8 + 8], r12
cmp rbx, rdi
jne 0x180025089
jmp 0x1800250f7
Function at 0x1800265f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x18011a100]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1800267f0
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.180035d40
test eax, eax
jne 0x180026819
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180026824
and qword [rsi + 0x28], 0
and qword [rsi + 0x30], 0
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x50]
call fcn.1800857b0
and qword [rsp + 0x60], 0
lea r12, vtable.fmt::v10::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], 0
je 0x180026783
mov r8, qword [rsi + 0x28]
cmp qword [rsi + 0x30], r8
jbe 0x180026783
test r8, r8
je 0x1800266dc
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx r14d, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x1800266ff
lea r14d, [rax + 7]
jmp 0x18002671c
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, r14d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx r14d, word [rsp + 0x40]
mov r8, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
cmp r8, rcx
jbe 0x180026747
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, r14w
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsp + 0x60]
cmp r8, rcx
jbe 0x1800267a8
sub r8d, ecx
mov rdx, qword [rsp + 0x58]
add rdx, rcx
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x1800267a8
and dword [rsp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x1800267e8
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800267e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180026813
call fcn.18005a0f4
nop
mov rcx, rbx
call fcn.180035d68
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180059c00
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800600e4
nop
mov ecx, 5
call fcn.180036054
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.180036054
int3
Function at 0x1800296d4
Capabilities:
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x180029704
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x1800296e6
mov rax, r8
ret

Function at 0x1800363c4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800363fe
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180036403
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18003644c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18008a7f0]
cmp byte [rcx + rax], 0
je 0x18003644c
dec r8
sub rdx, 1
jne 0x180036432
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18004f4dc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18003bd3a
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18003bd1d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x18003bd08

Function at 0x180058194
Capabilities:
Encode data using xor

Disassembly:
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp fcn.1800296d4

Function at 0x1800590f8
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.18006aad4
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x18005914a
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x18005914a
sub ecx, 1
je 0x180059143
cmp ecx, 1
je 0x18005913c
xor eax, eax
jmp 0x18005914f
mov eax, 3
jmp 0x18005914f
mov eax, 1
jmp 0x18005914f
mov eax, 2
add rsp, 0x28
ret
Function at 0x1800692dc
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x18011a100]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x18008ec58]
mov rbp, rcx
call fcn.1800767b8
xor edi, edi
test rax, rax
je 0x1800693c2
mov ebx, edi
call fcn.180069a0c
mov r14d, dword [rax]
call fcn.180069a0c
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.180076704
mov rsi, rax
test rax, rax
je 0x180069353
call fcn.180069a0c
mov dword [rax], r14d
jmp 0x18006937d
call fcn.180069a0c
cmp dword [rax], 0x22
jne 0x1800693ba
call fcn.180069a0c
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.180076704
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1800693ba
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x180069381
cmp rax, 3
je 0x18006939c
mov rcx, rsi
call fcn.180069238
test al, al
je 0x1800693ad
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1800693ad
mov dil, 1
mov rcx, rbx
call fcn.180069cd8
mov al, dil
jmp 0x1800693c4
mov rcx, rbx
call fcn.180069cd8
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180059c00
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x180069e9c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x180069ebb
call fcn.18007770c
jmp 0x180069f70
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.1800611c4
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x180069f06
cmp byte [rbp - 0x38], 0
je 0x180069f3b
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x180069f3b
call fcn.180072250
test eax, eax
jne 0x180069f27
cmp byte [rbp - 0x38], al
je 0x180069f1f
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x180069f3b
cmp byte [rbp - 0x38], 0
je 0x180069f38
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.180064afc
test eax, eax
je 0x180069f54
or ebx, 0xffffffff
jmp 0x180069f5f
mov rcx, qword [rbp - 0x20]
call fcn.18007770c
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x180069f6e
mov rcx, qword [rbp - 0x20]
call fcn.180071eec
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x18006e54c
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 0x18006e5bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18006e5bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18006e5bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18006e5bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18006e5bb
cmp dword [rcx + 0x84], 0xe
jbe 0x18006e5bb
cmp dword [rcx + 0xf8], 0
je 0x18006e5bb
mov ecx, ebx
call fcn.18006e66c
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.18006e448
nop
cmp dword [rbp + 0x20], 0
je 0x18006e609
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18006e614
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18006e54c

Function at 0x180071858
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18007186e
mov al, 1
jmp 0x1800718ce
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18007187f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800718cc
mov ecx, dword [rcx + 0x18]
nop
call fcn.180076e54
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800718cc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800718cc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800718cc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800718ce
xor al, al
add rsp, 0x20
pop rbx
ret