joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140139b50
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x140392270]
mov ecx, dword [0x14038f038]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140139d57
mov rsi, qword [0x140392268]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140139d9d
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x140392218], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x14039221c]
mov dword [0x14039221c], ebx
cmovne ebp, ecx
mov eax, dword [0x140392220]
cmp ebp, eax
je 0x140139d17
test eax, eax
je 0x140139cac
mov rax, qword [0x1403808e8]
lea rcx, [0x140139e30]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x140139d46
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x140139df4
imul rax, rcx, 0xf4240
cqo
idiv qword [0x140392288]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x140392278]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x140392228]
cmp r8, 2
jb 0x140139daa
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140392228], rax
mov ecx, dword [0x140392220]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x140392220], ebp
test ebx, ebx
je 0x140139d17
mov rax, qword [0x1403808e8]
lea rcx, [0x140139e30]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x140139d38
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x140139dc3
imul rax, rcx, 0xf4240
cqo
idiv qword [0x140392288]
mov qword [0x140392278], rax
mov ecx, dword [0x140392220]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401a2070
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, rdi
call qword [0x1403be008]
mov rax, qword [rdi]
jmp 0x140139d04
mov rcx, rdi
call qword [0x1403be008]
mov rax, qword [rdi]
jmp 0x140139c40
lea rcx, [0x140392270]
call fcn.1401a09e0
cmp dword [0x140392270], 0xffffffff
jne 0x140139b8e
mov ecx, 8
call fcn.1401a088c
mov rsi, rax
mov rcx, rax
call fcn.140139f00
mov qword [0x140392268], rsi
lea rcx, [0x140392270]
call fcn.1401a0a78
jmp 0x140139b8e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140139ba6
cmp rcx, rax
je 0x140139c99
add rcx, rdx
cmp rcx, 1
ja 0x140139c99
int3
mov r8, qword [0x140392288]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x140139d04
mov r8, qword [0x140392288]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x140139c3b
Function at 0x14013d770
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1402fd120]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x42
call fcn.14014c870
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140140de0
mov ebp, 0xffffffff
test r14, r14
js 0x14013d86c
test esi, esi
js 0x14013d86c
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14015be80
test al, al
jne 0x14013d8b2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14013d89a
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x14013d8ad
lea rcx, [rsp + 0x30]
call fcn.14015c1d0
lea rcx, [rsp + 0x60]
call fcn.140140e60
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401a2070
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x14013d862
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140267f20
jmp 0x14013d824

Function at 0x14013d8d0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1402fd120]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.14014c870
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140140de0
test esi, esi
js 0x14013d9d5
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14015be80
test al, al
jne 0x14013d9e1
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14013d9fd
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x14013d9dc
lea rcx, [rsp + 0x30]
call fcn.14015c1d0
lea rcx, [rsp + 0x50]
call fcn.140140e60
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401a2070
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14013d9aa
int3
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140267f20
jmp 0x14013d970
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14013d9a0
Function at 0x14013da10
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1402fd120]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Write
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x7f
call fcn.14014c870
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140140de0
mov ebp, 0xffffffff
test r14, r14
js 0x14013db09
test esi, esi
js 0x14013db09
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14015be80
test al, al
jne 0x14013db37
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
cmp eax, 1
sbb ebp, ebp
or ebp, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.14015c1d0
lea rcx, [rsp + 0x60]
call fcn.140140e60
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401a2070
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r9d, esi
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.140267f20
jmp 0x14013dac0
Function at 0x14014f8b0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.14013d630
mov qword [rsi], 0
test rax, rax
je 0x14014f903
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14014f937
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14014f8fb
mov qword [rsi], rbx
call fcn.14014c890
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.14014d280
lea rcx, [rsi + 0x20]
call fcn.14015bea0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.14014c890
mov rcx, qword [rsi]
call fcn.140139570
mov qword [rsi], 0
jmp 0x14014f8e9

Function at 0x140155d90
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x140155e2a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140155e14
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140155df1
mov qword [rsi], rdi
call fcn.14014c890
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x140155e2e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14014c890
mov rcx, qword [rsi]
call fcn.140139570
mov qword [rsi], 0
jmp 0x140155ddf
mov byte [rsi + 8], 0
int3
Function at 0x140156060
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1403948f8]
mov ecx, dword [0x14038f038]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401560c0
mov rsi, qword [0x1403948f0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401a2070
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403948f8]
call fcn.1401a09e0
cmp dword [0x1403948f8], 0xffffffff
jne 0x14015609c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401a41c0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1401a088c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140394940]
mov ecx, dword [0x14038f038]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140156180
lea r8, [0x140394910]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400b8120
mov qword [0x1403948f0], rsi
lea rcx, [0x1403948f8]
call fcn.1401a0a78
jmp 0x14015609c
lea rcx, [0x140394940]
call fcn.1401a09e0
cmp dword [0x140394940], 0xffffffff
jne 0x140156151
xorps xmm0, xmm0
movups xmmword [0x140394930], xmm0
movups xmmword [0x140394920], xmm0
movups xmmword [0x140394910], xmm0
lea rcx, [0x140394910]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140394940]
call fcn.1401a0a78
jmp 0x140156151

Function at 0x140157e90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x140157ef5
xor r11d, r11d
mov rbx, qword [r8 + r11*8]
mov rsi, qword [rcx + r11*8]
mov rdi, rsi
xor rdi, rbx
mov r14d, eax
lea rax, [rdi - 1]
mov r15, rsi
sub r15, rbx
xor r15, rsi
or r15, rdi
not rdi
and rax, rdi
sar rax, 0x3f
xor r15, rsi
sar r15, 0x3f
or r15, 1
and r14d, eax
not rax
and rax, r15
or rax, r14
inc r11
cmp r10, r11
jne 0x140157eab
cmp rdx, r9
jb 0x140157f04
ja 0x140157f28
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x140157f06
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x140157efc
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x140157f2b
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x140157efc
Function at 0x140157f60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
movsxd rdx, dword [rdx + 8]
test rdx, rdx
je 0x140158098
mov rsi, rcx
mov rax, qword [rdi]
xor ecx, ecx
xor r8d, r8d
or r8, qword [rax + rcx*8]
inc rcx
cmp rdx, rcx
jne 0x140157f82
test r8, r8
je 0x140158098
test edx, edx
jle 0x1401580db
mov rax, qword [rdi]
test byte [rax], 1
je 0x1401580db
cmp dword [rdi + 0x10], 0
jne 0x14015815b
cmp edx, 0x401
jae 0x14015811b
lea rbx, [rsi + 0x18]
cmp rbx, rdi
je 0x140158005
mov rcx, rbx
call fcn.1400bcc00
test eax, eax
je 0x1401580fb
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x1401580bd
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.1401a3b10
mov eax, dword [rdi + 8]
mov dword [rsi + 0x20], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x28], eax
mov rdi, rbx
test rdi, rdi
je 0x1401580fb
mov eax, dword [rsi + 0x20]
lea ecx, [rax + 1]
test eax, eax
jle 0x1401580c4
mov rdx, qword [rbx]
dec ecx
cmp qword [rdx + rax*8 - 8], 0
lea rax, [rax - 1]
je 0x140158014
mov dword [rsi + 0x20], ecx
mov rax, qword [rbx]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
xor rdi, r9
shr rdi, 1
and r11, r9
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x14015804d
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.14028ef30
jmp 0x14015808e
xor eax, eax
jmp 0x140157ff9
mov dword [rsi + 0x20], eax
test eax, eax
jne 0x140158030
mov dword [rsi + 0x28], 0
jmp 0x140158030
mov dword [rsp + 0x20], 0xae
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1401580b6
mov dword [rsp + 0x20], ILCreateFromPathW
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1401580b6
mov r8d, 0x400
xor ecx, ecx
or rcx, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x140158123
test rcx, rcx
je 0x140157fc1
mov dword [rsp + 0x20], 0xb6
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x1401580b6
mov dword [rsp + 0x20], 0xb2
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x1401580b6
Function at 0x140158980
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rsi, r8
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x50]
movups xmmword [rdi + 0x34], xmm0
movups xmmword [rdi + 0x28], xmm0
movups xmmword [rdi + 0x18], xmm0
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi - 8], xmm0
movaps xmm0, xmmword [0x1403246a0]
movups xmmword [rdi - 0x28], xmm0
movaps xmm0, xmmword [0x1403246b0]
movups xmmword [rdi - 0x18], xmm0
mov dword [rdi + 0x44], 0x20
test rdx, rdx
je 0x140158a27
mov r14, rdx
mov rbx, rcx
lea eax, [rdx*8]
mov rcx, rdx
shr rcx, 0x1d
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], eax
cmp rdx, 0x40
jb 0x140158af0
mov r8, r14
shr r8, 6
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.140011f80
mov r8, r14
and r8, 0x3f
jne 0x140158b0b
mov eax, dword [rsp + 0x90]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x94]
mov ebp, dword [rsp + 0x48]
mov r14d, dword [rsp + 0x4c]
mov byte [rsp + rax + 0x50], 0x80
cmp rax, 0x38
jae 0x140158b14
cmp rcx, 0x38
je 0x140158a6a
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1401a41c0
bswap r14d
lea rcx, [rsp + 0x28]
mov dword [rcx + 0x60], r14d
bswap ebp
mov dword [rcx + 0x64], ebp
mov r8d, 1
mov rdx, rdi
call fcn.140011f80
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
lea eax, [rbx - 0x21]
cmp eax, 0xffffffe3
jb 0x140158ac0
shr ebx, 2
xor eax, eax
mov ecx, dword [rsp + rax*4 + 0x28]
bswap ecx
mov dword [rsi + rax*4], ecx
inc rax
cmp rbx, rax
jne 0x140158aaf
lea rcx, [rsp + 0x28]
mov edx, 0x70
call fcn.14015e4f0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401a2070
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov r8, r14
mov dword [rsp + 0x90], r8d
mov rcx, rdi
mov rdx, rbx
call fcn.1401a3b10
jmp 0x140158a27
and r14, 0xffffffffffffffc0
add rbx, r14
jmp 0x140158af3
cmp eax, 0x3f
je 0x140158b2c
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.1401a41c0
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rdi
call fcn.140011f80
xor ecx, ecx
jmp 0x140158a57
Function at 0x140158ee0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x140158fb6
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
jne 0x140158fba
xor eax, eax
lea rcx, [0x140324d20]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x140158f2e
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.140157c20
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140158fd2
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x140158f7d
lea rcx, section..text
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401a2070
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140158fa0
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x140158f25
jmp 0x140158fbc
bt eax, 9
jae 0x140158ff2
call fcn.140004350
lea rax, [0x140004820]
test rdi, rdi
je 0x140158f7d
lea rcx, [0x140004520]
jmp 0x140158f7a
call fcn.14024db10
lea rax, [0x14024e310]
test rdi, rdi
je 0x140158f7d
lea rcx, [0x14024d9f0]
jmp 0x140158f7a
Function at 0x14015e5d0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14015e5f9
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x14015e5e0
movzx eax, r9b
ret
xor eax, eax
ret

Function at 0x140165fe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x14016600b
xor ecx, ecx
lea r9, [0x140327530]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x140165ff0
ret
Function at 0x1401722f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1400e7780]
mov qword [rsp + 0x20], rax
lea rcx, [0x1403a1c88]
lea rdx, [0x1400e75d0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140172384
cmp dword [0x1403a1c90], 0
jne 0x140172380
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1403a1c94]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140172380
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401a2070
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140172368
call fcn.1401baee0
int3

Function at 0x140172a00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14038eb60]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140172a34
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140172a34
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x140172a2e
Function at 0x14018c480
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rcx], 0
mov eax, dword [0x14038f038]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x230]
mov qword [rsi + 8], rcx
mov rcx, qword [rax + 0x230]
mov qword [rax + 0x230], rsi
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x38], 0
mov dword [rsi + 0x40], 0
mov byte [rsi + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x58], r8
mov qword [rsi + 0x60], r9
mov rax, qword [str.__9_]
movzx eax, byte [rax + 0x7f]
test al, al
setne byte [rsi + 0x30]
jne 0x14018c51d
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401a2070
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
lea rbx, [rsi + 0x20]
lea rdi, [rsp + 0x20]
mov rcx, rdx
mov rdx, rdi
call fcn.14013f650
mov rax, qword [rdi]
mov qword [rbx], rax
jmp 0x14018c505
Function at 0x1401a1314
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401a135e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401a135e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401a135e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401a135e
cmp dword [rcx + 0x84], 0xe
jbe 0x1401a135e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401a1360
xor al, al
add rsp, 0x28
ret

Function at 0x1401a179c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1401a1814
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1401a1814
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1401a1814
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1401a1808
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1401a1826
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1401a17f6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1401a1816

Function at 0x1401b4638
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1401b466f
call fcn.1401b79f4
mov dword [rax], 0x16
call fcn.1401b958c
xor eax, eax
jmp 0x1401b46fd
mov rdx, r9
mov rcx, r8
call fcn.1401b4720
mov rbx, rax
test rax, rax
je 0x1401b46fa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401b4790]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1401b46e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401b7a34
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401b46ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401b46dd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140154630
jmp 0x1401b46fa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401b46f7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1401b4864
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401b49ac