joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002cd30
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14012c040]
mov ecx, dword [0x140123880]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002cd90
lea rsi, [0x14012c038]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140081b60
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14012c040]
call fcn.140080824
cmp dword [0x14012c040], 0xffffffff
jne 0x14002cd6c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140083c80
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1400806d4
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14012c088]
mov ecx, dword [0x140123880]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002ce50
lea r8, [0x14012c058]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002cf50
mov qword [0x14012c038], rsi
lea rcx, [0x14012c040]
call fcn.1400808bc
jmp 0x14002cd6c
lea rcx, [0x14012c088]
call fcn.140080824
cmp dword [0x14012c088], 0xffffffff
jne 0x14002ce21
xorps xmm0, xmm0
movups xmmword [0x14012c078], xmm0
movups xmmword [0x14012c068], xmm0
movups xmmword [0x14012c058], xmm0
lea rcx, [0x14012c058]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14012c088]
call fcn.1400808bc
jmp 0x14002ce21

Function at 0x14002cea0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14012c088]
mov ecx, dword [0x140123880]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002cedb
movzx eax, word [0x14012c058]
cmp eax, 9
jne 0x14002cf23
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14012c088]
call fcn.140080824
cmp dword [0x14012c088], 0xffffffff
jne 0x14002cec5
xorps xmm0, xmm0
movups xmmword [0x14012c078], xmm0
movups xmmword [0x14012c068], xmm0
movups xmmword [0x14012c058], xmm0
lea rcx, [0x14012c058]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14012c088]
call fcn.1400808bc
jmp 0x14002cec5
test eax, eax
je 0x14002ced6
cmp eax, 6
jne 0x14002cf33
mov eax, 2
jmp 0x14002ced6
cmp eax, 0xc
jne 0x14002cf3f
mov eax, 3
jmp 0x14002ced6
mov eax, 4
jmp 0x14002ced6
Function at 0x14002daf0
Capabilities:
Query or enumerate registry value

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

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.140081b00
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140083c80
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002dc81
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x14002dce2
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.14009d458
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14002dcc2
cmp rdi, 0xa
ja 0x14002dc8b
mov rbx, rsi
test rdi, rdi
je 0x14002dc4f
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.1400835d0
mov al, byte [rsi + 0x17]
test al, al
js 0x14002dc85
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140081b60
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14002dc62
mov qword [rsi + 8], rdi
jmp 0x14002dc5a
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.14002c060
jmp 0x14002dc60
mov r9, qword [rsi + 8]
jmp 0x14002dc94
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14002dcbc
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x14002dc31
cmp eax, 2
jne 0x14002dd85
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140083c80
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14002dd8f
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14009d458
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14002dd64
cmp rdi, 0xa
ja 0x14002dc8b
mov rbx, rsi
test rdi, rdi
je 0x14002dc4f
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x14002dc44
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14002dcbc
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x14002dd4b
mov edi, 0x3f4
jmp 0x14002dc62
mov edi, 0xea
jmp 0x14002dc62
Function at 0x14002e3f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x1400f9e60]
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, 0x209
call fcn.140060c60
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14005c530
cmp byte [rdi + 0x17], 0
jns 0x14002e470
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.14005c7a0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140081b60
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002e4b0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140083c80
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002e54f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14009d458
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140060dc0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400316c0
mov rcx, rsi
mov rdx, r14
call fcn.140060f80
mov rcx, r14
call fcn.140060f00
mov rcx, rbx
call fcn.140060f00
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140081b60
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002e580
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140083c80
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 0x14002e62e
cmp word [rsp + 0x70], 0
je 0x14002e62e
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14009d458
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140060dc0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140081b60
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140060da0
lea rcx, [rsp + 0x40]
call fcn.140060f00
jmp 0x14002e5f7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400f9e60]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140060c90
mov rcx, rdi
call fcn.14002e4b0
test al, al
jne 0x14002e615
lea rax, [0x1400fe3e4]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140060dc0
jmp 0x14002e622
Function at 0x14002f820
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14002f9e9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.14009aa14
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x1400f9e60]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x48
call fcn.140060c60
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14005c530
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.14009365c
mov ecx, eax
call fcn.1400936ac
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14002f9de
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x140138008]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.14009a69c
test rax, rax
je 0x14002f981
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14002f9ed
add r15, r12
mov rcx, rbx
call fcn.140099f04
test eax, eax
je 0x14002f9f1
mov r12, r15
mov rcx, rbx
call fcn.140099f30
test eax, eax
sete bl
mov rdi, r12
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x140138008]
lea rcx, [rsp + 0x80]
call fcn.14005c7a0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140081b60
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14d, 0xffff
jmp 0x14002f91f
xor ebx, ebx
jmp 0x14002f9b3
xor ebx, ebx
jmp 0x14002f991
test r12, r12
mov eax, 0x10000
cmove r14, rax
lea r8, [r15 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea r12, [rsp + 0x20]
mov rcx, r12
call qword [0x140138008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14002f944
Function at 0x140032120
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14012c290]
test rdi, rdi
jne 0x1400321d3
mov ecx, 0x50
call fcn.1400806d4
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400806d4
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x1400321f5
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x14012c290], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140032221
mov rcx, rax
call fcn.14009d458
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140032250
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140081b60
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1400b4410
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400b4410
int3
Function at 0x140032250
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.14002df00
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400323e4
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1400fe794]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14003241b
lea rdx, [0x1400fe7e4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140032409
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140138008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x140032411
test r12d, r12d
js 0x140032486
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400806d4
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x14003242e
mov rdx, qword [r14 + r15]
call fcn.1400b3b00
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x140032352
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140031e50
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400323a6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x1400323e4
cmp r15, rbx
je 0x1400323dc
add r15, 0xffffffffffffffe8
jmp 0x1400323ca
mov rcx, qword [r15]
call fcn.140080710
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x1400323dc
test r15, r15
je 0x14003245a
cmp byte [r15 + 0x17], 0
jns 0x1400323be
jmp 0x1400323b6
mov rcx, rbx
call fcn.140080710
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140081b60
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140032304
xor r15d, r15d
xor ebx, ebx
jmp 0x14003237f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140032301
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1400b4410
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1400b4410
lea rcx, [rsp + 0x30]
call fcn.1400b3ae0
int3
Function at 0x140036320
Capabilities:
Create thread

Disassembly:
jmp 0x140036320
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400806d4
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x140114f88]
je 0x1400363ee
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x1400367e0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140036403
test r14, r14
je 0x1400363f8
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140081b60
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, r15
call fcn.1400558a0
jmp 0x140036385
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400363c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14003641c
mov ebp, eax
cmp eax, 0x5af
je 0x14003641c
cmp ebp, 0xe
jne 0x140036447
mov rcx, rbx
call fcn.1400b59b0
test rsi, rsi
je 0x1400363c8
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x140114f88]
jne 0x14003643d
call fcn.1400559f0
mov rcx, rsi
call fcn.140080710
jmp 0x1400363c8
mov eax, dword [0x14012c3f0]
mov ecx, dword [0x140123880]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400364ca
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140030c80
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x140036487
and r8d, 0x7f
jmp 0x140036491
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.14004dc50
mov rcx, qword [0x14012c3e8]
mov rdx, r14
call fcn.14003c280
cmp byte [rsp + 0x4f], 0
jns 0x140036424
mov rcx, qword [rsp + 0x38]
call fcn.140080710
jmp 0x140036424
lea rcx, [0x14012c3f0]
call fcn.140080824
cmp dword [0x14012c3f0], 0xffffffff
jne 0x140036468
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14003c250
mov qword [0x14012c3e8], rax
lea rcx, [0x14012c3f0]
call fcn.1400808bc
jmp 0x140036468
Function at 0x140036d00
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, [0x1400f9328]
mov qword [rcx], rax
add rcx, 8
call fcn.14005aca0
lea rcx, [rsi + 0x10]
call fcn.14005aca0
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.14005aca0
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
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x140100ff4]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.14003ee80
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140018990
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [0x140100ff8], edx
je 0x140036efb
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.14006e9b0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x140036f1f
call fcn.14003e9e0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14003ea90
mov qword [0x14012c770], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x140100ffc], edx
jne 0x140036f3d
test dword [0x140101000], edx
jne 0x140036f32
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.14003ec20
jmp 0x140036ebc
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x140138008]
jmp 0x140036ec9
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x140036f14
cmp rax, 0x40
mov eax, 0x100
jmp 0x140036eb3
Function at 0x140038a50
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 0x140038a80
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x140038ab7
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140064540
lea rax, [rdx - 1]
test rdx, rax
jne 0x140038a8e
mov rdi, rdx
jmp 0x140038a65
mov rcx, rdx
call fcn.1400584c0
mov rdi, rax
jmp 0x140038a65
mov rcx, rdx
call fcn.1400584c0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x140038a6e
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
jae 0x140038aaf
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x140038ad9
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140038ade
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400b25a4
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1400fb900]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x140038a9b
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 0x140038a9b
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 0x140038aa3