joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180029c00
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.18001ca64
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 0x180029ca1
cmp ebx, dword [rsp + 0x30]
je 0x180029c9a
test esi, esi
je 0x180029c9a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180029c75
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180029c82
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180029c5f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180029c86
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180029ca3
mov eax, 1
jmp 0x180029ca3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x141774058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1417741df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141774089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14177406f
add dl, dl
jne 0x141774096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417740f6
xor eax, eax
add dl, dl
jne 0x1417740a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417741ad
add dl, dl
jne 0x1417740b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417740c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417740d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417740dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417740ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14177407e
mov eax, 1
add dl, dl
jne 0x141774106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141774113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417740fb
sub eax, ebx
mov ebx, 1
jne 0x14177414c
mov ecx, 1
add dl, dl
jne 0x14177412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14177413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141774123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14177407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141774168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141774175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14177415d
cmp eax, 0x7d00
jae 0x14177419b
cmp eax, 0x500
jb 0x141774196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14177407e
cmp eax, 0x7f
ja 0x14177419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14177407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417741d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14177407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002e30
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18000301f
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [0x1800ba838]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [0x1800ba848]
call fcn.1800021f0
lea rax, [rdi - 1]
mov qword [0x1800ba860], rax
mov qword [0x1800ba868], rdi
lea rax, [0x1800ba830]
mov qword [rsp + 0x30], rax
mov rcx, qword [0x1800ba838]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x180002fe0
movabs rsi, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop word [rax + rax]
mov rdx, qword [rdx]
movzx r11d, byte [rcx + 0x10]
xor r11, rsi
imul r11, rdi
movzx eax, byte [rcx + 0x11]
xor r11, rax
imul r11, rdi
movzx eax, byte [rcx + 0x12]
xor r11, rax
imul r11, rdi
movzx eax, byte [rcx + 0x13]
xor r11, rax
imul r11, rdi
movzx eax, byte [rcx + 0x14]
xor r11, rax
imul r11, rdi
movzx eax, byte [rcx + 0x15]
xor r11, rax
imul r11, rdi
movzx eax, byte [rcx + 0x16]
xor r11, rax
imul r11, rdi
movzx eax, byte [rcx + 0x17]
xor r11, rax
imul r11, rdi
and r11, qword [0x1800ba860]
shl r11, 4
add r11, qword [0x1800ba848]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180002f5f
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x180002fd4
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x180002f9c
mov r8, qword [rax]
cmp r8, rcx
je 0x180002f96
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x180002fd4
cmp r9, rax
je 0x180002fb0
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x180002ff9
cmp r9, rax
jne 0x180002fa1
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x180002ee0
mov qword [rsp + 0x30], 0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rax]
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
jmp 0x180002fd4
lea rcx, str.invalid_hash_bucket_count
call fcn.18004a734
int3
Function at 0x180003c50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov dword [rbp - 0x29], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], rsi
mov qword [rbp - 0x11], 7
mov qword [rbp - 9], 0xf
mov rax, qword [str.UNKNOWN]
mov dword [rbp - 0x21], eax
movzx eax, word [0x18009df8c]
mov word [rbp - 0x1d], ax
movzx eax, byte [0x18009df8e]
mov byte [rbp - 0x1b], al
mov byte [rbp - 0x1a], sil
lea edx, [rsi + 1]
lea r8d, [rsi + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
jne 0x180003d22
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.1800036b0
mov dword [rbp - 0x29], 1
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x180003e05
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003d18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003e2b
call fcn.18004b4cc
jmp 0x180003e05
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x180003d56
mov qword [rbx + 0x10], 7
mov qword [rbx + 0x18], 0xf
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbx], xmm0
mov dword [rbp - 0x29], 1
jmp 0x180003e05
mov qword [rbp - 1], rsi
lea r9, [rbp + 7]
lea r8, [rbp - 1]
lea rdx, [0x1800a109c]
mov rcx, rax
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x180003d33
mov rcx, qword [rbp - 1]
movzx eax, word [rcx + 0xc]
mov word [rbp + 0x77], ax
movzx eax, word [rcx + 0xe]
mov word [rbp + 0x7f], ax
movzx eax, word [rcx + 8]
mov word [rbp - 0x25], ax
movzx eax, word [rcx + 0xa]
mov word [rbp - 0x23], ax
lea rax, str....
mov qword [rbp + 0x37], rax
mov qword [rbp + 0x3f], 0xb
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x25]
lea r8, [rbp - 0x23]
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 0xf]
call fcn.180004380
nop
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1800a8720]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov dword [rbp - 0x29], 1
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rax, rbx
mov byte [rbp - 0x21], 0
mov qword [rbp - 9], 0xf
mov qword [rbp - 0x11], rsi
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
call fcn.18005212c
int3
Function at 0x180026eb0
Capabilities:
Encode data using xor
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, 0x30
mov rbp, rcx
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax + 0x10]
movzx r12d, byte [rcx + 0x15]
xor r13d, r13d
test r12b, r12b
sete r13b
lea rbx, [rbp + 0x58]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r9, qword [rbp + 0x20]
mov rdx, qword [r9]
cmp rdx, r9
je 0x180026fd0
movabs rcx, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
mov rsi, qword [rdx]
mov rax, qword [rdx + 0x38]
cmp byte [rax + 0x58], 0
jne 0x180026fbc
mov r11, qword [rdx + 0x20]
lea r10, [rdx + 0x10]
cmp qword [rdx + 0x28], 7
jbe 0x180026f44
mov r10, qword [rdx + 0x10]
mov r8, rcx
xor eax, eax
add r11, r11
je 0x180026f68
nop
movzx ecx, byte [rax + r10]
xor r8, rcx
imul r8, rbx
inc rax
cmp rax, r11
jb 0x180026f50
mov r9, qword [rbp + 0x20]
movsxd rcx, dword [rdx + 0x30]
xor rcx, r8
and rcx, qword [rbp + 0x48]
add rcx, rcx
mov rax, qword [rbp + 0x30]
mov r8, qword [rax + rcx*8]
cmp qword [rax + rcx*8 + 8], rdx
jne 0x180026fa0
cmp r8, rdx
jne 0x180026f95
mov qword [rax + rcx*8], r9
mov qword [rax + rcx*8 + 8], r9
jmp 0x180026fa9
mov r9, qword [rdx + 8]
mov qword [rax + rcx*8 + 8], r9
jmp 0x180026fa9
cmp r8, rdx
jne 0x180026fa9
mov qword [rax + rcx*8], rsi
lea rcx, [rbp + 0x20]
call fcn.180028cb0
movabs rcx, 0xcbf29ce484222325
mov r9, qword [rbp + 0x20]
mov rdx, rsi
cmp rsi, r9
jne 0x180026f20
lea rbx, [rbp + 0x58]
mov r8d, r13d
mov rcx, rbp
call fcn.1800280b0
test r12b, r12b
je 0x180026fef
mov r8d, 1
mov rcx, rbp
call fcn.1800280b0
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rbp + 0x18]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180027ed0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1800b70c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.18006d9c0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x180027fbe
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x180027fbe
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x180027fbe
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x180027fbe
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x180027fbe
cmp dword [rsp + 0x80], 0x4550
sete al
jmp 0x180027fc0
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.18004bb30
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x180029700
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1800b70c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov r12, rcx
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x50], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor r13d, r13d
mov qword [rdx], r13
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
mov dword [rbp - 0x50], 1
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp - 0x30], rax
test rax, rax
jg 0x180029775
jmp 0x1800298ac
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x24], xmm0
mov qword [rbp - 0x14], r13
mov dword [rbp - 0x28], 0x1c
lea rdx, [rbp - 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18002989e
lea r13, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
nop dword [rax]
nop dword [rax + rax]
mov rsi, qword [r12]
mov eax, dword [rsi + 8]
cmp dword [rbp - 0x1c], eax
jne 0x180029886
mov ecx, 0x28
call fcn.18004b4d4
mov r14, rax
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r13
lea r15, [rax + 0x10]
mov r8d, dword [rbp - 0x20]
mov qword [r15], rsi
mov dword [r15 + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [r15 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
or dword [rbp - 0x50], 2
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r14
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x180029838
mov qword [rdx], r15
mov qword [rdx + 8], r14
movdqu xmmword [rbp - 0x48], xmm0
add qword [rdi + 8], 0x10
jmp 0x180029845
lea r8, [rbp - 0x48]
mov rcx, rdi
call fcn.180029950
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x180029886
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180029882
mov rbx, qword [rbp - 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180029882
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 0x30]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800297b0
xor r13d, r13d
mov dword [rbp - 0x50], r13d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18004bb30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18002c8f0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1800b70c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor ebp, ebp
test rcx, rcx
je 0x18002c92f
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x18002c944
jle 0x18002c940
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov edi, ebp
mov edx, edi
mov rcx, rbx
call fcn.18002c5e0
inc edi
cmp edi, 4
jl 0x18002c946
cmp qword [rbx + 0x10], 0
je 0x18002ca53
mov eax, dword [0x1800ba960]
test al, 1
jne 0x18002c999
or eax, 1
mov dword [0x1800ba960], eax
mov dword [0x1800ba974], ebp
mov qword [0x1800ba968], rbp
mov dword [0x1800ba970], 0xc0000225
lea rcx, [0x180072e80]
call fcn.18004b4ac
nop
mov rax, qword [rbx]
mov ecx, dword [rax + 8]
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x40], ebp
mov rcx, qword [0x1800ba968]
cmp rcx, 0xffffffffffffffff
je 0x18002ca03
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 0x8005e020
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18002c9f8
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0
jl 0x18002ca03
lea rcx, [rbx + 8]
call fcn.18002ca80
jmp 0x18002ca47
mov rsi, qword [rbx + 8]
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], 0
jne 0x18002ca38
mov r8, qword [rdi + 0x10]
lea rdx, [rbx + 8]
lea rcx, [rbx + 8]
call fcn.18002caf0
mov rcx, rdi
mov rdi, qword [rdi]
mov edx, 0x38
call fcn.18004b4cc
cmp byte [rdi + 0x19], 0
je 0x18002ca11
mov qword [rsi + 8], rsi
mov qword [rsi], rsi
mov qword [rsi + 0x10], rsi
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x50], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18004bb30
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x18002d7b0
Capabilities:
Terminate thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1800b70c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
xor esi, esi
mov qword [r11 - 0x28], rsi
mov rax, qword [rcx + 0x78]
test rax, rax
je 0x18002d8d8
mov rcx, qword [rax + 0x18]
mov rdx, qword [rax]
add rdx, 0x18
mov qword [r11 - 0x18], rsi
je 0x18002d8d8
mov rax, qword [rcx + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [r11 - 0x18]
mov qword [r11 - 0x58], r8
lea r9d, [rsi + 8]
lea r8, [r11 - 0x28]
call qword [rax + 0x18]
cmp qword [rsp + 0x50], rsi
je 0x18002d8d8
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18002d867
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rsi
mov rdx, qword [rbx + 0x78]
test rdx, rdx
je 0x18002d89e
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x40]
call qword [rax + 0x20]
mov qword [rsp + 0x48], rsi
mov rdx, qword [rbx + 0x88]
test rdx, rdx
je 0x18002d8d8
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x48]
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x18002d8eb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18002d98f
call fcn.18002d630
test al, al
je 0x18002d98f
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18002d941
jle 0x18002d93d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov qword [rbx + 0x20], rsi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x18002d981
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18002d981
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x18002d981
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x18002d98f
call fcn.18002d470
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18004bb30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18002e780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1800b70c0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.18006d9c0
mov dword [rsp + 0x60], 0x104
call fcn.180025ac0
mov r15, rax
lea rdx, str.QueryFullProcessImageNameW
lea rcx, [rsp + 0x28]
call fcn.180011710
nop
call fcn.18002a050
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x28]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
cmp rsi, 0xf
cmova rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x18002e853
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18002e840
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1800266d0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x18002e878
cmp rdx, qword [r15 + 8]
je 0x18002e878
mov rdi, qword [rdx + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp rsi, 0xf
jbe 0x18002e8ba
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18002e8b2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e983
mov rcx, rbx
call fcn.18004b4cc
test rdi, rdi
je 0x18002e8d8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
xor edx, edx
call rdi
jmp 0x18002e8ea
mov r8d, dword [rsp + 0x60]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.180011580
nop
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.18002e670
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x18002e94d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002e948
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002e97d
call fcn.18004b4cc
mov rax, rbp
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18004bb30
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.18005212c
int3
call fcn.18005212c
int3