joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cde20
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1402e7d18]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov r14d, r8d
mov rbx, rdx
mov esi, ebp
test r8d, r8d
je 0x1400cdec0
xor r9d, r9d
mov dword [rsp + 0x40], ebp
lea r8, [rsp + 0x38]
mov dword [rsp + 0x30], 0x18
lea edx, [rbp + 1]
lea rcx, str.D:_A_OI_FA___SY__A_OI_FA___BA_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x1400cdebb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x1402eb3e0]
lea rdi, [0x1402eb3e0]
cmp rcx, rdi
je 0x1400cdeb4
test byte [rcx + 0x44], 0x40
je 0x1400cdeb4
cmp byte [rcx + 0x41], 2
jb 0x1400cdeb4
mov rcx, qword [rcx + 0x38]
lea edx, [rbp + 0x19]
mov r9d, eax
lea r8, [0x140273968]
call fcn.140026620
mov eax, ebx
jmp 0x1400cdf77
lea rsi, [rsp + 0x30]
mov rcx, qword [0x1402eb3e0]
lea rdi, [0x1402eb3e0]
cmp rcx, rdi
je 0x1400cdf01
test byte [rcx + 0x44], 0x40
je 0x1400cdf01
cmp byte [rcx + 0x41], 4
jb 0x1400cdf01
cmp qword [rbx + 0x18], 8
mov r9, rbx
jb 0x1400cdeec
mov r9, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140273968]
mov edx, 0x1a
call fcn.140033550
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x1400cdf0e
mov rcx, qword [rbx]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400cdf61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, qword [0x1402eb3e0]
cmp rcx, rdi
je 0x1400cdf61
test byte [rcx + 0x44], 0x40
je 0x1400cdf61
cmp byte [rcx + 0x41], 2
jb 0x1400cdf61
cmp qword [rbx + 0x18], 8
jb 0x1400cdf45
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140273968]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
mov r9, rbx
call fcn.1400335c0
test r14d, r14d
je 0x1400cdf75
test rsi, rsi
je 0x1400cdf75
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140154650
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x1400ce5b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1402f1100]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140047d56.0]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [0x1402f1100]
mov rbx, rax
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x80]
call qword [case.0x140047d56.0]
mov ecx, eax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test rbx, rbx
je 0x1400ce626
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1400ce614
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0xffffffffffffffff
mov edx, 8
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1401544b8
add rsp, 0x20
pop rbx
ret
Function at 0x1400cedc0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1402e7d18]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rdx
mov r14, rcx
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bp
lea r8d, [rbp + 4]
lea rdx, str.._
lea rcx, [rsp + 0x30]
call fcn.140007240
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x12
jb 0x1400cee5a
lea rdi, [rcx + 0x12]
mov qword [rsp + 0x40], rdi
lea rbx, [rsp + 0x30]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x30]
lea rcx, [rbx + rcx*2]
lea r8d, [rbp + 0x24]
lea rdx, str.c:IntelOptaneData
call fcn.140145e60
mov word [rbx + rdi*2], bp
jmp 0x1400cee7e
lfence
mov qword [rsp + 0x20], 0x12
lea r9, str.c:IntelOptaneData
xor r8d, r8d
lea edx, [r8 + 0x12]
lea rcx, [rsp + 0x30]
call fcn.14001b830
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400cdb90
test eax, eax
je 0x1400cee9e
cmp eax, 0xc
je 0x1400cee9e
mov ebp, 2
jmp 0x1400cef77
lea rbx, [0x1402eb3e0]
mov rcx, qword [0x1402eb3e0]
cmp rcx, rbx
je 0x1400ceef5
test byte [rcx + 0x44], 0x40
je 0x1400ceef5
cmp byte [rcx + 0x41], 4
jb 0x1400ceef5
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400ceeca
mov rax, qword [rsi]
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r9, qword [rsp + 0x30]
mov edx, 0x17
mov qword [rsp + 0x20], rax
lea r8, [0x140273968]
mov rcx, qword [rcx + 0x38]
call fcn.14003e410
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400cef02
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400cef77
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, qword [0x1402eb3e0]
cmp rcx, rbx
je 0x1400cef77
test byte [rcx + 0x44], 0x40
je 0x1400cef77
cmp byte [rcx + 0x41], 2
jb 0x1400cef77
cmp qword [rsi + 0x18], 8
jb 0x1400cef47
mov rsi, qword [rsi]
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r9, qword [rsp + 0x30]
mov edx, 0x18
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r8, [0x140273968]
mov rcx, qword [rcx + 0x38]
call fcn.1400d0af0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400cefb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cefb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cefd9
call fcn.1401544b8
mov eax, ebp
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140154650
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400e3a60
int3
Function at 0x1400cf9b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov rsi, rdx
mov dword [rsp + 0x50], edi
mov rbx, rcx
mov rcx, qword [0x1402eb3e0]
lea rbp, [0x1402eb3e0]
cmp rcx, rbp
je 0x1400cfa02
test byte [rcx + 0x44], 0x40
je 0x1400cfa02
cmp byte [rcx + 0x41], 4
jb 0x1400cfa02
mov rcx, qword [rcx + 0x38]
lea edx, [rdi + 0x35]
lea r8, [0x140273968]
call fcn.140024250
add rbx, 0x94e08
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x1402f11e0], dil
jne 0x1400cfaa7
mov rcx, rbx
mov byte [0x1402f11e0], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x1402eb3e0]
cmp rax, rbp
je 0x1400cfa86
test byte [rax + 0x44], 0x40
je 0x1400cfa86
cmp byte [rax + 0x41], 2
jb 0x1400cfa86
mov rcx, rsi
call fcn.1400061d0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400d02c0
mov rcx, rax
mov edi, 1
call fcn.1400062f0
mov rcx, qword [0x1402eb3e0]
lea edx, [rdi + 0x36]
mov r9, rax
lea r8, [0x140273968]
mov rcx, qword [rcx + 0x38]
call fcn.14002a6f0
test dil, 1
je 0x1400cfa96
lea rcx, [rsp + 0x20]
call fcn.140006340
call fcn.1400d0d30
mov ecx, 0x2c9
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [0x1402eb3e0]
cmp rcx, rbp
je 0x1400cfad4
test byte [rcx + 0x44], 0x40
je 0x1400cfad4
cmp byte [rcx + 0x41], 5
jb 0x1400cfad4
mov rcx, qword [rcx + 0x38]
lea r8, [0x140273968]
mov edx, 0x36
call fcn.140024250
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400cff00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1402f1100]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140047d56.0]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400cff32
mov eax, 0x1392
add rsp, 0x28
ret
mov ecx, 8
mov qword [rsp + 0x30], rbx
call fcn.1401544fc
mov rbx, rax
test rax, rax
je 0x1400cfff1
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov qword [rax], 0xffffffffffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x1400cff7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jne 0x1400cffbd
mov rcx, qword [0x1402f1100]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
call qword [case.0x140047d56.0]
mov ecx, eax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400cffb5
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1400cffd3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], 0xffffffffffffffff
mov edx, 8
mov rcx, rbx
call fcn.1401544b8
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rbx, qword [rsp + 0x30]
mov eax, 0xe
add rsp, 0x28
ret
Function at 0x1400d5190
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1402e7d18]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
lea rax, [0x1402eb3e0]
mov rcx, qword [0x1402eb3e0]
cmp rcx, rax
je 0x1400d51ef
test dword [rcx + 0x44], 0x8000
je 0x1400d51ef
cmp byte [rcx + 0x41], 4
jb 0x1400d51ef
mov edx, 0x11
mov r9d, dword [rbx + 0x58]
lea r8, [0x140275ff0]
mov rcx, qword [rcx + 0x38]
call fcn.1400268c0
lea rcx, [rbx + 0x30]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x38], 1
mov eax, dword [rbx + 0x20]
cmp eax, 4
je 0x1400d5215
mov esi, 0x139f
jmp 0x1400d5311
mov dword [rbx + 0x20], 1
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1400d5238
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d5311
xor esi, esi
cmp qword [rbx + 0x18], rsi
je 0x1400d5311
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rcx, qword [0x1402f1100]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140047d56.0]
mov rdx, rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], sil
mov r9d, 0xb8
lea r8, str.ServiceThread::resume
lea rcx, [rsp + 0x40]
call fcn.140085860
mov rdi, qword [rbx + 0x18]
lea rcx, [0x1402f10b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [rdi + 9], sil
je 0x1400d52d5
mov rax, qword [0x1402f10a8]
test rax, rax
jne 0x1400d52c8
mov qword [0x1402f10a0], rdi
mov qword [0x1402f10a8], rdi
jmp 0x1400d52f5
mov qword [rax + 0x10], rdi
mov qword [0x1402f10a8], rdi
jmp 0x1400d52f5
mov rax, qword [0x1402f1098]
test rax, rax
jne 0x1400d52ea
mov qword [0x1402f1090], rdi
jmp 0x1400d52ee
mov qword [rax + 0x10], rdi
mov qword [0x1402f1098], rdi
lea rcx, [0x1402f10b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rbx + 0x18], rsi
lea rcx, [rsp + 0x40]
call fcn.14007f320
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140154650
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400d5340
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movzx esi, dl
mov rcx, qword [rcx + 0x60]
add rcx, 0xa0
call fcn.1400c0910
mov edi, eax
test eax, eax
je 0x1400994a1
mov rcx, qword [0x1402eb3e0]
lea rdx, [0x1402eb3e0]
cmp rcx, rdx
je 0x14009948f
test byte [rcx + 0x44], 4
je 0x14009948f
cmp byte [rcx + 0x41], 2
jb 0x14009948f
mov edx, 0x2d
mov rcx, qword [rcx + 0x38]
lea r8, [0x140270070]
call fcn.140024250
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x60]
mov ecx, dword [rax + 0xac]
cmp ecx, 2
je 0x14009950f
mov rcx, qword [rbx + 0x60]
add rcx, 0xa0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140047d56.0]
mov edi, eax
test eax, eax
je 0x1400994f4
mov rcx, qword [0x1402eb3e0]
lea rdx, [0x1402eb3e0]
cmp rcx, rdx
je 0x14009948f
test byte [rcx + 0x44], 4
je 0x14009948f
cmp byte [rcx + 0x41], 2
jb 0x14009948f
mov edx, 0x2e
jmp 0x14009947f
movzx edx, sil
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp method.ServiceThread.virtual_16
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movzx ebp, dl
mov rbx, rcx
mov rcx, qword [0x1402eb3e0]
lea rax, [0x1402eb3e0]
cmp rcx, rax
je 0x1400d5395
test dword [rcx + 0x44], 0x8000
je 0x1400d5395
cmp byte [rcx + 0x41], 4
jb 0x1400d5395
mov r9d, dword [rbx + 0x58]
lea r8, [0x140275ff0]
mov rcx, qword [rcx + 0x38]
mov edx, 0x12
call fcn.1400268c0
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rbx + 0x20]
cmp eax, 3
je 0x1400d53ae
mov edi, 0x139f
jmp 0x1400d53fd
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, ebp
lea r8, [0x1400d4a50]
shl eax, 2
xor edi, edi
mov qword [rsp + 0x28], rdi
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.140109720
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x1400d53ea
lea edi, [rax + 0x6f]
jmp 0x1400d53fd
test bpl, bpl
mov edx, 1
mov eax, 4
cmovne edx, eax
mov dword [rbx + 0x20], edx
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14010d690
Capabilities:
Parse pe header

Disassembly:
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 0x14010d6ff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010d6ff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010d6ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010d6ff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010d6ff
cmp dword [rcx + 0x84], 0xe
jbe 0x14010d6ff
cmp dword [rcx + 0xf8], 0
je 0x14010d6ff
mov ecx, ebx
call fcn.14010d81c
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.14010d46c
nop
cmp dword [rbp + 0x20], 0
je 0x14010d74d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14010d758
int3
xor r8d, r8d
xor edx, edx
jmp 0x14010d690

Function at 0x14010d914
Capabilities:
Parse pe header

Disassembly:
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 0x14010d6ff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010d6ff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010d6ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010d6ff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010d6ff
cmp dword [rcx + 0x84], 0xe
jbe 0x14010d6ff
cmp dword [rcx + 0xf8], 0
je 0x14010d6ff
mov ecx, ebx
call fcn.14010d81c
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.14010d46c
nop
cmp dword [rbp + 0x20], 0
je 0x14010d74d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14010d758
int3
xor r8d, r8d
xor edx, edx
jmp 0x14010d690
Function at 0x14012c7f0
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14012c826
call fcn.1400e3c30
mov dword [rax], 0x16
call fcn.1400e3a40
jmp 0x14012c976
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14012c976
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14012c976
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14012c855
lock or dword [rcx + 0x14], 0x10
jmp 0x14012c976
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14012c869
call fcn.14012d10c
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x14012c879
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x14012c87c
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.14012ac14
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.14013f3f8
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14012c964
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14012c90f
mov rcx, rbx
call fcn.14012ac14
cmp eax, 0xffffffff
je 0x14012c8fa
mov rcx, rbx
call fcn.14012ac14
cmp eax, 0xfffffffe
je 0x14012c8fa
mov rcx, rbx
call fcn.14012ac14
movsxd rdi, eax
lea rsi, [0x1402f1410]
mov rcx, rbx
sar rdi, 6
call fcn.14012ac14
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14012c901
lea rdx, [0x1402e7630]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14012c90f
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14012c933
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14012c933
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14012c933
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x14012c951
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x14012c95c
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x14012c97b
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14012c7f0
Function at 0x14012ca18
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14012ca4a
call fcn.1400e3c30
mov dword [rax], 0x16
call fcn.1400e3a40
jmp 0x14012cb69
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14012cb69
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14012cb69
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14012ca79
lock or dword [rcx + 0x14], 0x10
jmp 0x14012cb69
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14012ca8d
call fcn.14012d10c
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14012ac14
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14013f3f8
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14012cb57
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14012cb22
mov rcx, rsi
call fcn.14012ac14
cmp eax, edi
je 0x14012cb0d
mov rcx, rsi
call fcn.14012ac14
cmp eax, 0xfffffffe
je 0x14012cb0d
mov rcx, rsi
call fcn.14012ac14
movsxd rbx, eax
lea r14, [0x1402f1410]
mov rcx, rsi
sar rbx, 6
call fcn.14012ac14
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14012cb14
lea rdx, [0x1402e7630]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14012cb22
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14012cb46
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14012cb46
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14012cb46
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14012cb6c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14012cb84
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14012c826
call fcn.1400e3c30
mov dword [rax], 0x16
call fcn.1400e3a40
jmp 0x14012c976
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14012c976
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14012c976
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14012c855
lock or dword [rcx + 0x14], 0x10
jmp 0x14012c976
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14012c869
call fcn.14012d10c
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x14012c879
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x14012c87c
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.14012ac14
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.14013f3f8
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14012c964
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14012c90f
mov rcx, rbx
call fcn.14012ac14
cmp eax, 0xffffffff
je 0x14012c8fa
mov rcx, rbx
call fcn.14012ac14
cmp eax, 0xfffffffe
je 0x14012c8fa
mov rcx, rbx
call fcn.14012ac14
movsxd rdi, eax
lea rsi, [0x1402f1410]
mov rcx, rbx
sar rdi, 6
call fcn.14012ac14
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14012c901
lea rdx, [0x1402e7630]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14012c90f
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14012c933
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14012c933
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14012c933
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x14012c951
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x14012c95c
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x14012c97b
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14012c7f0