joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005d8a0
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 [0x1414cdb60]
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, [0x14135c948]
mov qword [rcx], rax
mov dword [rsp + 0x38], 1
xor sil, sil
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x141494e28]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x141494e48]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, 0x800401f0
jne 0x14005d950
mov sil, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x141494e28]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x141494e48]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14005da5d
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x141494e38]
call qword [rax]
test eax, eax
js 0x14005da52
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140058640
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
call fcn.14001a740
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 0x14005d9bf
cmp edx, ebx
je 0x14005d9cd
lock dec dword [rcx]
jne 0x14005d9cd
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
test ebp, ebp
js 0x14005da47
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 0x14005da47
mov r8d, ebx
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x48]
call fcn.14000da20
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 0x14005da39
cmp eax, 0xffffffff
je 0x14005da47
lock dec dword [rcx]
jne 0x14005da47
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
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 0x14005da68
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005e340
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.140058640
nop
mov rcx, rax
call fcn.14001a740
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 0x14005e398
cmp eax, 0xffffffff
je 0x14005e3a6
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14005e3a6
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
test bl, bl
jne 0x14005e3c4
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 0x14005e3e0
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.140058640
mov rsi, rax
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140058640
mov rdi, rax
mov rcx, rsi
call fcn.14001a740
mov rbx, rax
mov rcx, rdi
call fcn.14001a740
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 0x14005e466
cmp eax, 0xffffffff
je 0x14005e475
lock dec dword [rcx]
jne 0x14005e475
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14005e48f
cmp eax, 0xffffffff
je 0x14005e49d
lock dec dword [rcx]
jne 0x14005e49d
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
test dil, dil
jne 0x14005e4bc
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 0x14005e8e0
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140069bc0
nop
mov rcx, rax
call fcn.14001a740
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 0x14005e933
cmp eax, 0xffffffff
je 0x14005e941
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14005e941
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x14005ee00
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.140058350
test al, al
je 0x14005ee9d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
lea rdx, [rsp + 0x78]
mov rcx, rbp
call fcn.140057dd0
nop
mov rdx, qword [rax]
mov rcx, qword [rdx + 0x10]
movzx ecx, word [rdx + rcx]
call fcn.140019db0
lea ecx, [rax - 0x41]
mov ebp, 1
shl ebp, cl
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x14005ee7a
cmp eax, 0xffffffff
je 0x14005ee88
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14005ee88
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
test esi, ebp
je 0x14005efb2
mov esi, 0x14
mov dil, 1
jmp 0x14005ef81
lea rdx, [rsp + 0x70]
mov rcx, rbp
call fcn.140058640
nop
mov dword [rsp + 0x30], 7
lea rax, [0x1413ce698]
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.1400190e0
test al, al
je 0x14005ef4e
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.140015020
test eax, eax
jle 0x14005ef37
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.140015020
test eax, eax
jle 0x14005ef37
mov rcx, qword [rsp + 0x70]
mov edx, dword [rcx + 4]
dec edx
cmp eax, edx
jne 0x14005ef53
lea rcx, [rsp + 0x70]
call fcn.14005f260
test al, al
je 0x14005ef4e
mov esi, 0x10
movzx edi, bpl
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x14005ef6e
cmp eax, 0xffffffff
je 0x14005ef7c
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
jne 0x14005ef7c
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
test dil, dil
je 0x14005efb2
mov dword [rbx + 0x10], esi
test sil, 2
je 0x14005ef91
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 0x14006a5f0
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 0x140059692
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 0x14006a5f0
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 0x14006a714
cmp dword [rcx + 0x98], 0xffffffff
jne 0x14006a70f
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14006a775
mov edi, r8d
mov dword [r11 + 8], r8d
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1413cf710]
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x90]
cmp edi, 0x2000000
cmovae rax, r13
lea rdx, [rbx + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0xa8]
mov r8d, dword [rax]
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006a6b2
mov ecx, dword [rsp + 0xa8]
test ecx, ecx
je 0x14006a70a
add rbx, rcx
sub edi, ecx
mov dword [rsp + 0x90], edi
cmp rbx, rbp
jge 0x14006a70a
jmp 0x14006a660
test rbx, rbx
jne 0x14006a70a
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14000dd60
nop
mov r8, rax
lea edx, [rbx + 1]
mov rcx, r15
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006a6f6
cmp eax, 0xffffffff
je 0x14006a775
lock dec dword [rcx]
jne 0x14006a775
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
or rax, 0xffffffffffffffff
jmp 0x14006a789
mov rax, rbx
jmp 0x14006a789
test rax, rax
je 0x14006a77b
call fcn.14006a370
test al, al
je 0x14006a77b
mov rcx, qword [rsi + 0x70]
call fcn.1400fcc10
test eax, eax
je 0x14006a77b
call fcn.1400fcba0
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call fcn.14000dd60
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14006a767
cmp eax, 0xffffffff
je 0x14006a775
lock dec dword [rcx]
jne 0x14006a775
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
or rax, 0xffffffffffffffff
jmp 0x14006a789
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.1400596b0
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 0x14006a980
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 0x140059dc2
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 0x14006a980
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 0x14006aa89
cmp dword [rcx + 0x98], 0xffffffff
jne 0x14006aa89
cmp qword [rcx + 0x78], 0xffffffffffffffff
je 0x14006aa7e
mov edi, r8d
xor r12d, r12d
mov ebx, r12d
lea r13, [0x1413cf714]
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 0x14006aa34
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x14006aa84
add rbx, rax
sub rdi, rax
cmp rbx, rbp
jge 0x14006aa84
jmp 0x14006a9e1
test rbx, rbx
jne 0x14006aa84
or edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.14000dd60
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r15
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006aa70
cmp eax, 0xffffffff
je 0x14006aa7e
lock dec dword [rcx]
jne 0x14006aa7e
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
or rax, 0xffffffffffffffff
jmp 0x14006aa8e
mov rax, rbx
jmp 0x14006aa8e
call fcn.140059de0
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 0x14006ad90
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140058f90
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.140057bf0
nop
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140058640
mov rbx, rax
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x70]
call fcn.140058640
mov rdi, rax
mov rcx, rbx
call fcn.14001a740
mov rbx, rax
mov rcx, rdi
call fcn.14001a740
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 0x14006ae1e
cmp eax, ebx
je 0x14006ae2d
lock dec dword [rcx]
jne 0x14006ae2d
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x14006ae4d
cmp eax, 0xffffffff
je 0x14006ae5c
lock dec dword [rcx]
jne 0x14006ae5c
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14006ae76
cmp eax, 0xffffffff
je 0x14006ae85
lock dec dword [rcx]
jne 0x14006ae85
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14006aea4
cmp eax, 0xffffffff
je 0x14006aeb2
mov eax, ebx
lock xadd dword [rcx], eax
dec eax
jne 0x14006aeb2
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
test dil, dil
jne 0x14006af1b
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.1400a5360
nop
mov r8, rax
mov edx, 0xa
mov rcx, rsi
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14006af0d
cmp eax, 0xffffffff
je 0x14006af1b
lock dec dword [rcx]
jne 0x14006af1b
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
movzx eax, dil
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006b070
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 0x14006b1eb
cmp dword [rax + 0x98], edi
jne 0x14006b1bf
cmp qword [rax + 0x70], 0
jne 0x14006b1bf
lea rdi, [rax + 0x20]
mov rcx, rdi
call fcn.1400583c0
test al, al
jne 0x14006b247
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.140057dd0
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14001bd10
nop
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x14006b10d
cmp eax, 0xffffffff
je 0x14006b11b
lock dec dword [rcx]
mov rsi, qword [rsp + 0x78]
jne 0x14006b11b
mov rcx, qword [rsp + 0x80]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov dword [rsp + 0x70], 3
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.14001c850
test al, al
je 0x14006b1b0
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14001d360
movzx esi, al
test al, al
jne 0x14006b19d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
call fcn.14002fbb0
nop
mov r8, rax
mov edx, 0xc
mov rcx, rbx
call fcn.140057ac0
nop
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x14006b18e
cmp eax, 0xffffffff
je 0x14006b19d
lock dec dword [rcx]
jne 0x14006b19d
mov rcx, qword [rsp + 0x88]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
lea rcx, [rsp + 0x30]
call fcn.14001bde0
movzx eax, sil
jmp 0x14006b249
lea rcx, [rsp + 0x30]
call fcn.14001bde0
jmp 0x14006b247
cmp rdi, 0xffffffffffffffff
jne 0x14006b1eb
mov rcx, qword [rax + 0x70]
test rcx, rcx
je 0x14006b1d7
call fcn.1400ffdb4
mov ecx, eax
jmp 0x14006b1dd
mov ecx, dword [rax + 0x98]
call fcn.1400fe8f8
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14006b247
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 0x14006b23b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14006b23b
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 0x14006b249
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 0x1400757f0
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.1400760b0
mov ecx, dword [0x1414cd2b0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
jne 0x140075918
test bl, bl
je 0x140075918
lea ecx, [rax + 0x70]
call fcn.1400f8c88
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140075853
lea edx, [rsi + 1]
mov rcx, rax
call fcn.140041970
mov rsi, rax
jmp 0x140075855
xor esi, esi
mov qword [rsp + 0x68], rsi
mov rdx, rsi
mov ecx, dword [0x1414cd2b0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov ecx, 0x10
call fcn.1400f8c88
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14007588a
mov rdx, rsi
mov rcx, rax
call fcn.140041860
nop
mov qword [rsi + 0x30], rax
mov rcx, rsi
call fcn.140041ec0
mov byte [rsi + 0x6a], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rsi + 0x38], rax
cmp qword [0x1414d09a8], 0
jne 0x1400758bd
mov rax, qword [rsi + 0x30]
mov qword [0x1414d09a8], rax
jmp 0x140075918
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.140076130
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x1400760b0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
cmp dword [0x1414cd2b0], 0xffffffff
jne 0x140076127
mov eax, dword [0x1414d11b8]
lea rbx, [0x1414d11b0]
test al, 1
jne 0x1400760f9
or eax, 1
mov dword [0x1414d11b8], eax
xor edx, edx
mov rcx, rbx
call fcn.1400409f0
lea rcx, [0x140125e90]
call fcn.1400f8e58
nop
mov rcx, rbx
call fcn.140040f80
or rbx, 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1414cd2b0], eax
test bl, 1
je 0x140076127
and rbx, 0xfffffffffffffffe
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.140041490
add rsp, 0x30
pop rbx
ret
Function at 0x140076130
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, [0x1414d11a8]
mov rcx, rbx
call fcn.140040f80
or rbx, 1
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x1414d1190]
jne 0x140076183
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400762cb
mov rax, qword [0x1414cd2b8]
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 0x1400761a9
test cl, cl
je 0x1400761ce
movzx eax, cl
neg al
sbb r9d, r9d
and r9d, 8
test cl, cl
cmovne r8d, r10d
lea rcx, [0x1414cd2b8]
call fcn.140075610
mov rax, qword [0x1414cd2b8]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea rdx, [rcx + rdx*8]
mov qword [rdx + rax], rdi
mov rax, qword [0x1414cd2b8]
inc dword [rax + 4]
mov rax, qword [0x1414cd2c0]
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 0x14007620e
test cl, cl
je 0x140076233
movzx eax, cl
neg al
sbb r9d, r9d
and r9d, 8
test cl, cl
cmovne r8d, r10d
lea rcx, [0x1414cd2c0]
call fcn.1400762f0
mov rax, qword [0x1414cd2c0]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rax + 0x10]
lea rdx, [rcx + rdx*8]
mov qword [rdx + rax], rsi
mov rax, qword [0x1414cd2c0]
inc dword [rax + 4]
cmp dword [0x1414d1190], 0
jne 0x1400762bd
cmp qword [0x1414d1198], 0
jne 0x14007628a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1414d1198], rax
lea rdx, [0x1414d1198]
lea rcx, [0x1414cd2b8]
call fcn.140075b40
lea rax, [0x1414d1190]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140075c40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400762cb
mov rcx, qword [0x1414d1198]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
test bl, 1
je 0x1400762dc
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.140041490
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14007d390
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 [0x1414cdb60]
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.14000dcf0
lea r8, [0x1413d6820]
lea rcx, [rsp + 0x60]
mov r9d, eax
mov edx, 0x100
call fcn.1401001d0
mov edi, r12d
mov esi, r12d
test r15b, r15b
je 0x14007d415
mov ebx, 0x40000002
mov edi, 0x100000
jmp 0x14007d41f
mov ebx, 0x40000001
mov esi, 0x100000
call fcn.14000e4e0
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 0x14007d48b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14007d478
dec ebp
jne 0x14007d3e0
lea rdx, [0x1413d6840]
mov ecx, eax
call fcn.14000f5b0
jmp 0x14007d50b
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 0x14007d4eb
lea rcx, [0x1413d6868]
call fcn.14000f710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14007d50b
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test r15b, r15b
je 0x14007d504
mov qword [r14], rdi
mov qword [r14 + 8], rbx
jmp 0x14007d50b
mov qword [r14], rbx
mov qword [r14 + 8], rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret