joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b48c
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, ecx
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14002b4e2
test byte [rcx + 0x1c], 4
je 0x14002b4e2
cmp byte [rcx + 0x19], 5
jb 0x14002b4e2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088d20]
mov edx, 0x5c
call fcn.140001024
mov eax, dword [0x14009f2a8]
test eax, eax
je 0x14002b563
mov rcx, qword [0x14009f0b0]
test ebx, ebx
cmove rcx, qword [0x14009f080]
cmp eax, 1
jne 0x14002b597
xor eax, eax
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
test eax, eax
jne 0x14002b582
mov rax, qword [0x14009b028]
cmp rax, rsi
je 0x14002b563
test byte [rax + 0x1c], 4
je 0x14002b563
cmp byte [rax + 0x19], 2
jb 0x14002b563
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x5d
mov rcx, qword [0x14009b028]
lea r8, [0x140088d20]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140001050
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14007e560
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
mov eax, dword [0x14009f2ac]
shl rax, 0x14
cmp qword [rbp - 0x30], rax
jl 0x14002b563
jmp 0x14002b681
cmp eax, 2
jne 0x14002b563
xor r9d, r9d
lea rdx, [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetFileTime]
nop dword [rax + rax]
test eax, eax
jne 0x14002b5e4
mov rax, qword [0x14009b028]
cmp rax, rsi
je 0x14002b563
test byte [rax + 0x1c], 4
je 0x14002b563
cmp byte [rax + 0x19], 2
jb 0x14002b563
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x5e
jmp 0x14002b549
xorps xmm0, xmm0
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
movups xmmword [rbp - 0x28], xmm0
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop dword [rax + rax]
test eax, eax
jne 0x14002b63d
mov rax, qword [0x14009b028]
cmp rax, rsi
je 0x14002b563
test byte [rax + 0x1c], 4
je 0x14002b563
cmp byte [rax + 0x19], 2
jb 0x14002b563
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x5f
jmp 0x14002b549
xorps xmm0, xmm0
lea rcx, [rbp - 0x18]
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
nop dword [rax + rax]
movzx ecx, word [rbp - 0x28]
movzx edx, word [rbp - 0x18]
sub edx, ecx
movzx ecx, word [rbp - 0x26]
lea r8d, [rdx + rdx*2]
shl r8d, 2
sub r8d, ecx
movzx ecx, word [rbp - 0x16]
add r8d, ecx
cmp r8d, dword [0x14009f2b0]
jb 0x14002b563
mov eax, 1
jmp 0x14002b565
Function at 0x14002b76c
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
lea r15, [0x140088d20]
cmp rcx, r14
je 0x14002b7be
test byte [rcx + 0x1c], 4
je 0x14002b7be
cmp byte [rcx + 0x19], 5
jb 0x14002b7be
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, r15
call fcn.140001024
mov rcx, qword [0x14009f2a0]
lea rax, str.InboxLOG.txt
test ebx, ebx
lea rdx, str.OutboxLOG.txt
cmove rdx, rax
call fcn.14002be30
mov rsi, rax
test rax, rax
jne 0x14002b815
lea ebx, [rax + 8]
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b96e
test byte [rcx + 0x1c], 4
je 0x14002b96e
cmp byte [rcx + 0x19], 2
jb 0x14002b96e
lea edx, [rax + 0x64]
jmp 0x14002b962
lea rax, [0x14009f080]
test ebx, ebx
lea rdi, [0x14009f0b0]
cmove rdi, rax
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
jne 0x14002b887
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b96e
test byte [rcx + 0x1c], 4
je 0x14002b96e
cmp byte [rcx + 0x19], 2
jb 0x14002b96e
mov edx, 0x65
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.140001050
jmp 0x14002b96e
or qword [rdi], 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002b8d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b8d6
test byte [rcx + 0x1c], 4
je 0x14002b8d6
cmp byte [rcx + 0x19], 2
jb 0x14002b8d6
mov rcx, qword [rcx + 0x10]
mov edx, 0x66
mov r9d, eax
mov r8, r15
call fcn.140001050
mov rdx, qword [0x14009f2a0]
mov r8, rdi
mov ecx, ebx
call fcn.14002af7c
mov ebx, eax
test eax, eax
je 0x14002b90f
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b96e
test byte [rcx + 0x1c], 4
je 0x14002b96e
cmp byte [rcx + 0x19], 2
jb 0x14002b96e
mov edx, 0x67
jmp 0x14002b873
mov rcx, qword [rdi]
call fcn.14002bf64
test eax, eax
jne 0x14002b945
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b96e
test byte [rcx + 0x1c], 4
je 0x14002b94c
cmp byte [rcx + 0x19], 2
jb 0x14002b94c
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x68]
xor r9d, r9d
mov r8, r15
call fcn.140001050
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b96e
test byte [rcx + 0x1c], 4
je 0x14002b96e
cmp byte [rcx + 0x19], 5
jb 0x14002b96e
mov edx, 0x69
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140001024
mov rcx, rsi
call fcn.1400670c4
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14002bf64
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x40
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x38], rax
and qword [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov rdi, rcx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14002bfc7
test byte [rcx + 0x1c], 4
je 0x14002bfc7
cmp byte [rcx + 0x19], 5
jb 0x14002bfc7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088d20]
mov edx, 0x79
call fcn.140001024
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002c01d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14002c077
test byte [rcx + 0x1c], 4
je 0x14002c077
cmp byte [rcx + 0x19], 2
jb 0x14002c077
lea edx, [rbx + 0x7a]
jmp 0x14002c064
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002c077
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14002c077
test byte [rcx + 0x1c], 4
je 0x14002c077
cmp byte [rcx + 0x19], 2
jb 0x14002c077
lea edx, [rbx + 0x7b]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088d20]
mov r9d, eax
call fcn.140001050
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007e560
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002f420
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14002f47b
test byte [rcx + 0x1c], 4
je 0x14002f47b
cmp byte [rcx + 0x19], 5
jb 0x14002f47b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088e00]
mov edx, 0x38
call fcn.140001024
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, [0x140088d98]
call fcn.14002ef60
test eax, eax
jne 0x14002f4ef
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14002f4e8
test byte [rax + 0x1c], 4
je 0x14002f4e8
cmp byte [rax + 0x19], 2
jb 0x14002f4e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088e00]
mov r9d, eax
mov edx, 0x39
mov rcx, qword [rcx + 0x10]
call fcn.140001050
xor eax, eax
jmp 0x14002f5c3
lea rcx, [rsp + 0x30]
call fcn.140067d3c
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x14002f5be
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14002f544
test byte [rcx + 0x1c], 4
je 0x14002f544
cmp byte [rcx + 0x19], 2
jb 0x14002f544
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088e00]
mov edx, 0x3a
mov r9d, eax
call fcn.140001050
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002f5ab
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14002f5ab
test byte [rax + 0x1c], 4
je 0x14002f5ab
cmp byte [rax + 0x19], 2
jb 0x14002f5ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088e00]
mov r9d, dword [rdi + 0x20]
mov edx, 0x3b
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14002d6ec
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14002f4e8
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e560
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002f5f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14002f64b
test byte [rcx + 0x1c], 4
je 0x14002f64b
cmp byte [rcx + 0x19], 5
jb 0x14002f64b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088e00]
mov edx, 0x3c
call fcn.140001024
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
cmp qword [rbx + 0x258], 0
jne 0x14002f79f
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [0x140088da0]
call fcn.14002ef60
test eax, eax
jne 0x14002f6cd
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14002f6c6
test byte [rax + 0x1c], 4
je 0x14002f6c6
cmp byte [rax + 0x19], 2
jb 0x14002f6c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088e00]
mov r9d, eax
mov edx, 0x3d
mov rcx, qword [rcx + 0x10]
call fcn.140001050
xor eax, eax
jmp 0x14002f7a4
lea rcx, [rsp + 0x30]
call fcn.140067d3c
mov qword [rbx + 0x258], rax
test rax, rax
jne 0x14002f79f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14002f725
test byte [rcx + 0x1c], 4
je 0x14002f725
cmp byte [rcx + 0x19], 2
jb 0x14002f725
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088e00]
mov edx, 0x3e
mov r9d, eax
call fcn.140001050
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002f78c
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14002f78c
test byte [rax + 0x1c], 4
je 0x14002f78c
cmp byte [rax + 0x19], 2
jb 0x14002f78c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088e00]
mov r9d, dword [rbx + 0x20]
mov edx, 0x3f
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14002d6ec
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14002f6c6
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e560
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003e588
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x14003e5c5
test byte [rcx + 0x1c], 4
je 0x14003e5c5
cmp byte [rcx + 0x19], 5
jb 0x14003e5c5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089858]
mov edx, 0x129
call fcn.140001024
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140039570

Function at 0x14003ec3c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov dword [rsp + 0x60], ebx
mov rsi, rcx
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
cmp rcx, r14
je 0x14003ec89
test byte [rcx + 0x1c], 4
je 0x14003ec89
cmp byte [rcx + 0x19], 5
jb 0x14003ec89
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089858]
mov edx, 0x136
call fcn.140001024
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov r8d, 4
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003ecf1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14003ed26
test byte [rcx + 0x1c], 4
je 0x14003ed26
cmp byte [rcx + 0x19], 2
jb 0x14003ed26
mov edx, 0x137
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089858]
call fcn.140001050
jmp 0x14003ed26
cmp dword [rsp + 0x60], 4
je 0x14003ed20
mov r9d, 0x26
mov ebx, r9d
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14003ed26
test byte [rcx + 0x1c], 4
je 0x14003ed26
cmp byte [rcx + 0x19], 2
jb 0x14003ed26
mov edx, 0x138
jmp 0x14003ecdf
mov eax, dword [rsp + 0x68]
mov dword [rdi], eax
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14003f4d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x38], 0
mov r14d, r8d
and qword [rbp - 8], 0
mov r15, rdx
mov rdi, rcx
mov dword [rbp - 0xc], 1
mov rcx, qword [0x14009b028]
lea r13, [0x14009b028]
cmp rcx, r13
je 0x14003f538
test byte [rcx + 0x1c], 4
je 0x14003f538
cmp byte [rcx + 0x19], 5
jb 0x14003f538
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089858]
mov edx, 0x14a
call fcn.140001024
lea r9, [rbp + 0x38]
mov edx, r14d
lea r8, [rbp - 8]
mov rcx, r15
call fcn.14003f184
mov ebx, eax
test eax, eax
je 0x14003f592
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f70b
test byte [rcx + 0x1c], 4
je 0x14003f70b
cmp byte [rcx + 0x19], 2
jb 0x14003f70b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089858]
mov edx, 0x14b
mov r9d, eax
call fcn.140001050
jmp 0x14003f70b
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, 4
lea rdx, [rbp - 0xc]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003f5f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f70b
test byte [rcx + 0x1c], 4
je 0x14003f70b
cmp byte [rcx + 0x19], 2
jb 0x14003f70b
mov edx, 0x14c
jmp 0x14003f6f8
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, 4
lea rdx, [rbp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003f658
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f70b
test byte [rcx + 0x1c], 4
je 0x14003f70b
cmp byte [rcx + 0x19], 2
jb 0x14003f70b
mov edx, 0x14d
jmp 0x14003f6f8
mov r8d, dword [rbp + 0x38]
lea r9, [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rcx, rdi
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003f6aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f70b
test byte [rcx + 0x1c], 4
je 0x14003f70b
cmp byte [rcx + 0x19], 2
jb 0x14003f70b
mov edx, 0x14e
jmp 0x14003f6f8
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003f70b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f70b
test byte [rcx + 0x1c], 4
je 0x14003f70b
cmp byte [rcx + 0x19], 2
jb 0x14003f70b
mov edx, 0x14f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089858]
mov r9d, eax
call fcn.140001050
cmp qword [rbp - 8], 0
je 0x14003f71b
mov rcx, qword [rbp - 8]
call fcn.1400670c4
mov rdi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x14003f928
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
xor ebx, ebx
mov r14, rdx
xor esi, esi
mov rbp, rcx
mov rcx, qword [0x14009b028]
lea r12, [0x14009b028]
lea r13, [0x140089858]
cmp rcx, r12
je 0x14003f97f
test byte [rcx + 0x1c], 4
je 0x14003f97f
cmp byte [rcx + 0x19], 5
jb 0x14003f97f
mov rcx, qword [rcx + 0x10]
mov edx, 0x155
mov r8, r13
call fcn.140001024
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14003f9e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003fb3f
test byte [rcx + 0x1c], 4
je 0x14003fb3f
cmp byte [rcx + 0x19], 2
jb 0x14003fb3f
mov edx, 0x156
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.140001050
jmp 0x14003fb3f
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x678
jae 0x14003fa36
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003fa2c
test byte [rcx + 0x1c], 4
je 0x14003fa2c
cmp byte [rcx + 0x19], 3
jb 0x14003fa2c
mov rcx, qword [rcx + 0x10]
mov edx, 0x157
mov r9d, edi
mov r8, r13
call fcn.140001050
mov ebx, 0x570
jmp 0x14003fb50
mov rcx, rdi
call fcn.140067008
mov rsi, rax
test rax, rax
jne 0x14003fa7c
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003fa72
test byte [rcx + 0x1c], 4
je 0x14003fa72
cmp byte [rcx + 0x19], 2
jb 0x14003fa72
mov rcx, qword [rcx + 0x10]
mov edx, 0x158
mov r9d, edi
mov r8, r13
call fcn.140001050
mov ebx, 8
jmp 0x14003fb50
and qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003fad3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003fb3f
test byte [rcx + 0x1c], 4
je 0x14003fb3f
cmp byte [rcx + 0x19], 2
jb 0x14003fb3f
mov edx, 0x159
jmp 0x14003f9d2
mov edx, dword [rsp + 0x70]
cmp edi, edx
je 0x14003fb0e
mov ebx, 0x26
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003fb43
test byte [rcx + 0x1c], 4
je 0x14003fb43
cmp byte [rcx + 0x19], 2
jb 0x14003fb43
mov edx, 0x15a
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov r8, r13
call fcn.140001050
jmp 0x14003fb43
mov rcx, rsi
call fcn.140036e54
test eax, eax
jne 0x14003fb3c
lea ebx, [rax + 0xd]
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003fb43
test byte [rcx + 0x1c], 4
je 0x14003fb43
cmp byte [rcx + 0x19], 2
jb 0x14003fb43
mov edx, 0x15b
jmp 0x14003fafd
mov qword [r14], rsi
test ebx, ebx
je 0x14003fb50
test rsi, rsi
je 0x14003fb50
mov rcx, rsi
call fcn.1400670c4
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140046230
Capabilities:
Compare security identifiers

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 esi, dword [rcx + 0x24]
mov r14, r9
mov edi, r8d
mov ebx, edx
cmp esi, 2
jne 0x140046260
mov rcx, qword [rcx + 0x248]
mov rbp, qword [rcx + 0x198]
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x14004629b
test byte [rcx + 0x1c], 4
je 0x14004629b
cmp byte [rcx + 0x19], 5
jb 0x14004629b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089ad0]
mov edx, 0x10
call fcn.140001024
cmp esi, 2
jne 0x1400462c7
neg ebx
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x10
test edi, eax
je 0x1400462b3
lea eax, [rsi - 1]
jmp 0x1400462d0
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
jmp 0x1400462d0
mov edx, ebx
mov ecx, edi
call fcn.140051e74
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
Function at 0x140048c18
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x30
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
lea r14, [0x140089c28]
cmp rcx, rbp
je 0x140048c5c
test byte [rcx + 0x1c], 4
je 0x140048c5c
cmp byte [rcx + 0x19], 5
jb 0x140048c5c
mov rcx, qword [rcx + 0x10]
mov edx, 0x34
mov r8, r14
call fcn.140001024
lea rax, [rsp + 0x58]
xor ebx, ebx
mov qword [rsp + 0x28], rax
lea r8, [0x140002720]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140048cdc
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x140048df0
test byte [rax + 0x1c], 4
je 0x140048df0
cmp byte [rax + 0x19], 2
jb 0x140048df0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea edx, [rbx + 0x35]
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp 0x140048df0
mov r8d, 0x4e20
mov ecx, 3
call fcn.1400245c0
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x140048d73
cmp eax, 0x102
jne 0x140048d3c
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x140048d34
test byte [rcx + 0x1c], 4
je 0x140048d34
cmp byte [rcx + 0x19], 5
jb 0x140048d34
mov rcx, qword [rcx + 0x10]
mov edx, 0x37
mov r8, r14
call fcn.140001024
mov r8d, 0x7530
jmp 0x140048ce2
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x140048de1
test byte [rax + 0x1c], 4
je 0x140048de1
cmp byte [rax + 0x19], 2
jb 0x140048de1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x38
jmp 0x140048db4
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
nop dword [rax + rax]
test eax, eax
jne 0x140048dcc
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x140048de1
test byte [rax + 0x1c], 4
je 0x140048de1
cmp byte [rax + 0x19], 2
jb 0x140048de1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x36
mov rcx, qword [0x14009b028]
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp 0x140048de1
mov ecx, dword [rsp + 0x50]
test ecx, ecx
sete bl
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
Function at 0x14004eb9c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, ebx
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14004ebe3
test byte [rcx + 0x1c], 4
je 0x14004ebe3
cmp byte [rcx + 0x19], 5
jb 0x14004ebe3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089db0]
mov edx, 0x8f
call fcn.140001024
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x14004aa70]
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [0x14009f410], rax
test rax, rax
jne 0x14004ec67
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x14004ec55
test byte [rcx + 0x1c], 4
je 0x14004ec55
cmp byte [rcx + 0x19], 2
jb 0x14004ec55
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089db0]
mov edx, 0x90
mov r9d, eax
call fcn.140001050
test edi, edi
je 0x14004ec69
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test edi, edi
mov rsi, qword [rsp + 0x50]
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret