joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040280
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, 0x578
mov byte [rsp + 0x37], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x570], rax
lea r14, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400de440
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140058ab0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14017f9f0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.140058c70
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140040318
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400403ea
lea r14, [rsp + 0x58]
lea r15, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r13d, r13d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400de440
mov rcx, r15
mov rdx, r14
call fcn.140058c20
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x140040427
mov rcx, r14
call fcn.140058aa0
test al, al
jne 0x14004047c
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x140040386
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x140040475
call rbx
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, r14
call fcn.140024bc0
mov rcx, r15
mov rdx, r14
call fcn.140058c70
mov rcx, rdi
mov rdx, r14
call fcn.140049000
mov rcx, r14
call fcn.1400b4c50
movzx eax, byte [rsp + 0x57]
test al, al
jns 0x1400403de
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x14004033f
lea rcx, [rsp + 0x40]
call fcn.1400b4c50
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.140058bb0
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x37], 0
je 0x14004044f
cmp byte [rsp + 0x57], 0
js 0x14004043c
lea rcx, [rsp + 0x40]
jmp 0x140040441
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140040367
lea rcx, [rsp + 0x58]
call fcn.140058aa0
test al, al
jne 0x140040463
mov edx, dword [rsp + 0x58]
jmp 0x14004042e
lea rcx, [rsp + 0x58]
call fcn.140058aa0
test al, al
je 0x140040377
xor ebp, ebp
jmp 0x1400403a3
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x1400403a3
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140040280
mov ebp, eax
test eax, eax
jne 0x1400403a3
cmp byte [rsp + 0x57], 0
jns 0x1400404b9
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x1400403a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x1400403a3
Function at 0x140041820
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 [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x1400419d0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400f753c
movaps xmm6, xmmword [0x14017f9f0]
lea r14, [rsp + 0x80]
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.1400b4220
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ab290
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.1400edf34
mov ecx, eax
call fcn.1400ee73c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1400419d4
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 [0x1401a4bf8]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.1400f71c4
test rax, rax
je 0x140041973
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x1400419df
add r15, r12
mov rcx, rbx
call fcn.1400f69b0
test eax, eax
je 0x1400419e3
mov r12, r15
mov rcx, rbx
call fcn.1400f69dc
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 [0x1401a4bf8]
lea rcx, [rsp + 0x80]
call fcn.1400ab310
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400419a5
mov r14d, 0xffff
jmp 0x140041911
xor ebx, ebx
jmp 0x140041983
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 [0x1401a4bf8]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140041936
Function at 0x1400471a0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140047270
mov eax, dword [rsi]
mov dword [0x1401b5570], eax
test al, 1
jne 0x1400471c1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401c85f8]
test rcx, rcx
jne 0x1400471db
mov rcx, qword [0x1401c85d0]
test rcx, rcx
je 0x1400471ff
jmp 0x140047221
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401c85f8], 0
mov rcx, qword [0x1401c85d0]
test rcx, rcx
jne 0x140047221
and byte [0x1401b5570], 0xfe
mov ecx, 0x18
call fcn.1400daddc
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401c85d0], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140047256
call fcn.14003a9a0
cmp dword [rsi + 0x14], 0
jne 0x14004724b
mov rcx, qword [0x1401c85d0]
cmp byte [rcx + 0x17], 0
jns 0x140047245
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.14012f1a0
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude_string:2706:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
call fcn.140114030
int3
Function at 0x14004b0b0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.1400ad450
cmp byte [rdi + 0x17], 0
jns 0x14004b0f1
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x14004b112
mov rcx, qword [rsp + 0x58]
call fcn.1400dae18
test rsi, rsi
je 0x14004b1b9
test edi, edi
je 0x14004b1b9
mov ecx, edi
add rcx, rcx
call fcn.1400dae4c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.1400ad450
cmp byte [r14 + 0x17], 0
jns 0x14004b155
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x14004b175
mov rcx, qword [rsp + 0x58]
call fcn.1400dae18
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14004b1d7
mov rcx, rbx
call fcn.1400f9ef4
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.1400ad480
cmp byte [rsi + 0x17], 0
js 0x14004b1ea
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.1400dae54
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.140114030
mov rcx, qword [rsi]
call fcn.1400dae18
jmp 0x14004b1a0
Function at 0x14004b860
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401c86b0]
test rdi, rdi
jne 0x14004b913
mov ecx, 0x50
call fcn.1400daddc
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400daddc
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14004b935
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 [0x1401c86b0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14004b948
mov rcx, rax
call fcn.1400f9ef4
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14004b960
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140114030
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.140114030
int3
Function at 0x14004b960
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.14003d360
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14004bae7
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x1401940e8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14004bb4b
lea rdx, [0x140194138]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004bb2f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1401a4bf8]
mov r14, rax
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x14004bb41
test r12d, r12d
js 0x14004bb37
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400daddc
mov rbx, rax
mov qword [rsp + 0x20], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r13d, r13d
mov r15, rbx
test r15, r15
je 0x14004bb09
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.140113100
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x14004ba5f
mov qword [rsp + 0x28], r15
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14004b440
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14004baad
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14004bae7
cmp r15, rbx
je 0x14004badf
add r15, 0xffffffffffffffe8
jmp 0x14004bad1
mov rcx, qword [r15]
call fcn.1400dae18
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14004badf
test r15, r15
je 0x14004bb1c
cmp byte [r15 + 0x17], 0
js 0x14004babd
jmp 0x14004bac5
mov rcx, rbx
call fcn.1400dae18
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400dc300
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140114030
lea rcx, [0x14018467d]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.140114030
xor r14d, r14d
jmp 0x14004ba11
lea rcx, [rsp + 0x20]
call fcn.140112ec0
xor r15d, r15d
xor ebx, ebx
jmp 0x14004ba86
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14004ba0e

Function at 0x140050440
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x14005045a
test r8d, r8d
jne 0x140050453
call fcn.1400659e0
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.1400bace0
Function at 0x140056b20
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x140056c69
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14017f9f0]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x1401a4bf8]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x1401a4bf8]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x1401a4bf8]
test r14, r14
je 0x140056c03
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x140056bf3
mov ecx, 1
call fcn.1400bc950
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140056c6d
call fcn.140003260
lea rax, [0x140001d60]
lea rcx, section..text
mov qword [rsi + 0xf8], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400dc300
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x140056c4c
bt eax, 9
jae 0x140056c88
call fcn.140004350
lea rax, [0x140004820]
lea rcx, [0x140004520]
jmp 0x140056c33
call fcn.1401352f0
lea rax, [0x140135af0]
lea rcx, [0x1401351d0]
jmp 0x140056c33

Function at 0x140056cb0
Capabilities:
Encode data using xor
Hash data using sha1 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.1400bc950
mov ebp, eax
bt eax, 0x1d
jb 0x140056cf3
not ebp
test ebp, 0x128
jne 0x140056d19
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140010370
mov ecx, 1
call fcn.1400bc950
bt eax, 9
jae 0x140056cd3
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f200
mov ecx, 1
call fcn.1400bc950
mov ebp, eax
bt eax, 0x1c
jae 0x140056d38
xor ecx, ecx
call fcn.1400bc950
bt eax, 0x1e
jb 0x140056cdd
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x140056d54
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000e1c0
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f4d0
Function at 0x140056d70
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401c8908]
mov ecx, dword [0x1401c2158]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140056dab
movzx eax, word [0x1401c88d8]
cmp eax, 9
jne 0x140056df3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401c8908]
call fcn.1400daf30
cmp dword [0x1401c8908], 0xffffffff
jne 0x140056d95
xorps xmm0, xmm0
movups xmmword [0x1401c88f8], xmm0
movups xmmword [0x1401c88e8], xmm0
movups xmmword [0x1401c88d8], xmm0
lea rcx, [0x1401c88d8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401c8908]
call fcn.1400dafc8
jmp 0x140056d95
test eax, eax
je 0x140056da6
cmp eax, 6
jne 0x140056e03
mov eax, 2
jmp 0x140056da6
cmp eax, 0xc
jne 0x140056e0f
mov eax, 3
jmp 0x140056da6
mov eax, 4
jmp 0x140056da6

Function at 0x140057740
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x14017f9f0]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1b
call fcn.1400b4220
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400ab290
mov rcx, rsi
call fcn.1400a8230
test al, al
je 0x140057885
mov rcx, rsi
call fcn.14003dbe0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x14005782d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x1400578ae
mov rax, rbx
inc rax
cmp rax, 2
jb 0x140057821
mov qword [rsi + 0x40], rbx
call fcn.1400b4240
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400578c9
mov qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x140057885
lea rdx, fcn.140136980
lea rcx, [rsp + 0x30]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
call fcn.14006ae80
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.1400ab310
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400dc300
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400b4240
mov rcx, qword [rsi + 0x40]
call fcn.1400a7ba0
mov qword [rsi + 0x40], 0
jmp 0x14005780c
xor edi, edi
jmp 0x140057885
Function at 0x1400578d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x14017f9f0]
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x3a
call fcn.1400b4220
xor r14d, r14d
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1400ab290
mov rcx, rsi
call fcn.1400a8230
test al, al
je 0x140057a57
test ebx, ebx
jne 0x140057a8b
mov ebp, 2
mov ebx, 4
xor r15d, r15d
mov rcx, rsi
call fcn.14003dbe0
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, ebp
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x1400579dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140057b44
mov rax, r14
inc rax
cmp rax, 2
jb 0x1400579d0
mov qword [rsi + 0x40], r14
call fcn.1400b4240
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jb 0x140057a86
mov dword [rsp + 0x3c], 0
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
cmp rcx, qword [0x1401998c8]
jne 0x140057acd
cmp rdx, qword [0x1401998d0]
jne 0x140057acd
mov rcx, rsi
call fcn.14003dd20
xor r14d, r14d
test rax, rax
jle 0x140057a57
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, ebx
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x140057a86
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov r14b, 1
lea rcx, [rsp + 0x60]
call fcn.1400ab310
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400dc300
mov eax, r14d
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140057a57
dec ebx
cmp ebx, 3
ja case.default.0x140057aa4
lea rax, [0x1401998b4]
movsxd rcx, dword [rax + rbx*4]
add rcx, rax
jmp rcx
mov r14, qword [rdi + 8]
mov r15, r14
shr r15, 0x20
mov ebp, 4
mov ebx, 2
jmp 0x140057972
mov rcx, rsi
call fcn.140057740
mov r14d, eax
jmp 0x140057a57
xor eax, eax
lea r14, [rsp + 0x40]
mov qword [r14], rax
lea r9, [rsp + 0x30]
mov qword [r9], rax
lea r15, [rsp + 0x3c]
mov qword [rsp + 0x20], r15
mov r8, r14
call fcn.140057d80
mov rcx, qword [rdi + 8]
movsxd rax, dword [r15]
mov r8, rax
sar r8, 0x3f
add rax, rcx
adc r8, 0
mov edx, r8d
and edx, 1
neg rdx
xor r8, rdx
setne r8b
mov r14, qword [r14]
test r14, r14
js 0x140057a86
test r8b, r8b
jne 0x140057a86
test rdx, rdx
js 0x140057a86
mov r8, r14
shr r8, 0x20
mov qword [rsi + 0x38], rcx
jmp 0x140057a2b
call fcn.1400b4240
mov rcx, qword [rsi + 0x40]
call fcn.1400a7ba0
mov qword [rsi + 0x40], 0
jmp 0x1400579bb
mov ebp, 4
mov ebx, 2
jmp 0x14005796f
mov ebp, 8
mov ebx, 1
jmp 0x14005796f
mov ebx, 0xaaaaaaaa
xor ebp, ebp
jmp 0x14005796f
Function at 0x1400625d0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x140062647
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1401b56a0], rax
jne 0x14006264a
mov rsi, rcx
call fcn.1400d5e90
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.140025980
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.1400c5120
mov ecx, dword [0x1401c8b08]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401c2158]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x170], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x14006a530
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14006a500]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401cb300]
lea rdx, [0x14006a3a0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14006a628
cmp dword [0x1401cb308], 0
jne 0x14006a635
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401cb30c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14006a5dc
mov ecx, 1
mov edx, 0x28
call fcn.1400b9530
test rax, rax
je 0x14006a635
mov r14, rax
mov ecx, dword [0x1401cb30c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14006a62d
lea r15, [0x1401cb310]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401cb320]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400dc300
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400f0790
mov rcx, r14
call fcn.1400b9490
mov rcx, rsi
mov rax, rdi
call qword [0x1401a4bf8]
xor esi, esi
jmp 0x14006a60c