joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400318c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x140136a00]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1af
call fcn.14006e470
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400740a0
cmp byte [rdi + 0x17], 0
jns 0x140031944
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140074100
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009d8b0
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x140031980
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x140136a00]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1d7
call fcn.14006e470
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400740a0
cmp byte [rdi + 0x17], 0
jns 0x140031a04
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.140074100
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009d8b0
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x140031a50
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov r14, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a05e0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x140031af3
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1400b6258
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14006cab0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.14002f6a0
mov rcx, r14
mov rdx, rsi
call fcn.14006cc00
mov rcx, rsi
call fcn.14006cb90
mov rcx, rbx
call fcn.14006cb90
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14009d8b0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140031b20
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a05e0
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140031bb5
cmp word [rsp + 0x70], 0
je 0x140031bb5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400b6258
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14006cab0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14009d8b0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140136a00]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14006ca30
mov rcx, rdi
call fcn.140031a50
test al, al
je 0x140031bf5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14006ca90
jmp 0x140031c14
lea rax, [0x14013d152]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14006cab0
lea rcx, [rsp + 0x40]
call fcn.14006cb90
jmp 0x140031b97
Function at 0x140031fe0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov r14d, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea rbx, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a05e0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400335c0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140136a00]
movaps xmmword [rdi], xmm0
mov rcx, rbx
mov rdx, rdi
call fcn.1400337a0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140032076
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140032147
lea rbx, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a05e0
mov rcx, r15
mov rdx, rbx
call fcn.140033710
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x1400321da
mov rcx, rbx
call fcn.140033510
test al, al
jne 0x140032184
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400320dd
mov rcx, qword [rsp + 0x30]
call r13
test eax, eax
jne 0x140032143
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, rbx
call fcn.140019a90
mov rcx, r15
mov rdx, rbx
call fcn.1400337a0
mov rcx, rdi
mov rdx, rbx
call fcn.14006cc00
mov rcx, rbx
call fcn.14006cb90
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x140032135
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x140032096
jmp 0x140032147
xor ebp, ebp
jmp 0x1400320fa
lea rcx, [rsp + 0x30]
call fcn.14006cb90
lea rcx, [rsp + 0x298]
call fcn.1400336a0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14009d8b0
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
test r14b, r14b
je 0x1400320fa
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.140031fe0
test eax, eax
jne 0x14003222b
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x1400321b4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400320fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x1400320fa
test r14b, r14b
je 0x1400321f0
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x140032215
mov rcx, qword [rsp + 0x30]
jmp 0x14003221a
lea rcx, [rsp + 0x48]
call fcn.140033510
test al, al
je 0x140032225
lea rcx, [rsp + 0x48]
call fcn.140033510
test al, al
je 0x1400320ce
jmp 0x140032143
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400320be
mov edx, dword [rsp + 0x48]
jmp 0x1400321df
mov ebp, eax
jmp 0x1400320fa
Function at 0x140032250
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov esi, r8d
mov r14, rdx
mov r15, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x50], r12
movaps xmm0, xmmword [0x140136a00]
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.WriteAtCurrentPos
lea r8, str..._.._base_files_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x88
call fcn.14006e470
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400740a0
test esi, esi
js 0x140032358
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0
call fcn.1400726d0
test al, al
jne 0x14003235f
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0xaaaaaaaa
mov rcx, qword [r15]
mov qword [rsp + 0x20], 0
mov rdx, r14
mov r8d, esi
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [rdi]
lea rcx, [rsp + 0x30]
call fcn.140072760
lea rcx, [rsp + 0x50]
call fcn.140074100
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14009d8b0
mov eax, esi
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14003232b
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.1400e8c80
jmp 0x1400322f2

Function at 0x140032380
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov r14, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x50], rsi
movaps xmm0, xmmword [0x140136a00]
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, 0x9c
call fcn.14006e470
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400740a0
mov qword [rbx + 8], rsi
mov qword [rbx], 0
call fcn.1400726d0
test al, al
jne 0x140032464
lea rdi, [rsp + 0x28]
mov qword [rdi], rsi
mov rcx, qword [r14]
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.140072760
lea rcx, [rsp + 0x50]
call fcn.140074100
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14009d8b0
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, r14
xor r9d, r9d
call fcn.1400e8c80
jmp 0x140032411
Function at 0x1400325f0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r15d, r8d
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x140136a00]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
lea rdx, str.DoInitialize
lea r8, str..._.._base_files_file_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x160
call fcn.14006e470
mov rcx, rbp
mov rdx, rdi
xor r8d, r8d
call fcn.1400740a0
mov eax, r15d
and eax, 1
neg eax
and eax, 3
test r15b, 2
mov edx, 1
cmove edx, eax
test r15b, 4
mov ecx, 4
cmovne edx, ecx
test r15b, 8
mov ebp, 2
cmove ebp, edx
test r15b, 0x10
mov eax, 5
cmove eax, ebp
test eax, eax
je 0x140032853
mov edx, r15d
and edx, 0x40
shl edx, 0x18
test r15b, 0x80
cmove ecx, edx
mov edx, r15d
rol edx, 0x1a
mov edi, r15d
shl edi, 0xb
and edi, 0x20000000
mov esi, r15d
shr esi, 4
and esi, 0x10000
and edx, 0x80000100
or edx, edi
or edx, esi
or edx, ecx
mov ecx, r15d
shr ecx, 8
and ecx, 3
mov r8d, r15d
shr r8d, 0xd
and r8d, 4
or r8d, ecx
xor r8d, 3
mov edi, r15d
and edi, 0x400
mov ecx, edi
shl ecx, 0x14
mov ebp, r15d
shr ebp, 3
and ebp, 0x100
or ebp, ecx
mov ecx, r15d
shr ecx, 0xb
and ecx, 2
or ecx, ebp
mov ebp, r15d
shl ebp, 0xd
and ebp, 0x4000000
or ebp, ecx
mov ecx, r15d
shl ecx, 8
mov esi, ecx
and esi, 0x2000000
or esi, ebp
and ecx, 0x8000000
or ecx, esi
cmp byte [rbx + 0x17], 0
jns 0x140032765
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 [r14], rax
je 0x1400327c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [r14]
inc rax
cmp rax, 2
jae 0x14003283a
mov rax, rbx
inc rax
cmp rax, 2
jb 0x1400327b6
mov qword [r14], rbx
call fcn.14006e490
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [r14]
inc rbx
cmp rbx, 2
jb 0x140032815
shr edi, 0xa
mov dword [r14 + 0x24], 0
mov byte [r14 + 0x29], dil
test r15b, 4
jne 0x140032828
test r15b, 0xa
je 0x1400327ea
mov byte [r14 + 0x28], 1
lea rcx, [rsp + 0x60]
call fcn.140074100
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14009d8b0
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.140032480
mov dword [r14 + 0x24], eax
jmp 0x1400327ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [r14 + 0x28]
jmp 0x1400327ea
call fcn.14006e490
mov rcx, qword [r14]
call fcn.140070660
mov qword [r14], 0
jmp 0x1400327a2
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [r14 + 0x24], 0xffffffff
jmp 0x1400327ea
Function at 0x140034ab0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a05e0
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 0x140034b3c
mov ebx, eax
sub rbx, 1
jb 0x140034b3c
cmp word [rsp + rbx*2 + 0x20], 0x5c
je 0x140034b0c
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140034b26
mov rcx, qword [rsi]
lea r8, [rbx + 1]
lea rdx, [rsp + 0x20]
call fcn.1400b1bbc
test eax, eax
je 0x140034c0f
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 0x140034b96
mov ebx, eax
sub rbx, 1
jb 0x140034b96
cmp word [rsp + rbx*2 + 0x20], 0x5c
je 0x140034b66
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140034b80
mov rcx, qword [rsi]
lea r8, [rbx + 1]
lea rdx, [rsp + 0x20]
call fcn.1400b1bbc
test eax, eax
je 0x140034c41
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 0x140034bf0
mov ebx, eax
sub rbx, 1
jb 0x140034bf0
cmp word [rsp + rbx*2 + 0x20], 0x5c
je 0x140034bc0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140034bda
mov rcx, qword [rsi]
lea r8, [rbx + 1]
lea rdx, [rsp + 0x20]
call fcn.1400b1bbc
test eax, eax
je 0x140034c76
xor edi, edi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14009d8b0
mov eax, edi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
ret
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x140034c1e
mov rcx, qword [rsi + 8]
dec rcx
mov dil, 1
cmp rcx, rbx
je 0x140034bf2
mov rcx, rsi
test al, al
jns 0x140034c33
mov rcx, qword [rsi]
cmp word [rcx + rbx*2 + 2], 0x5c
jne 0x140034b3c
jmp 0x140034bf2
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x140034c50
mov rcx, qword [rsi + 8]
dec rcx
mov dil, 1
cmp rcx, rbx
je 0x140034bf2
mov rcx, rsi
test al, al
jns 0x140034c65
mov rcx, qword [rsi]
cmp word [rcx + rbx*2 + 2], 0x5c
jne 0x140034b96
jmp 0x140034bf2
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x140034c85
mov rcx, qword [rsi + 8]
dec rcx
mov dil, 1
cmp rcx, rbx
je 0x140034bf2
test al, al
jns 0x140034c9b
mov rsi, qword [rsi]
cmp word [rsi + rbx*2 + 2], 0x5c
jne 0x140034bf0
jmp 0x140034bf2
Function at 0x140036b00
Capabilities:
Create thread

Disassembly:
jmp 0x140036b00
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebp, r9d
mov rdi, r8
mov rsi, rdx
mov r13, rcx
xor ebx, ebx
test rcx, rcx
setne bl
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffe00000000
shl ebx, 0x10
mov ecx, 0x10
call fcn.14009cf68
mov r15, rax
mov rax, rsi
and rax, r12
cmp rax, qword [0x14015a048]
je 0x140036bc3
mov qword [r15], rsi
test rdi, rdi
setne byte [r15 + 8]
mov dword [r15 + 0xc], ebp
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
lea r8, [0x140036ea0]
xor ecx, ecx
mov rdx, r13
mov r9, r15
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
test rax, rax
je 0x140036bcd
test rdi, rdi
je 0x140036c11
mov qword [rdi], r14
test r14, r14
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009d8b0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
call fcn.1400e85f0
jmp 0x140036b5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x140036be6
mov edi, eax
cmp eax, 0x5af
je 0x140036be6
cmp edi, 0xe
jne 0x140036c1c
mov rcx, r13
call fcn.1400eec40
test r15, r15
je 0x140036b9d
mov rcx, qword [r15]
and r12, rcx
cmp r12, qword [0x14015a048]
jne 0x140036c07
call fcn.1400e86f0
mov rcx, r15
call fcn.14009cfa4
jmp 0x140036b9d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140036b9d
mov eax, dword [0x140166890]
mov ecx, dword [0x140161624]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140036c8f
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov edx, edi
call fcn.140036440
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
cmovs rax, qword [rsi + 8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov rcx, qword [0x140166888]
call fcn.14007ab50
cmp byte [rsi + 0x17], 0
jns 0x140036bee
mov rcx, qword [rsp + 0x38]
call fcn.14009cfa4
jmp 0x140036bee
lea rcx, [0x140166890]
call fcn.14009d0c0
cmp dword [0x140166890], 0xffffffff
jne 0x140036c3d
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140042e00
mov qword [0x140166888], rax
lea rcx, [0x140166890]
call fcn.14009d158
jmp 0x140036c3d
Function at 0x140039030
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140166900]
mov ecx, dword [0x140161624]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140039090
lea rsi, [0x1401668f8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14009d8b0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140166900]
call fcn.14009d0c0
cmp dword [0x140166900], 0xffffffff
jne 0x14003906c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400a05e0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
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.14009cf68
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140166948]
mov ecx, dword [0x140161624]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140039150
lea r8, [0x140166918]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.140039270
mov qword [0x1401668f8], rsi
lea rcx, [0x140166900]
call fcn.14009d158
jmp 0x14003906c
lea rcx, [0x140166948]
call fcn.14009d0c0
cmp dword [0x140166948], 0xffffffff
jne 0x140039121
xorps xmm0, xmm0
movups xmmword [0x140166938], xmm0
movups xmmword [0x140166928], xmm0
movups xmmword [0x140166918], xmm0
lea rcx, [0x140166918]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140166948]
call fcn.14009d158
jmp 0x140039121

Function at 0x1400391c0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140166948]
mov ecx, dword [0x140161624]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400391fc
movzx ecx, word [0x140166918]
cmp cx, 9
jne 0x140039244
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140166948]
call fcn.14009d0c0
cmp dword [0x140166948], 0xffffffff
jne 0x1400391e5
xorps xmm0, xmm0
movups xmmword [0x140166938], xmm0
movups xmmword [0x140166928], xmm0
movups xmmword [0x140166918], xmm0
lea rcx, [0x140166918]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140166948]
call fcn.14009d158
jmp 0x1400391e5
xor eax, eax
test cx, cx
je 0x1400391f7
cmp cx, 6
jne 0x140039258
mov eax, 2
jmp 0x1400391f7
cmp cx, 0xc
jne 0x140039265
mov eax, 3
jmp 0x1400391f7
mov eax, 4
jmp 0x1400391f7
Function at 0x140039980
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x140039a6c
cmp qword [rsi], 0
jne 0x140039a6c
cmp dword [rsi + 0x14], 0
jne 0x140039a6c
cmp qword [rsi + 8], 0
jne 0x140039a6c
xor eax, eax
mov rbx, qword [rdi]
cmp rax, rbx
je 0x1400399ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140039a3e
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400399e7
mov qword [rsi], rbx
call fcn.14006e490
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [rdi + 8]
cmp qword [rsi + 8], rbp
je 0x140039a29
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140039a54
lea rax, [rbp + 1]
cmp rax, 2
jb 0x140039a21
mov qword [rsi + 8], rbp
call fcn.14006e490
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 rbp
pop rdi
pop rsi
ret
call fcn.14006e490
mov rcx, qword [rsi]
call fcn.140070660
mov qword [rsi], 0
jmp 0x1400399d5
call fcn.14006e490
mov rcx, qword [rsi + 8]
call fcn.140070660
mov qword [rsi + 8], 0
jmp 0x140039a0e
mov rcx, rsi
call fcn.1400ec7d0
mov rax, qword [rsi]
jmp 0x1400399b9
Function at 0x140039e50
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, [0x140138430]
mov qword [rcx], rax
add rcx, 8
call fcn.1400719a0
lea rcx, [rsi + 0x10]
call fcn.1400719a0
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.1400719a0
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
movups xmmword [rsi + 0xc0], xmm6
movups xmmword [rsi + 0xd0], xmm6
mov qword [rsi + 0xe0], rbx
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 [0x14014419c]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.1400450c0
lea rcx, [rsi + 0x308]
movups xmmword [rsi + 0x2f0], xmm6
mov qword [rsi + 0x300], rbx
xor edx, edx
call fcn.140041fa0
lea rcx, [rsi + 0x310]
xor edx, edx
call fcn.140041fa0
lea rcx, [rsi + 0x318]
xor edx, edx
call fcn.140041fa0
movups xmmword [rsi + 0x320], xmm6
movups xmmword [rsi + 0x330], xmm6
mov dword [rsi + 0x340], ebp
movsxd rax, edi
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x368], xmm6
mov byte [rsi + 0x378], bl
mov qword [rsi + 0x380], rax
mov byte [rsi + 0x388], bl
movups xmmword [rsi + 0x390], xmm6
movups xmmword [rsi + 0x3a0], xmm6
call fcn.140019a90
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x1a8], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.14003a090
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14003a06f
call fcn.140044960
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140044a10
mov qword [0x140166d08], 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 [0x140177010]
jmp 0x14003a03d