joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066b00
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x4e0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x510], rbx
mov rax, qword [0x141693be0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x38], 0
lea rax, [0x141524b70]
mov qword [rcx], rax
mov dword [rsp + 0x38], 1
xor sil, sil
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14165b9f0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14165ba10]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x800401f0
jne 0x140066bb0
mov sil, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14165b9f0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14165ba10]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140066cbd
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x14165ba00]
call qword [rax]
test eax, eax
js 0x140066cb2
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400618a0
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
call fcn.14001b320
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [rbx + 0x28]
mov ebp, eax
mov rcx, qword [rsp + 0x50]
mov edx, dword [rcx]
or ebx, 0xffffffff
test edx, edx
je 0x140066c1f
cmp edx, ebx
je 0x140066c2d
lock dec dword [rcx]
jne 0x140066c2d
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
test ebp, ebp
js 0x140066ca7
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x70]
mov r8d, 0x104
lea rdx, [rsp + 0x2c0]
call qword [rax + 0x18]
test eax, eax
jne 0x140066ca7
mov r8d, ebx
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x48]
call fcn.14000e3e0
mov rdx, rax
mov rcx, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x140066c99
cmp eax, 0xffffffff
je 0x140066ca7
lock dec dword [rcx]
jne 0x140066ca7
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test sil, sil
je 0x140066cc8
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1400fa620
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400674a0
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rdx
lea rdx, [rsp + 0x50]
call fcn.1400618a0
nop
mov rcx, rax
call fcn.14001b320
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400674f8
cmp eax, 0xffffffff
je 0x140067506
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x140067506
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
test bl, bl
jne 0x140067524
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], 2
mov rcx, qword [rsp + 0x50]
mov qword [rdi], rcx
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140067540
Capabilities:
Move file

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r14, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1400618a0
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400618a0
mov rdi, rax
mov rcx, rsi
call fcn.14001b320
mov rbx, rax
mov rcx, rdi
call fcn.14001b320
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400675c6
cmp eax, 0xffffffff
je 0x1400675d5
lock dec dword [rcx]
jne 0x1400675d5
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400675ef
cmp eax, 0xffffffff
je 0x1400675fd
lock dec dword [rcx]
jne 0x1400675fd
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
test dil, dil
jne 0x14006761c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 2
mov rcx, qword [rsp + 0x58]
mov qword [r14], rcx
movzx eax, dil
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x140067a40
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14006a6f0
nop
mov rcx, rax
call fcn.14001b320
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x140067a93
cmp eax, 0xffffffff
je 0x140067aa1
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x140067aa1
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x140067f60
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbx, rdx
mov rbp, rcx
xor dil, dil
xor esi, esi
call fcn.1400615b0
test al, al
je 0x140067ffd
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
lea rdx, [rsp + 0x78]
mov rcx, rbp
call fcn.140061030
nop
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rdx + rcx]
call fcn.14001a990
lea ecx, [rax - 0x41]
mov ebp, 1
shl ebp, cl
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x140067fda
cmp eax, 0xffffffff
je 0x140067fe8
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x140067fe8
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
test esi, ebp
je 0x140068112
mov esi, 0x14
mov dil, 1
jmp 0x1400680e1
lea rdx, [rsp + 0x70]
mov rcx, rbp
call fcn.1400618a0
nop
mov dword [rsp + 0x30], 7
lea rax, [0x141595578]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov ebp, 1
mov r8d, ebp
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140019cc0
test al, al
je 0x1400680ae
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov r9d, ebp
lea r8d, [rbp + 6]
movzx edx, word [rax + rcx]
lea rcx, [rsp + 0x70]
call fcn.140015c70
test eax, eax
jle 0x140068097
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx + 0x10]
lea r8d, [rax + 1]
mov r9d, ebp
movzx edx, word [rcx + rdx]
lea rcx, [rsp + 0x70]
call fcn.140015c70
test eax, eax
jle 0x140068097
mov rcx, qword [rsp + 0x70]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x1400680b3
lea rcx, [rsp + 0x70]
call fcn.1400683c0
test al, al
je 0x1400680ae
mov esi, 0x10
movzx edi, bpl
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400680ce
cmp eax, 0xffffffff
je 0x1400680dc
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x1400680dc
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
test dil, dil
je 0x140068112
mov dword [rbx + 0x10], esi
test sil, 2
je 0x1400680f1
or dword [rbx + 4], 0x100000
test sil, 0x10
mov eax, 0x20000
mov ecx, 0x40000
cmovne eax, ecx
or dword [rbx + 4], eax
or dword [rbx + 4], 0x400000
or dword [rbx], 0x560000
movzx eax, dil
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006b130
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0x9c], 1
je 0x140062862
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0x9c], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14006b130
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
mov rax, qword [rcx + 0x70]
test rax, rax
jne 0x14006b257
cmp dword [rcx + 0x98], 0xffffffff
jne 0x14006b252
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14006b2b8
mov rdi, r8
mov qword [r11 + 0x20], r8
xor r12d, r12d
mov ebx, r12d
lea r13, [0x141595980]
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0xa8]
cmp rdi, 0x2000000
cmovge rax, r13
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x90]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006b1f5
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x14006b24d
add rbx, rax
sub rdi, rax
mov qword [rsp + 0xa8], rdi
cmp rbx, rbp
jge 0x14006b24d
jmp 0x14006b1a0
test rbx, rbx
jne 0x14006b24d
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14000e720
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.140060d40
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006b239
cmp eax, 0xffffffff
je 0x14006b2b8
lock dec dword [rcx]
jne 0x14006b2b8
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
or rax, 0xffffffffffffffff
jmp 0x14006b2cc
mov rax, rbx
jmp 0x14006b2cc
test rax, rax
je 0x14006b2be
call fcn.14006aeb0
test al, al
je 0x14006b2be
mov rcx, qword [rsi + 0x70]
call fcn.1400fd4a8
test eax, eax
je 0x14006b2be
call fcn.1400fd438
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.14000e720
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140060d40
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14006b2aa
cmp eax, 0xffffffff
je 0x14006b2b8
lock dec dword [rcx]
jne 0x14006b2b8
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
or rax, 0xffffffffffffffff
jmp 0x14006b2cc
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.140062880
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006b4c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0x9c], 2
je 0x140063022
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rbx + 0x9c], 2
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14006b4c0
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x18]
cmp qword [rcx + 0x70], 0
jne 0x14006b5c9
cmp dword [rcx + 0x98], 0xffffffff
jne 0x14006b5c9
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14006b5be
mov edi, r8d
xor r12d, r12d
mov ebx, r12d
lea r13, [0x141595988]
mov dword [rsp + 0x80], edi
lea rax, [rsp + 0x80]
cmp edi, 0x2000000
cmovae rax, r13
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x98]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14006b574
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x14006b5c4
add rbx, rax
sub rdi, rax
cmp rbx, rbp
jge 0x14006b5c4
jmp 0x14006b521
test rbx, rbx
jne 0x14006b5c4
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14000e720
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.140060d40
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006b5b0
cmp eax, 0xffffffff
je 0x14006b5be
lock dec dword [rcx]
jne 0x14006b5be
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
or rax, 0xffffffffffffffff
jmp 0x14006b5ce
mov rax, rbx
jmp 0x14006b5ce
call fcn.140063040
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006b8e0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140062190
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp method.QFSFileEngine.virtual_96
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rsi, rcx
mov rdi, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140060e50
nop
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400618a0
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x70]
call fcn.1400618a0
mov rdi, rax
mov rcx, rbx
call fcn.14001b320
mov rbx, rax
mov rcx, rdi
call fcn.14001b320
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x14006b96e
cmp eax, ebx
je 0x14006b97d
lock dec dword [rcx]
jne 0x14006b97d
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x14006b99d
cmp eax, 0xffffffff
je 0x14006b9ac
lock dec dword [rcx]
jne 0x14006b9ac
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14006b9c6
cmp eax, 0xffffffff
je 0x14006b9d4
lock dec dword [rcx]
jne 0x14006b9d4
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006b9f3
cmp eax, 0xffffffff
je 0x14006ba01
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
jne 0x14006ba01
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
test dil, dil
jne 0x14006ba6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], 2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x88]
call fcn.1400a9290
nop
mov r8, rax
mov edx, 0xa
mov rcx, rsi
call fcn.140060d40
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14006ba5c
cmp eax, 0xffffffff
je 0x14006ba6a
lock dec dword [rcx]
jne 0x14006ba6a
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
movzx eax, dil
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006bbc0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx + 8]
mov rdi, qword [rax + 0x78]
cmp rdi, 0xffffffffffffffff
jne 0x14006bd3b
cmp dword [rax + 0x98], edi
jne 0x14006bd0f
cmp qword [rax + 0x70], 0
jne 0x14006bd0f
lea rdi, [rax + 0x20]
mov rcx, rdi
call fcn.140061620
test al, al
jne 0x14006bd97
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.140061030
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14001c900
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x14006bc5d
cmp eax, 0xffffffff
je 0x14006bc6b
lock dec dword [rcx]
mov rsi, qword [rsp + 0x78]
jne 0x14006bc6b
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
mov dword [rsp + 0x70], 3
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.14001d400
test al, al
je 0x14006bd00
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14001df30
movzx esi, al
test al, al
jne 0x14006bced
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
call fcn.1400308e0
nop
mov r8, rax
mov edx, 0xc
mov rcx, rbx
call fcn.140060d40
nop
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x14006bcde
cmp eax, 0xffffffff
je 0x14006bced
lock dec dword [rcx]
jne 0x14006bced
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011e00
nop
lea rcx, [rsp + 0x30]
call fcn.14001c9d0
movzx eax, sil
jmp 0x14006bd99
lea rcx, [rsp + 0x30]
call fcn.14001c9d0
jmp 0x14006bd97
cmp rdi, 0xffffffffffffffff
jne 0x14006bd3b
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x14006bd27
call fcn.1400ff3dc
mov ecx, eax
jmp 0x14006bd2d
mov ecx, dword [rax + 0x98]
call fcn.1400ff190
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14006bd97
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rbp, rax
mov qword [rsp + 0x20], rax
mov r8, qword [rbx]
mov rdx, rsi
mov rcx, rbx
call qword [r8 + 0x38]
test al, al
je 0x14006bd8b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14006bd8b
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
cmp rbp, rsi
cmovge rdx, rcx
mov rdx, qword [rdx]
mov rcx, rbx
call qword [rax + 0x38]
mov al, 1
jmp 0x14006bd99
mov rax, qword [rbx]
mov rdx, rbp
mov rcx, rbx
call qword [rax + 0x38]
xor al, al
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140075dd0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x78], rsi
movzx ebx, cl
call fcn.140076660
mov ecx, dword [0x1416932b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
jne 0x140075ef8
test bl, bl
je 0x140075ef8
lea ecx, [rax + 0x70]
call fcn.1400f85d8
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140075e33
lea edx, [rsi + 1]
mov rcx, rax
call fcn.14004b5a0
mov rsi, rax
jmp 0x140075e35
xor esi, esi
mov qword [rsp + 0x68], rsi
mov rdx, rsi
mov ecx, dword [0x1416932b0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov ecx, 0x10
call fcn.1400f85d8
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140075e6a
mov rdx, rsi
mov rcx, rax
call fcn.14004b490
nop
mov qword [rsi + 0x30], rax
mov rcx, rsi
call fcn.14004bb10
mov byte [rsi + 0x6a], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rsi + 0x38], rax
cmp qword [0x141696a20], 0
jne 0x140075e9d
mov rax, qword [rsi + 0x30]
mov qword [0x141696a20], rax
jmp 0x140075ef8
mov qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x68]
call fcn.1400766e0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140076660
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
cmp dword [0x1416932b0], 0xffffffff
jne 0x1400766d7
mov eax, dword [0x1416991f0]
lea rbx, [0x1416991e8]
test al, 1
jne 0x1400766a9
or eax, 1
mov dword [0x1416991f0], eax
xor edx, edx
mov rcx, rbx
call fcn.140041600
lea rcx, [0x140123490]
call fcn.1400f8794
nop
mov rcx, rbx
call fcn.140041b60
or rbx, 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1416932b0], eax
test bl, 1
je 0x1400766d7
and rbx, 0xfffffffffffffffe
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.140042070
add rsp, 0x30
pop rbx
ret
Function at 0x1400766e0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rdx
mov rdi, rcx
lea rbx, [0x1416991e0]
mov rcx, rbx
call fcn.140041b60
or rbx, 1
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x1416991c8]
jne 0x140076733
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007687b
mov rax, qword [0x1416932b8]
mov r8d, dword [rax + 8]
btr r8d, 0x1f
mov edx, dword [rax + 4]
lea r10d, [rdx + 1]
cmp r10d, r8d
seta cl
cmp dword [rax], 1
ja 0x140076759
test cl, cl
je 0x14007677e
movzx eax, cl
neg al
sbb r9d, r9d
and r9d, 8
test cl, cl
cmovne r8d, r10d
lea rcx, [0x1416932b8]
call fcn.140075bf0
mov rax, qword [0x1416932b8]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea rdx, [rcx + rdx*8]
mov qword [rdx + rax], rdi
mov rax, qword [0x1416932b8]
inc dword [rax + 4]
mov rax, qword [str.pKRA]
mov r8d, dword [rax + 8]
btr r8d, 0x1f
mov edx, dword [rax + 4]
lea r10d, [rdx + 1]
cmp r10d, r8d
seta cl
cmp dword [rax], 1
ja 0x1400767be
test cl, cl
je 0x1400767e3
movzx eax, cl
neg al
sbb r9d, r9d
and r9d, 8
test cl, cl
cmovne r8d, r10d
lea rcx, str.pKRA
call fcn.1400768a0
mov rax, qword [str.pKRA]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea rdx, [rcx + rdx*8]
mov qword [rdx + rax], rsi
mov rax, qword [str.pKRA]
inc dword [rax + 4]
cmp dword [0x1416991c8], 0
jne 0x14007686d
cmp qword [0x1416991d0], 0
jne 0x14007683a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1416991d0], rax
lea rdx, [0x1416991d0]
lea rcx, [0x1416932b8]
call fcn.140076110
lea rax, [0x1416991c8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140076210]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007687b
mov rcx, qword [0x1416991d0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
test bl, 1
je 0x14007688c
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.140042070
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14007d5f0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x141693be0]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r12d, r12d
movzx r15d, dl
mov r14, rcx
mov dword [rsp + 0x40], 0x18
mov ebp, 0x3e8
lea r13d, [r12 + 8]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
nop
call fcn.14000e6c0
lea r8, [0x14159c000]
lea rcx, [rsp + 0x60]
mov r9d, eax
mov edx, 0x100
call fcn.1400ff868
mov edi, r12d
mov esi, r12d
test r15b, r15b
je 0x14007d675
mov ebx, 0x40000002
mov edi, 0x100000
jmp 0x14007d67f
mov ebx, 0x40000001
mov esi, 0x100000
call fcn.14000ed30
mov r8d, r12d
lea rcx, [rsp + 0x60]
cmp eax, 0x80
lea rax, [rsp + 0x40]
mov r9d, 1
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
cmovge r8d, r13d
mov edx, ebx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14007d6eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14007d6d8
dec ebp
jne 0x14007d640
lea rdx, [0x14159c020]
mov ecx, eax
call fcn.14000fe60
jmp 0x14007d76b
mov edx, 0x40000000
mov eax, 0x80000100
mov qword [rsp + 0x30], r12
test r15b, r15b
lea r9, [rsp + 0x40]
lea rcx, [rsp + 0x60]
cmovne edx, eax
xor r8d, r8d
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14007d74b
lea rcx, [0x14159c048]
call fcn.14000ffc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007d76b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test r15b, r15b
je 0x14007d764
mov qword [r14], rdi
mov qword [r14 + 8], rbx
jmp 0x14007d76b
mov qword [r14], rbx
mov qword [r14 + 8], rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400fa620
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret