joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400805c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rbx, rcx
mov r9d, dword [0x140111458]
mov esi, r8d
mov ecx, 0xb8
mov rbp, rdx
mov r9, qword [rax + r9*8]
mov eax, dword [rcx + r9]
cmp dword [0x140111320], eax
jg 0x1400806c0
cmp qword [0x140111318], 0
mov r8d, esi
mov rdx, rbp
jge 0x140080629
lea rcx, [rbx + 0x38]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.14006f240
mov qword [rsp + 0x30], rdi
mov rdi, qword [rbx + 0xd8]
xchg qword [rbx + 0xd8], rdi
mov rcx, rdi
call fcn.14006f240
test al, al
je 0x1400806ab
mov ecx, 1
xor eax, eax
lock cmpxchg dword [rbx + 0x34], ecx
cmp eax, ecx
je 0x1400806ab
mov rax, qword [rbx + 0xd8]
xchg qword [rbx + 0xd8], rax
cmp rax, rdi
jne 0x1400806a6
lea rax, [rbx + 0x38]
mov edx, 0x88
cmp rdi, rax
mov ecx, 0x38
cmove ecx, edx
lea rdi, [rcx + rbx]
mov rcx, rdi
call fcn.14007a010
mov rcx, rdi
call fcn.140081170
test al, al
je 0x14008069e
xchg qword [rbx + 0xd8], rdi
mov rcx, rbx
call fcn.1400843b0
xor eax, eax
xchg dword [rbx + 0x34], eax
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
lea rcx, [0x140111320]
call fcn.1400a2c90
cmp dword [0x140111320], 0xffffffff
jne 0x140080601
mov rax, qword [rbx + 0x18]
lea rcx, [0x140111320]
mov qword [0x140111318], rax
call fcn.1400a2c30
jmp 0x140080601
Function at 0x1400843b0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbx, rcx
mov edx, dword [0x140111458]
mov rax, qword gs:[0x58]
mov ecx, 0xb8
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x140111298], edx
jg 0x14008456f
mov rcx, qword [0x140111290]
cmp rcx, 2
jl 0x140084548
movsxd rax, dword [rbx + 0x30]
sub rax, rcx
sub rax, 1
js 0x140084548
mov r8d, eax
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x38]
call fcn.14007ed60
mov rdi, rax
lea rdx, [rsp + 0x28]
lea rcx, [rbx + 0x38]
call fcn.14007f270
nop
mov r9, rdi
mov r8, rax
movzx edx, byte [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.140076fe0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140084496
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084491
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400845a4
call fcn.1400a2ab0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], ax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400844ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400844e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400845aa
call fcn.1400a2ab0
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140084548
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084543
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140084569
call fcn.1400a2ab0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a2a50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
call fcn.1400a99c0
int3
lea rcx, [0x140111298]
call fcn.1400a2c90
cmp dword [0x140111298], 0xffffffff
jne 0x1400843f9
mov rax, qword [rbx + 0x20]
mov qword [0x140111290], rax
lea rcx, [0x140111298]
call fcn.1400a2c30
jmp 0x1400843f9
call fcn.1400a99c0
nop
call fcn.1400a99c0
int3
Function at 0x140084ba0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140084d5e
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140083e90
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140084d27
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x140084c93
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140084d16
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x140084cd0
mov r10, qword [rax]
cmp r10, rcx
je 0x140084cca
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140084d16
mov r8, rax
cmp r10, rax
je 0x140084cf2
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x140084d38
cmp r10, rax
jne 0x140084ce0
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], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140084c40
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140084d16
lea rcx, str.invalid_hash_bucket_count
call fcn.1400463b0
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x140085845
cvtsi2ss xmm0, rdx
jmp 0x14008585a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1400bbf40
movss xmm1, dword [0x1400f22a0]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140085888
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140085888
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 0x1400858ba
cmp rbx, 0x200
jae 0x1400858b7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1400858ba
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140084ba0
Function at 0x140086470
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x2080
call fcn.1400a3470
sub rsp, rax
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov rsi, rdx
lea rbx, [rsp + 0x70]
mov ebp, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r9d, edi
lea rdx, [0x1400de058]
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140076760
movzx eax, byte [rsp + 0x40]
test al, al
je 0x1400864fd
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x70]
sub rcx, rdx
nop dword [rax]
nop dword [rax + rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rcx + rbx]
test al, al
jne 0x1400864f0
test rsi, rsi
je 0x14008651d
movzx eax, byte [rsi]
test al, al
je 0x14008651d
sub rsi, rbx
nop dword [rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rsi + rbx]
test al, al
jne 0x140086510
mov rax, qword [rsp + 0x20c0]
lea rdi, [0x1400de06c]
test rax, rax
lea rsi, [rsp + 0x206e]
lea r14, [rsp + 0x20c8]
cmovne rdi, rax
sub rsi, rbx
mov qword [rsp + 0x20c0], rdi
call fcn.14003db30
mov qword [rsp + 0x30], r14
mov r8, rsi
mov qword [rsp + 0x28], 0
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rdi, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rdi
call fcn.1400b2920
test eax, eax
cmovs eax, edi
mov rdi, qword [0x140111088]
cdqe
cmp rax, rsi
cmovbe rsi, rax
mov word [rbx + rsi], 0xa
mov rax, qword [rdi]
mov ebx, dword [rax]
cmp ebp, 8
jne 0x1400865ac
cmp dword [rdi + 0x10], 2
je 0x1400865ac
or ebx, 2
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140086910
mov esi, eax
test bl, 1
je 0x1400865cb
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
je 0x1400865e0
mov r8d, esi
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400805c0
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400a2a50
add rsp, 0x2080
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140086600
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x2088
call fcn.1400a3470
sub rsp, rax
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov rsi, r8
lea rbx, [rsp + 0x70]
mov ebp, edx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r9d, edi
lea rdx, [0x1400de058]
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140076760
movzx eax, byte [rsp + 0x40]
test al, al
je 0x14008668d
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x70]
sub rcx, rdx
nop dword [rax]
nop dword [rax + rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rcx + rbx]
test al, al
jne 0x140086680
test rsi, rsi
je 0x1400866ad
movzx eax, byte [rsi]
test al, al
je 0x1400866ad
sub rsi, rbx
nop dword [rax]
mov byte [rbx], al
inc rbx
movzx eax, byte [rsi + rbx]
test al, al
jne 0x1400866a0
mov rax, qword [rsp + 0x20d8]
lea rdi, [0x1400de06c]
test rax, rax
lea rsi, [rsp + 0x206e]
lea r15, [rsp + 0x20e0]
cmovne rdi, rax
sub rsi, rbx
mov qword [rsp + 0x20d8], rdi
call fcn.14003db30
mov qword [rsp + 0x30], r15
mov r8, rsi
mov qword [rsp + 0x28], 0
mov rdx, rbx
mov qword [rsp + 0x20], rdi
mov rdi, 0xffffffffffffffff
mov rcx, qword [rax]
mov r9, rdi
call fcn.1400b2920
test eax, eax
cmovs eax, edi
cdqe
cmp rax, rsi
cmovbe rsi, rax
mov word [rbx + rsi], 0xa
mov rax, qword [r14]
mov ebx, dword [rax]
cmp ebp, 8
jne 0x140086736
cmp dword [r14 + 0x10], 2
je 0x140086736
or ebx, 2
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140086910
mov edi, eax
test bl, 1
je 0x140086755
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
je 0x14008676a
mov r8d, edi
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400805c0
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400a2a50
add rsp, 0x2088
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140086910
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rdx + 8]
mov rdi, rcx
test rbx, rbx
je 0x14008697f
cmp dword [rbx], 0
je 0x14008697f
mov rax, qword gs:[0x58]
mov edx, dword [0x140111458]
mov ecx, 0xb8
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x140111280], eax
jg 0x14008698c
movzx ecx, byte [rdi]
mov rax, rdi
test cl, cl
je 0x140086972
nop dword [rax + rax]
xor cl, byte [0x14011127c]
mov byte [rax], cl
inc rax
movzx ecx, byte [rax]
test cl, cl
jne 0x140086960
sub eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
lea rcx, [0x140111280]
call fcn.1400a2c90
cmp dword [0x140111280], 0xffffffff
jne 0x14008694e
movzx eax, byte [rbx + 1]
lea rcx, [0x140111280]
sub al, byte [rbx + 3]
sub al, byte [rbx + 2]
add al, byte [rbx]
mov byte [0x14011127c], al
call fcn.1400a2c30
jmp 0x14008694e
Function at 0x1400885c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rsi, rcx
mov r9, qword [rdx + 0x10]
mov r8, rdx
jb 0x1400885e3
mov r8, qword [rdx]
xor ecx, ecx
movabs rdi, 0xcbf29ce484222325
add r9, r9
je 0x140088614
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + r8]
inc rcx
xor rdi, rax
imul rdi, r10
cmp rcx, r9
jb 0x140088600
mov r8, rdx
mov r9, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400395f0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400886b7
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x18]
and rcx, rdi
shl rcx, 4
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14008866b
cmp rax, rbx
jne 0x140088661
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140088676
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140088676
cmp rax, rbx
jne 0x140088676
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rsi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.140005fe0
mov edx, 0x30
mov rcx, rbx
call fcn.1400a2ab0
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14008a540
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14008a608
lea edi, [rax + 1]
mov ecx, edi
mov eax, 2
mul rcx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.1400a34c0
mov rbp, rax
mov qword [rsp + 0x28], rax
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14008a5f6
inc rsi
cmp word [rbp + rsi*2], 0
jne 0x14008a5b4
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.14003d860
nop
test rbp, rbp
je 0x14008a626
mov edx, 2
mov rcx, rbp
call fcn.1400a2ab0
jmp 0x14008a626
test rbp, rbp
je 0x14008a608
mov edx, 2
mov rcx, rbp
call fcn.1400a2ab0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a2a50
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140090820
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rcx
mov dword [rsp + 0x20], 0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x60]
call fcn.1400a5940
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140077280
nop
lea rdx, str.err:0x
lea rcx, [rsp + 0x70]
call fcn.14006ecb0
mov rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400794f0
nop
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov rcx, qword [rbp - 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14009090d
mov rax, qword [rbp - 0x48]
mov r8, qword [rax]
test r8, r8
je 0x14009090d
mov rax, qword [rbp - 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x20]
cmovb r8, qword [rbp - 0x20]
sub r8, rdx
jmp 0x14009093e
test cl, 4
jne 0x140090934
mov rax, qword [rbp - 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x140090934
mov rax, qword [rbp - 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14009093e
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14009094e
lea rcx, [rsp + 0x28]
call fcn.14003dcd0
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140022220
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140090995
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009098f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400909c0
call fcn.1400a2ab0
nop
lea rcx, [rsp + 0x60]
call fcn.140079ce0
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400a2a50
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400a99c0
nop
int3
Function at 0x14009e620
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rsp + 0x50], rax
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x14009e715
nop dword [rax]
cmp rbx, qword [0x14010c1a0]
jb 0x14009e67e
cmp rbx, qword [0x14010c1a8]
ja 0x14009e67e
sub rbx, 0x8000000
jmp 0x14009e70c
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x14009e715
cmp dword [rsp + 0x40], 0x10000
jne 0x14009e6f0
cmp qword [rsp + 0x38], 0x10000
jb 0x14009e6f0
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x14009e717
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x14009e715
sub rbx, 0x10000
jmp 0x14009e70c
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x14009e660
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a2a50
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x14009e730
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x14009e761
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x14009e827
nop word [rax + rax]
cmp rbx, qword [0x14010c1a0]
jb 0x14009e78e
cmp rbx, qword [0x14010c1a8]
ja 0x14009e78e
add rbx, 0x8000000
jmp 0x14009e81e
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x14009e827
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x14009e803
cmp rcx, 0x10000
jb 0x14009e803
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x14009e829
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x14009e827
add rbx, 0x10000
jmp 0x14009e81e
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x14009e81e
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x14009e770
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a2a50
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14009e850
Capabilities:
Hook routines via microsoft detours

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [rcx - 0x7ff80000]
mov r9, rcx
cmp rcx, 0x7ff80000
ja 0x14009e86e
mov ebx, 0x80000
mov qword [rsp + 0x30], rdi
lea rdi, [rcx + 0x7ff80000]
cmp r9, 0xffffffff80000000
jb 0x14009e88a
mov rdi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x14009e8a1
cmp byte [rcx + 1], 0x25
jne 0x14009e8e5
movsxd rax, dword [rcx + 2]
add rcx, 6
jmp 0x14009e8ad
cmp al, 0xe9
jne 0x14009e8e5
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
cmp rcx, r9
jae 0x14009e8d0
cmp rcx, 0xffffffff80000000
jae 0x14009e8c7
lea rdi, [rcx + 0x7ff80000]
jmp 0x14009e8e5
mov rdi, 0xfffffffffff80000
jmp 0x14009e8e5
lea rbx, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x14009e8e5
mov ebx, 0x80000
mov rax, qword [0x140111360]
mov rcx, qword [0x140111358]
test rax, rax
jne 0x14009e907
test rcx, rcx
je 0x14009e91e
mov rax, rcx
mov qword [0x140111360], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14009e91e
cmp rdx, rbx
jb 0x14009e91e
cmp rdx, rdi
jbe 0x14009e9c9
mov qword [0x140111360], rcx
mov rax, rcx
test rcx, rcx
je 0x14009e959
test rcx, rcx
je 0x14009e949
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14009e949
cmp rcx, rbx
jb 0x14009e949
cmp rcx, rdi
jbe 0x14009e9c9
mov rax, qword [rax + 8]
mov qword [0x140111360], rax
test rax, rax
jne 0x14009e932
movzx eax, r9w
mov r8, rdi
sub r9, rax
mov rdx, rbx
mov rcx, r9
call fcn.14009ea20
test rax, rax
je 0x14009ea0c
mov dword [rax], 0x52727464
lea rdx, [rax + 0xffa8]
xor r8d, r8d
mov qword [0x140111360], rax
mov qword [rax + 0x10], r8
mov r9d, 0x2a7
mov rcx, qword [0x140111358]
mov qword [rax + 8], rcx
lea rcx, [rax + 0xff60]
mov qword [0x140111358], rax
mov qword [rdx], r8
lea rdx, [rdx - 0x60]
mov r8, rcx
sub rcx, 0x60
sub r9, 1
jne 0x14009e9b1
mov qword [rax + 0x10], r8
mov rdx, qword [rax + 0x10]
cmp rdx, rbx
jb 0x14009ea0c
cmp rdx, rdi
ja 0x14009ea0c
mov rcx, qword [rdx + 0x48]
movdqa xmm0, xmmword [0x1400e0830]
mov qword [rax + 0x10], rcx
mov rax, rdx
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14009ed40
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x14009ed7c
xor al, al
jmp 0x14009edcb
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x14009ed8d
xor al, al
jmp 0x14009edcb
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x14009edb4
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x14009edb4
mov al, 1
jmp 0x14009edcb
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a2a50
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a2a50
add rsp, 0x60
pop rbx
ret
Function at 0x14009f330
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x38
mov rax, qword [0x14010c1d0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rdx
mov rsi, rcx
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x140111370], eax
je 0x14009f363
mov eax, 0x10dd
jmp 0x14009f48c
mov eax, dword [0x140111374]
test eax, eax
jne 0x14009f48c
test rbp, rbp
jne 0x14009f37e
lea eax, [rbp + 0x57]
jmp 0x14009f48c
test rsi, rsi
je 0x14009f39a
cmp qword [rsi], 0
jne 0x14009f3a4
mov dword [0x140111374], 6
mov qword [0x140111378], rsi
mov eax, 6
jmp 0x14009f48c
mov qword [rsp + 0x60], rbx
mov ecx, 0x30
mov qword [rsp + 0x30], rdi
call fcn.1400a2ac0
mov rbx, rax
test rax, rax
jne 0x14009f3c8
lea edi, [rax + 8]
jmp 0x14009f461
mov rcx, qword [rsi]
xor edx, edx
call fcn.14009f280
xor edx, edx
mov rcx, rbp
mov rdi, rax
call fcn.14009f280
movzx ecx, byte [rdi + 0x3e]
mov rbp, qword [rdi + 0x48]
sub rbp, rcx
test cl, cl
je 0x14009f453
mov edx, ecx
cmp rcx, 0x1e
ja 0x14009f453
cmp qword [rdi + 0x50], rax
jne 0x14009f453
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov r8d, 0x40
mov rcx, rbp
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x14009f424
call sub.KERNEL32.dll_GetLastError
mov edi, eax
jmp 0x14009f461
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x18], rbp
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x28], eax
mov rax, qword [0x140111388]
mov qword [rbx], rax
xor eax, eax
mov qword [0x140111388], rbx
jmp 0x14009f482
cmp dword [0x140111368], 0
mov edi, 9
jne 0x14009f46c
mov dword [0x140111374], edi
test rbx, rbx
je 0x14009f479
mov edx, 0x30
mov rcx, rbx
call fcn.1400a2ab0
mov qword [0x140111378], rsi
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a2a50
add rsp, 0x38
pop rsi
pop rbp
ret