joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dcdc0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, 2
cmp rdx, 1
jne 0x1400dcdf0
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1400dcdfe
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400dcf10
lea rax, [rdx - 1]
test rdx, rax
jne 0x1400dce14
mov rdi, rdx
jmp 0x1400dcdd5
jae 0x1400dcf01
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x1400dce21
cvtsi2ss xmm0, rax
jmp 0x1400dce36
mov rcx, rdx
call fcn.140114a80
mov rdi, rax
jmp 0x1400dcdd5
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.14016e5dc
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1401ce6c8]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbx, 3
jb 0x1400dcee9
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbx
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x1400dcee9
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x1400dcef1
mov rcx, rdx
call fcn.140114a80
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rbx
jb 0x1400dcdde
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400dd740
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x1400dd77f
test r15, r15
je 0x1400dd86d
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1400dd7c9
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.14013d5f0
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x1400dd75d
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x1400dd899
lea rcx, [r12*8]
call fcn.14013a754
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x1400dd83d
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x1400dd86d
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x1400dd825
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x1400dd75d
mov rcx, r14
call fcn.14013a790
mov r15, qword [rsi + 0x10]
jmp 0x1400dd75d
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.140170320
call fcn.14016f5e0
int3
Function at 0x1400e9070
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400e915e
cmp qword [rsi], 0
jne 0x1400e915e
cmp dword [rsi + 0x14], 0
jne 0x1400e915e
cmp qword [rsi + 8], 0
jne 0x1400e915e
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x1400e90e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400e9130
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400e90d8
mov qword [rsi], r14
call fcn.140119620
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x1400e911a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400e9146
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400e9112
mov qword [rsi + 8], r14
call fcn.140119620
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140119620
mov rcx, qword [rsi]
call fcn.140124bd0
mov qword [rsi], 0
jmp 0x1400e90c6
call fcn.140119620
mov rcx, qword [rsi + 8]
call fcn.140124bd0
mov qword [rsi + 8], 0
jmp 0x1400e90ff
mov rcx, rsi
call fcn.140190c70
mov rax, qword [rsi]
jmp 0x1400e90aa

Function at 0x1400e9290
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x1401ec028]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x1400e936d
mov rsi, rdx
mov rdi, rcx
lea rbx, [rsp + 0x40]
mov qword [rbx], 0
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov r14, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 2
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, eax
test eax, eax
je 0x1400e9371
mov r14, qword [rsp + 0x40]
cmp qword [rsi], r14
je 0x1400e9337
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400e9357
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400e932f
mov qword [rsi], r14
call fcn.140119620
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
setne bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14013bb80
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140119620
mov rcx, qword [rsi]
call fcn.140124bd0
mov qword [rsi], 0
jmp 0x1400e931d
mov bl, 1
jmp 0x1400e933c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400e932f
Function at 0x1400e9f90
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rdx, qword [rdx]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400ea090
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.1400e9020
xor eax, eax
mov qword [rsi + 0x18], rax
mov r15, qword [rdi]
mov qword [rdi], rax
lea r12, [r15 + 1]
cmp r12, 2
jb 0x1400ea0cc
call fcn.140119620
cmp qword [rsi + 0x18], r15
je 0x1400ea102
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x1400ea1c8
cmp r12, 2
jb 0x1400ea0fa
mov qword [rsi + 0x18], r15
call fcn.140119620
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov qword [rsi + 0x20], rax
mov r12, qword [rbx]
mov qword [rbx], rax
lea r13, [r12 + 1]
cmp r13, 2
jb 0x1400ea11e
call fcn.140119620
mov r15, qword [rsp + 0x90]
cmp qword [rsi + 0x20], r12
je 0x1400ea15c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x20]
inc rax
cmp rax, 2
jae 0x1400ea1e3
cmp r13, 2
jb 0x1400ea154
mov qword [rsi + 0x20], r12
call fcn.140119620
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r12, qword [rsp + 0x98]
xor eax, eax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], r14
mov qword [rsi + 0x38], rax
mov rax, qword [0x1401eeae0]
and rax, r15
cmp rax, qword [0x1401eeac8]
je 0x1400ea1fe
mov qword [rsi + 0x40], r15
lea rcx, [rsi + 0x58]
xorps xmm0, xmm0
movups xmmword [rsi + 0x48], xmm0
mov rdx, r12
call fcn.1400fe860
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x1400ea20b
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400ea221
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140119620
mov rcx, qword [rsi + 0x18]
call fcn.140124bd0
mov qword [rsi + 0x18], 0
jmp 0x1400ea0eb
call fcn.140119620
mov rcx, qword [rsi + 0x20]
call fcn.140124bd0
mov qword [rsi + 0x20], 0
jmp 0x1400ea145
mov rcx, r15
call fcn.140117d10
jmp 0x1400ea185
call fcn.140119620
mov rcx, qword [rbx]
call fcn.140124bd0
mov qword [rbx], 0
jmp 0x1400ea1a8
call fcn.140119620
mov rcx, qword [rdi]
call fcn.140124bd0
mov qword [rdi], 0
jmp 0x1400ea1b4
Function at 0x1400ea240
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
call fcn.1400e9220
test al, al
je 0x1400ea26e
mov rcx, qword [rsi]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsi + 0x38]
mov qword [rsi + 0x38], 0
test rdi, rdi
je 0x1400ea28f
mov rcx, rdi
call fcn.1400feac0
mov rcx, rdi
call fcn.14013a790
mov rdx, qword [rsi + 0x58]
test rdx, rdx
jne 0x1400ea342
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x50], 0
test rcx, rcx
je 0x1400ea2b2
call fcn.140117bf0
mov rcx, qword [rsi + 0x40]
mov rax, qword [0x1401eeae0]
and rax, rcx
cmp rax, qword [0x1401eeac8]
je 0x1400ea35b
mov rdi, qword [rsi + 0x38]
xorps xmm0, xmm0
movups xmmword [rsi + 0x38], xmm0
test rdi, rdi
jne 0x1400ea365
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x1400ea304
call fcn.140119620
mov rcx, qword [rsi + 0x28]
call fcn.140124bd0
mov qword [rsi + 0x28], 0
mov rax, qword [rsi + 0x20]
inc rax
cmp rax, 2
jae 0x1400ea37a
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jb 0x1400ea334
call fcn.140119620
mov rcx, qword [rsi + 0x18]
call fcn.140124bd0
mov qword [rsi + 0x18], 0
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400e9170
lea rdi, [rsi + 0x58]
mov rcx, rdi
call fcn.1400eada0
mov rcx, qword [rdi]
call fcn.14013a790
jmp 0x1400ea29c
call fcn.140117e60
jmp 0x1400ea2cd
mov rcx, rdi
call fcn.1400feac0
mov rcx, rdi
call fcn.14013a790
jmp 0x1400ea2e1
call fcn.140119620
mov rcx, qword [rsi + 0x20]
call fcn.140124bd0
mov qword [rsi + 0x20], 0
jmp 0x1400ea311
Function at 0x1400ed370
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x140203f10], 0
jne 0x1400ed3ad
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400ed3a0
mov dword [rdi], eax
mov dword [0x140203f18], eax
mov qword [0x140203f10], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x1400eee10
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1401fc3d8]
cmp ecx, 0xffffffff
je 0x1400eee35
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
add rsp, 0x28
ret
xor eax, eax
jmp 0x1400eee30

Function at 0x1400eee40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401fc3d8]
cmp ecx, 0xffffffff
je 0x1400eef09
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400eef09
mov eax, dword [0x140205798]
mov ecx, dword [0x1401fc744]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400eef13
mov rbx, qword [0x140205790]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400eef59
mov rax, qword [0x140203f80]
inc rax
xor ecx, ecx
lea rdx, [0x140203f90]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400eef66
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov qword [0x140203f80], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x1400eef7b
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400eef80
jmp 0x1400eee6a
lea rcx, [0x140205798]
call fcn.14013a8b0
cmp dword [0x140205798], 0xffffffff
jne 0x1400eee8f
mov ecx, 8
call fcn.14013a754
mov rbx, rax
mov rcx, rax
call fcn.140128be0
mov qword [0x140205790], rbx
lea rcx, [0x140205798]
call fcn.14013a948
jmp 0x1400eee8f
mov rcx, rbx
call fcn.140128bf0
jmp 0x1400eeea7
inc rcx
cmp rcx, 0x100
jne 0x1400eeeba
jmp 0x1400eeeef
int3
Function at 0x1400eef80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.14013bb20
sub rsp, rax
mov rax, qword [0x1401ec028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401fc3d8]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400ef034
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400ef072
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14013dca0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14013a7cc
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14013d5f0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14013bb80
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1401048f0
test al, al
je 0x1400ef075
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400ef078
mov eax, 0xffffffff
lock cmpxchg dword [0x1401fc3d8], ecx
je 0x1400eefb8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401fc3d8]
mov dword [rsp + 0x2c], ecx
jmp 0x1400eefb8
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.1401048f0
test al, al
je 0x1400ef09d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400ef09d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400ef04b
int3
Function at 0x1400f0290
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.1400f0480
test al, al
jne 0x1400f0318
call fcn.1400f0450
movzx edx, al
mov ecx, esi
call fcn.1400da620
mov eax, dword [0x1402057e8]
mov ecx, dword [0x1401fc744]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f02e7
movsxd rdx, esi
inc rdx
lea rcx, [0x1402057d8]
add rsp, 0x20
pop rsi
jmp fcn.140128e80
lea rcx, [0x1402057e8]
call fcn.14013a8b0
cmp dword [0x1402057e8], 0xffffffff
jne 0x1400f02d0
lea rcx, [0x1402057d8]
xor edx, edx
call fcn.1400ef190
lea rcx, [0x1402057e8]
call fcn.14013a948
jmp 0x1400f02d0
mov edx, 3
jmp 0x1400f02a8

Function at 0x1400f0320
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
call fcn.1400da620
mov eax, dword [0x1402057e8]
mov ecx, dword [0x1401fc744]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f0364
movsxd rdx, esi
inc rdx
lea rcx, [0x1402057d8]
add rsp, 0x20
pop rsi
jmp fcn.140128e80
lea rcx, [0x1402057e8]
call fcn.14013a8b0
cmp dword [0x1402057e8], 0xffffffff
jne 0x1400f034d
lea rcx, [0x1402057d8]
xor edx, edx
call fcn.1400ef190
lea rcx, [0x1402057e8]
call fcn.14013a948
jmp 0x1400f034d
Function at 0x1400f21b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [0x140205930]
cmp rdi, 1
jbe 0x1400f21d9
mov rcx, rdi
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140128e80
lea rcx, [0x140205930]
call fcn.140102260
test al, al
je 0x1400f221e
xorps xmm0, xmm0
movups xmmword [0x140205938], xmm0
lea rbx, [0x140205930]
lea rdi, [0x140205938]
mov rcx, rdi
xor edx, edx
call fcn.1400ef190
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, rbx
call fcn.140102320
jmp 0x1400f21c7
mov rdi, qword [0x140205930]
jmp 0x1400f21c7

Function at 0x1400f26c0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401ec028]
xor rax, rsp
mov qword [rsp + 0x48], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx], rax
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov r14, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 8
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400f27b5
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400f27ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x1400f27b1
call fcn.140119620
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov qword [rsi + 8], 0
cmp rbx, 0xffffffffffffffff
je 0x1400f276e
test rbx, rbx
je 0x1400f2791
call fcn.140119620
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400f2789
mov qword [rsi + 8], rbx
call fcn.140119620
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14013bb80
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400f2753
xor ebx, ebx
jmp 0x1400f274b
mov byte [rsi], 0
jmp 0x1400f2791
Function at 0x1400f27f0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1401ec028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
test r8b, r8b
jne 0x1400f28b9
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400f2927
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400f28b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x1400f28b5
call fcn.140119620
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov qword [rsi + 8], 0
cmp rbx, 0xffffffffffffffff
je 0x1400f2876
test rbx, rbx
je 0x1400f2899
call fcn.140119620
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400f2891
mov qword [rsi + 8], rbx
call fcn.140119620
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14013bb80
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x1400f285b
xor ebx, ebx
jmp 0x1400f2853
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400f2927
lea rdi, [rsp + 0x30]
mov rdx, qword [rdi]
lea rbx, [rsp + 0x28]
mov qword [rbx], 0
mov rcx, rbx
call fcn.14011dc30
mov rcx, qword [rbx]
mov edx, 1
mov r8, rdi
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x1400f292f
mov rax, qword [rsp + 0x28]
inc rax
cmp rax, 2
jb 0x1400f2836
call fcn.140119620
mov rcx, qword [rsp + 0x28]
call fcn.140124bd0
jmp 0x1400f2836
mov byte [rsi], 0
jmp 0x1400f2899
mov byte [rsi], 0
mov rax, qword [rsp + 0x28]
inc rax
cmp rax, 2
jb 0x1400f2899
call fcn.140119620
mov rcx, qword [rsp + 0x28]
call fcn.140124bd0
jmp 0x1400f2899

Function at 0x1400f2960
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1400f2986
call fcn.140119620
cmp qword [rsi], rbx
je 0x1400f29b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400f29c2
cmp r14, 2
jb 0x1400f29ad
mov qword [rsi], rbx
call fcn.140119620
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140119620
mov rcx, qword [rsi]
call fcn.140124bd0
mov qword [rsi], 0
jmp 0x1400f299f
Function at 0x1400f5ed0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rax, qword [0x1401ec028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x6c], 0
jne 0x1400f5fea
mov rdi, rdx
mov rsi, rcx
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
test rdi, rdi
jne 0x1400f5ff1
lea r8, [rsp + 0x38]
mov rcx, rbx
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400f6022
mov rdi, qword [rsp + 0x38]
cmp qword [rsi + 0x48], rdi
je 0x1400f5f73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x48]
inc rax
cmp rax, 2
jae 0x1400f5fcf
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400f5f67
mov qword [rsi + 0x48], rdi
call fcn.140119620
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsi + 0x48]
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x10], r14
movaps xmm0, xmmword [0x1401c9ef0]
movaps xmmword [rbx], xmm0
mov rcx, rbx
mov rdx, rdi
call fcn.1400f26c0
cmp byte [rbx], 0
je 0x1400f602c
lea rcx, [rsi + 0x50]
lea rdi, [rsp + 0x40]
mov rdx, rdi
call fcn.1400f6050
mov byte [rsi + 0x6c], 1
xor esi, esi
cmp byte [rdi], 0
jne 0x1400f6033
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14013bb80
mov eax, esi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140119620
mov rcx, qword [rsi + 0x48]
call fcn.140124bd0
mov qword [rsi + 0x48], 0
jmp 0x1400f5f54
mov esi, 0x4df
jmp 0x1400f5fb6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x38]
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
jmp 0x1400f5f2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f5fb6
mov esi, 0x3f0
jmp 0x1400f5fb6
lea rcx, [rsp + 0x48]
call fcn.1400f27c0
jmp 0x1400f5fb6
Function at 0x1400f6630
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rax, qword [0x1401ec028]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp byte [rcx + 0x6c], 0
je 0x1400f6733
mov rbx, rdx
lea rdx, [rsp + 0x40]
mov qword [rdx], 0
call fcn.1400f60e0
test eax, eax
jne 0x1400f673a
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 2
xor esi, esi
mov rcx, rdi
mov edx, 0xf01ff
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1400f6743
mov r14, qword [rsp + 0x38]
cmp qword [rbx], r14
je 0x1400f66ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x1400f671d
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400f66e4
mov qword [rbx], r14
call fcn.140119620
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400f6703
call fcn.140119620
mov rcx, rdi
call fcn.140124bd0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14013bb80
mov eax, esi
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.140119620
mov rcx, qword [rbx]
call fcn.140124bd0
mov qword [rbx], 0
jmp 0x1400f66d2
mov esi, 0x3f0
jmp 0x1400f6703
mov esi, eax
mov rdi, qword [rsp + 0x40]
jmp 0x1400f66ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f66ec

Function at 0x1400f7a10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400f7a47
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400f7a47
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x1400f7a47
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
jmp 0x1400f7a46
Function at 0x1400f9400
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401ec028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r15, [rsp + 0x34]
mov dword [r15], 0xaaaaaaaa
mov qword [rsp + 0x20], r15
mov r8, r9
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400f94c7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0x28]
mov qword [r12], rax
mov qword [rsp + 0x20], r12
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebp, eax
mov r14, qword [r12]
mov r9d, dword [rsp + 0x34]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400f94c7
test ebp, ebp
setne al
cmp r14, rsi
sete sil
and sil, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14013bb80
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400f94a9