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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x1400aa28c
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400aa45a
test bl, bl
je 0x1400aa392
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400aa392
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1400aa138
test al, al
jne 0x1400aa45a
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400aa458
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5d
mov r9d, 2
call fcn.14006d740
lea rdi, [rsp + 0x50]
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x180]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.14004aeb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400aa34c
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.14001df3c
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.14001df3c
cmp byte [rsp + 0x1a7], 0
jns 0x1400aa383
mov rcx, qword [rsp + 0x190]
call fcn.140136524
lea rcx, [rsp + 0x40]
call fcn.14006dbd0
jmp 0x1400aa458
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400aa458
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x62
mov r9d, 2
call fcn.14006e750
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14001df3c
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.14004aeb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400aa42c
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.14001df3c
cmp byte [rsp + 0x1a7], 0
jns 0x1400aa44e
mov rcx, qword [rsp + 0x190]
call fcn.140136524
lea rcx, [rsp + 0x40]
call fcn.14006e840
xor edi, edi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140136dd0
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400aa477
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400aa49e
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400aa4b7
test eax, 0x410
sete sil
jmp 0x1400aa570
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400aa56e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x75
mov r9d, 2
call fcn.14006e750
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14001df3c
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14004aeb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400aa548
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.14001df3c
cmp byte [rsp + 0x4f], 0
jns 0x1400aa564
mov rcx, qword [rsp + 0x38]
call fcn.140136524
lea rcx, [rsp + 0x50]
call fcn.14006e840
xor esi, esi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140136dd0
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret

Function at 0x1400aa58c
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400aa5b3
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400aa5eb
and eax, 0x410
cmp eax, 0x410
jne 0x1400aa5eb
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140136dd0
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400aa6dd
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400aa5f7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1400aa6c1
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400aa6bf
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, reloc.OLEAUT32.dll_SysAllocStringByteLen
mov r9d, 2
call fcn.14006e750
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, inet_ntoa
call fcn.14001df3c
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14004aeb0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400aa699
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.14001df3c
cmp byte [rsp + 0x4f], 0
jns 0x1400aa6b5
mov rcx, qword [rsp + 0x38]
call fcn.140136524
lea rcx, [rsp + 0x50]
call fcn.14006e840
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140136dd0
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
Function at 0x1400aa6dd
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400aa705
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400aa7cc
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400aa7cc
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x30
mov r9d, 2
call fcn.14006e750
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.14001df3c
mov rbx, rax
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14004aeb0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400aa7a6
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.14001df3c
cmp byte [rsp + 0x57], 0
jns 0x1400aa7c2
mov rcx, qword [rsp + 0x40]
call fcn.140136524
lea rcx, [rsp + 0x58]
call fcn.14006e840
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140136dd0
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400ac4a8
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdx], rax
mov rcx, rdx
call fcn.140061434
mov rcx, qword [rbx + 8]
mov edx, edi
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
je 0x1400ac513
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [rax + 1]
mov rcx, rsi
mov edx, ebx
call fcn.140061c56
mov rcx, rdi
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rsi
mov edx, 0xffffffff
call fcn.1400ae256
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400ac57e
Capabilities:
Hide graphical window

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rdi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rcx, qword [rcx + 8]
xor r14d, r14d
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
cmp dword [rdi + 0x28], 0
je 0x1400ac62d
lea rsi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
mov r8d, 0x41d
call fcn.1400ac4a8
mov rdx, qword [rsi]
lea rcx, [rsp + 0x70]
call fcn.140044cf4
mov rdx, qword [rsi]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400ac60e
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140061310
lea rsi, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1400adc22
mov r14, qword [rsi]
mov r15, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
jmp 0x1400ac633
xor r15d, r15d
xor r12d, r12d
mov rcx, qword [rdi + 8]
xor esi, esi
mov qword [rsp + 0x20], rsi
mov rbx, qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x41b
mov r8d, 0xf0
xor r9d, r9d
call rbx
xor ecx, ecx
cmp rax, 1
sete cl
mov dword [rdi + 0x18], ecx
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
mov edx, 0x41a
mov r8d, 0xf0
xor r9d, r9d
call rbx
mov rsi, rax
call fcn.1400580e6
mov rdi, rax
cmp rsi, 1
jne 0x1400ac6a1
test r12, r12
js 0x1400ac6b7
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r12
jmp 0x1400ac6c7
test r12, r12
js 0x1400ac6d3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
jmp 0x1400ac6e3
lea rcx, [rsp + 0x40]
mov rdx, r14
mov r8, r15
call fcn.140043c3e
lea r8, [rsp + 0x40]
mov rcx, rdi
mov dl, 1
jmp 0x1400ac6ed
lea rcx, [rsp + 0x28]
mov rdx, r14
mov r8, r15
call fcn.140043c3e
lea r8, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call fcn.140091f34
test r12, r12
jns 0x1400ac6ff
mov rcx, r14
call fcn.140136524
cmp byte [rsp + 0x87], 0
jns 0x1400ac713
mov rcx, qword [rsp + 0x70]
call fcn.140136524
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140136dd0
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400aee41
Capabilities:
Read .ini file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rsi, [rsp + 0x70]
mov r8d, 0x424
mov rcx, rsi
xor edx, edx
call fcn.140139be0
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x212
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rsi
mov dx, 0x5c
call fcn.14013a068
lea rcx, [rax + 2]
lea rdx, str.bugreport.ini
call fcn.1401535e8
mov ecx, 0x8000
call fcn.14013655c
mov r12, rax
lea rcx, str.STRINGTABLE
mov rdx, rax
mov r8d, 0x4000
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x1400af043
cmp word [r12], 0
je 0x1400af043
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x48]
lea rbx, [0x14018118c]
lea r14, [rsp + 0x40]
lea rsi, [rsp + 0x38]
mov r15, r12
mov qword [rsp + 0x48], rbp
mov rcx, rdi
mov rdx, r15
call fcn.1400581a4
mov rcx, rdi
call fcn.1400aea0c
mov rcx, rax
call fcn.1400aea6a
mov rcx, qword [rsp + 0x48]
cmp dword [rcx - 0x10], 0
js 0x1400af007
mov rdx, rbx
call fcn.14013a118
test rax, rax
je 0x1400af007
mov r13, rax
mov rax, qword [rsp + 0x48]
sub r13, rax
shr r13, 1
cmp r13d, 0xffffffff
je 0x1400af007
mov r8d, r13d
not r8d
add r8d, dword [rax - 0x10]
mov rcx, rdi
mov rdx, r14
call fcn.1400ae1ec
mov rcx, rdi
mov rdx, rsi
mov r8d, r13d
call fcn.1400ae198
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401af078]
lea rdx, [rsp + 0x60]
mov r8, rsi
lea r9, [0x140183fc0]
call fcn.1400af3d4
mov rcx, qword [rsp + 0x60]
add rcx, 0x28
mov rdx, r14
call fcn.14009218c
mov rdx, qword [rsp + 0x38]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400aefe6
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140061310
mov rdx, qword [rsp + 0x40]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400af007
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140061310
mov rdx, qword [rsp + 0x48]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400af028
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140061310
mov rcx, r15
call fcn.140152cb8
lea r15, [r15 + rax*2]
add r15, 2
cmp word [r15], 0
jne 0x1400aef05
test r12, r12
je 0x1400af050
mov rcx, r12
call fcn.140136564
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140136dd0
mov eax, 1
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400af800
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401af0a0]
test rdi, rdi
jne 0x1400af8a4
mov ecx, 0x48
call fcn.1401364e8
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov ecx, 0x18
call fcn.1401364e8
mov qword [rsi + 0x10], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x20], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x18], rcx
lea rax, [rsi + 0x30]
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x40], 1
mov qword [0x1401af0a0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400af8c6
mov rcx, rax
call fcn.140152cb8
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400af8d0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140136dd0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x1400af8d0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 3
call fcn.1400894c0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x1400afade
movups xmm0, xmmword [rsi]
movups xmmword [r14], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400af97e
lea rdx, [0x14018405a]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400af991
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [0x1401c0010]
jmp 0x1400af98c
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r12, rax
jmp 0x1400af994
xor r12d, r12d
movsxd rbp, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test rbp, rbp
je 0x1400afa9d
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], r14
test ebp, ebp
js 0x1400afb35
shl rbp, 3
lea rsi, [rbp*2]
add rsi, rbp
mov rcx, rsi
call fcn.1401364e8
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, rsi
mov qword [rsp + 0x40], rax
xor r15d, r15d
jmp 0x1400afa56
lea r14, [rdi + 8]
and r14, 0xfffffffffffffff8
lea rcx, [r14 + r14]
call fcn.1401364e8
mov r13, rax
mov qword [rbx], rax
movabs rax, 0x7fffffffffffffef
add rax, 0x11
or rax, r14
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov r8, rdi
add r8, rdi
mov rcx, r13
mov rdx, rsi
call fcn.140139530
mov word [r13 + rdi*2], 0
add rbx, 0x18
add r15, 8
cmp rbp, r15
je 0x1400afa8c
mov rsi, qword [r12 + r15]
mov rcx, rsi
call fcn.140152cb8
mov rdi, rax
movabs rax, 0x7fffffffffffffef
cmp rdi, rax
ja 0x1400afb2d
cmp rdi, 0xb
jae 0x1400afa00
mov byte [rbx + 0x17], dil
mov r13, rbx
test rdi, rdi
jne 0x1400afa30
jmp 0x1400afa41
mov qword [rsp + 0x38], rbx
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
jmp 0x1400afa9f
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400af6c0
movups xmmword [r14], xmm6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400afac7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x1400afade
cmp rbx, rsi
jne 0x1400afb18
mov rcx, rsi
call fcn.140136524
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140136dd0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, rdi
cmp rdi, rsi
je 0x1400afad6
lea rdi, [rbx - 0x18]
cmp byte [rbx - 1], 0
jns 0x1400afb10
mov rcx, qword [rbx - 0x18]
call fcn.140136524
jmp 0x1400afb10
mov rcx, rbx
call fcn.140043704
lea rcx, [rsp + 0x30]
call fcn.14001ba1a
int3
Function at 0x1400b4904
Capabilities:
Read pipe
Write pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x190
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rbx, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13, qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400b4952
mov rcx, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
cmp rax, 0xffffffffffffffff
jne 0x1400b49f6
call r12
cmp eax, 0xe7
jne 0x1400b4aeb
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400b4998
mov rcx, qword [rdi]
mov edx, 0xffffffff
call r13
test eax, eax
jne 0x1400b4946
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400b4b41
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x1401853b0]
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x6f
mov r9d, 2
call fcn.14006e750
lea rcx, [rsp + 0x58]
lea rdx, str.WaitNamedPipe
mov r8d, 0xd
jmp 0x1400b4b34
mov rsi, rax
lea rdx, [rsp + 0x44]
mov dword [rdx], 2
mov rcx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1400b4b45
lea rax, [rsp + 0x40]
mov dword [rax], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0x10
mov rcx, rsi
mov rdx, r15
mov r8d, 0x804
mov r9, r14
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x1400b4b9b
mov dil, 1
cmp dword [rsp + 0x40], 0x10
je 0x1400b4b9d
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400b4b9b
lea rdx, [0x1401853b0]
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r8d, 0x8a
mov r9d, 2
call fcn.14006d740
lea rcx, [rsp + 0x58]
lea rdx, str.TransactNamedPipe:_expected
mov r8d, 0x1c
call fcn.14001df3c
mov edx, 0x10
mov rcx, rax
call fcn.14001aad0
lea rdx, str.__observed
mov r8d, inet_ntoa
mov rcx, rax
call fcn.14001df3c
mov edx, dword [rsp + 0x40]
mov rcx, rax
call fcn.14001a678
mov rcx, rdi
call fcn.14006dbd0
jmp 0x1400b4b9b
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400b4b41
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x1401853b0]
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x6a
mov r9d, 2
call fcn.14006e750
lea rcx, [rsp + 0x58]
lea rdx, str.CreateFile
mov r8d, 0xa
call fcn.14001df3c
mov rcx, rsi
call fcn.14006e840
xor edi, edi
jmp 0x1400b4ba5
mov ecx, 2
call fcn.14006d690
test al, al
je 0x1400b4b9b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x1401853b0]
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r8d, pe_nt_image_headers64
mov r9d, 2
call fcn.14006e750
lea rcx, [rsp + 0x58]
lea rdx, [0x140185413]
mov r8d, 0x17
call fcn.14001df3c
mov rcx, rdi
call fcn.14006e840
xor edi, edi
mov rcx, rsi
call fcn.14009b828
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140136dd0
mov eax, edi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400b4bca
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x140174f60]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x1400b4cb5
lea r14, [rsp + 0x6c]
xor ebx, ebx
mov r8d, 0x110
mov rcx, r14
xor edx, edx
call fcn.140139be0
mov dword [r14 - 0xc], 0x11c
mov rdi, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov qword [r14 - 8], 6
mov word [r14 + 0x108], 0
lea rcx, [rsp + 0x60]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x1400b4cbc
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.1400b4d19
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x1400b4cbc
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x1400b4cc5
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140136dd0
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400bd080
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [0x14019d018]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140174f60]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.MapImageToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x1a
call fcn.140065e60
lea rcx, [rsp + 0x50]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.1400bd980
mov rcx, rsi
call fcn.140076e10
test al, al
je 0x1400bd1f9
mov rcx, rsi
call fcn.140076e20
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x1400bd19e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
add rax, 1
cmp rax, 2
jb 0x1400bd17c
call fcn.140065e80
mov rcx, qword [rsi + 0x40]
call fcn.1400be320
mov qword [rsi + 0x40], 0
mov rax, rbx
add rax, 1
cmp rax, 2
jb 0x1400bd192
mov qword [rsi + 0x40], rbx
call fcn.140065e80
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
lea rax, [rbx + 1]
cmp rax, 2
jae 0x1400bd1ac
xor edi, edi
jmp 0x1400bd1f9
mov qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1400bd1f9
lea rcx, fcn.1400468d0
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.1401006dc
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.1400bdca0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140136dd0
mov eax, edi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret