joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e81a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r14, rcx
call fcn.14002a12e
mov ebp, eax
test rdi, rdi
je 0x14001e84f
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x14001e864
movzx eax, word [rax]
jmp 0x14001e874
xor r15d, r15d
mov eax, 6
test bpl, bpl
jne 0x14001e8fe
xor edi, edi
jmp 0x14001e88c
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401b1be0]
xor r15d, r15d
cmp ax, 0xffff
sete cl
cmove rdi, r15
mov eax, 6
cmp bpl, cl
je 0x14001e8fe
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14001e89e
movzx ebp, word [rax]
jmp 0x14001e8ad
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1401b1be0]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x1401b1be0]
test al, al
je 0x14001e8f6
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x1401b1be0]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14001e912
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x14001e91f
xor r15d, r15d
mov eax, 4
or dword [rsi], eax
mov eax, r15d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1401b1be0]
mov r12d, dword [rsp + 0x80]
movsx r15d, bpl
mov rcx, r14
call fcn.14002a12e
mov ebp, eax
test rdi, rdi
je 0x14001e949
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x14001e94d
movzx eax, word [rax]
jmp 0x14001e95d
mov al, 1
jmp 0x14001e966
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401b1be0]
cmp ax, 0xffff
sete al
jne 0x14001e968
xor edi, edi
add r15d, 0xffffffd0
cmp bpl, al
je 0x14001ea0e
cmp r12d, 2
jl 0x14001ea0e
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14001e991
movzx ebp, word [rax]
jmp 0x14001e9a0
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1401b1be0]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x1401b1be0]
test al, al
je 0x14001e900
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x1401b1be0]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14001e9ed
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x14001e9fa
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1401b1be0]
lea eax, [r15 + r15*4]
movsx ecx, bpl
lea r15d, [rcx + rax*2]
dec r12d
jmp 0x14001e92b
mov rcx, r14
call fcn.14002a12e
mov ebx, eax
test rdi, rdi
je 0x14001ea2c
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x14001ea3e
movzx eax, word [rax]
jmp 0x14001ea4e
mov eax, 2
test bl, bl
jne 0x14001e8fe
jmp 0x14001e900
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401b1be0]
cmp ax, 0xffff
sete al
xor bl, al
mov eax, 2
je 0x14001e8fe
jmp 0x14001e900
Function at 0x14002d820
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14002d847
mov r14, r12
jmp 0x14002d95f
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x14002d8a9
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14002d895
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140146810
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x14002d95f
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14002d992
lea rcx, [r13*8]
call fcn.140143888
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x14002d918
lea r14, [rdx + rcx]
xor r8d, r8d
nop word [rax + rax]
mov r9, rcx
add r9, r8
je 0x14002d97f
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14002d900
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
nop dword [rax + rax]
cmp r12, rbx
je 0x14002d94e
add r12, 0xfffffffffffffff8
jne 0x14002d930
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.140005804
test r15, r15
je 0x14002d95f
mov rcx, r15
call fcn.1401438d8
mov r14, qword [rsi + 0x10]
test r14, r14
je 0x14002d97f
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140005804
call fcn.140001c45
int3
Function at 0x14002d9a0
Capabilities:
Access peb ldr_data

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rbx, [rcx + 8]
lea rax, [0x1401877d0]
mov qword [rcx], rax
lea rax, [0x1401877e0]
mov qword [rcx + 8], rax
mov eax, dword [0x1401c65c8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 8]
mov qword [rsi + 0x10], rcx
mov rcx, qword [rax + 8]
mov qword [rax + 8], rsi
mov qword [rsi + 0x18], rcx
mov qword [rsi + 0x20], rdx
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov eax, dword [rdx + 0x344]
mov dword [rsi + 0x38], eax
lea r14, [rsp + 0x60]
mov rcx, r14
call fcn.1400447c0
mov rcx, r14
mov rdx, rsi
call fcn.140044800
call fcn.140033c40
mov r14, rax
call fcn.140044360
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14002da5b
mov rcx, qword [rsp + 0x48]
add rcx, 8
call fcn.14000b0cc
mov r9, qword [rsp + 0x48]
lea r8, str.ThreadLocalEventBuffer
mov rcx, r14
mov rdx, rbx
call fcn.140033dd0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rsp + 0x44], eax
lea rbx, [rdi + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x14002da94
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
call fcn.140044360
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14002dab4
mov rcx, qword [rsp + 0x38]
add rcx, 8
call fcn.14000b0cc
add rdi, 0x2e8
lea r8, [rsp + 0x44]
mov qword [rsp + 0x50], r8
lea rax, [rsp + 0x5f]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140181e4b]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140031830
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x60], rcx
mov rdx, qword [rax + 0x18]
mov qword [rax + 0x18], rcx
mov qword [rsp + 0x60], rdx
test rdx, rdx
je 0x14002db1e
mov rcx, qword [rsp + 0x60]
lock dec dword [rcx + 8]
jne 0x14002db1e
call fcn.140044330
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140143c30
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14002e060
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140187818]
mov qword [rcx], rax
add rcx, 8
call fcn.140036e90
lea rcx, [rsi + 0x10]
call fcn.140036e90
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.140036e90
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0xb8], xmm6
movups xmmword [rsi + 0xc8], xmm6
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
mov dword [rsi + 0xb0], 0
mov dword [rsi + 0xd8], 0x3f800000
mov dword [rsi + 0xe0], 0
movups xmmword [rsi + 0xe8], xmm6
movups xmmword [rsi + 0xf8], xmm6
mov dword [rsi + 0x108], 0x3f800000
movups xmmword [rsi + 0x110], xmm6
movups xmmword [rsi + 0x120], xmm6
mov dword [rsi + 0x130], 0x3f800000
movups xmmword [rsi + 0x138], xmm6
movups xmmword [rsi + 0x148], xmm6
mov dword [rsi + 0x158], 0x3f800000
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], 0x3f800000
mov qword [rsi + 0x1a0], 0
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], 0
mov eax, dword [0x14018e1d8]
mov dword [rsi + 0x1a8], eax
lea rcx, [rsi + 0x1b0]
call fcn.140069e80
movups xmmword [rsi + 0x2e8], xmm6
movups xmmword [rsi + 0x2f8], xmm6
mov dword [rsi + 0x308], 0x3f800000
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
movups xmmword [rsi + 0x330], xmm6
mov byte [rsi + 0x340], 0
mov dword [rsi + 0x344], edi
mov byte [rsi + 0x348], 0
movups xmmword [rsi + 0x350], xmm6
mov qword [rsi + 0x360], 0
call fcn.1400029f0
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
mov edx, dword [rsi + 0x1a8]
mov rax, qword [rsi + 0x1b8]
mov rcx, rax
shr rcx, 6
test dword [0x14018e1dc], edx
je 0x14002e259
cmp rax, 0x40
mov eax, 0x3e8
jmp 0x14002e26a
test dword [0x14018e1e0], edx
je 0x14002e2d7
cmp rax, 0x40
mov eax, 0x100
cmovb rcx, rax
call fcn.140068aa0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x14002e291
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401b1be0]
call fcn.140033c40
mov qword [rsp + 0x20], 0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140033dd0
mov qword [0x1401c61d0], rsi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140143c30
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rdi
pop rsi
ret
test dword [0x14018e1e4], edx
je 0x14002e2ea
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x14002e2f3
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140068ba0
jmp 0x14002e273
Function at 0x140034b10
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x38]
mov r8d, 0x118
xor edx, edx
call fcn.140146ec0
mov dword [rsp + 0x34], 0x11c
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140143888
mov rsi, rax
mov edi, dword [rsp + 0x30]
mov eax, dword [0x1401c6238]
mov ecx, dword [0x1401c65c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x40]
jg 0x140034bdc
lea r8, [0x1401c6208]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140034d40
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140143c30
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401c6238]
call fcn.1401439f0
cmp dword [0x1401c6238], 0xffffffff
jne 0x140034ba8
xorps xmm0, xmm0
movups xmmword [0x1401c6228], xmm0
movups xmmword [0x1401c6218], xmm0
movups xmmword [0x1401c6208], xmm0
lea rcx, [0x1401c6208]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401c6238]
call fcn.140143a88
jmp 0x140034ba8

Function at 0x140034c90
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401c6238]
mov ecx, dword [0x1401c65c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x40]
jg 0x140034cf1
movzx eax, word [0x1401c6208]
cmp rax, 0xc
ja case.0x140034cd0.1
lea rcx, [0x140188fa4]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
jmp rdx
mov eax, 2
jmp case.0x140034cd0.0
mov eax, 1
jmp case.0x140034cd0.0
mov eax, 3
jmp case.0x140034cd0.0
mov eax, 4
add rsp, 0x28
ret
lea rcx, [0x1401c6238]
call fcn.1401439f0
cmp dword [0x1401c6238], 0xffffffff
jne 0x140034cb5
xorps xmm0, xmm0
movups xmmword [0x1401c6228], xmm0
movups xmmword [0x1401c6218], xmm0
movups xmmword [0x1401c6208], xmm0
lea rcx, [0x1401c6208]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401c6238]
call fcn.140143a88
jmp 0x140034cb5

Function at 0x1400356b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14003572b
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14003572b
cmp dword [rsp + 0x38], 4
jne 0x14003572b
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140143c30
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x140035750
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140143bd0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140146ec0
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rbx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x3c]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14003583b
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x1400357eb
mov edi, 0x3f4
cmp eax, 1
jne 0x14003583b
lea rdx, [rsp + 0x840]
jmp 0x140035831
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140146ec0
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x14003583b
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14002c028
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140143c30
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140035860
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.140169634
lea eax, [rax*2 + 2]
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140035fc0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1401c6258]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x140036114
jp 0x140036114
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1401c6268]
mov ecx, dword [0x1401c65c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x40]
jg 0x140036134
mov eax, dword [0x1401c6278]
mov ecx, dword [0x1401c65c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x40]
jg 0x14003616e
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r14, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r14, qword [0x1401c6270]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14
cvtsi2sd xmm1, qword [rsp + 0x20]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x140182278]
ucomisd xmm1, xmm0
ja 0x140036114
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1401c6260]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x140181320]
subpd xmm1, xmmword [0x140181330]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1401c6258], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140143c30
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401c6268]
call fcn.1401439f0
cmp dword [0x1401c6268], 0xffffffff
jne 0x140036042
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401c6260], rdx
lea rcx, [0x1401c6268]
call fcn.140143a88
jmp 0x140036042
lea rcx, [0x1401c6278]
call fcn.1401439f0
cmp dword [0x1401c6278], 0xffffffff
jne 0x140036067
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x1401c6270], rax
lea rcx, [0x1401c6278]
call fcn.140143a88
jmp 0x140036067
Function at 0x1400366f0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r12d, dword [rsp + 0xc0]
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x58], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.140143888
mov rsi, rax
mov qword [rax], r15
test r14, r14
setne byte [rax + 8]
mov dword [rax + 0xc], edi
mov dword [rax + 0x10], r12d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x140036ce0]
xor ecx, ecx
mov rdx, rbx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14003677f
test r14, r14
je 0x14003679a
mov qword [r14], rdi
jmp 0x1400367ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jg 0x1400367a5
cmp ebp, 8
je 0x1400367b5
cmp ebp, 0xe
je 0x1400367b5
jmp 0x1400367ee
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400367ca
cmp ebp, 0x5af
je 0x1400367b5
cmp ebp, 0x27b
jne 0x1400367ee
mov rcx, rbx
call fcn.1400635a0
test rsi, rsi
je 0x1400367ca
mov rcx, rsi
call fcn.1401438d8
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140143c30
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov eax, dword [0x1401c62c0]
mov ecx, dword [0x1401c65c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x40]
jg 0x1400368af
lea rcx, [rsp + 0x30]
mov edx, ebp
call fcn.1400480d0
movzx eax, byte [rsp + 0x30]
test al, 1
jne 0x14003683b
shr eax, 1
lea rcx, [rsp + 0x31]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
jmp 0x140036854
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
test rax, rax
js 0x140036889
test rcx, rcx
jne 0x14003685e
test rax, rax
jne 0x14003689c
mov rcx, qword [0x1401c62b8]
lea rdx, [rsp + 0x48]
call fcn.1400408d0
test byte [rsp + 0x30], 1
je 0x1400367bd
mov rcx, qword [rsp + 0x40]
call fcn.1401438d8
jmp 0x1400367bd
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.140005804
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140005804
lea rcx, [0x1401c62c0]
call fcn.1401439f0
cmp dword [0x1401c62c0], 0xffffffff
jne 0x140036813
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.1400408a0
mov qword [0x1401c62b8], rax
lea rcx, [0x1401c62c0]
call fcn.140143a88
jmp 0x140036813
Function at 0x140038ee0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdx
mov qword [rcx], 0
test rdx, rdx
je 0x140038f51
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x140038f37
call fcn.140054d90
mov rcx, qword [rsi]
call fcn.140035570
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140038f49
mov qword [rsi], rdi
call fcn.140054d90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], rax
cmp rax, rdi
je 0x140038f7f
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140143c30
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [0x14000bbc0]
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14005f790
mov rbx, rax
lea rcx, [rsp + 0x48]
mov rdx, rdi
call fcn.14005f790
lea rcx, str.handle___::GetCurrentProcess__
mov rdx, rax
mov r8, rbx
call fcn.14005f9d0
test rax, rax
je 0x140038f65
mov rdi, rax
lea rdx, str.Process
lea r8, str....._baseprocessprocess_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x29
call fcn.140054d70
lea r14, [rsp + 0x40]
mov rcx, r14
mov rdx, rdi
mov r8d, 0xffffffff
mov r9, rbx
call fcn.14005fd60
mov rcx, r14
call fcn.14005ff10
jmp 0x140038f65

Function at 0x140039010
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14003903a
call fcn.140054d90
mov qword [rsi], 0
test r14, r14
je 0x140039068
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400390a2
cmp r15, 2
jae 0x1400390bc
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jb 0x140039093
call fcn.140054d90
mov rcx, qword [rdi]
call fcn.140035570
mov qword [rdi], 0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140054d90
mov rcx, qword [rsi]
call fcn.140035570
mov qword [rsi], 0
cmp r15, 2
jb 0x140039060
mov qword [rsi], r14
call fcn.140054d90
jmp 0x140039060