joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051710
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14005174e
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140051747
call fcn.140006940
jmp 0x14005172e
Function at 0x140053a60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140053a94
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x140053a94
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x140053a8e
Function at 0x140055930
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140055981
mov rsi, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140069b80
mov rax, rsi
add rsp, 0x30
pop rsi
ret
int3
Function at 0x140057ab0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140105238]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140057b0c
movzx eax, word [0x140105208]
cmp ax, 9
jne 0x140057b6e
mov esi, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140069b80
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140105238]
call fcn.1400676e4
cmp dword [0x140105238], 0xffffffff
jne 0x140057ae5
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsi]
movaps xmm1, xmmword [rsi + 0x10]
movaps xmm2, xmmword [rsi + 0x20]
movups xmmword [0x140105228], xmm2
movups xmmword [0x140105218], xmm1
movups xmmword [0x140105208], xmm0
lea rcx, [0x140105238]
call fcn.140067684
jmp 0x140057ae5
cmp ax, 5
jg 0x140057b8f
xor esi, esi
test ax, ax
je 0x140057af7
cmp ax, 5
jne 0x140057baf
mov esi, 3
jmp 0x140057af7
cmp ax, 6
jne 0x140057b9f
mov esi, 2
jmp 0x140057af7
cmp ax, 0xc
jne 0x140057baf
mov esi, 4
jmp 0x140057af7
mov esi, 5
jmp 0x140057af7
Function at 0x140064190
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rdi
mov r9, qword [rcx]
mov r10, qword [rcx + 8]
mov r8, r10
sub r8, r9
je 0x14006421f
mov rax, r8
shr rax, 2
mov rdx, r9
not rdx
add rdx, r10
jne 0x1400641b7
xor edx, edx
jmp 0x1400641fc
mov r10, r8
and r10, 0xfffffffffffffffe
xor edx, edx
lea r11, [0x1400f3600]
nop word [rax + rax]
movzx esi, al
movzx edi, byte [r9 + rdx]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
movzx esi, al
movzx edi, byte [r9 + rdx + 1]
xor edi, esi
shr eax, 8
xor eax, dword [r11 + rdi*4]
add rdx, 2
cmp r10, rdx
jne 0x1400641d0
test r8b, 1
je 0x140064219
movzx edi, al
movzx edx, byte [r9 + rdx]
xor edx, edi
lea rdi, [0x1400f3600]
shr eax, 8
xor eax, dword [rdi + rdx*4]
mov dword [rcx + 0x18], eax
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x140064219

Function at 0x140064440
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], rdx
mov rdi, qword [0x140108578]
cmp rdi, 1
jbe 0x140064490
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400644d6
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140108578]
call fcn.140047cb0
test al, al
je 0x1400644e2
mov qword [0x140108580], 0
lea rbx, [0x140108578]
lea rdi, [0x140108580]
mov rcx, rdi
xor edx, edx
call fcn.140036aa0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140047c20
jmp 0x14006445a
test rsi, rsi
je 0x140064485
call fcn.140006940
jmp 0x14006446c
mov rdi, qword [0x140108578]
jmp 0x14006445a

Function at 0x1400644f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov edi, dword [0x1401085a4]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test esi, esi
jne 0x14006451d
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140064513

Function at 0x140064580
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov byte [rcx], dl
mov rdi, qword [0x140109b98]
cmp rdi, 1
jbe 0x1400645cf
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140064615
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140109b98]
call fcn.140047cb0
test al, al
je 0x140064621
mov qword [0x140109ba0], 0
lea rbx, [0x140109b98]
lea rdi, [0x140109ba0]
mov rcx, rdi
xor edx, edx
call fcn.140036aa0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140047c20
jmp 0x140064599
test rsi, rsi
je 0x1400645c4
call fcn.140006940
jmp 0x1400645ab
mov rdi, qword [0x140109b98]
jmp 0x140064599
Function at 0x140064630
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140109b98]
cmp rsi, 1
jbe 0x140064679
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140064672
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140109b98]
call fcn.140047cb0
test al, al
je 0x1400646bf
mov qword [0x140109ba0], 0
lea rdi, [0x140109b98]
lea rsi, [0x140109ba0]
mov rcx, rsi
xor edx, edx
call fcn.140036aa0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140047c20
jmp 0x140064643
mov rsi, qword [0x140109b98]
jmp 0x140064643
Function at 0x140065710
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14010a130]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140065775
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400657b1
movsxd rcx, dword [0x14010a128]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14010a12c]
movsxd rdx, dword [0x14010a128]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x20
pop rsi
ret
lea rcx, [0x14010a130]
call fcn.1400676e4
cmp dword [0x14010a130], 0xffffffff
jne 0x140065739
mov qword [0x14010a128], 0
lea rcx, [0x14010a128]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x14010a130]
call fcn.140067684
jmp 0x140065739
test rsi, rsi
je 0x14006576f
call fcn.140006940
jmp 0x14006574b

Function at 0x1400657e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, 1
lock xadd dword [0x14010a104], eax
mov dword [rcx + 4], eax
mov eax, dword [0x14010a100]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400658c9
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14006594f
movsxd rcx, dword [0x14010a0f8]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x14010a0fc]
movsxd rdx, dword [0x14010a0f8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov eax, dword [0x14010a110]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14006590c
lea rdi, [rsi + 4]
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140065962
movsxd rcx, dword [0x14010a108]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [0x14010a10c]
movsxd rdx, dword [0x14010a108]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14010a100]
call fcn.1400676e4
cmp dword [0x14010a100], 0xffffffff
jne 0x140065822
mov qword [0x14010a0f8], 0
lea rcx, [0x14010a0f8]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x14010a100]
call fcn.140067684
jmp 0x140065822
lea rcx, [0x14010a110]
call fcn.1400676e4
cmp dword [0x14010a110], 0xffffffff
jne 0x140065881
mov qword [0x14010a108], 0
lea rcx, [0x14010a108]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x14010a110]
call fcn.140067684
jmp 0x140065881
test rsi, rsi
je 0x14006585c
call fcn.140006940
jmp 0x140065838
test rdi, rdi
je 0x1400658bf
call fcn.140006940
jmp 0x14006589b
Function at 0x140065980
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [0x14010a118]
cmp rbx, 1
jbe 0x1400659d4
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140065a1a
movsxd rcx, dword [rbx]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rbx + 4]
movsxd rdx, dword [rbx]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14010a118]
call fcn.140047cb0
test al, al
je 0x140065a26
mov qword [0x14010a120], 0
lea r14, [0x14010a118]
lea rbx, [0x14010a120]
mov rcx, rbx
xor edx, edx
call fcn.140036aa0
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9, r14
call fcn.140047c20
jmp 0x14006599c
test rdi, rdi
je 0x1400659c7
call fcn.140006940
jmp 0x1400659ae
mov rbx, qword [0x14010a118]
jmp 0x14006599c

Function at 0x140065a40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x14010a118]
cmp rsi, 1
jbe 0x140065a89
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140065a82
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x14010a118]
call fcn.140047cb0
test al, al
je 0x140065acf
mov qword [0x14010a120], 0
lea rdi, [0x14010a118]
lea rsi, [0x14010a120]
mov rcx, rsi
xor edx, edx
call fcn.140036aa0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140047c20
jmp 0x140065a53
mov rsi, qword [0x14010a118]
jmp 0x140065a53

Function at 0x140065b40
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14010a100]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140065c07
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140065ba3
movsxd rcx, dword [0x14010a0f8]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14010a0fc]
movsxd rdx, dword [0x14010a0f8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov eax, dword [0x14010a110]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140065c4a
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140065c02
movsxd rcx, dword [0x14010a108]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14010a10c]
movsxd rdx, dword [0x14010a108]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
ret
lea rcx, [0x14010a100]
call fcn.1400676e4
cmp dword [0x14010a100], 0xffffffff
jne 0x140065b69
mov qword [0x14010a0f8], 0
lea rcx, [0x14010a0f8]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x14010a100]
call fcn.140067684
jmp 0x140065b69
lea rcx, [0x14010a110]
call fcn.1400676e4
cmp dword [0x14010a110], 0xffffffff
jne 0x140065bc8
mov qword [0x14010a108], 0
lea rcx, [0x14010a108]
xor edx, edx
call fcn.140036aa0
lea rcx, [0x14010a110]
call fcn.140067684
jmp 0x140065bc8
Function at 0x140092390
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, dword [0x1401085a4]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test edi, edi
jne 0x1400923c7
cmp rsi, 2
jb 0x1400923d1
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140037660
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400923b3
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140092d20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140108508]
cmp rdi, 1
jbe 0x140092d85
mov ecx, dword [0x140102430]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140092d66
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
lea rcx, [rsi + 8]
call fcn.140036880
mov rcx, qword [rsi]
test rcx, rcx
je 0x140092d7d
lock dec dword [rcx + 8]
je 0x140092dda
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140108508]
call fcn.140047cb0
test al, al
je 0x140092dce
mov qword [0x140108510], 0
lea rbx, [0x140108508]
lea rdi, [0x140108510]
mov rcx, rdi
xor edx, edx
call fcn.140036aa0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140047c20
jmp 0x140092d37
mov rdi, qword [0x140108508]
jmp 0x140092d37
add rcx, 8
add rcx, 0xfffffffffffffff8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140036950

Function at 0x140092e00
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140092e15
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140095ad0
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 r14, rdx
mov rsi, rcx
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x1400e8af0]
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.MapFileRegionToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x39
call fcn.14003e340
xor ebp, ebp
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14003e360
mov rcx, rsi
call fcn.14003dcb0
test al, al
je 0x140095c5b
test r15d, r15d
jne 0x140095c87
mov ebx, 2
xor edi, edi
mov rcx, rsi
call fcn.14003dca0
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, ebx
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
cmp qword [rsi + 0x40], rax
je 0x140095be1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x140095cb8
mov rax, rdi
inc rax
cmp rax, 2
jb 0x140095bd5
mov qword [rsi + 0x40], rdi
call fcn.140035e50
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
inc rdi
cmp rdi, 2
jb 0x140095d33
mov dword [rsp + 0x3c], 0
lea rdx, [0x1400ed0a8]
mov rcx, r14
call fcn.140095d70
test al, al
je 0x140095ce2
mov rcx, rsi
call fcn.140095d90
xor ebp, ebp
test rax, rax
jle 0x140095c5b
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
and ebx, 2
add ebx, 2
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, ebx
mov r9d, ebp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x140095d33
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov bpl, 1
lea rcx, [rsp + 0x60]
call fcn.14003dcc0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140069b80
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp r15d, 3
jne 0x140095c99
mov rcx, rsi
call fcn.140095fc0
mov ebp, eax
jmp 0x140095c5b
cmp r15d, 2
jne 0x140095d3a
mov rbp, qword [r14 + 8]
mov rdi, rbp
shr rdi, 0x20
mov ebx, 4
jmp 0x140095b78
call fcn.140035e50
mov r15, qword [rsi + 0x40]
mov rcx, qword [0x140106b30]
test rcx, rcx
je 0x140095d4a
mov rax, qword [rcx]
mov rdx, r15
call qword [rax]
mov qword [rsi + 0x40], 0
jmp 0x140095bc0
xor eax, eax
lea rdi, [rsp + 0x40]
mov qword [rdi], rax
lea r9, [rsp + 0x30]
mov qword [r9], rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 8]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov r8, rdi
call fcn.140095ec0
mov rbp, qword [rdi]
test rbp, rbp
js 0x140095d33
mov rcx, qword [r14 + 8]
movsxd rax, dword [rsp + 0x3c]
add rax, rcx
js 0x140095d33
mov r8, rbp
shr r8, 0x20
mov qword [rsi + 0x38], rcx
jmp 0x140095c25
xor ebp, ebp
jmp 0x140095c5b
cmp r15d, 1
jne 0x140095d5b
mov ebx, 4
jmp 0x140095b76
call fcn.14009d380
mov rcx, qword [0x140106b30]
jmp 0x140095ccd
xor ebx, ebx
jmp 0x140095b76
Function at 0x140095d90
Capabilities:
Get file size

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov rsi, rcx
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x60]
mov qword [rdi + 0x50], r14
movaps xmm6, xmmword [0x1400e8af0]
movaps xmmword [rdi + 0x40], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetLength
lea r8, str..._.._base_files_file_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x9c
call fcn.14003e340
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14003e360
mov qword [rbx], r14
mov rcx, qword [rsi]
lea rdi, [rsp + 0x40]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, eax
mov rbx, qword [rdi]
test byte [0x140100f70], 0x19
jne 0x140095e74
xor edi, edi
cmp esi, 1
sbb rdi, rdi
or rdi, rbx
lea rcx, [rsp + 0x60]
call fcn.14003dd50
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140069b80
mov rax, rdi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], r14
movaps xmmword [rdi], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x30], 0
lea r8, [0x140100f70]
lea r9, [0x1400ecf56]
mov rcx, rdi
mov dl, 0x45
call fcn.14002ec50
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140095e37
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x140095e37
Function at 0x140095fc0
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x1400e8af0]
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.MapImageToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1a
call fcn.14003e340
xor ebx, ebx
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.14003e360
mov rcx, rsi
call fcn.14003dcb0
test al, al
je 0x140096116
mov rcx, rsi
call fcn.14003dca0
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 rdi, rax
cmp qword [rsi + 0x40], rax
je 0x1400960bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14009613f
mov rax, rdi
inc rax
cmp rax, 2
jb 0x1400960b3
mov qword [rsi + 0x40], rdi
call fcn.140035e50
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x40]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140096177
mov qword [rsp + 0x20], 0
xor ebx, ebx
mov rcx, rdi
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 0x140096116
lea rdx, [0x1400e7b48]
lea rcx, [rsp + 0x30]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
call fcn.14003f274
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov bl, 1
lea rcx, [rsp + 0x50]
call fcn.14003dcc0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140069b80
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140035e50
mov r14, qword [rsi + 0x40]
mov rcx, qword [0x140106b30]
test rcx, rcx
je 0x140096169
mov rax, qword [rcx]
mov rdx, r14
call qword [rax]
mov qword [rsi + 0x40], 0
jmp 0x14009609e
call fcn.14009d380
mov rcx, qword [0x140106b30]
jmp 0x140096154
xor ebx, ebx
jmp 0x140096116
Function at 0x140097930
Capabilities:
Create thread

Disassembly:
jmp 0x140097930
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov rbp, r8
mov rsi, rdx
mov r15, rcx
xor ebx, ebx
test rcx, rcx
setne bl
mov rax, qword [0x1400ff028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebx, 0x10
mov ecx, 0x10
call fcn.140067648
mov r14, rax
mov qword [rax], rsi
test rbp, rbp
setne byte [rax + 8]
mov dword [rax + 0xc], edi
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
lea r8, [0x140091610]
xor ecx, ecx
mov rdx, r15
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1400979d1
test rbp, rbp
je 0x140097a01
mov qword [rbp], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140069b80
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x1400979ea
mov ebp, eax
cmp eax, 0x5af
je 0x1400979ea
cmp ebp, 0xe
jne 0x140097a0c
mov rcx, r15
call fcn.1400c0c30
test r14, r14
je 0x1400979af
mov rcx, r14
call fcn.140067638
jmp 0x1400979af
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400979af
mov eax, dword [0x1401051a0]
mov ecx, dword [0x1401025d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140097a7b
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov edx, ebp
call fcn.1400bff80
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 [0x140105198]
call fcn.140035e40
cmp byte [rsi + 0x17], 0
jns 0x1400979f2
mov rcx, qword [rsp + 0x38]
call fcn.140067638
jmp 0x1400979f2
lea rcx, [0x1401051a0]
call fcn.1400676e4
cmp dword [0x1401051a0], 0xffffffff
jne 0x140097a2d
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.1400923e0
mov qword [0x140105198], rax
lea rcx, [0x1401051a0]
call fcn.140067684
jmp 0x140097a2d