joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a2cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov r11, r8
mov r15, rdx
mov r14, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14007a303
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x14007a332
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14007a314
mov rax, rcx
shr rax, 0x20
xor rcx, rax
mov rdx, qword [r14 + 0x28]
mov rsi, rdx
and rsi, rcx
cmp qword [r14 + 0x30], rsi
ja 0x14007a359
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rsi, rax
mov rbx, qword [r14]
add rsi, rsi
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + rsi*8]
cmp rbx, rcx
je 0x14007a3be
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14007a3be
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r11
call fcn.14003dce4
test al, al
jne 0x14007a399
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rax + rsi*8]
jne 0x14007a379
jmp 0x14007a3be
mov rdx, r11
lea rcx, [rbx + 0x10]
call fcn.14003dce4
test al, al
jne 0x14007a3ae
mov rbx, qword [rbx]
jmp 0x14007a3be
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14007a4a3
mov rax, qword [r14]
mov rdi, qword [rax]
mov r9, r11
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.140048258
mov rdx, rax
mov rax, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rax
cmp rcx, 1
jb 0x14007a4b8
inc rax
mov qword [r14 + 8], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov rcx, qword [r14]
mov rdi, qword [rcx]
mov qword [rsp + 0x60], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14007a446
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
cmp qword [rdx + rsi*8], rcx
jne 0x14007a45f
mov qword [rdx + rsi*8], rdi
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x14007a48f
cmp qword [rdx + rsi*8], rbx
jne 0x14007a46b
mov qword [rdx + rsi*8], rdi
jmp 0x14007a48f
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rdi
je 0x14007a48f
mov rdx, qword [r14 + 0x10]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.14007a4cc
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
lea rcx, str.list_T__too_long
call fcn.1400a360c
int3
Function at 0x14007a5a8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
lea r9, [r8 + 0x10]
mov rbx, rdx
cmp qword [r9 + 0x18], 8
mov r10, rcx
mov rdx, qword [r9 + 0x10]
jb 0x14007a5ca
mov r9, qword [r9]
xor ecx, ecx
movabs r11, 0xcbf29ce484222325
add rdx, rdx
je 0x14007a5f9
movzx eax, byte [r9 + rcx]
movabs rdi, 0x100000001b3
xor r11, rax
inc rcx
imul r11, rdi
cmp rcx, rdx
jb 0x14007a5db
mov rcx, qword [r10 + 0x28]
mov rdx, r11
shr rdx, 0x20
xor rdx, r11
and rdx, rcx
cmp qword [r10 + 0x30], rdx
ja 0x14007a61d
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rdx, rax
mov rcx, qword [r10 + 0x10]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14007a64c
cmp qword [rcx + rdx*8], r8
jne 0x14007a641
mov rax, qword [r10]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r10 + 0x10]
mov rax, qword [r10]
jmp 0x14007a645
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14007a659
cmp qword [rcx + rdx*8], r8
jne 0x14007a659
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
lea rdx, [rsp + 0x30]
mov rcx, r10
call fcn.14007a684
mov rcx, qword [rax]
mov rax, rbx
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14007a8f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14007a92d
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x14007a95c
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14007a93e
mov rax, rcx
shr rax, 0x20
xor rcx, rax
mov rdx, qword [rsi + 0x28]
mov r11, rdx
and r11, rcx
cmp qword [rsi + 0x30], r11
ja 0x14007a983
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add r11, rax
mov rbx, qword [rsi]
add r11, r11
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + r11*8]
cmp rbx, rcx
je 0x14007a9f8
mov rbx, qword [rax + r11*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14007a9f8
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r14
call fcn.14003dce4
test al, al
jne 0x14007a9c3
mov rax, qword [rsi + 0x10]
cmp rbx, qword [rax + r11*8]
jne 0x14007a9a3
jmp 0x14007a9f8
mov rdx, r14
lea rcx, [rbx + 0x10]
call fcn.14003dce4
test al, al
jne 0x14007a9d8
mov rbx, qword [rbx]
jmp 0x14007a9f8
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.14007a684
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14007aa8c
mov rax, qword [rdi]
cmp rbx, rax
je 0x14007aa2d
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [rsi + 0x10]
mov rax, qword [rdx + r11*8]
cmp rax, qword [rsi]
jne 0x14007aa49
mov qword [rdx + r11*8], rdi
mov rax, qword [rsi + 0x10]
mov qword [rax + r11*8 + 8], rdi
jmp 0x14007aa78
cmp rax, rbx
jne 0x14007aa54
mov qword [rdx + r11*8], rdi
jmp 0x14007aa78
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r11*8 + 8], rcx
cmp rcx, rdi
je 0x14007aa78
mov rdx, qword [rsi + 0x10]
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r11*8 + 8], rcx
mov rcx, rsi
call fcn.14007a4cc
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14008a878
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
mov r9, qword [rdx + 0x10]
jb 0x14008a88f
mov rdx, qword [rdx]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x14008a8bf
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r10
cmp r8, r9
jb 0x14008a8a1
mov rax, rcx
mov edx, 0x1f31d
shr rax, 0x20
xor ecx, eax
btr ecx, 0x1f
call qword [sym.imp.msvcrt.dll_ldiv]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rsp + 0x30], 0xb14
sub ecx, eax
jns 0x14008a8fe
add ecx, 0x7fffffff
mov rdx, qword [rbx + 0x28]
movsxd rax, ecx
and rax, rdx
cmp qword [rbx + 0x30], rax
ja 0x14008a91b
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
add rsp, 0x20
pop rbx
ret

Function at 0x1400978ac
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xe0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140124d60]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400978ea
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140097911
test rbx, rbx
je 0x14009790d
and dword [rbx], 0
call fcn.1400988f4
mov qword [rbx + 8], rax
mov al, 1
jmp 0x14009796e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
and dword [rsp + 0x20], 0
call fcn.1400988f4
mov qword [rsp + 0x28], rax
cmp esi, 0xb7
jne 0x14009795c
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140097b44
cmp dword [rax], 3
jne 0x14009795c
test rbx, rbx
je 0x14009796c
and dword [rbx], 0
call fcn.1400988f4
jmp 0x140097968
test rbx, rbx
je 0x140097994
call fcn.1400988f4
mov dword [rbx], esi
mov qword [rbx + 8], rax
xor al, al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400c0e50
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rsp + 0x48]
call fcn.140004614
nop
call fcn.1400988f4
mov r8, rax
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.14002860c
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x20]
mov r8, rdi
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140096c34
lea rdx, [0x14011afa0]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x1400979f4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x140124d60]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
mov edi, eax
mov eax, 1
xor esi, esi
test edi, edi
cmove edi, eax
mov ecx, edi
lea eax, [rsi + 2]
mul rcx
lea rbp, [rsi - 1]
cmovo rax, rbp
mov rcx, rax
call fcn.1400a4470
mov rbx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], sil
lea r8d, [rsi + 0x1f]
lea rdx, str.boost::filesystem::current_path
lea rcx, [rsp + 0x30]
call fcn.14000482c
nop
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140097ab0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x140097ab2
mov eax, esi
lea r8, [rsp + 0x30]
mov ecx, eax
call fcn.140096d2c
nop
cmp qword [rsp + 0x48], 0x10
jb 0x140097ad8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], rsi
mov word [r14], si
cmp word [rbx], si
je 0x140097af9
inc rbp
cmp word [rbx + rbp*2], si
jne 0x140097aed
mov rsi, rbp
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call fcn.140006eec
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rax, r14
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c0e50
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140097b44
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rax, qword [0x140124d60]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x140097b84
mov rcx, qword [rdx]
jmp 0x140097b87
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x140097bae
mov r8, r15
mov rdx, rdi
mov rcx, rsi
call fcn.14009722c
jmp 0x140097cd1
xor r12d, r12d
bt r14d, 0xa
jae 0x140097c97
cmp qword [rdi + 0x18], 8
jb 0x140097bc8
mov rdx, qword [rdi]
jmp 0x140097bcb
mov rdx, rdi
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp word [rdx], r12w
jne 0x140097be7
mov r8, r12
jmp 0x140097bf5
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140097beb
lea rcx, [rbp - 0x30]
call fcn.140006eec
mov dword [rsp + 0x28], 0x2000000
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140097110
mov rbx, rax
mov qword [rbp - 0x40], rax
cmp qword [rbp - 0x18], 8
jb 0x140097c2f
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x30], r12w
cmp rbx, 0xffffffffffffffff
jne 0x140097c57
mov r8, r15
mov rdx, rdi
mov rcx, rsi
call fcn.14009722c
nop
jmp 0x140097cd1
mov rcx, rdi
call fcn.140097154
test al, al
jne 0x140097c88
mov edx, r14d
mov rcx, rdi
call fcn.140096dc0
mov dword [rsi], 9
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x140097cd1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r15, r15
je 0x140097ca8
mov dword [r15], r12d
call fcn.1400988f4
mov qword [r15 + 8], rax
mov edx, r14d
mov rcx, rdi
test r14b, 0x10
mov dword [rbp - 0x40], 3
jne 0x140097cc2
mov dword [rbp - 0x40], 2
call fcn.140096dc0
mov dword [rbp - 0x3c], eax
mov rax, qword [rbp - 0x40]
mov qword [rsi], rax
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c0e50
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140098c90
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0xb0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140124d60]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x30], 0xc15730e2
mov dword [rsp + 0x34], 0x7f0725e3
mov byte [rsp + 0x38], 0
and qword [rsp + 0x40], 0
mov byte [rsp + 0x48], 0
mov eax, dword [0x1401261c8]
cmp eax, dword [rsp + 0x30]
je 0x140098e07
mov ecx, dword [rsp + 0x34]
xor eax, eax
lock cmpxchg dword [0x1401261c8], ecx
jne 0x140098e3f
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x140098d52
cmp byte [rsp + 0x48], bl
jne 0x140098d12
lea rcx, [rsp + 0x48]
call fcn.140098b60
lea r8, [rsp + 0x48]
xor edx, edx
mov ecx, 0x100002
call qword [sym.imp.KERNEL32.dll_OpenEventA]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140098d48
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x140098d62
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
nop dword [rax + rax]
nop
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
nop dword [rax + rax]
mov dword [0x140124ef0], eax
cmp byte [rsp + 0x38], 0
jne 0x140098d87
lock inc dword [0x1401261cc]
mov byte [rsp + 0x38], 1
mov eax, dword [rsp + 0x30]
xchg dword [0x1401261c8], eax
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x140098df8
mov eax, dword [0x1401261cc]
cmp eax, 1
jle 0x140098e07
cmp byte [rsp + 0x48], bl
jne 0x140098db6
lea rcx, [rsp + 0x48]
call fcn.140098b60
lea r9, [rsp + 0x48]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140098dee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x140098e0c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140098e25
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400c0e50
add rsp, 0xb0
pop rbx
ret
cmp byte [rsp + 0x38], 0
jne 0x140098eba
lock inc dword [0x1401261cc]
mov byte [rsp + 0x38], 1
mov eax, dword [0x1401261c8]
cmp eax, dword [rsp + 0x30]
je 0x140098e07
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x140098ebf
cmp byte [rsp + 0x48], cl
jne 0x140098e78
lea rcx, [rsp + 0x48]
call fcn.140098b60
lea r9, [rsp + 0x48]
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140098eb0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
jmp 0x140098cd4
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
nop dword [rax + rax]
jmp 0x140098cd4
Function at 0x14009fa90
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, r9
mov rcx, rdi
mov rdx, r8
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x14009fad3
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x14009fad5
mov bl, 1
mov rsi, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400bd810
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
and dword [rsp + 0x30], 0
mov ecx, 5
call fcn.1400a4638
mov ebx, 2
lea r8, [rsp + 0x30]
mov rcx, rax
mov r9d, ebx
lea edx, [rbx + 0x20]
call sub.KERNEL32.dll_GetLocaleInfoW
mov eax, dword [rsp + 0x30]
cmp ax, 0x30
je 0x1400bd860
cmp ax, 0x31
jne 0x1400bd854
mov ebx, 1
jmp 0x1400bd860
xor ebx, ebx
cmp ax, 0x32
lea ecx, [rbx + 3]
cmove ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400bee58
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x1400beeb9
test byte [rbx + 6], 0xf
jne 0x1400beeac
xor edi, edi
cmp word [rbx + 4], di
jne 0x1400beeac
cmp word [rbx + 2], di
jne 0x1400beeac
cmp word [rbx], di
jne 0x1400beeac
lea esi, [rdi + 1]
jmp 0x1400beeb1
mov esi, 2
movzx eax, si
jmp 0x1400bf0b6
xor edi, edi
test cx, cx
jne 0x1400beed4
mov rcx, rbx
call fcn.1400c0738
movzx ecx, ax
cmp di, ax
jl 0x1400bf0b3
movsx edx, cx
test esi, esi
jle 0x1400bef04
sub ebp, edx
cmp ebp, esi
jg 0x1400bef04
movsd xmm0, qword [0x140124d20]
cmp word [rbx + 6], di
jge 0x1400beef6
xorps xmm0, xmmword [0x1400ea0f0]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x1400bf0b6
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x1400bef31
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x1400bf0b6
movzx r15d, r11w
lea ebp, [rsi - 1]
and r11w, 0xf
mov r13d, 0x8000
mov r12d, 0x10
and r15w, r13w
or r11w, r12w
add ebp, edx
cmp ebp, 0xffffffcb
jl 0x1400bf0a8
test ebp, ebp
jns 0x1400bf0a8
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x1400befcc
movzx ecx, word [rbx + 4]
mov eax, 0xfff0
movzx edx, word [rbx + 2]
sub ax, bp
shr ax, 4
movzx r9d, r11w
add ax, si
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r9w
mov r9d, edi
sub r8, rsi
jne 0x1400bef9d
mov word [rbx + 4], cx
movzx r11d, di
mov word [rbx + 2], dx
neg bp
je 0x1400bf04b
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [rbx + 4], ax
shr r11w, cl
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x1400bf061
jne 0x1400bf080
test byte [rbx], sil
je 0x1400bf080
add word [rbx], si
jne 0x1400bf080
add word [rbx + 2], si
jne 0x1400bf080
add word [rbx + 4], si
jne 0x1400bf080
add r11w, si
mov word [rbx + 6], r11w
jmp 0x1400bef29
cmp r11w, r15w
jne 0x1400bef29
cmp word [rbx + 4], di
jne 0x1400bef29
cmp word [rbx + 2], di
jne 0x1400bef29
cmp word [rbx], di
je 0x1400bf0b3
jmp 0x1400bef29
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c0c40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140126bf0], rbx
je 0x1400c0c8c
cmp rax, rbx
jne 0x1400c0c7f
mov ebx, 1
mov esi, ebx
jmp 0x1400c0c91
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400c0c64
mov ebx, 1
mov eax, dword [0x140126bf8]
cmp eax, ebx
jne 0x1400c0ca7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400c0d0c
mov eax, dword [0x140126bf8]
test eax, eax
jne 0x1400c0d06
mov dword [0x140126bf8], ebx
lea r15, [0x1400d4960]
lea rdi, [0x1400d4948]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400c0cf8
test eax, eax
jne 0x1400c0cfc
cmp qword [rdi], 0
je 0x1400c0ced
mov rax, qword [rdi]
mov rcx, qword [0x1400d4338]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400c0cce
test eax, eax
je 0x1400c0d0c
mov eax, 0xff
jmp 0x1400c0de8
mov dword [0x140125758], ebx
mov eax, dword [0x140126bf8]
cmp eax, ebx
jne 0x1400c0d33
lea rdx, [0x1400d4940]
lea rcx, [0x1400d4340]
call sub.msvcrt.dll__initterm
mov dword [0x140126bf8], 2
test esi, esi
jne 0x1400c0d40
xor eax, eax
xchg qword [0x140126bf0], rax
cmp qword [0x140126c10], 0
je 0x1400c0d74
lea rcx, [0x140126c10]
call fcn.1400c1410
test eax, eax
je 0x1400c0d74
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140126c10]
mov r9, qword [0x1400d4338]
call r9
mov r8, qword [0x140125770]
mov rdx, qword [0x140125768]
mov ecx, dword [0x140125760]
call fcn.14000449c
mov dword [0x140125754], eax
cmp dword [0x140125778], 0
jne 0x1400c0da4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140125758], 0
jne 0x1400c0db9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140125754]
jmp 0x1400c0de8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call 0x1401be000
add rsp, 0x28
jmp 0x1400c0c40

Function at 0x1400c130c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400c1358
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c1350
cmp dword [rcx + 0x3c], edx
jl 0x1400c1350
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400c1350
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400c1358
mov rax, rdx
add rsp, 0x18
ret