joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140101350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
movzx esi, word [r8 + 0xe]
lea rdi, [r8 + 0x10]
movzx eax, word [r8 + 0xc]
mov rbx, r9
mov r11, rcx
add esi, eax
je 0x140101427
mov qword [rsp + 0x60], rbp
mov ebp, dword [rsp + 0x70]
mov eax, dword [rdi + 4]
cmp eax, 0x80000000
jb 0x1401013bb
test ebp, ebp
jne 0x14010139a
cmp word [rdi], 0x18
je 0x140101415
btr eax, 0x1f
lea ecx, [rbp + 1]
mov dword [rsp + 0x20], ecx
mov r9, rbx
mov rcx, r11
lea r8, [rdx + rax]
call fcn.140101350
mov r11, qword [rsp + 0x50]
jmp 0x140101410
btr eax, 0x1f
mov r8d, dword [rax + rdx]
mov r9d, dword [rax + rdx + 4]
add r8, r11
shr r9d, 2
test r9d, r9d
je 0x140101415
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbx]
xor dword [r8], eax
lea r8, [r8 + 4]
mov ecx, dword [rbx]
mov eax, 0x8fd66c05
mul ecx
shr edx, 0x11
imul eax, edx, 0x38f40
sub ecx, eax
imul eax, ecx, 0x2455
add eax, 0xc091
mov dword [rbx], eax
sub r9d, 1
jne 0x1401013e0
mov rdx, qword [rsp + 0x58]
add rdi, 8
sub esi, 1
jne 0x140101386
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140101430
Capabilities:
Check mutex on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x150], rax
movsxd rdi, dword [rcx + 0x3c]
xor ebp, ebp
add rdi, rcx
mov r14, rcx
mov ebx, ebp
movzx eax, word [rdi + 0x14]
lea rsi, [rdi + 0x18]
add rsi, rax
cmp bp, word [rdi + 6]
jae 0x1401014a1
nop word [rax + rax]
lea rdx, str..rsrc
mov rcx, rsi
call fcn.140156fb4
test eax, eax
je 0x1401014a1
movzx eax, word [rdi + 6]
add rsi, 0x28
inc ebx
cmp ebx, eax
jl 0x140101480
movzx eax, word [rdi + 6]
cmp ebx, eax
jge 0x140101641
xor edx, edx
mov qword [rsp + 0x188], r15
mov r8d, 0x104
lea rcx, [rsp + 0x40]
call fcn.140141ad0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, str.QA1Q0ZWQIE__d
lea rcx, [rsp + 0x40]
call fcn.1400a61e0
lea r8, [rsp + 0x40]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov r15, rax
test rax, rax
je 0x140101639
mov edx, 0x3e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140101630
mov edi, dword [rsi + 0xc]
add rdi, r14
mov ecx, dword [rdi]
mov dword [rsp + 0x30], ecx
test ecx, ecx
je 0x140101627
mov eax, ecx
shr eax, 0x10
xor al, 0x76
cmp cl, al
jne 0x140101627
mov eax, ecx
shr ecx, 8
shr eax, 0x18
xor al, 0x5a
cmp cl, al
jne 0x140101627
mov edx, dword [rsi + 0x10]
lea r9, [rsp + 0x34]
mov r8d, 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, word [rdi + 0xc]
lea rbx, [rdi + 0x10]
mov dword [rdi], ebp
movzx ebp, word [rdi + 0xe]
add ebp, eax
je 0x140101611
mov eax, dword [rsp + 0x30]
nop dword [rax + rax]
mov ecx, dword [rbx + 4]
cmp ecx, 0x80000000
jb 0x1401015b7
cmp word [rbx], 0x18
je 0x140101604
btr ecx, 0x1f
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x30]
mov rdx, rdi
lea r8, [rdi + rcx]
mov rcx, r14
call fcn.140101350
mov eax, dword [rsp + 0x30]
jmp 0x140101604
btr ecx, 0x1f
mov r9d, dword [rcx + rdi]
mov r10d, dword [rcx + rdi + 4]
add r9, r14
shr r10d, 2
test r10d, r10d
je 0x140101604
xor dword [r9], eax
lea r9, [r9 + 4]
mov eax, 0x8fd66c05
mul dword [rsp + 0x30]
imul eax, dword [rsp + 0x30], 0x2455
shr edx, 0x11
imul r8d, edx, 0x7eac6fc0
add eax, 0xc091
add eax, r8d
mov dword [rsp + 0x30], eax
sub r10d, 1
jne 0x1401015d0
add rbx, 8
sub ebp, 1
jne 0x140101580
mov edx, dword [rsi + 0x10]
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140101890
Capabilities:
Create directory
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x4d0
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
lea rcx, [rsp + 0x3b0]
mov r8d, 0x104
mov ebp, eax
call fcn.140141ad0
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x104
call fcn.140141ad0
mov edx, 0x104
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rdx, str.logs
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
lea rdx, str.CrashDumpLogs
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140101958
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140101958
cmp eax, 0xb7
jne 0x14010196b
mov edx, 2
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor edx, edx
lea rcx, [rsp + 0x190]
mov r8d, 0x104
call fcn.140141ad0
xor edx, edx
lea rcx, [rsp + 0x2a0]
mov r8d, 0x104
call fcn.140141ad0
mov r8d, 0x104
lea rdx, [rsp + 0x190]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ecx, ecx
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rcx
xor r8d, r8d
mov qword [rsp + 0x30], 0x104
xor edx, edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x190]
call fcn.140159754
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x7c]
lea rcx, [rsp + 0x3b0]
movzx r8d, word [rsp + 0x7a]
mov edx, 0x104
movzx r9d, word [rsp + 0x78]
movzx r10d, word [rsp + 0x76]
movzx r11d, word [rsp + 0x72]
movzx ebx, word [rsp + 0x70]
mov dword [rsp + 0x60], ebp
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x2a0]
mov dword [rsp + 0x48], r8d
lea r8, str._s_s__04d_02d_02d__02d_02d_02d__ld__ld.dmp
mov dword [rsp + 0x40], r9d
lea r9, [rsp + 0x80]
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.14005ac50
lea rdx, [rsp + 0x3b0]
mov rcx, rdi
call fcn.140101aa0
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1401027c0
Capabilities:
Enumerate files on windows
Get hostname

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x3d0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400f2a60
nop
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x2b0]
call fcn.140141ad0
mov dword [rsp + 0x20], 0x104
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov rcx, rsi
lea rbx, [rsp + 0x1a0]
sub rbx, rsi
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140102850
lea rcx, [rsp + 0x1a0]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x140102870
mov eax, dword [0x1402895a0]
mov dword [rcx], eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140102957
cmp dword [rsp + 0x60], 0x10
je 0x140102925
mov rcx, rsi
nop
movzx eax, byte [rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1401028b0
lea rax, [rsp + 0x1a0]
dec rax
nop dword [rax]
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x1401028d0
lea r8, [rsp + 0x8c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1401028f0
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov r8d, 1
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x2b0]
call fcn.1400fc370
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x60]
call fcn.140141ad0
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1401028a1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x38]
call fcn.1400f2ab0
mov al, 1
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140102df0
Capabilities:
Get common file path
Get hostname
Get session user name
Query environment variable

Disassembly:
push rbx
sub rsp, 0x480
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + AcceptEx], rax
mov rbx, rcx
mov byte [rsp + 0x250], 0
call fcn.1400fc350
mov edx, 0x104
lea rcx, [rsp + 0x250]
test eax, eax
je 0x140102e3d
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
jmp 0x140102e43
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov rax, qword [rsp + 0x30]
test al, al
cmove rax, qword [str.Unknown]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x140], 0
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x140]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov rax, qword [rsp + 0x140]
movabs rcx, 0x746c7561666544
test al, al
cmove rax, rcx
mov qword [rsp + 0x140], rax
mov rcx, rbx
call fcn.1400f92b0
lea r8, [rsp + 0x250]
lea rdx, str._systemroot_
mov rcx, rbx
call fcn.1400f92d0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x360]
call fcn.140141ad0
mov r8d, 0x104
lea rdx, [rsp + 0x360]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rdx, [rsp + 0x360]
mov rcx, rbx
call fcn.1400f82d0
nop
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140113910
add rsp, 0x480
pop rbx
ret
Function at 0x140106270
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rdx
xor eax, eax
mov dword [rsp + 0x20], eax
test rdx, rdx
je 0x14010632c
test r8, r8
je 0x14010632c
mov qword [rsp + 0x28], rax
lea rcx, str.secur32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1401062f6
lea rdx, str.GetUserNameExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401062f6
lea r8, [rsp + 0x60]
mov rdx, rsi
mov ecx, 2
call rax
movzx edi, al
mov dword [rsp + 0x20], edi
test al, al
jne 0x14010630a
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, eax
mov dword [rsp + 0x20], eax
jmp 0x140106315
test rbx, rbx
je 0x140106324
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
jmp 0x14010632a
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14010cb70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [0x140312db6], 0
lea rsi, [0x140312c90]
mov edi, edx
mov rbx, rcx
je 0x14010cbc8
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x29]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov rcx, rsi
call fcn.1400f7c20
cmp byte [0x140312c90], 0
jne 0x14010ccd4
mov rcx, qword [0x140312348]
mov r8d, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
mov rcx, rsi
call fcn.1401421b8
test rax, rax
je 0x14010cc00
mov byte [rax], 0
mov rcx, rsi
call fcn.1400f7c20
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rcx + rsi]
mov byte [rsp + rcx + 0x30], al
lea rcx, [rcx + 1]
test al, al
jne 0x14010cc10
lea rcx, [rsp + 0x30]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14010cc30
lea r8, str.msocxushell.dll
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14010cc50
lea rcx, [rsp + 0x30]
call fcn.1400fafb0
test eax, eax
jne 0x14010cc76
mov byte [0x140312c90], al
jmp 0x14010cc7f
cmp byte [0x140312c90], 0
jne 0x14010ccd4
xor r9d, r9d
mov edx, 0x104
mov rcx, rsi
lea r8d, [r9 + 1]
call fcn.14010c600
test eax, eax
je 0x14010ccac
mov edx, 0x5c
mov rcx, rsi
call fcn.1401421b8
test rax, rax
je 0x14010ccac
mov byte [rax], 0
cmp byte [0x140312c90], 0
jne 0x14010ccd4
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x29]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov rcx, rsi
call fcn.1400f7c20
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140157390
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14010f840
Capabilities:
Get hostname

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x160
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x28], 0
test rcx, rcx
jne 0x14010f88c
xor eax, eax
jmp 0x14010f9ec
xor edx, edx
mov r8d, 0x26c
call fcn.140141ad0
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x40]
call fcn.140141ad0
mov dword [rsp + 0x2c], 0x104
mov rax, qword [0x14030b570]
mov qword [rsp + 0x20], rax
call fcn.1400f61c0
mov rbx, rax
lea rcx, [rsp + 0x20]
test rax, rax
je 0x14010f8e3
mov rdx, rax
call fcn.1400f82d0
mov rcx, rbx
call fcn.1401139ac
jmp 0x14010f8ef
lea rdx, [0x140285c9d]
call fcn.1400f82d0
lea rcx, [rsp + 0x20]
call fcn.1400f9550
lea rcx, [rsp + 0x20]
call fcn.1400f95d0
mov r8d, 0xfc
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.1400f7fd0
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400f82d0
lea rcx, [rsp + 0x20]
call fcn.1400f9550
lea rcx, [rsp + 0x20]
call fcn.1400f95d0
lea rcx, [rdi + 0x104]
mov r8d, 0x104
mov rdx, qword [rsp + 0x20]
call fcn.1400f7fd0
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400f82d0
lea rcx, [rsp + 0x20]
call fcn.1400f9550
lea rcx, [rsp + 0x20]
call fcn.1400f95d0
lea rcx, [rdi + 0x208]
mov r8d, gethostbyname
mov rdx, qword [rsp + 0x20]
call fcn.1400f7fd0
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.1400f82d0
lea rcx, [rsp + 0x20]
call fcn.1400f9550
lea rcx, [rsp + 0x20]
call fcn.1400f95d0
lea rcx, [rdi + 0x23a]
mov r8d, gethostbyname
mov rdx, qword [rsp + 0x20]
call fcn.1400f7fd0
mov ebx, 1
mov dword [rsp + 0x28], ebx
lea rcx, [rsp + 0x20]
call fcn.1400f81a0
nop
jmp 0x14010f9ea
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140113910
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop r14
pop rdi
pop rsi
ret
Function at 0x14011a820
Capabilities:
Read file on windows

Disassembly:
mov rcx, qword [rcx + 0x80]
jmp 0x1401229c0
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x140122a10
xor r9d, r9d
lea r8d, [r9 + 0x36]
lea rdx, str.d:gitviewpoco_foundation_srcPipeImpl_WIN32.cpp
lea rcx, str._readHandle___INVALID_HANDLE_VALUE
call fcn.140120ed0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140122a98
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140122a98
mov qword [rsp + 0x58], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
mov r8d, reloc.WSOCK32.dll_ntohl
lea rdx, str.anonymous_pipe
lea rcx, [rsp + 0x40]
call fcn.140009d60
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14011b1a0
lea rdx, [0x140306c40]
lea rcx, [rsp + 0x60]
call fcn.1401419e8
nop
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140113910
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret

Function at 0x14011a830
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 0x80]
jmp 0x140122ac0
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
jne 0x140122b10
xor r9d, r9d
lea r8d, [r9 + 0x2b]
lea rdx, str.d:gitviewpoco_foundation_srcPipeImpl_WIN32.cpp
lea rcx, str._writeHandle___INVALID_HANDLE_VALUE
call fcn.140120ed0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140122b8a
mov qword [rsp + 0x58], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], al
lea r8d, [rax + 0xe]
lea rdx, str.anonymous_pipe
lea rcx, [rsp + 0x40]
call fcn.140009d60
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14011b4d0
lea rdx, [0x140306bc0]
lea rcx, [rsp + 0x60]
call fcn.1401419e8
nop
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140113910
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140122800
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0xd0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
call fcn.140121540
nop
lea rax, vtable.Poco::PipeImpl.0
mov qword [rbx], rax
mov dword [rsp + 0x20], 0x18
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0
lea rdx, [rbx + 0x18]
lea rcx, [rbx + 0x10]
xor r9d, r9d
lea r8, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1401228bf
mov qword [rsp + 0x60], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x58], 0
mov byte [rsp + 0x48], al
lea r8d, [rax + 0xe]
lea rdx, str.anonymous_pipe
lea rcx, [rsp + 0x48]
call fcn.140009d60
nop
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14011a930
lea rdx, [0x140306b40]
lea rcx, [rsp + 0x70]
call fcn.1401419e8
nop
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140113910
add rsp, 0xd0
pop rbx
ret

Function at 0x1401229c0
Capabilities:
Read file on windows

Disassembly:
mov rcx, qword [rcx + 0x80]
jmp 0x1401229c0
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x140122a10
xor r9d, r9d
lea r8d, [r9 + 0x36]
lea rdx, str.d:gitviewpoco_foundation_srcPipeImpl_WIN32.cpp
lea rcx, str._readHandle___INVALID_HANDLE_VALUE
call fcn.140120ed0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140122a98
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140122a98
mov qword [rsp + 0x58], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], 0
mov r8d, reloc.WSOCK32.dll_ntohl
lea rdx, str.anonymous_pipe
lea rcx, [rsp + 0x40]
call fcn.140009d60
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14011b1a0
lea rdx, [0x140306c40]
lea rcx, [rsp + 0x60]
call fcn.1401419e8
nop
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140113910
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140122ac0
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 0x80]
jmp 0x140122ac0
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 0xffffffffffffffff
jne 0x140122b10
xor r9d, r9d
lea r8d, [r9 + 0x2b]
lea rdx, str.d:gitviewpoco_foundation_srcPipeImpl_WIN32.cpp
lea rcx, str._writeHandle___INVALID_HANDLE_VALUE
call fcn.140120ed0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140122b8a
mov qword [rsp + 0x58], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x40], al
lea r8d, [rax + 0xe]
lea rdx, str.anonymous_pipe
lea rcx, [rsp + 0x40]
call fcn.140009d60
nop
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14011b4d0
lea rdx, [0x140306bc0]
lea rcx, [rsp + 0x60]
call fcn.1401419e8
nop
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140113910
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret

Function at 0x14012a130
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x258
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ecx, 0x202
lea rdx, [rsp + 0xa0]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x14012a1bc
mov qword [rsp + 0x40], reloc.WSOCK32.dll_ntohs
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x28], 0
mov r8d, 0x26
lea rdx, str.Failed_to_initialize_network_subsystem
lea rcx, [rsp + 0x28]
call fcn.140009d60
nop
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.14012e070
lea rdx, [0x140306d40]
lea rcx, [rsp + 0x50]
call fcn.1401419e8
nop
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140113910
add rsp, 0x258
ret