joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034b60
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x50], r14
movaps xmm0, xmmword [0x14015f250]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0xa8
call fcn.14007c840
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400827d0
mov qword [rbx + 8], r14
mov qword [rbx], 0
call fcn.1400810c0
test al, al
jne 0x140034c44
lea rdi, [rsp + 0x28]
mov qword [rdi], r14
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140081150
lea rcx, [rsp + 0x50]
call fcn.140082830
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400b0a80
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, str.File::GetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
xor r9d, r9d
call fcn.1400fe4d0
jmp 0x140034bf1

Function at 0x140034c60
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x50]
mov qword [rbx + 0x50], r15
movaps xmm0, xmmword [0x14015f250]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.SetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0xb5
call fcn.14007c840
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400827d0
mov qword [r14 + 8], r15
mov qword [r14], 0
call fcn.1400810c0
test al, al
jne 0x140034d8c
lea r8, [rsp + 0x28]
mov qword [r8], r15
mov rcx, qword [rsi]
xor ebx, ebx
xor edx, edx
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140034d57
mov rcx, qword [rsi]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140034d57
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140034da8
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsi]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
setne bl
lea rcx, [rsp + 0x30]
call fcn.140081150
lea rcx, [rsp + 0x50]
call fcn.140082830
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400b0a80
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdx, str.File::SetLength
lea rcx, [rsp + 0x30]
mov r8, rsi
mov r9, rdi
call fcn.1400fe4d0
jmp 0x140034cfa
xor ebx, ebx
jmp 0x140034d57
Function at 0x140034f20
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x50], rax
movaps xmm0, xmmword [0x14015f250]
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DoInitialize
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x16f
call fcn.14007c840
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400827d0
mov eax, edi
and eax, 1
neg eax
and eax, 3
test dil, 2
mov edx, 1
cmove edx, eax
test dil, 4
mov ecx, 4
cmovne edx, ecx
test dil, 8
mov r8d, 2
cmove r8d, edx
test dil, 0x10
mov eax, 5
cmove eax, r8d
test eax, eax
je 0x140035187
mov edx, edi
and edx, 0x40
shl edx, 0x18
test dil, 0x80
cmove ecx, edx
mov edx, edi
rol edx, 0x1a
mov r8d, edi
shl r8d, 0xb
and r8d, 0x20000000
mov r9d, edi
shr r9d, 4
and r9d, 0x10000
and edx, 0x80000100
or edx, r8d
or edx, r9d
or edx, ecx
mov ecx, edi
shr ecx, 8
and ecx, 3
mov r8d, edi
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov r14d, edi
and r14d, 0x400
mov ecx, r14d
shl ecx, 0x14
mov r9d, edi
shr r9d, 3
and r9d, 0x100
or r9d, ecx
mov ecx, edi
shr ecx, 0xb
and ecx, 2
or ecx, r9d
mov r9d, edi
shl r9d, 0xd
and r9d, 0x4000000
or r9d, ecx
mov ecx, edi
shl ecx, 8
and ecx, 0xa000000
or ecx, r9d
cmp byte [rbx + 0x17], 0
jns 0x14003509c
mov rbx, qword [rbx]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp qword [rsi], rax
je 0x1400350f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003516e
mov rax, rbx
inc rax
cmp rax, 2
jb 0x1400350ed
mov qword [rsi], rbx
call fcn.14007c860
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi]
inc rbx
cmp rbx, 2
jb 0x14003514b
shr r14d, 0xa
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x29], r14b
test dil, 4
jne 0x14003515d
test dil, 0xa
je 0x140035120
mov byte [rsi + 0x28], 1
lea rcx, [rsp + 0x60]
call fcn.140082830
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b0a80
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140034db0
mov dword [rsi + 0x24], eax
jmp 0x140035120
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [rsi + 0x28]
jmp 0x140035120
call fcn.14007c860
mov rcx, qword [rsi]
call fcn.14007f5e0
mov qword [rsi], 0
jmp 0x1400350d9
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [rsi + 0x24], 0xffffffff
jmp 0x140035120
Function at 0x1400375b0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400b2bb0
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140037645
mov eax, eax
inc rax
cmp rax, 1
je 0x140037645
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x140037611
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140037632
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400c81e4
test eax, eax
je 0x140037724
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400376a6
mov eax, eax
inc rax
cmp rax, 1
je 0x1400376a6
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x140037672
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140037693
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400c81e4
test eax, eax
je 0x140037732
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140037703
mov eax, eax
inc rax
cmp rax, 1
je 0x140037703
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x1400376d3
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400376f4
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400c81e4
test eax, eax
je 0x140037740
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400b0a80
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x14003774e
mov rax, qword [rsi + 8]
jmp 0x140037751
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x14003776f
mov rax, qword [rsi + 8]
jmp 0x140037772
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x140037793
mov rax, qword [rsi + 8]
jmp 0x140037796
and eax, 0x7f
mov bl, 1
cmp rax, r14
je 0x140037705
mov rcx, rsi
mov rdx, r14
call fcn.1400f3600
cmp word [rax], 0x5c
jne 0x140037645
jmp 0x140037705
and eax, 0x7f
mov bl, 1
cmp rax, r14
je 0x140037705
mov rcx, rsi
mov rdx, r14
call fcn.1400f3600
cmp word [rax], 0x5c
jne 0x1400376a6
jmp 0x140037705
and eax, 0x7f
mov bl, 1
cmp rax, r14
je 0x140037705
mov rcx, rsi
mov rdx, r14
call fcn.1400f3600
cmp word [rax], 0x5c
jne 0x140037703
jmp 0x140037705
Function at 0x14003c220
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 [0x140183028]
xor rax, rsp
mov qword [rsp + 0x58], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400af654
mov rsi, rax
mov rax, qword [0x1401850e0]
and rax, r15
cmp rax, qword [0x1401850c8]
je 0x14003c2e4
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r12d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14003c710]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14003c2ee
test r14, r14
je 0x14003c339
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b0a80
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, r15
call fcn.140080040
jmp 0x14003c27d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14003c307
mov ebp, eax
cmp eax, 0x5af
je 0x14003c307
cmp ebp, 0xe
jne 0x14003c347
mov rcx, rbx
call fcn.140105120
test rsi, rsi
je 0x14003c2c0
mov rcx, qword [rsi]
mov rax, qword [0x1401850e0]
and rax, rcx
cmp rax, qword [0x1401850c8]
jne 0x14003c32f
call fcn.140080190
mov rcx, rsi
call fcn.1400af690
jmp 0x14003c2c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003c2c0
mov eax, dword [0x140195778]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003c3bf
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov edx, ebp
call fcn.14003b800
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
cmovs rcx, qword [rbx + 8]
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov rcx, qword [0x140195770]
call fcn.140082280
cmp byte [rbx + 0x17], 0
jns 0x14003c30f
mov rcx, qword [rsp + 0x30]
call fcn.1400af690
jmp 0x14003c30f
lea rcx, [0x140195778]
call fcn.1400af7b0
cmp dword [0x140195778], 0xffffffff
jne 0x14003c368
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14003c8c0
mov qword [0x140195770], rax
lea rcx, [0x140195778]
call fcn.1400af848
jmp 0x14003c368
Function at 0x14003cbe0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x14003cc1f
test r15, r15
je 0x14003cd0d
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14003cc69
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.1400b2500
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x14003cbfd
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x14003cd39
lea rcx, [r12*8]
call fcn.1400af654
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x14003ccdd
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x14003cd0d
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x14003ccc5
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x14003cbfd
mov rcx, r14
call fcn.1400af690
mov r15, qword [rsi + 0x10]
jmp 0x14003cbfd
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400e3160
call fcn.1400e1ba0
int3

Function at 0x14003edb0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140195850]
mov ecx, dword [0x140192954]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003edeb
movzx eax, word [0x140195820]
cmp eax, 9
jne 0x14003ee33
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140195850]
call fcn.1400af7b0
cmp dword [0x140195850], 0xffffffff
jne 0x14003edd5
xorps xmm0, xmm0
movups xmmword [0x140195840], xmm0
movups xmmword [0x140195830], xmm0
movups xmmword [0x140195820], xmm0
lea rcx, [0x140195820]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140195850]
call fcn.1400af848
jmp 0x14003edd5
test eax, eax
je 0x14003ede6
cmp eax, 6
jne 0x14003ee43
mov eax, 2
jmp 0x14003ede6
cmp eax, 0xc
jne 0x14003ee4f
mov eax, 3
jmp 0x14003ede6
mov eax, 4
jmp 0x14003ede6
Function at 0x14003f5a0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x14003f68e
cmp qword [rsi], 0
jne 0x14003f68e
cmp dword [rsi + 0x14], 0
jne 0x14003f68e
cmp qword [rsi + 8], 0
jne 0x14003f68e
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x14003f610
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003f660
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003f608
mov qword [rsi], r14
call fcn.14007c860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14003f64a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14003f676
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003f642
mov qword [rsi + 8], r14
call fcn.14007c860
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14007c860
mov rcx, qword [rsi]
call fcn.14007f5e0
mov qword [rsi], 0
jmp 0x14003f5f6
call fcn.14007c860
mov rcx, qword [rsi + 8]
call fcn.14007f5e0
mov qword [rsi + 8], 0
jmp 0x14003f62f
mov rcx, rsi
call fcn.140102680
mov rax, qword [rsi]
jmp 0x14003f5da
Function at 0x14003fbc0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x14015e730]
mov qword [rcx], rax
add rcx, 8
call fcn.14007ffc0
lea rcx, [rsi + 0x10]
call fcn.14007ffc0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.14007ffc0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
mov qword [rsi + 0xc0], rbx
movups xmmword [rsi + 0xc8], xmm6
movups xmmword [rsi + 0xd8], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xe8], ebp
mov dword [rsi + 0xf0], ebx
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x118], ebp
movups xmmword [rsi + 0x120], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x140], ebp
movups xmmword [rsi + 0x148], xmm6
movups xmmword [rsi + 0x158], xmm6
mov dword [rsi + 0x168], ebp
movups xmmword [rsi + 0x170], xmm6
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebp
mov qword [rsi + 0x1b0], rbx
movups xmmword [rsi + 0x198], xmm6
mov dword [rsi + 0x1a8], ebx
mov eax, dword [0x14016b1dc]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.14004a030
lea rcx, [rsi + 0x310]
movups xmmword [rsi + 0x2f8], xmm6
mov qword [rsi + 0x308], rbx
xor edx, edx
call fcn.140046f10
lea rcx, [rsi + 0x320]
xor edx, edx
call fcn.140046f10
lea rcx, [rsi + 0x330]
xor edx, edx
call fcn.140046f10
movups xmmword [rsi + 0x340], xmm6
movups xmmword [rsi + 0x350], xmm6
mov dword [rsi + 0x360], ebp
movups xmmword [rsi + 0x368], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
mov byte [rsi + 0x398], bl
mov dword [rsi + 0x39c], edi
mov byte [rsi + 0x3a0], bl
movups xmmword [rsi + 0x3a8], xmm6
movups xmmword [rsi + 0x3b8], xmm6
call fcn.140019c10
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x1a8], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.14003fdf0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14003fddb
call fcn.140049bf0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140049ca0
mov qword [0x140195c28], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401ab008]
jmp 0x14003fda9
Function at 0x1400419d0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x140041a00
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x140041a0e
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140031e40
lea rax, [rdx - 1]
test rdx, rax
jne 0x140041a24
mov rdi, rdx
jmp 0x1400419e5
jae 0x140041b11
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x140041a31
cvtsi2ss xmm0, rax
jmp 0x140041a46
mov rcx, rdx
call fcn.140078660
mov rdi, rax
jmp 0x1400419e5
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.1400e0e30
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14016013c]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x140041af9
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x140041af9
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x140041b01
mov rcx, rdx
call fcn.140078660
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x1400419ee
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400433b0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400433e3
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400434db
mov eax, ebx
not eax
test eax, 0x300
je 0x1400434db
cmp edi, 2
lea rax, [0x140199260]
lea rcx, [0x140199460]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400434db
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x1400434db
cmp byte [0x140199250], 0
setne al
bt ebx, 8
jb 0x1400434db
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400434db
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx ebp, byte [rsi + 0x17]
test bpl, bpl
jns 0x140043537
mov r14, qword [rsi]
mov rbp, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov r13, rbp
sub r13, r15
jb 0x1400434c8
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1400c81e4
test eax, eax
je 0x1400434fa
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x1400434a8
cmp dword [rsp + 0x2c], 0
jne 0x14004353f
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b0a80
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x140043508
test ecx, ecx
jne 0x1400434c8
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x140043568
cmp dword [rsp + 0x2c], 2
jne 0x140043579
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x140043579
mov r14, rsi
jmp 0x14004348b
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x14004354b
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.1400f9450
jmp 0x1400434db
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x140043592
lea r14, [rax + 2]
dec r13
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x14004357f
jmp 0x140043595
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov rbp, r13
jmp 0x1400434cf
Function at 0x140045310
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140183028]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x14004552c
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140186770], rax
jne 0x14004552f
mov rsi, rcx
mov r14d, dword [rcx + 0xc]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
mov dl, byte [rcx + 2]
mov rcx, r14
call fcn.140087c30
movzx eax, ax
lea r12, [rax + rax*4]
lea r15, [rsi + r12*8]
add r15, 0x48
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400454ee
mov rax, qword [r15]
mov rdi, qword [rax]
test rdi, rdi
je 0x14004547c
mov byte [rsp + 0x3f], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400454e7
lea rdx, [rsi + r12*8]
bswap rcx
mov r14d, dword [rdx + 0x60]
mov rdx, rcx
xor rdx, rdi
cmp rdx, 0x1fffff
ja 0x1400454fb
mov edx, ecx
and edx, 0x1fc000
je 0x1400454fb
prefetcht0 byte [rcx]
mov qword [rax], rcx
mov ecx, dword [rax + 0x18]
lea edx, [rcx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [rax + 0x18], ecx
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0x1498]
mov qword [rsi + 0x1498], rax
mov rcx, qword [rsi + 0x14a0]
cmp rcx, rax
cmova rax, rcx
mov qword [rsi + 0x14a0], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rdi
mov rdx, rsi
call fcn.14008a9f0
mov ecx, dword [0x140199890]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x140192954]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x120], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b0a80
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, r14
call fcn.14008fe00
test rax, rax
je 0x140045532
mov rdi, rax
mov rcx, rax
and rcx, 0xffffffffffe00000
mov rdx, rax
shr rdx, 9
and edx, 0xfe0
lea rax, [rdx + rcx]
movzx ecx, byte [rdx + rcx + 0x101e]
and ecx, 0x3f
shl rcx, 5
sub rax, rcx
add rax, 0x1000
jmp 0x1400453f7
xor ecx, ecx
jmp 0x1400453dd
mov rcx, rbx
call fcn.14008b840
jmp 0x14004538e
movaps xmm0, xmmword [0x14015f250]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
mov r8, qword [rdi]
lea rdx, str.first
mov rcx, rsi
call fcn.140106120
mov rcx, rsi
call fcn.140019c10
mov rcx, r14
call fcn.140106190
int3
int3
xor edi, edi
jmp 0x140045421