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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.1400cc0a0
mov ebx, eax
test eax, eax
je 0x140005a5f
test rdi, rdi
jne 0x1400059af
xor ebx, ebx
jmp 0x1400059bf
mov edx, 0x104
mov rcx, rdi
call fcn.1400c8dd0
mov rbx, rax
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400aea88
lea rcx, [rbx - 1]
cmp rcx, 0x103
ja 0x140005a01
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x140005a01
dec rbx
cmp rbx, 0x104
jae 0x140005a82
mov byte [rsp + rbx + 0x50], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400cc0a0
mov ebx, eax
test eax, eax
je 0x140005a5f
lea rcx, [rsp + 0x50]
call fcn.1400cc364
mov ebx, eax
test eax, eax
je 0x140005a5f
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.1400a20f8
mov rdi, rax
test rax, rax
je 0x140005a5f
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140005950
mov ebx, eax
test eax, eax
jne 0x140005a5f
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400cc364
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14009fda0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.14009ff04
int3
Function at 0x14000d180
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
test rcx, rcx
je 0x14000d235
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx edi, dx
mov rbx, rcx
xor edx, edx
lea r8d, [rdx + 0x70]
call fcn.1400a1900
movzx ecx, di
sub ecx, 1
je 0x14000d202
sub ecx, 1
je 0x14000d1b9
cmp ecx, 0xfe
jne 0x14000d22b
mov dword [rbx], 0x40200100
mov dword [rbx + 4], 0x6a09e667
mov dword [rbx + 8], 0xbb67ae85
mov dword [rbx + 0xc], 0x3c6ef372
mov dword [rbx + 0x10], 0xa54ff53a
mov dword [rbx + 0x14], 0x510e527f
mov dword [rbx + 0x18], 0x9b05688c
mov dword [rbx + 0x1c], 0x1f83d9ab
mov dword [rbx + 0x20], 0x5be0cd19
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov dword [rbx], 0x40140001
mov dword [rbx + 4], 0x67452301
mov dword [rbx + 8], 0xefcdab89
mov dword [rbx + 0xc], 0x98badcfe
mov dword [rbx + 0x10], 0x10325476
mov dword [rbx + 0x14], 0xc3d2e1f0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140010440
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov r14, r8
mov r12, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001053f
test rdx, rdx
je 0x14001053f
cmp dword [rcx + 4], 2
jne 0x14001053f
mov ecx, dword [rcx]
sub ecx, 1
je 0x140010526
cmp ecx, 1
jne 0x14001053f
mov rax, qword [rdi + 0x20]
mov rsi, qword [rdi + 8]
lea rbp, [rax + r8]
test rsi, rsi
je 0x1400104ac
cmp qword [rdi + 0x10], rbp
jae 0x1400104fd
and rbp, 0xfffffffffffffe00
mov qword [rsp + 0x40], rbx
add rbp, 0x200
mov rcx, rsi
mov rdx, rbp
mov rbx, rsi
call fcn.1400c9224
test rbx, rbx
mov rsi, rax
mov rbx, qword [rsp + 0x40]
jne 0x1400104ec
test rax, rax
je 0x14001053f
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400a1900
test rsi, rsi
je 0x14001053f
mov rax, qword [rdi + 0x20]
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rbp
lea rcx, [rsi + rax]
mov r8, r14
mov rdx, r12
call fcn.140010620
add qword [rdi + 0x20], r14
mov r15, r14
mov rcx, qword [rdi + 0x20]
cmp rcx, qword [rdi + 0x18]
cmovbe rcx, qword [rdi + 0x18]
mov qword [rdi + 0x18], rcx
jmp 0x14001053f
mov r9, qword [rdi + 0x10]
test r9, r9
je 0x14001053f
mov edx, 1
mov rcx, r12
call fcn.1400e18d0
mov r15, rax
mov rbp, qword [rsp + 0x48]
mov rax, r15
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140012bd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor edi, edi
movsxd rbx, ecx
mov r14, r9
mov r15, r8
mov rsi, rdx
test rdx, rdx
je 0x140012c0b
mov edx, 0x104
mov rcx, rsi
call fcn.1400c8dd0
mov rbp, rax
jmp 0x140012c0d
mov ebp, edi
imul rbx, rbx, 0x38
lea r12, [0x140203130]
mov qword [rsp + 0x78], rbx
lea rax, [rbx + r12]
mov rcx, rax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
cmp qword [rbx + r12 + 0x28], rdi
je 0x140012d79
mov qword [rsp + 0x70], r13
call fcn.140005940
mov qword [rsp + 0x28], r14
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rcx, qword [rax]
or rcx, 2
call fcn.1400c8290
test eax, eax
mov rcx, 0xffffffffffffffff
cmovs eax, ecx
movsxd r12, eax
add r12, 2
mov rcx, r12
lea r13d, [rax + 2]
call fcn.1400ae9b8
mov rbx, rax
test rax, rax
je 0x140012d74
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.1400a1900
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, 0xffffffffffffffff
mov rdx, r12
mov rcx, rbx
call fcn.1400114c0
mov r9d, eax
test r12, r12
je 0x140012cc5
cmp eax, 0xffffffff
jne 0x140012cc5
lea r9d, [r13 - 1]
mov rax, rbx
cmp byte [rbx], dil
je 0x140012cea
nop dword [rax]
cmp byte [rax + 1], dil
lea rcx, [rax + 1]
je 0x140012cea
cmp byte [rax], 0xa
jne 0x140012ce2
mov byte [rax], 9
mov rax, rcx
cmp byte [rcx], dil
jne 0x140012cd0
test rsi, rsi
je 0x140012d38
cmp r9d, ebp
jle 0x140012d38
lea edi, [r9 + rbp]
cmp edi, r13d
jge 0x140012d38
movsxd rax, ebp
mov r8, rsi
movsxd rcx, r9d
sub rcx, rax
add rcx, rbx
sub r8, rcx
nop
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140012d23
inc rcx
test eax, eax
jne 0x140012d10
test edx, edx
je 0x140012d38
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.140014180
mov r9d, edi
mov rsi, qword [rsp + 0x78]
lea rbp, [0x140203130]
movsxd r8, r9d
mov edx, 1
mov rcx, rbx
mov r9, qword [rsi + rbp + 0x28]
call fcn.1400e18d0
cmp byte [rsi + rbp + 0x30], 0
mov edi, eax
je 0x140012d6c
mov rcx, qword [rsi + rbp + 0x28]
call fcn.1400e0b34
mov rcx, rbx
call fcn.1400ae9a4
mov r13, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140013fb0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.1400cc0a0
mov ebx, eax
test eax, eax
je 0x1400140bf
test rdi, rdi
jne 0x14001400f
xor ebx, ebx
jmp 0x14001401f
mov edx, 0x104
mov rcx, rdi
call fcn.1400c8dd0
mov rbx, rax
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400aea88
lea rcx, [rbx - 1]
cmp rcx, 0x103
ja 0x140014061
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x140014061
dec rbx
cmp rbx, 0x104
jae 0x1400140e2
mov byte [rsp + rbx + 0x50], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400cc0a0
mov ebx, eax
test eax, eax
je 0x1400140bf
lea rcx, [rsp + 0x50]
call fcn.1400cc364
mov ebx, eax
test eax, eax
je 0x1400140bf
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.1400a20f8
mov rdi, rax
test rax, rax
je 0x1400140bf
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140013fb0
mov ebx, eax
test eax, eax
jne 0x1400140bf
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400cc364
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14009fda0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.14009ff04
int3
Function at 0x1400383d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
sub rsp, 0x60
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, rdx
mov rbx, rcx
test rdx, rdx
jne 0x14003845f
cmp dword [0x1401f9c80], 1
jl 0x1400385c3
test dword [0x1401f9cb4], 0x200000
je 0x1400385c3
lea rax, str.logstring_is_NULL
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_uf_sourcesesif_uf_loggingmgr.c
lea r8, str.EsifLogMgr_DataLogWrite
mov dword [rsp + 0x20], 0xadd
mov ecx, 0x200000
call fcn.140075100
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x60
pop rbx
ret
mov ecx, dword [rcx + 0x17c]
test ecx, ecx
je 0x1400385c3
mov qword [rsp + 0x58], rbp
test cl, 8
jbe 0x140038492
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400125e0
mov ecx, dword [rbx + 0x17c]
mov rax, qword [rsp + 0x78]
test cl, 4
jbe 0x1400384be
lea r9, [rsp + 0x80]
mov r8, rax
lea rdx, [0x140122478]
mov ecx, 5
call fcn.140012bd0
mov ecx, dword [rbx + 0x17c]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rdi
test cl, 2
jbe 0x14003853e
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x50], rsi
mov rcx, rax
call fcn.14003d360
inc eax
movsxd rsi, eax
mov rcx, rsi
call fcn.1400ae9b8
mov rdi, rax
test rax, rax
je 0x140038534
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400a1900
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call fcn.1400114c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call fcn.1400ae9a4
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x50]
test byte [rbx + 0x17c], 1
jbe 0x1400385b9
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14003d360
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.1400ae9b8
mov rbx, rax
test rax, rax
je 0x1400385b9
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400a1900
mov r9, qword [rsp + 0x78]
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.1400114c0
mov r8, rbx
lea rdx, [0x1401206ec]
mov ecx, 3
call fcn.140096c80
mov rcx, rbx
call fcn.1400ae9a4
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x60
pop rbx
ret
Function at 0x14003bbd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor ebp, ebp
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, qword [rsi + 8]
call fcn.140002440
test eax, eax
lea rcx, [rsi + 0x10]
setne bl
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
je 0x14003bcf4
cmp byte [rsi + 0x71], bpl
jne 0x14003bcaa
mov word [rsi + 0x71], 1
cmp byte [rsi + 0x73], bpl
jne 0x14003bc2d
mov byte [rsi + 0x70], 1
lea rcx, [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
xor r9d, r9d
mov qword [rsi + 0x40], rbp
xor edx, edx
mov dword [rsi + 0x48], ebp
xor ecx, ecx
mov r8d, 0x7fffffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov ecx, 0x10
mov dword [rsi + 0x50], ebp
mov qword [rsi + 0x58], rax
mov byte [rsi + 0x4c], bpl
call fcn.1400ae9b8
mov rbx, rax
test rax, rax
je 0x14003bcaa
lea rax, [0x14003b4d0]
mov qword [rsp + 0x28], rbp
mov r9, rbx
mov qword [rbx], rax
lea r8, [0x14003e0a0]
mov qword [rbx + 8], rsi
xor edx, edx
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x30], rax
test rax, rax
jne 0x14003bcaa
mov rcx, rbx
call fcn.1400ae9a4
cmp dword [0x1401f9c80], 3
jl 0x14003bcf0
test dword [0x1401f9ce4], 0x200000
je 0x14003bcf0
lea rcx, str.Participant_logging_started
mov edx, 3
mov qword [rsp + 0x28], rcx
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_uf_sourcesesif_uf_loggingmgr.c
mov ecx, 0x200000
mov dword [rsp + 0x20], 0x4b1
lea r8, str.EsifLogMgr_StartLoggingIfRequired
call fcn.140075100
mov eax, ebp
jmp 0x14003bd3f
cmp dword [0x1401f9c80], 1
jl 0x14003bd3a
test dword [0x1401f9cb4], 0x200000
je 0x14003bd3a
lea rax, str.Error_:_No_Data_to_Log
mov edx, 1
mov qword [rsp + 0x28], rax
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_uf_sourcesesif_uf_loggingmgr.c
lea r8, str.EsifLogMgr_StartLoggingIfRequired
mov dword [rsp + 0x20], 0x4ac
mov ecx, 0x200000
call fcn.140075100
mov eax, 0x3ea
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14003e0d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x1401f2a00]
xor edi, edi
cmp ecx, 0x1f4
cmovge eax, ecx
xor bl, bl
mov dword [0x1401f2a00], eax
nop dword [rax + rax]
lea rcx, [0x140204998]
call fcn.140040df0
movzx ecx, bl
call fcn.14003f5c0
mov rsi, rax
nop word [rax + rax]
mov eax, 1
xchg qword [0x1402049a0], rax
cmp rax, 1
je 0x14003e120
add dword [0x1402049a8], 0xffffffff
mov rax, rdi
xchg qword [0x1402049a0], rax
jne 0x14003e152
lea rcx, [0x140204998]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
test rsi, rsi
je 0x14003e167
mov rcx, rsi
call fcn.14006f3f0
mov rcx, rsi
call fcn.14006ed70
inc bl
cmp bl, 0x20
jb 0x14003e100
mov rax, rdi
lock xadd qword [0x1401f29f8], rax
test al, al
je 0x14003e1eb
mov ecx, 0x10
call fcn.1400ae9b8
mov rbx, rax
test rax, rax
jne 0x14003e1a7
mov edi, 0x708
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rax, [0x14003e320]
mov qword [rsp + 0x28], rdi
mov r9, rbx
mov qword [rbx], rax
lea r8, [0x140041920]
mov qword [rbx + 8], rdi
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1402049b0], rax
test rax, rax
jne 0x14003e1eb
mov rcx, rbx
call fcn.1400ae9a4
mov edi, 0x3eb
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14007f850
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [0x1401f9c80], 4
mov rbx, rcx
jl 0x14007f89f
test dword [0x1401f9cfc], 0x40000
je 0x14007f89f
lea rax, str.Starting_thread__n
mov edx, 4
mov qword [rsp + 0x28], rax
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_uf_sourceswincem_cstatechangedetection.cpp
lea r8, str.CStateChangeDetection::StartThread
mov dword [rsp + 0x20], 0x5e
mov ecx, 0x40000
call fcn.140075100
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140024317.0]
xor r9d, r9d
mov dword [rbx + 0x14], 0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14007f8da
mov eax, 0x80004005
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 0x28], 0
lea r8, [0x14007fac0]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
je 0x14007f8cf
cmp dword [0x1401f9c80], 4
jl 0x14007f95b
test dword [0x1401f9cfc], 0x40000
je 0x14007f95b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov dword [rsp + 0x30], eax
lea r10, str.Thread_ID___d_n
mov qword [rsp + 0x28], r10
mov edx, 4
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_uf_sourceswincem_cstatechangedetection.cpp
mov dword [rsp + 0x20], 0x75
lea r8, str.CStateChangeDetection::StartThread
mov ecx, 0x40000
call fcn.140075100
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x14008cac0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.1400cc0a0
mov ebx, eax
test eax, eax
je 0x14008cbcf
test rdi, rdi
jne 0x14008cb1f
xor ebx, ebx
jmp 0x14008cb2f
mov edx, 0x104
mov rcx, rdi
call fcn.1400c8dd0
mov rbx, rax
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400aea88
lea rcx, [rbx - 1]
cmp rcx, 0x103
ja 0x14008cb71
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x14008cb71
dec rbx
cmp rbx, 0x104
jae 0x14008cbf2
mov byte [rsp + rbx + 0x50], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400cc0a0
mov ebx, eax
test eax, eax
je 0x14008cbcf
lea rcx, [rsp + 0x50]
call fcn.1400cc364
mov ebx, eax
test eax, eax
je 0x14008cbcf
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.1400a20f8
mov rdi, rax
test rax, rax
je 0x14008cbcf
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.14008cac0
mov ebx, eax
test eax, eax
jne 0x14008cbcf
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400cc364
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14009fda0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.14009ff04
int3

Function at 0x14008d000
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x240
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400a1900
xor eax, eax
mov dword [rbx], 9
mov qword [rbx + 4], rax
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov qword [rbx + 0xc], rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14008d109
lea ecx, [rax + 1]
mov qword [rsp + 0x250], rsi
lea rsi, [rcx + rcx]
mov qword [rsp + 0x258], rdi
mov qword [rsp + 0x260], r15
mov r15d, ecx
mov rcx, rsi
call fcn.1400ae9b8
mov rdi, rax
test rax, rax
je 0x14008d0a6
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400a1900
mov rsi, qword [rsp + 0x250]
mov qword [rbx + 4], rdi
test rdi, rdi
je 0x14008d0d4
lea r8, [rsp + 0x20]
mov rdx, r15
mov rcx, rdi
call fcn.1400e6c38
lea ecx, [r14 + r14]
lea eax, [rcx + 2]
mov dword [rbx + 0x10], ecx
mov dword [rbx + 0xc], eax
mov rdi, qword [rsp + 0x258]
mov rax, rbx
mov r15, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14009fda0
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop r14
ret
mov rax, rbx
jmp 0x14008d0e7
Function at 0x140091460
Capabilities:
Manipulate console buffer

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov ebx, 1
mov qword [rsp + 0x20], rax
mov ecx, 0xfffffff6
mov qword [rsp + 0x28], rax
mov word [rsp + 0x20], bx
mov dword [rsp + 0x24], ebx
mov byte [rsp + 0x2e], 0xd
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x38]
mov r8d, ebx
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x50
pop rbx
ret
Function at 0x140091530
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0xd0
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, r8
lea rcx, [rsp + 0x50]
mov rdi, rdx
xor ebx, ebx
xor edx, edx
lea r8d, [rbx + 0x68]
call fcn.1400a1900
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
jne 0x14009157e
mov ecx, ebx
jmp 0x14009158b
mov edx, 0x1fff
call fcn.1400c904c
mov rcx, rax
cmp word [rsi], 0x22
lea rax, [rcx + 2]
mov rdx, qword [rdi + 8]
cmovne rax, rcx
lea rcx, [rsi + rax*2]
call fcn.1400a34c8
mov r14, rax
test rax, rax
jne 0x1400915c5
lea rdx, str.Unable_to_parse_command_line._n
lea ecx, [rax + 3]
call fcn.140012650
mov eax, 0x708
jmp 0x14009177c
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x100], rbp
mov qword [rsp + 0x118], r15
test rcx, rcx
jne 0x1400915e3
mov rax, rbx
jmp 0x1400915ed
mov edx, 0x1fff
call fcn.1400c904c
mov edx, 0x1fff
lea r15, [r14 + rax*2]
mov rcx, rsi
call fcn.1400c904c
mov rcx, qword [rdi + 8]
lea rsi, [rax + 1]
test rcx, rcx
jne 0x140091610
mov rax, rbx
jmp 0x14009161a
mov edx, 0x1fff
call fcn.1400c904c
mov edx, 0x1fff
lea rcx, str.server__i
sub rsi, rax
call fcn.1400c904c
lea r14, [rax + 2]
add r14, rsi
lea rbp, [r14 + r14]
mov rcx, rbp
call fcn.1400ae9b8
mov rsi, rax
test rax, rax
je 0x140091756
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1400a1900
mov r8, rbp
xor edx, edx
mov rcx, rsi
call fcn.1400a1900
mov eax, 0x22
mov rdx, r14
mov word [rsi], ax
mov rcx, rsi
mov r8, qword [rdi]
call fcn.1400e6df4
lea r8, [0x1401cac0c]
mov rdx, r14
mov rcx, rsi
call fcn.1400e6df4
lea r8, [0x1401cac10]
mov rdx, r14
mov rcx, rsi
call fcn.1400e6df4
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.1400e6df4
mov qword [rsp + 0x48], r12
lea rax, [0x1401c7cb0]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 0x68
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov rdx, rsi
mov dword [rsp + 0x28], 0x8000000
xor ecx, ecx
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x88], ebx
mov qword [rsp + 0x8c], 1
mov qword [rsp + 0x58], rbx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
mov ecx, 0x3eb
cmove ebx, ecx
mov rcx, rsi
call fcn.1400ae9a4
mov eax, ebx
jmp 0x14009176c
lea rdx, str.Unable_to_allocate_memory._n
mov ecx, 3
call fcn.140012650
mov eax, 0x708
mov rbp, qword [rsp + 0x100]
mov r15, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140092770
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400927c7
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x1400927c7
call fcn.140093240
test eax, eax
je 0x1400927c7
cmp qword [rbx + 0x270], 0
je 0x1400927c7
mov rcx, qword [rbx + 0x28]
mov r8d, edi
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140093330
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140092ab0
Capabilities:
Connect pipe

Disassembly:
push rdi
sub rsp, 0x30
mov rax, qword [0x1402006b8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rcx
xor eax, eax
mov rcx, qword [rcx + 0x208]
cmp rcx, 0xffffffffffffffff
je 0x140092b27
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
cmp dword [rdi + 0x214], eax
jne 0x140092b0c
cmp dword [rdi + 0x218], eax
jne 0x140092b3a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ebx, eax
test eax, eax
jne 0x140092b0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x140092b1b
mov ebx, 1
mov dword [rdi + 0x210], 1
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009fda0
add rsp, 0x30
pop rdi
ret
lea rdx, [rdi + 0x278]
mov qword [rdi + 0x278], rax
mov qword [rdi + 0x280], rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ebx, eax
test eax, eax
jne 0x140092b11
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140092b05
mov rcx, qword [rdi + 0x208]
lea r9d, [rbx + 1]
lea r8, [rsp + 0x20]
lea rdx, [rdi + 0x278]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ebx, eax
test eax, eax
jne 0x140092b11
jmp 0x140092b1d