joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e5d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x90011
mov dword [rbp - 0x1c], 0x70006
mov dword [rbp - 0x18], 0x410065
mov dword [rbp - 0x14], 0x620051
mov dword [rbp - 0x10], 0xb000b
mov dword [rbp - 0xc], 0x6e0005
call fcn.1400029c0
mov rcx, rax
call rbx
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400161a0], rax
mov dword [rbp - 0x20], 0x80015
mov dword [rbp - 0x1c], 0x2000d
mov dword [rbp - 0x18], 0x170067
mov dword [rbp - 0x14], 0x620017
mov dword [rbp - 0x10], 0xb000b
mov dword [rbp - 0xc], 0x6e0005
call fcn.1400029c0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140014cf0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400161b0], rax
mov word [rbp - 0x10], 0x3b05
mov byte [rbp - 0xe], 0x69
call fcn.140004620
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x7060911
mov dword [rbp - 0x1c], 0x291b3765
mov dword [rbp - 0x18], 0xb1d120c
mov word [rbp - 0x14], 0x775e
call fcn.140001180
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xe170f0b
mov dword [rbp - 0x1c], 0x38061c7b
mov dword [rbp - 0x18], 0xc1720
mov word [rbp - 0x14], 0x7748
call fcn.140001180
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014dd0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e8], rax
mov byte [rbp - 0x10], 0x73
call fcn.140004330
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014d50]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160f0], rax
mov dword [rbp - 0x10], 0x630c0017
call fcn.140002660
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014d20]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e0], rax
mov byte [rbp - 0x10], 0x73
call fcn.140004330
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014db0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160d8], rax
mov dword [rbp - 0x10], 0x2207031a
mov byte [rbp - 0xc], 0x65
call fcn.140003130
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140014d70]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2d1d
mov byte [rbp - 0xe], 0x69
call fcn.140004620
mov rcx, qword [0x1400161b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000e8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000eb0e
mov word [rbp + 0x50], 0x6142
mov word [rbp + 0x58], 0x6142
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000e994
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000e980
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000e9c5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000e9b0
cmp rdi, rbx
jne 0x14000eae2
mov r13, rsi
mov word [rbp - 0x50], 0x6142
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000ea06
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000e9f2
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000eb08
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x610023
call fcn.140002490
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000ea78
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x610038
call fcn.140002490
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000ea78
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x610023
mov dword [rbp - 0x42], 0x610003
call fcn.140002490
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x610023
call fcn.140002490
movzx eax, word [rax]
cmp edi, eax
jl 0x14000ead5
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x610038
call fcn.140002490
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000ead5
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x610023
mov dword [rbp - 0x32], 0x610003
call fcn.140002490
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002490
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000eae2
inc r14
jmp 0x14000e9e0
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000eb0e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000e950
mov rax, qword [rbp - 8]
jmp 0x14000eb10
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000eb30
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x69
mov dword [rbp - 0x20], 0x240009
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x250031
mov dword [rbp - 0x18], 0x3e004c
mov dword [rbp - 0x14], 0xd0021
mov dword [rbp - 0x10], 0x22003c
call fcn.140004fd0
mov rcx, rax
call 0x14000eb30
mov qword [0x1400161b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6f
mov dword [rbp - 0x20], 0x240009
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x250031
mov dword [rbp - 0x18], 0x3e004c
mov dword [rbp - 0x14], 0x7e0050
call fcn.1400022a0
mov rcx, rax
call 0x14000eb30
lea rcx, [rbp - 0x20]
mov qword [0x1400161a8], rax
mov dword [rbp - 0x20], 0x15002c
mov dword [rbp - 0x1c], 0x70007
mov dword [rbp - 0x18], 0x720065
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000eb30
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000eb92
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000e300
test al, al
jne 0x14000eba4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000eb60
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400198d3
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rcx, rdx
call fcn.1400656c0
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebp, eax
je 0x140019922
mov rcx, rdi
call fcn.14001e456
mov ebp, 0x100000
test al, al
je 0x140019927
mov ebp, 0x101000
lea r14, [rsp + 0x50]
mov r8d, 0xa0
mov rcx, r14
mov dl, 0xaa
call fcn.1400a4980
mov rcx, r14
call fcn.140067800
mov byte [r14 + 0x22], 1
lea rcx, [rsp + 0x58]
call fcn.1400665f0
movaps xmm0, xmmword [0x140158be0]
lea r15, [rsp + 0x40]
movaps xmmword [r15], xmm0
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.140065730
mov rcx, r15
call fcn.14003fe80
test al, al
je 0x140019a09
lea rbx, [rsp + 0x38]
mov qword [rbx], 0
mov rcx, rdi
call fcn.1400656a0
mov r14, rax
lea rcx, [rsp + 0x40]
call fcn.1400656a0
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
mov rcx, rax
mov rdx, r15
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140019a09
mov r14, qword [rsp + 0x38]
cmp qword [rsi], r14
je 0x140019a25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140019a5b
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400199ff
mov qword [rsi], r14
call fcn.1400442e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140019a25
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov edi, 0x80004005
cmovne edi, ecx
lea rcx, [rsp + 0x40]
call fcn.14003fe50
lea rcx, [rsp + 0x50]
call fcn.140067870
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400a2830
mov eax, edi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400442e0
mov rcx, qword [rsi]
call fcn.14003fd20
mov qword [rsi], 0
jmp 0x1400199ed
Function at 0x14001a4af
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov esi, dword [rsp + 0x180]
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movaps xmm6, xmmword [0x140158be0]
lea rcx, [rsp + 0xe0]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.14009ef30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
je 0x14001a52b
lea rdx, [rsp + 0xe0]
mov ecx, esi
call fcn.1400190ec
test eax, eax
jns 0x14001a550
mov esi, eax
jmp 0x14001a6d4
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.14009c340
lea rcx, [rsp + 0xe0]
mov rdx, rsi
call fcn.140065650
mov rcx, rsi
call fcn.14003fe50
mov rsi, qword [rsp + 0x170]
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0xc0]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
mov rcx, r12
call fcn.14010a420
mov qword [rsp + 0x20], r12
mov rcx, r15
mov rdx, r14
mov r8, rbx
mov r9, rsi
call fcn.1400194dc
test eax, eax
js 0x14001a715
mov rsi, qword [rsp + 0x178]
lea rbx, [rsp + 0xa0]
mov qword [rbx + 0x10], r13
movaps xmmword [rbx], xmm6
lea rcx, [rsp + 0xc0]
call fcn.1400e0030
mov rcx, rax
mov rdx, rbx
mov r8, rsi
call fcn.140069f80
lea rsi, [rsp + 0x50]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
mov rcx, rsi
mov rdx, rbx
call fcn.14006aa70
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.14010ae70
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call fcn.1400198d3
mov esi, eax
test eax, eax
js 0x14001a70e
mov rbx, qword [rsp + 0x188]
lea rcx, [rsp + 0xc0]
lea rdi, [rsp + 0x30]
mov rdx, rdi
call fcn.14010a430
mov rcx, rdi
call fcn.140019d4a
mov rcx, rdi
call fcn.140044660
mov r14, qword [rsp + 0x48]
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14001a664
call fcn.1400442e0
cmp qword [rbx], r14
je 0x14001a697
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x14001a719
cmp r15, 2
jb 0x14001a68f
mov qword [rbx], r14
call fcn.1400442e0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14001a6b0
call fcn.1400442e0
mov rcx, rdi
call fcn.14003fd20
lea rcx, [rsp + 0x50]
call fcn.14006acb0
lea rcx, [rsp + 0xa0]
call fcn.140044660
lea rcx, [rsp + 0xc0]
call fcn.14010a510
lea rcx, [rsp + 0xe0]
call fcn.14003fe50
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400a2830
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x48]
jmp 0x14001a699
mov esi, eax
jmp 0x14001a6c7
call fcn.1400442e0
mov rcx, qword [rbx]
call fcn.14003fd20
mov qword [rbx], 0
jmp 0x14001a681
Function at 0x14003fcb0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14003fcf8
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14003fd01
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14003fce8
mov qword [rdi], rsi
call fcn.1400442e0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400442e0
mov rcx, qword [rdi]
call fcn.14003fd20
mov qword [rdi], 0
jmp 0x14003fcd6
Function at 0x140046b90
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.140040000
mov qword [rsi], 0
test rax, rax
je 0x140046be3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140046c17
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140046bdb
mov qword [rsi], rbx
call fcn.1400442e0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140044410
lea rcx, [rsi + 0x20]
call fcn.14004c6f0
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.1400442e0
mov rcx, qword [rsi]
call fcn.14003fd20
mov qword [rsi], 0
jmp 0x140046bc9
Function at 0x140048d20
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x140048d52
mov ecx, dword [rdi + 0x2c]
call fcn.14004f6a0
test rax, rax
je 0x140048db1
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.14004f700
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, qword [rdi + 0x10]
lea rcx, [0x1401205f0]
cmp rax, rcx
jne 0x140048da6
mov rax, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x1401647f0]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x140164800]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [0x1401b1008]
jmp 0x140048d99
xor eax, eax
jmp 0x140048d9e
Function at 0x14004a190
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14004c1e0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x1401a13f8]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x14004a1ee
jnp 0x14004a254
ucomisd xmm0, xmm6
jne 0x14004a1f6
jnp 0x14004a250
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x14015ce80]
subpd xmm1, xmmword [0x14015ce90]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140166ce0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a2830
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x14004a228
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401a1408]
mov ecx, dword [0x140197c68]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004a371
mov eax, dword [0x1401a1418]
mov ecx, dword [0x140197c68]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004a3ab
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x1401a1410]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140166cd8]
ucomisd xmm2, xmm1
ja 0x14004a1ee
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x1401a1400]
movq xmm2, rbx
punpckldq xmm2, xmmword [0x14015ce80]
subpd xmm2, xmmword [0x14015ce90]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x1401a13f8], xmm0
jmp 0x14004a1ee
lea rcx, [0x1401a1408]
call fcn.1400a14d0
cmp dword [0x1401a1408], 0xffffffff
jne 0x14004a29d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401a1400], rdx
lea rcx, [0x1401a1408]
call fcn.1400a1568
jmp 0x14004a29d
lea rcx, [0x1401a1418]
call fcn.1400a14d0
cmp dword [0x1401a1418], 0xffffffff
jne 0x14004a2c2
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x1401a1410], rax
lea rcx, [0x1401a1418]
call fcn.1400a1568
jmp 0x14004a2c2
Function at 0x14004b660
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x14004b6cb
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x14004b6f9
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.1400a1370
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x14004b6c4
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x14004b6a0
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x14004b703
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400a13ac
jmp 0x14004b69b
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x14004b6e2
mov rcx, rdi
call fcn.140030ff3
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14004b6f9
mov rax, rdi
shr rax, 0x3d
je 0x14004b67f
jmp 0x14004b80c
cmp rdi, rbx
jae 0x14004b6bc
jmp 0x14004b811
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x14004b800
cmp rcx, rdi
jb 0x14004b781
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x14004b6bc
lea r11, [rdi - 1]
jmp 0x14004b7cf
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x14004b6bc
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14004b7fb
cmp rax, rdi
jb 0x14004b7e6
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x14004b7ba
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
jne 0x14004b79a
mov qword [rdx + rax*8], r8
jmp 0x14004b7bd
and rax, r11
jmp 0x14004b7e6
lea rax, [rdi - 1]
and rcx, rax
jmp 0x14004b781
call fcn.1400e0ace
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14004b831
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14004b836
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400d3684
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14015dc00]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x14004b8e9
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x14004b8e9
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x14004b8f4
mov rcx, rax
call fcn.140030ff3
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x14004b6bc
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14010a960
Function at 0x14004f600
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140082370]
lea r8, [rsp + 0x20]
mov qword [r8], rax
lea rcx, [0x1401a1f68]
lea rdx, [0x140082300]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14004f692
cmp dword [0x1401a1f70], 0
jne 0x14004f68e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401a1f74]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14004f68e
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a2830
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14004f676
call fcn.1400b6cd0
int3

Function at 0x14004f810
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14004f839
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 0x14004f820
movzx eax, r9b
ret
xor eax, eax
ret