joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a9c0
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
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [r8 + 0x18]
mov rbx, qword [r8 + 0x10]
mov r10, r8
mov r13, rdx
cmp r14, 8
jb 0x14000a9f4
mov r8, qword [r8]
xor edi, edi
lea r9, [rbx + rbx]
movabs rcx, 0xcbf29ce484222325
mov edx, edi
test r9, r9
je 0x14000aa34
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r9
jb 0x14000aa20
mov r8, rcx
or rax, 0xffffffffffffffff
shr r8, 0x20
xor r8, rcx
mov rcx, qword [0x140195ef8]
and r8, rcx
cmp qword [0x140195f00], r8
ja 0x14000aa5e
shr rcx, 1
sub rax, rcx
add r8, rax
mov rdx, qword [0x140195ee0]
mov rsi, qword [0x140195ed0]
lea rax, [r8 + r8]
mov r15, qword [rdx + rax*8]
mov rcx, r8
mov ebp, 1
add rcx, rcx
lea r12, [rdx + rax*8]
mov rcx, qword [rdx + rcx*8]
cmp r15, rsi
jne 0x14000aa91
mov rax, rsi
jmp 0x14000aa99
mov rax, qword [r12 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14000ab95
lea rdx, [rcx + 0x10]
cmp r14, 8
jb 0x14000aab1
mov r8, qword [r10]
jmp 0x14000aab4
mov r8, r10
cmp qword [rdx + 0x18], 8
mov r11, qword [rdx + 0x10]
jb 0x14000aac2
mov rdx, qword [rdx]
cmp r11, rbx
mov r9, rbx
cmovb r9, r11
test r9, r9
jne 0x14000aaf0
mov r9d, edi
movsxd rax, r9d
test r9d, r9d
jne 0x14000aae6
cmp r11, rbx
jb 0x14000aaea
mov eax, edi
setne al
test eax, eax
je 0x14000ab19
mov rcx, qword [rcx]
jmp 0x14000aa87
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x14000ab06
add rdx, 2
add r8, 2
dec r9
jmp 0x14000aacf
cmp word [rdx], ax
mov r9d, ebp
mov rax, 0xffffffffffffffff
cmovb r9d, eax
jmp 0x14000aad4
cmp qword [rcx + 0x28], 8
mov r9, qword [rcx + 0x20]
lea rdx, [rcx + 0x10]
jb 0x14000ab2b
mov rdx, qword [rdx]
cmp r14, 8
jb 0x14000ab34
mov r10, qword [r10]
cmp rbx, r9
mov r8, r9
cmovb r8, rbx
test r8, r8
jne 0x14000ab73
mov ebp, edi
movsxd rax, ebp
test ebp, ebp
jne 0x14000ab57
cmp rbx, r9
jb 0x14000ab60
setne dil
mov eax, edi
mov qword [rsp + 0x30], rcx
test eax, eax
je 0x14000ab65
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x30]
mov rax, qword [rax]
mov qword [r13], rax
jmp 0x14000ab99
movzx eax, word [rdx]
cmp word [r10], ax
jne 0x14000ab89
add r10, 2
add rdx, 2
dec r8
jmp 0x14000ab41
mov rax, 0xffffffffffffffff
cmovb ebp, eax
jmp 0x14000ab45
mov qword [r13], rsi
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rax, r13
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000abc0
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
mov r14, qword [r8 + 0x18]
mov rbx, qword [r8 + 0x10]
mov r10, r8
mov r13, rdx
mov r11, rcx
cmp r14, 8
jb 0x14000abf2
mov r8, qword [r8]
xor edi, edi
lea r9, [rbx + rbx]
movabs rcx, 0xcbf29ce484222325
mov edx, edi
test r9, r9
je 0x14000ac34
movabs rsi, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, rsi
cmp rdx, r9
jb 0x14000ac20
mov rdx, qword [r11 + 0x28]
mov r8, rcx
or rax, 0xffffffffffffffff
shr r8, 0x20
xor r8, rcx
and r8, rdx
cmp qword [r11 + 0x30], r8
ja 0x14000ac58
shr rdx, 1
sub rax, rdx
add r8, rax
mov rdx, qword [r11 + 0x10]
mov rsi, qword [r11]
lea rax, [r8 + r8]
mov r15, qword [rdx + rax*8]
mov rcx, r8
mov ebp, 1
add rcx, rcx
lea r12, [rdx + rax*8]
mov rcx, qword [rdx + rcx*8]
nop word [rax + rax]
cmp r15, rsi
jne 0x14000ac8a
mov rax, rsi
jmp 0x14000ac92
mov rax, qword [r12 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14000ad95
lea rdx, [rcx + 0x10]
cmp r14, 8
jb 0x14000acaa
mov r8, qword [r10]
jmp 0x14000acad
mov r8, r10
cmp qword [rdx + 0x18], 8
mov r11, qword [rdx + 0x10]
jb 0x14000acbb
mov rdx, qword [rdx]
cmp r11, rbx
mov r9, rbx
cmovb r9, r11
test r9, r9
jne 0x14000acf0
mov r9d, edi
movsxd rax, r9d
test r9d, r9d
jne 0x14000acdf
cmp r11, rbx
jb 0x14000ace3
mov eax, edi
setne al
test eax, eax
je 0x14000ad19
mov rcx, qword [rcx]
jmp 0x14000ac80
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x14000ad06
add rdx, 2
add r8, 2
dec r9
jmp 0x14000acc8
cmp word [rdx], ax
mov r9d, ebp
mov rax, 0xffffffffffffffff
cmovb r9d, eax
jmp 0x14000accd
cmp qword [rcx + 0x28], 8
mov r9, qword [rcx + 0x20]
lea rdx, [rcx + 0x10]
jb 0x14000ad2b
mov rdx, qword [rdx]
cmp r14, 8
jb 0x14000ad34
mov r10, qword [r10]
cmp rbx, r9
mov r8, r9
cmovb r8, rbx
test r8, r8
jne 0x14000ad73
mov ebp, edi
movsxd rax, ebp
test ebp, ebp
jne 0x14000ad57
cmp rbx, r9
jb 0x14000ad60
setne dil
mov eax, edi
mov qword [rsp + 0x30], rcx
test eax, eax
je 0x14000ad65
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x30]
mov rax, qword [rax]
mov qword [r13], rax
jmp 0x14000ad99
movzx eax, word [rdx]
cmp word [r10], ax
jne 0x14000ad89
add r10, 2
add rdx, 2
dec r8
jmp 0x14000ad41
mov rax, 0xffffffffffffffff
cmovb ebp, eax
jmp 0x14000ad45
mov qword [r13], rsi
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rax, r13
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000af20
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
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [r8 + 0x18]
mov rbx, qword [r8 + 0x10]
mov r10, r8
mov r13, rdx
cmp r14, 8
jb 0x14000af54
mov r8, qword [r8]
xor edi, edi
lea r9, [rbx + rbx]
movabs rcx, 0xcbf29ce484222325
mov edx, edi
test r9, r9
je 0x14000af94
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r9
jb 0x14000af80
mov r8, rcx
or rax, 0xffffffffffffffff
shr r8, 0x20
xor r8, rcx
mov rcx, qword [0x140195f48]
and r8, rcx
cmp qword [0x140195f50], r8
ja 0x14000afbe
shr rcx, 1
sub rax, rcx
add r8, rax
mov rdx, qword [0x140195f30]
mov rsi, qword [0x140195f20]
lea rax, [r8 + r8]
mov r15, qword [rdx + rax*8]
mov rcx, r8
mov ebp, 1
add rcx, rcx
lea r12, [rdx + rax*8]
mov rcx, qword [rdx + rcx*8]
cmp r15, rsi
jne 0x14000aff1
mov rax, rsi
jmp 0x14000aff9
mov rax, qword [r12 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14000b0f5
lea rdx, [rcx + 0x10]
cmp r14, 8
jb 0x14000b011
mov r8, qword [r10]
jmp 0x14000b014
mov r8, r10
cmp qword [rdx + 0x18], 8
mov r11, qword [rdx + 0x10]
jb 0x14000b022
mov rdx, qword [rdx]
cmp r11, rbx
mov r9, rbx
cmovb r9, r11
test r9, r9
jne 0x14000b050
mov r9d, edi
movsxd rax, r9d
test r9d, r9d
jne 0x14000b046
cmp r11, rbx
jb 0x14000b04a
mov eax, edi
setne al
test eax, eax
je 0x14000b079
mov rcx, qword [rcx]
jmp 0x14000afe7
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x14000b066
add rdx, 2
add r8, 2
dec r9
jmp 0x14000b02f
cmp word [rdx], ax
mov r9d, ebp
mov rax, 0xffffffffffffffff
cmovb r9d, eax
jmp 0x14000b034
cmp qword [rcx + 0x28], 8
mov r9, qword [rcx + 0x20]
lea rdx, [rcx + 0x10]
jb 0x14000b08b
mov rdx, qword [rdx]
cmp r14, 8
jb 0x14000b094
mov r10, qword [r10]
cmp rbx, r9
mov r8, r9
cmovb r8, rbx
test r8, r8
jne 0x14000b0d3
mov ebp, edi
movsxd rax, ebp
test ebp, ebp
jne 0x14000b0b7
cmp rbx, r9
jb 0x14000b0c0
setne dil
mov eax, edi
mov qword [rsp + 0x30], rcx
test eax, eax
je 0x14000b0c5
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x30]
mov rax, qword [rax]
mov qword [r13], rax
jmp 0x14000b0f9
movzx eax, word [rdx]
cmp word [r10], ax
jne 0x14000b0e9
add r10, 2
add rdx, 2
dec r8
jmp 0x14000b0a1
mov rax, 0xffffffffffffffff
cmovb ebp, eax
jmp 0x14000b0a5
mov qword [r13], rsi
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rax, r13
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000e0c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, qword [r8 + 0x18]
mov r11, qword [r8 + 0x10]
mov rdi, r9
mov r10, r8
mov r15, rdx
mov r14, rcx
cmp r12, 8
jb 0x14000e100
mov r9, qword [r8]
jmp 0x14000e103
mov r9, r8
lea r8, [r11 + r11]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x14000e144
movabs rbx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor rcx, rax
imul rcx, rbx
cmp rdx, r8
jb 0x14000e130
mov rdx, qword [r14 + 0x28]
mov rsi, rcx
or r13, 0xffffffffffffffff
shr rsi, 0x20
xor rsi, rcx
and rsi, rdx
cmp qword [r14 + 0x30], rsi
ja 0x14000e16b
shr rdx, 1
mov rax, r13
sub rax, rdx
add rsi, rax
mov rax, qword [r14 + 0x10]
mov rbx, qword [r14]
shl rsi, 4
mov rbp, qword [rsi + rax]
cmp rbx, rbp
je 0x14000e251
mov rbx, qword [rsi + rax + 8]
mov rbx, qword [rbx]
cmp rbx, rbp
je 0x14000e251
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rbx + 8]
cmp qword [rbx + 0x28], 8
mov r9, qword [rbx + 0x20]
lea rcx, [rbx + 0x10]
jb 0x14000e1b6
mov rcx, qword [rcx]
cmp r12, 8
jb 0x14000e1c1
mov rdx, qword [r10]
jmp 0x14000e1c4
mov rdx, r10
cmp r11, r9
mov r8, r9
cmovb r8, r11
test r8, r8
jne 0x14000e1f6
xor r8d, r8d
movsxd rax, r8d
test r8d, r8d
jne 0x14000e1eb
cmp r11, r9
jb 0x14000e1ef
xor eax, eax
cmp r11, r9
setne al
test eax, eax
je 0x14000e21a
cmp rbx, rbp
jne 0x14000e1a0
jmp 0x14000e251
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x14000e20b
add rdx, 2
add rcx, 2
dec r8
jmp 0x14000e1d1
cmp word [rdx], ax
mov r8d, 1
cmovb r8d, r13d
jmp 0x14000e1d6
lea rcx, [rbx + 0x10]
mov rdx, r10
call fcn.14000d500
test eax, eax
je 0x14000e234
mov rbx, qword [rbx]
mov rdi, qword [rsp + 0x68]
jmp 0x14000e251
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.14000e300
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14000e2e2
mov rax, qword [rdi]
cmp rbx, rax
je 0x14000e286
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 rcx, qword [rax + 8]
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r14 + 0x10]
add rdx, rsi
mov rax, qword [rdx]
cmp rax, qword [r14]
jne 0x14000e2a3
mov qword [rdx], rdi
mov rax, qword [r14 + 0x10]
mov qword [rsi + rax + 8], rdi
jmp 0x14000e2cf
cmp rax, rbx
jne 0x14000e2ad
mov qword [rdx], rdi
jmp 0x14000e2cf
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x14000e2cf
mov rdx, qword [r14 + 0x10]
mov rax, qword [rdx + rsi + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi + 8], rcx
mov rcx, r14
call fcn.14000d600
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
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 0x1400133d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rdi
mov eax, 0x1400
call fcn.14010a690
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1418], rbx
mov qword [rsp + 0x1420], rsi
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x50], shutdown
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
xor r8d, r8d
lea rdx, [0x140142318]
lea rcx, [rsp + 0x38]
call fcn.1400070d0
nop
call qword [sym.imp.MSVCP120.dll_unsigned_int___cdecl_std::_Random_device_void_]
nop
cmp qword [rsp + 0x50], 0x10
jb 0x140013458
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
call qword [sym.imp.MSVCP120.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
jmp 0x14001346b
mov dword [rsp + 0x13e4], 0xffffffff
mov dword [rsp + 0x64], ecx
mov r8d, 1
mov edx, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, r8d
mov dword [rsp + rdx*4 + 0x64], ecx
inc r8d
inc rdx
cmp rdx, 0x270
jl 0x140013490
mov dword [rsp + 0x60], 0x270
nop dword [rax + rax]
lea rcx, [rsp + 0x60]
call fcn.1400154b0
cmp eax, 0xffffffff
ja 0x1400134c0
mov dword [rsi], eax
lea rcx, [rsp + 0x60]
call fcn.1400154b0
cmp eax, 0xffffffff
ja 0x1400134d1
mov dword [rsi + 4], eax
lea rcx, [rsp + 0x60]
call fcn.1400154b0
cmp eax, 0xffffffff
ja 0x1400134e3
mov dword [rsi + 8], eax
lea rcx, [rsp + 0x60]
call fcn.1400154b0
cmp eax, 0xffffffff
ja 0x1400134f5
mov dword [rsi + 0xc], eax
lea rbx, [rsi + 0x10]
mov edi, 4
lea rcx, [rsp + 0x60]
call fcn.1400154b0
cmp eax, 0xffffffff
ja 0x140013510
mov dword [rbx], eax
add rbx, 4
dec rdi
jne 0x140013510
mov rax, rsi
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140013610
Capabilities:
Execute anti-debugging instructions
Hash data using murmur3
Hash data using sha256
Parse pe header

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, r8
mov qword [rbp - 0x80], rdx
xor r13d, r13d
mov dword [rbp - 0x70], r13d
lea rcx, [0x140142320]
jmp 0x1406a1bf6
Function at 0x1400153e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
nop dword [rax]
mov rbx, qword [rdi]
mov eax, dword [rbx]
cmp eax, 0x270
jne 0x14001544e
lea rax, [rbx + 8]
mov r9d, 0x270
nop word [rax + rax]
mov r8d, dword [rax - 4]
lea rax, [rax + 4]
xor r8d, dword [rax - 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
dec r9
jne 0x140015410
jmp 0x14001545d
cmp eax, 0x4e0
jb 0x14001545d
mov rcx, rbx
call fcn.140015560
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov eax, dword [rbx + 0x1384]
mov ecx, edx
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [rdi + 0x10]
ja 0x1400153f0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400154b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx]
mov r9d, 0x270
mov rbx, rcx
cmp eax, r9d
jne 0x14001550b
lea r8, [rcx + 8]
nop word [rax + rax]
mov edx, dword [r8 - 4]
lea r8, [r8 + 4]
xor edx, dword [r8 - 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
dec r9
jne 0x1400154d0
jmp 0x140015517
cmp eax, 0x4e0
jb 0x140015517
call fcn.140015560
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov eax, dword [rbx + 0x1384]
mov ecx, edx
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x140015560
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r10, rcx
lea r9, [rcx + 0x9c4]
mov r11d, 0xe3
mov edx, dword [r9 + 4]
lea r9, [r9 + 4]
xor edx, dword [r9 - 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x630]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
dec r11
jne 0x140015570
lea r9, [r10 + 0xd50]
mov r11d, 0x18c
nop word [rax + rax]
mov edx, dword [r9 + 4]
lea r9, [r9 + 4]
xor edx, dword [r9 - 4]
btr edx, 0x1f
xor edx, dword [r9 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 - 0xd50]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
dec r11
jne 0x1400155c0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov dword [r10], r11d
ret
Function at 0x140015b90
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x80], 0
mov rbx, rcx
jne 0x140015bce
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 0x80]
mov qword [rbx + 0x80], rax
test rcx, rcx
je 0x140015bce
call qword [rbx + 0x88]
cmp qword [rbx + 0xc0], 0
jne 0x140015c01
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 0xc0]
mov qword [rbx + 0xc0], rax
test rcx, rcx
je 0x140015c01
call qword [rbx + reloc.OLEAUT32.dll_SetErrorInfo]
cmp qword [rbx + 0x40], 0
jne 0x140015c46
lea rax, [rbx + 0x50]
lea r8, [0x140016070]
mov r9, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.MSVCR120.dll__beginthreadex]
mov rcx, qword [rbx + 0x40]
mov qword [rbx + 0x40], rax
test rcx, rcx
je 0x140015c46
mov rax, qword [rbx + 0x48]
add rsp, 0x30
pop rbx
jmp rax
add rsp, 0x30
pop rbx
ret

Function at 0x140015e20
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x28]
test al, al
je 0x140015e96
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x50], eax
je 0x140015e65
cmp qword [rbx + 0xb8], 0
je 0x140015e65
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rbx + 0xb8], 0
jne 0x140015e50
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test al, al
je 0x140015e96
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [rsp + 0x30]
or ecx, 0xffffffff
cmp dword [rsp + 0x34], 0
cmovne eax, ecx
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140015f80
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov rdi, rcx
mov qword [r11 - 0x20], 0xf
mov qword [r11 - 0x28], 0
mov byte [rsp + 0x40], 0
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140015fed
mov rax, qword [rcx]
lea r8, [r11 - 0x38]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x140015fed
mov rax, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
jmp 0x140016000
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140015ffd
mov rdx, qword [rbx]
jmp 0x140016000
mov rdx, rbx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, eax
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140016033
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov rdx, rbx
call qword [rax + 0x10]
nop
cmp qword [rsp + 0x58], 0x10
jb 0x140016046
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14010a480
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x1400174d0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
call qword [rax + 0x28]
test al, al
jne 0x1400174eb
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [rsp + 0x30]
or ecx, 0xffffffff
cmp dword [rsp + 0x34], 0
cmovne eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x140017630
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rcx]
call qword [rax + 0x28]
test al, al
je 0x140017749
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x40]
mov rbx, rax
mov qword [rsp + 0x40], rax
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [rsp + 0x60], shutdown
mov qword [rsp + 0x58], 0
mov byte [rsp + 0x48], 0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400176d0
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x1400176d0
mov rax, qword [rsp + 0x58]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
jmp 0x1400176e3
mov rax, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1400176e0
mov rdx, qword [rdi]
jmp 0x1400176e3
mov rdx, rdi
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, eax
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140017716
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
mov rdx, rdi
call qword [rax + 0x10]
nop
cmp qword [rsp + 0x60], 0x10
jb 0x140017729
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x60], shutdown
mov qword [rsp + 0x58], 0
mov byte [rsp + 0x48], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14010a480
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140018230
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rax, qword [0x14017da30]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
xor edi, edi
cmp qword [rcx + 0xe0], rdi
jne 0x1400182f8
lea rdx, [rsp + 0x58]
call fcn.140017af0
nop
mov r8, rax
mov rdx, qword [0x140195f68]
lea rcx, [rsp + 0x38]
call fcn.140018860
cmp qword [rax + 0x18], 8
jb 0x140018294
mov rax, qword [rax]
mov r9, rax
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 0xe0]
mov qword [rbx + 0xe0], rax
test rcx, rcx
je 0x1400182bf
call qword [rbx + 0xe8]
cmp qword [rsp + 0x50], 8
jb 0x1400182d2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
cmp qword [rsp + 0x70], 8
jb 0x1400182f8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
cmp qword [rbx + 0xf0], 0
jne 0x14001832d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rbx + 0xf0]
mov qword [rbx + 0xf0], rax
test rcx, rcx
je 0x14001832d
call qword [rbx + 0xf8]
cmp qword [rbx + 0x100], 0
jne 0x140018374
lea rax, [rbx + 0x110]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x140018590]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll__beginthreadex]
mov rcx, qword [rbx + 0x100]
mov qword [rbx + 0x100], rax
test rcx, rcx
je 0x140018374
call qword [rbx + 0x108]
mov rcx, rbx
call fcn.140015b90
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14010a480
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret