joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400877a0
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14017f9f0]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x14008788c
lea rdi, [rsp + 0x70]
xor ebx, ebx
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.1400de440
mov dword [rdi - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
mov qword [rdi - 8], 6
mov word [rdi + 0x108], 0
lea rcx, [rsp + 0x64]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x140087893
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.1400878f0
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x140087893
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x14008789c
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400dc300
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140087bb0
Capabilities:
Create process on windows

Disassembly:
push rsi
sub rsp, 0xe0
mov rdx, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xd8], rax
cmp byte [rcx + 0x17], 0
js 0x140087c96
je 0x140087c7c
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
xor eax, eax
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140087c7c
mov rcx, qword [rsp + 0xc8]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xc0]
call rsi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400dc300
nop
add rsp, 0xe0
pop rsi
ret
cmp qword [rdx + 8], 0
je 0x140087c7c
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
xor eax, eax
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
mov rdx, qword [rdx]
jmp 0x140087c29
Function at 0x140087d80
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140087e30]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x140087ddb
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400dc300
nop
add rsp, 0x68
pop rdi
pop rsi
ret
lea rdx, str.Start
lea r8, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov r9d, 0x1b
call fcn.1400b4220
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
call fcn.140131890
lea rdx, [0x14019cf50]
mov rcx, rdi
call fcn.1401483c0
mov rcx, rdi
call fcn.140131950
jmp 0x140087dc6
Function at 0x1400a1a00
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jae 0x1400a1b7d
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x140187580]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x1400a1ae1
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x1400a1ab7
movdqa xmm1, xmmword [0x140187580]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x140187590], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140187570]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x1400a1ba0
jmp 0x1400a1a52
Function at 0x1400a3910
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400a3958
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400a3961
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400a3948
mov qword [rdi], rsi
call fcn.1400b4240
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b4240
mov rcx, qword [rdi]
call fcn.1400a7ba0
mov qword [rdi], 0
jmp 0x1400a3936

Function at 0x1400a8380
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x14017f9f0]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x42
call fcn.1400b4220
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400ab290
mov ebp, 0xffffffff
test r14, r14
js 0x1400a847c
test esi, esi
js 0x1400a847c
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400bda90
test al, al
jne 0x1400a84c2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a84aa
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1400a84bd
lea rcx, [rsp + 0x30]
call fcn.1400bddf0
lea rcx, [rsp + 0x60]
call fcn.1400ab310
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x1400a8472
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1401368f0
jmp 0x1400a8434
Function at 0x1400a84e0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14017f9f0]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.1400b4220
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400ab290
test esi, esi
js 0x1400a85e5
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400bda90
test al, al
jne 0x1400a85f1
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a860d
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x1400a85ec
lea rcx, [rsp + 0x30]
call fcn.1400bddf0
lea rcx, [rsp + 0x50]
call fcn.1400ab310
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400dc300
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1400a85ba
int3
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1401368f0
jmp 0x1400a8580
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1400a85b0

Function at 0x1400a8620
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x14017f9f0]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Write
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x7f
call fcn.1400b4220
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.1400ab290
mov ebp, 0xffffffff
test r14, r14
js 0x1400a8719
test esi, esi
js 0x1400a8719
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.1400bda90
test al, al
jne 0x1400a8747
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
cmp eax, 1
sbb ebp, ebp
or ebp, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.1400bddf0
lea rcx, [rsp + 0x60]
call fcn.1400ab310
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400dc300
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r9d, esi
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.1401368f0
jmp 0x1400a86d0
Function at 0x1400b71e0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400a8240
mov qword [rsi], 0
test rax, rax
je 0x1400b7233
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400b7267
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400b722b
mov qword [rsi], rbx
call fcn.1400b4240
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1400b4ac0
lea rcx, [rsi + 0x20]
call fcn.1400bdab0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.1400b4240
mov rcx, qword [rsi]
call fcn.1400a7ba0
mov qword [rsi], 0
jmp 0x1400b7219
Function at 0x1400bd600
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401c88c0]
mov ecx, dword [0x1401c2158]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400bd660
mov rsi, qword [0x1401c88b8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400dc300
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401c88c0]
call fcn.1400daf30
cmp dword [0x1401c88c0], 0xffffffff
jne 0x1400bd63c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400de440
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.1400daddc
mov rsi, rax
mov edi, dword [rdi]
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 0x1400bd720
lea r8, [0x1401c88d8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140056e20
mov qword [0x1401c88b8], rsi
lea rcx, [0x1401c88c0]
call fcn.1400dafc8
jmp 0x1400bd63c
lea rcx, [0x1401c8908]
call fcn.1400daf30
cmp dword [0x1401c8908], 0xffffffff
jne 0x1400bd6f1
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 0x1400bd6f1

Function at 0x1400c34e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x1400c351c
je 0x1400c351b
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x14019a070]
nop word [rax + rax]
movzx r10d, byte [rdx + r8]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x1400c3500
ret
int3
Function at 0x1400cbfe0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x1400cc07a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400cc064
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400cc041
mov qword [rsi], rdi
call fcn.1400b4240
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x1400cc07e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400b4240
mov rcx, qword [rsi]
call fcn.1400a7ba0
mov qword [rsi], 0
jmp 0x1400cc02f
mov byte [rsi + 8], 0
int3

Function at 0x1400cd320
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14006a500]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401cb300]
lea rdx, [0x14006a3a0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400cd3b4
cmp dword [0x1401cb308], 0
jne 0x1400cd3b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x1401cb30c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400cd3b0
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400dc300
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400cd398
call fcn.1400f0790
int3
Function at 0x1400db53c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400db586
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400db586
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400db586
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400db586
cmp dword [rcx + 0x84], 0xe
jbe 0x1400db586
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400db588
xor al, al
add rsp, 0x28
ret

Function at 0x1400db9d0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400dba48
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400dba48
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400dba48
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400dba3c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400dba5a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400dba2a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400dba4a

Function at 0x1400ea7e8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400ea81f
call fcn.1400edb3c
mov dword [rax], 0x16
call fcn.1400f094c
xor eax, eax
jmp 0x1400ea8ad
mov rdx, r9
mov rcx, r8
call fcn.1400ea8d0
mov rbx, rax
test rax, rax
je 0x1400ea8aa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400ea940]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400ea897
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400edb7c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400ea87e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400ea88d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400b9490
jmp 0x1400ea8aa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400ea8a7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400eaa14
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400eab5c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400eabcb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400eabcb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400eabcb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400eabcb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400eabcb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400eabcb
cmp dword [rcx + 0xf8], 0
je 0x1400eabcb
mov ecx, ebx
call fcn.1400eaa94
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400eacf0
nop
cmp dword [rbp + 0x20], 0
je 0x1400eac19
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400eab28
int3
Function at 0x1400eae9c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400ef6e8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400ef6e8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400eafec
cmp rax, 0xffffffffffffffff
je 0x1400eafec
xor edi, edi
test rbp, rbp
jle 0x1400eaf97
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400b9530
mov rbx, rax
test rax, rax
jne 0x1400eaf24
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400eaf8d
mov edx, 0x8000
mov ecx, r14d
call fcn.1400f0868
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400f4fc0
cmp eax, 0xffffffff
je 0x1400eaf6d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400eaf34
mov edx, r15d
mov ecx, r14d
call fcn.1400f0868
jmp 0x1400eaf8d
cmp byte [rsi + 0x38], dil
je 0x1400eaf84
cmp dword [rsi + 0x34], 5
jne 0x1400eaf84
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400eaf8d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400b9490
jmp 0x1400eb000
jns 0x1400eb000
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400ef6e8
cmp rax, 0xffffffffffffffff
jne 0x1400eafb8
cmp byte [rsi + 0x30], dil
je 0x1400eb000
mov edi, dword [rsi + 0x2c]
jmp 0x1400eb000
mov ecx, r14d
call fcn.1400ee73c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400eb000
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400eb000
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400eaff9
mov eax, dword [rsi + 0x2c]
jmp 0x1400eaffe
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400ef6e8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400ee1a4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140175eb0]
mov rbp, rcx
call fcn.1401045ec
xor edi, edi
test rax, rax
je 0x1400ee28a
mov ebx, edi
call fcn.1400edb3c
mov r14d, dword [rax]
call fcn.1400edb3c
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400f4c44
mov rsi, rax
test rax, rax
je 0x1400ee21b
call fcn.1400edb3c
mov dword [rax], r14d
jmp 0x1400ee245
call fcn.1400edb3c
cmp dword [rax], 0x22
jne 0x1400ee282
call fcn.1400edb3c
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400f4c44
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400ee282
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400ee249
cmp rax, 3
je 0x1400ee264
mov rcx, rsi
call fcn.1400ee100
test al, al
je 0x1400ee275
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400ee275
mov dil, 1
mov rcx, rbx
call fcn.1400b9490
mov al, dil
jmp 0x1400ee28c
mov rcx, rbx
call fcn.1400b9490
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400dc300
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret