joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d390
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 ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400b90b0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14002d970
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140160b90]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14002db80
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14002d426
and eax, 0x7f
jmp 0x14002d42b
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002d4ff
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400b90b0
mov rcx, r15
mov rdx, r14
call fcn.14002db30
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x14002d543
mov rcx, r14
call fcn.14002d8a0
test al, al
jne 0x14002d590
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14002d492
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002d53c
call r13
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.1400189d0
mov rcx, r15
mov rdx, r14
call fcn.14002db80
mov rcx, rdi
mov rdx, r14
call fcn.14007ef70
mov rcx, r14
call fcn.14007eef0
movzx eax, byte [rsp + 0x47]
test al, al
js 0x14002d4ee
and eax, 0x7f
jmp 0x14002d4f3
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x14002d44b
lea rcx, [rsp + 0x30]
call fcn.14007eef0
lea rcx, [rsp + 0x298]
call fcn.14002dac0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400b6f60
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
jmp 0x14002d4b3
test bl, bl
je 0x14002d568
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
js 0x14002d558
lea rcx, [rsp + 0x30]
jmp 0x14002d55d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14002d473
lea rcx, [rsp + 0x48]
call fcn.14002d8a0
test al, al
jne 0x14002d57c
mov edx, dword [rsp + 0x48]
jmp 0x14002d547
lea rcx, [rsp + 0x48]
call fcn.14002d8a0
test al, al
je 0x14002d483
jmp 0x14002d53c
xor ebp, ebp
test bl, bl
je 0x14002d4b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rsi
mov r8b, 1
call fcn.14002d390
mov ebp, eax
test eax, eax
jne 0x14002d4b3
cmp byte [rsp + 0x47], 0
jns 0x14002d5ca
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14002d4b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14002d4b3
Function at 0x14002f6d0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14002f790
mov eax, dword [rsi]
mov dword [0x14018a028], eax
test al, 1
jne 0x14002f6f1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x14019a680]
test rcx, rcx
jne 0x14002f70b
mov rcx, qword [0x14019a658]
test rcx, rcx
je 0x14002f72f
jmp 0x14002f751
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14019a680], 0
mov rcx, qword [0x14019a658]
test rcx, rcx
jne 0x14002f751
and byte [0x14018a028], 0xfe
mov ecx, 0x18
call fcn.1400b5aac
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14019a658], rax
mov rdx, qword [rsi + 8]
call fcn.140030440
cmp dword [rsi + 0x14], 0
jne 0x14002f776
mov rcx, qword [0x14019a658]
cmp byte [rcx + 0x17], 0
jns 0x14002f770
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.140102020
Function at 0x140031e80
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14019a6c8]
test rdi, rdi
jne 0x140031f33
mov ecx, 0x50
call fcn.1400b5aac
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400b5aac
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140031f58
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 [0x14019a6c8], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140031f55
mov rcx, rax
call fcn.1400d50b0
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140031f90
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b6f60
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
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, 0x25
call fcn.1400ea040
int3
Function at 0x140031f90
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 [0x140188028]
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.14003cb70
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400320fc
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140032151
lea rdx, [0x140167b4e]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003213f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1401af008]
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 0x140032147
shl r12, 3
movabs rax, 0x5555555555555551
cmp r12, rax
jae 0x140032190
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400b5aac
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, r15
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov r15, rbx
test r15, r15
je 0x140032164
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.1400e87f0
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x14003209c
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140031c90
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400320ea
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x1400320fc
cmp r15, rbx
jne 0x140032132
mov rcx, rbx
call fcn.1400b5ae8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400b6f60
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r15 - 0x18]
call fcn.1400b5ae8
mov r15, rsi
cmp rsi, rbx
je 0x1400320f4
lea rsi, [r15 - 0x18]
cmp byte [r15 - 1], 0
jns 0x14003212a
jmp 0x140032121
xor r14d, r14d
jmp 0x140032044
xor r15d, r15d
xor ebx, ebx
jmp 0x1400320c3
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140032041
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, 0x25
call fcn.1400ea040
lea rcx, [rsp + 0x30]
call fcn.1400e87d0
int3
Function at 0x1400350b0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400b90b0
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 0x140035145
mov eax, eax
inc rax
cmp rax, 1
je 0x140035145
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x140035111
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140035132
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400ce9e4
test eax, eax
je 0x14003527e
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 0x1400351a6
mov eax, eax
inc rax
cmp rax, 1
je 0x1400351a6
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x140035172
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140035193
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400ce9e4
test eax, eax
je 0x14003524f
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 0x140035203
mov eax, eax
inc rax
cmp rax, 1
je 0x140035203
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x1400351d3
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400351f4
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400ce9e4
test eax, eax
je 0x140035224
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400b6f60
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140035231
and eax, 0x7f
jmp 0x140035235
mov rax, qword [rsi + 8]
mov bl, 1
cmp rax, r14
je 0x140035205
mov rcx, rsi
mov rdx, r14
call fcn.1400f9b60
cmp word [rax], 0x5c
jne 0x140035203
jmp 0x140035205
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14003525c
and eax, 0x7f
jmp 0x140035260
mov rax, qword [rsi + 8]
mov bl, 1
cmp rax, r14
je 0x140035205
mov rcx, rsi
mov rdx, r14
call fcn.1400f9b60
cmp word [rax], 0x5c
jne 0x1400351a6
jmp 0x140035205
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14003528b
and eax, 0x7f
jmp 0x14003528f
mov rax, qword [rsi + 8]
mov bl, 1
cmp rax, r14
je 0x140035205
mov rcx, rsi
mov rdx, r14
call fcn.1400f9b60
cmp word [rax], 0x5c
jne 0x140035145
jmp 0x140035205
Function at 0x140037490
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 [0x140188028]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x1400376da
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x14018a060], rax
jne 0x1400376dd
mov rsi, rcx
mov r14d, dword [rcx + 8]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
cmp byte [rcx + 2], 0
sete al
bsr rdx, r14
xor rdx, 0xffffffffffffffc0
lea rcx, [0x140168610]
mov cl, byte [rdx + rcx + 0x41]
mov r8, r14
shr r8, cl
and r8d, 7
lea rcx, [0x140168660]
mov rcx, qword [rcx + rdx*8 + 0x208]
and rcx, r14
lea rdx, [r8 + rdx*8]
add rdx, 0x208
cmp rcx, 1
sbb rdx, 0xffffffffffffffff
lea rcx, [0x140167df8]
movzx ecx, word [rcx + rdx*2 + 0x400]
cmp cx, 0x6e
setb dl
and dl, al
movzx eax, dl
or eax, ecx
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 0x14003765f
mov rax, qword [r15]
mov rdi, qword [rax]
test rdi, rdi
je 0x14003766c
mov byte [rsp + 0x3f], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140037658
lea rdx, [rsi + 0x48]
bswap rcx
mov r14d, dword [rdx + r12*8 + 0x18]
mov rdx, rcx
xor rdx, rdi
cmp rdx, 0x1fffff
ja 0x1400376e0
mov edx, ecx
and edx, 0x1fc000
je 0x1400376e0
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.140082200
mov ecx, dword [0x14019a6f8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x140197924]
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.1400b6f60
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x1400375b9
mov rcx, rbx
call fcn.140082df0
jmp 0x140037569
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.14008d300
test rax, rax
je 0x1400376d3
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 0x1400375d3
xor edi, edi
jmp 0x1400375fd
int3
int3
movaps xmm0, xmmword [0x140160b90]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
mov r8, qword [rdi]
lea rdx, str.first
mov rcx, rsi
call fcn.140104b30
mov rcx, rsi
call fcn.1400189d0
mov rcx, r14
call fcn.140104ba0
int3
Function at 0x1400386c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14019a7d0]
mov ecx, dword [0x140197924]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140038720
lea rsi, [0x14019a7c8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b6f60
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14019a7d0]
call fcn.1400b5c00
cmp dword [0x14019a7d0], 0xffffffff
jne 0x1400386fc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400b90b0
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.1400b5aac
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14019a818]
mov ecx, dword [0x140197924]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400387e0
lea r8, [0x14019a7e8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400388e0
mov qword [0x14019a7c8], rsi
lea rcx, [0x14019a7d0]
call fcn.1400b5c98
jmp 0x1400386fc
lea rcx, [0x14019a818]
call fcn.1400b5c00
cmp dword [0x14019a818], 0xffffffff
jne 0x1400387b1
xorps xmm0, xmm0
movups xmmword [0x14019a808], xmm0
movups xmmword [0x14019a7f8], xmm0
movups xmmword [0x14019a7e8], xmm0
lea rcx, [0x14019a7e8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14019a818]
call fcn.1400b5c98
jmp 0x1400387b1

Function at 0x140038830
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14019a818]
mov ecx, dword [0x140197924]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003886b
movzx eax, word [0x14019a7e8]
cmp eax, 9
jne 0x1400388b3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14019a818]
call fcn.1400b5c00
cmp dword [0x14019a818], 0xffffffff
jne 0x140038855
xorps xmm0, xmm0
movups xmmword [0x14019a808], xmm0
movups xmmword [0x14019a7f8], xmm0
movups xmmword [0x14019a7e8], xmm0
lea rcx, [0x14019a7e8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14019a818]
call fcn.1400b5c98
jmp 0x140038855
test eax, eax
je 0x140038866
cmp eax, 6
jne 0x1400388c3
mov eax, 2
jmp 0x140038866
cmp eax, 0xc
jne 0x1400388cf
mov eax, 3
jmp 0x140038866
mov eax, 4
jmp 0x140038866
Function at 0x140039150
Capabilities:
Create thread

Disassembly:
jmp 0x140039150
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 [0x140188028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400b5aac
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x1401960c8]
je 0x14003921e
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, [0x140039600]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140039233
test r14, r14
je 0x140039228
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b6f60
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.140072110
jmp 0x1400391b5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400391f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14003924c
mov ebp, eax
cmp eax, 0x5af
je 0x14003924c
cmp ebp, 0xe
jne 0x140039277
mov rcx, rbx
call fcn.140108aa0
test rsi, rsi
je 0x1400391f8
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x1401960c8]
jne 0x14003926d
call fcn.140072260
mov rcx, rsi
call fcn.1400b5ae8
jmp 0x1400391f8
mov eax, dword [0x14019a870]
mov ecx, dword [0x140197924]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400392ef
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.14003c5c0
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 + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov rcx, qword [0x14019a868]
call fcn.140041140
cmp byte [rbx + 0x17], 0
jns 0x140039254
mov rcx, qword [rsp + 0x38]
call fcn.1400b5ae8
jmp 0x140039254
lea rcx, [0x14019a870]
call fcn.1400b5c00
cmp dword [0x14019a870], 0xffffffff
jne 0x140039298
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140041110
mov qword [0x14019a868], rax
lea rcx, [0x14019a870]
call fcn.1400b5c98
jmp 0x140039298
Function at 0x140039b10
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, [0x140162668]
mov qword [rcx], rax
add rcx, 8
call fcn.1400890c0
lea rcx, [rsi + 0x10]
call fcn.1400890c0
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.1400890c0
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 [0x14016f9ec]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.140046020
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.1400189d0
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 [0x14016f9f0], edx
je 0x140039d0b
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.140090c40
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x140039d2f
call fcn.140045bc0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140045c70
mov qword [0x14019abf0], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x14016f9f4], edx
jne 0x140039d42
test dword [0x14016f9f8], edx
jne 0x140039d50
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140045e00
jmp 0x140039ccc
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401af008]
jmp 0x140039cd9
cmp rax, 0x40
mov eax, 0x100
jmp 0x140039cc3
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x140039d24
Function at 0x14003b6c0
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 0x14003b6f0
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14003b727
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14007e870
lea rax, [rdx - 1]
test rdx, rax
jne 0x14003b6fe
mov rdi, rdx
jmp 0x14003b6d5
mov rcx, rdx
call fcn.140077ba0
mov rdi, rax
jmp 0x14003b6d5
mov rcx, rdx
call fcn.140077ba0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x14003b6de
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
jae 0x14003b71f
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14003b749
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14003b74e
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400e7720
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1401676dc]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x14003b70b
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 0x14003b70b
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 0x14003b713

Function at 0x14003c290
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 0x14003c385
cmp qword [rsi], 0
jne 0x14003c385
cmp dword [rsi + 0x14], 0
jne 0x14003c385
cmp qword [rsi + 8], 0
jne 0x14003c385
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x14003c304
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003c36c
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003c2fc
mov qword [rsi], r14
call fcn.14007ea60
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14003c33e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14003c354
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003c336
mov qword [rsi + 8], r14
call fcn.14007ea60
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.14007ea60
mov rcx, qword [rsi + 8]
call fcn.14007ad70
mov qword [rsi + 8], 0
jmp 0x14003c323
call fcn.14007ea60
mov rcx, qword [rsi]
call fcn.14007ad70
mov qword [rsi], 0
jmp 0x14003c2ea
mov rcx, rsi
call fcn.140109110
mov rax, qword [rsi]
jmp 0x14003c2ca