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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
test r8d, r8d
je 0x140003de6
mov r9, rdx
mov r10d, edi
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
xor eax, ebx
imul ebx, eax, 0x1000193
sub r10, 1
jne 0x140003dd0
mov r8d, dword [0x1401ed460]
cmp r8d, 4
jl 0x140003e36
test byte [0x1401ed4dc], 1
je 0x140003e36
mov edx, 4
mov dword [rsp + 0x30], ebx
lea rax, str.Hash__08x_n
mov qword [rsp + 0x28], rax
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_cm_sourcesesif_hash_table.c
lea r8, str.esif_compute_hash
mov dword [rsp + 0x20], 0xa1
lea ecx, [rdx - 3]
call fcn.140071850
mov r8d, dword [0x1401ed460]
xor edx, edx
mov eax, ebx
div dword [rbp]
mov rax, qword [rbp + 8]
mov rbx, qword [rax + rdx*8]
cmp r8d, 4
jl 0x140003e9a
test byte [0x1401ed4dc], 1
je 0x140003e9a
mov qword [rsp + 0x50], rbx
lea rax, str.Key__p__key_size__d__table__p_index__d_ll__p_n
mov dword [rsp + 0x48], edx
lea r9, str.c:jenkinsworkspacedptf_srcesifproductsesif_cm_sourcesesif_hash_table.c
mov qword [rsp + 0x40], rbp
lea r8, str.esif_ht_get_ll
mov dword [rsp + 0x38], edi
mov edx, 4
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xf3
lea ecx, [rdx - 3]
call fcn.140071850
mov rbp, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140005940
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1401f3df8]
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.1400c42b0
mov ebx, eax
test eax, eax
je 0x140005a4f
test rdi, rdi
jne 0x14000599f
xor ebx, ebx
jmp 0x1400059af
mov edx, 0x104
mov rcx, rdi
call fcn.1400c0fe0
mov rbx, rax
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400a6c98
lea rcx, [rbx - 1]
cmp rcx, 0x103
ja 0x1400059f1
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x1400059f1
dec rbx
cmp rbx, 0x104
jae 0x140005a72
mov byte [rsp + rbx + 0x50], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400c42b0
mov ebx, eax
test eax, eax
je 0x140005a4f
lea rcx, [rsp + 0x50]
call fcn.1400c4574
mov ebx, eax
test eax, eax
je 0x140005a4f
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.14009a2f8
mov rdi, rax
test rax, rax
je 0x140005a4f
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140005940
mov ebx, eax
test eax, eax
jne 0x140005a4f
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400c4574
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140097fb0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.140098114
int3
Function at 0x14000d100
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
test rcx, rcx
je 0x14000d1b5
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.140099b00
movzx ecx, di
sub ecx, 1
je 0x14000d182
sub ecx, 1
je 0x14000d139
cmp ecx, 0xfe
jne 0x14000d1ab
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 0x1400102d0
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 0x1400103cf
test rdx, rdx
je 0x1400103cf
cmp dword [rcx + 4], 2
jne 0x1400103cf
mov ecx, dword [rcx]
sub ecx, 1
je 0x1400103b6
cmp ecx, 1
jne 0x1400103cf
mov rax, qword [rdi + 0x20]
mov rsi, qword [rdi + 8]
lea rbp, [rax + r8]
test rsi, rsi
je 0x14001033c
cmp qword [rdi + 0x10], rbp
jae 0x14001038d
and rbp, 0xfffffffffffffe00
mov qword [rsp + 0x40], rbx
add rbp, 0x200
mov rcx, rsi
mov rdx, rbp
mov rbx, rsi
call fcn.1400c1434
test rbx, rbx
mov rsi, rax
mov rbx, qword [rsp + 0x40]
jne 0x14001037c
test rax, rax
je 0x1400103cf
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.140099b00
test rsi, rsi
je 0x1400103cf
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.1400104b0
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 0x1400103cf
mov r9, qword [rdi + 0x10]
test r9, r9
je 0x1400103cf
mov edx, 1
mov rcx, r12
call fcn.1400d9ae0
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 0x140012a50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
movsxd rdi, ecx
mov r14, r9
mov r15, r8
mov rsi, rdx
test rdx, rdx
je 0x140012a91
mov edx, 0x104
mov rcx, rsi
call fcn.1400c0fe0
mov rbp, rax
jmp 0x140012a93
mov ebp, ebx
imul r12, rdi, 0x38
lea r13, [0x1401f67e0]
lea rcx, [r12 + r13]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
cmp qword [r12 + r13 + 0x28], rbx
je 0x140012bdc
call fcn.140005930
mov qword [rsp + 0x28], r14
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rcx, qword [rax]
or rcx, 2
call fcn.1400c04a0
mov rcx, 0xffffffffffffffff
test eax, eax
cmovs eax, ecx
movsxd r13, eax
add r13, 2
lea ecx, [rax + 2]
mov dword [rsp + 0x60], ecx
mov rcx, r13
call fcn.1400a6bc8
mov rdi, rax
test rax, rax
je 0x140012bd5
mov r8, r13
xor edx, edx
mov rcx, rax
call fcn.140099b00
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, 0xffffffffffffffff
mov rdx, r13
mov rcx, rdi
call fcn.140011340
movsxd r9, eax
mov rax, rdi
cmp byte [rdi], bl
je 0x140012b4d
cmp byte [rax + 1], bl
lea rcx, [rax + 1]
je 0x140012b4d
cmp byte [rax], 0xa
jne 0x140012b46
mov byte [rax], 9
mov rax, rcx
cmp byte [rcx], bl
jne 0x140012b35
test rsi, rsi
je 0x140012b9b
cmp r9d, ebp
jle 0x140012b9b
lea ebx, [r9 + rbp]
cmp ebx, dword [rsp + 0x60]
jge 0x140012b9b
movsxd rax, ebp
mov rcx, r9
sub rcx, rax
mov r8, rsi
add rcx, rdi
sub r8, rcx
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x140012b86
inc rcx
test eax, eax
jne 0x140012b73
test edx, edx
je 0x140012b9b
mov r8, r13
mov rdx, rsi
mov rcx, rdi
call fcn.140013f50
mov r9d, ebx
movsxd r8, r9d
lea r13, [0x1401f67e0]
mov r9, qword [r12 + r13 + 0x28]
mov edx, 1
mov rcx, rdi
call fcn.1400d9ae0
cmp byte [r12 + r13 + 0x30], 0
mov ebx, eax
je 0x140012bcb
mov rcx, qword [r12 + r13 + 0x28]
call fcn.1400d8d44
mov rcx, rdi
call fcn.1400a6bb4
jmp 0x140012bdc
lea r13, [0x1401f67e0]
lea rcx, [r12 + r13]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rbp, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140013d80
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1401f3df8]
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.1400c42b0
mov ebx, eax
test eax, eax
je 0x140013e8f
test rdi, rdi
jne 0x140013ddf
xor ebx, ebx
jmp 0x140013def
mov edx, 0x104
mov rcx, rdi
call fcn.1400c0fe0
mov rbx, rax
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400a6c98
lea rcx, [rbx - 1]
cmp rcx, 0x103
ja 0x140013e31
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x140013e31
dec rbx
cmp rbx, 0x104
jae 0x140013eb2
mov byte [rsp + rbx + 0x50], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400c42b0
mov ebx, eax
test eax, eax
je 0x140013e8f
lea rcx, [rsp + 0x50]
call fcn.1400c4574
mov ebx, eax
test eax, eax
je 0x140013e8f
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.14009a2f8
mov rdi, rax
test rax, rax
je 0x140013e8f
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140013d80
mov ebx, eax
test eax, eax
jne 0x140013e8f
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400c4574
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140097fb0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.140098114
int3
Function at 0x1400367a0
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 [0x1401f3df8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, rdx
mov rbx, rcx
test rdx, rdx
jne 0x14003682f
cmp dword [0x1401ed460], 1
jl 0x140036993
test dword [0x1401ed494], 0x200000
je 0x140036993
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.140071850
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140097fb0
add rsp, 0x60
pop rbx
ret
mov ecx, dword [rcx + 0x17c]
test ecx, ecx
je 0x140036993
mov qword [rsp + 0x58], rbp
test cl, 8
jbe 0x140036862
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140012460
mov ecx, dword [rbx + 0x17c]
mov rax, qword [rsp + 0x78]
test cl, 4
jbe 0x14003688e
lea r9, [rsp + 0x80]
mov r8, rax
lea rdx, [0x140119788]
mov ecx, 5
call fcn.140012a50
mov ecx, dword [rbx + 0x17c]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rdi
test cl, 2
jbe 0x14003690e
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x50], rsi
mov rcx, rax
call fcn.14003b730
inc eax
movsxd rsi, eax
mov rcx, rsi
call fcn.1400a6bc8
mov rdi, rax
test rax, rax
je 0x140036904
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.140099b00
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.140011340
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, rdi
call fcn.1400a6bb4
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x50]
test byte [rbx + 0x17c], 1
jbe 0x140036989
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.14003b730
inc eax
movsxd rdi, eax
mov rcx, rdi
call fcn.1400a6bc8
mov rbx, rax
test rax, rax
je 0x140036989
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140099b00
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.140011340
mov r8, rbx
lea rdx, [0x1401179fc]
mov ecx, 3
call fcn.14008efb0
mov rcx, rbx
call fcn.1400a6bb4
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140097fb0
add rsp, 0x60
pop rbx
ret
Function at 0x140039fa0
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.140002430
test eax, eax
lea rcx, [rsi + 0x10]
setne bl
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
je 0x14003a0c4
cmp byte [rsi + 0x71], bpl
jne 0x14003a07a
mov word [rsi + 0x71], 1
cmp byte [rsi + 0x73], bpl
jne 0x140039ffd
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.1400a6bc8
mov rbx, rax
test rax, rax
je 0x14003a07a
lea rax, [0x1400398a0]
mov qword [rsp + 0x28], rbp
mov r9, rbx
mov qword [rbx], rax
lea r8, [0x14003c400]
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 0x14003a07a
mov rcx, rbx
call fcn.1400a6bb4
cmp dword [0x1401ed460], 3
jl 0x14003a0c0
test dword [0x1401ed4c4], 0x200000
je 0x14003a0c0
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.140071850
mov eax, ebp
jmp 0x14003a10f
cmp dword [0x1401ed460], 1
jl 0x14003a10a
test dword [0x1401ed494], 0x200000
je 0x14003a10a
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.140071850
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 0x14003c430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x1401e69c0]
xor edi, edi
cmp ecx, 0x1f4
cmovge eax, ecx
xor bl, bl
mov dword [0x1401e69c0], eax
nop dword [rax + rax]
lea rcx, [0x1401f8028]
call fcn.14003eb10
movzx ecx, bl
call fcn.14003d6d0
mov rsi, rax
nop word [rax + rax]
mov eax, 1
xchg qword [0x1401f8030], rax
cmp rax, 1
je 0x14003c480
add dword [0x1401f8038], 0xffffffff
mov rax, rdi
xchg qword [0x1401f8030], rax
jne 0x14003c4b2
lea rcx, [0x1401f8028]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
test rsi, rsi
je 0x14003c4c7
mov rcx, rsi
call fcn.14006b780
mov rcx, rsi
call fcn.14006b100
inc bl
cmp bl, 0x20
jb 0x14003c460
mov rax, rdi
lock xadd qword [0x1401e69b8], rax
test al, al
je 0x14003c54b
mov ecx, 0x10
call fcn.1400a6bc8
mov rbx, rax
test rax, rax
jne 0x14003c507
mov edi, 0x708
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rax, [0x14003c680]
mov qword [rsp + 0x28], rdi
mov r9, rbx
mov qword [rbx], rax
lea r8, [0x14003f5f0]
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 [0x1401f8040], rax
test rax, rax
jne 0x14003c54b
mov rcx, rbx
call fcn.1400a6bb4
mov edi, 0x3eb
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140079e10
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [0x1401ed460], 4
mov rbx, rcx
jl 0x140079e5f
test dword [0x1401ed4dc], 0x40000
je 0x140079e5f
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.140071850
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400234c7.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 0x140079e9a
mov eax, 0x80004005
add rsp, 0x40
pop rbx
ret
mov qword [rsp + 0x28], 0
lea r8, [0x14007a080]
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 0x140079e8f
cmp dword [0x1401ed460], 4
jl 0x140079f1b
test dword [0x1401ed4dc], 0x40000
je 0x140079f1b
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.140071850
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x140085140
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1401f3df8]
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.1400c42b0
mov ebx, eax
test eax, eax
je 0x14008524f
test rdi, rdi
jne 0x14008519f
xor ebx, ebx
jmp 0x1400851af
mov edx, 0x104
mov rcx, rdi
call fcn.1400c0fe0
mov rbx, rax
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rdi
mov edx, 0x104
call fcn.1400a6c98
lea rcx, [rbx - 1]
cmp rcx, 0x103
ja 0x1400851f1
cmp byte [rsp + rbx + 0x4f], 0x5c
jne 0x1400851f1
dec rbx
cmp rbx, 0x104
jae 0x140085272
mov byte [rsp + rbx + 0x50], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400c42b0
mov ebx, eax
test eax, eax
je 0x14008524f
lea rcx, [rsp + 0x50]
call fcn.1400c4574
mov ebx, eax
test eax, eax
je 0x14008524f
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call fcn.14009a2f8
mov rdi, rax
test rax, rax
je 0x14008524f
lea rcx, [rsp + 0x50]
mov byte [rax], 0
call fcn.140085140
mov ebx, eax
test eax, eax
jne 0x14008524f
lea rcx, [rsp + 0x50]
mov byte [rdi], 0x5c
call fcn.1400c4574
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140097fb0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.140098114
int3

Function at 0x140085680
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x240
mov rax, qword [0x1401f3df8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.140099b00
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 0x140085789
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.1400a6bc8
mov rdi, rax
test rax, rax
je 0x140085726
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.140099b00
mov rsi, qword [rsp + 0x250]
mov qword [rbx + 4], rdi
test rdi, rdi
je 0x140085754
lea r8, [rsp + 0x20]
mov rdx, r15
mov rcx, rdi
call fcn.1400dee48
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.140097fb0
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop r14
ret
mov rax, rbx
jmp 0x140085767
Function at 0x140089a00
Capabilities:
Manipulate console buffer

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401f3df8]
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.140097fb0
add rsp, 0x50
pop rbx
ret
Function at 0x140089ad0
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 [0x1401f3df8]
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.140099b00
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
jne 0x140089b1e
mov ecx, ebx
jmp 0x140089b2b
mov edx, 0x1fff
call fcn.1400c125c
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.14009b6c8
mov r14, rax
test rax, rax
jne 0x140089b65
lea rdx, str.Unable_to_parse_command_line._n
lea ecx, [rax + 3]
call fcn.1400124d0
mov eax, 0x708
jmp 0x140089d1c
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x100], rbp
mov qword [rsp + 0x118], r15
test rcx, rcx
jne 0x140089b83
mov rax, rbx
jmp 0x140089b8d
mov edx, 0x1fff
call fcn.1400c125c
mov edx, 0x1fff
lea r15, [r14 + rax*2]
mov rcx, rsi
call fcn.1400c125c
mov rcx, qword [rdi + 8]
lea rsi, [rax + 1]
test rcx, rcx
jne 0x140089bb0
mov rax, rbx
jmp 0x140089bba
mov edx, 0x1fff
call fcn.1400c125c
mov edx, 0x1fff
lea rcx, str.server__i
sub rsi, rax
call fcn.1400c125c
lea r14, [rax + 2]
add r14, rsi
lea rbp, [r14 + r14]
mov rcx, rbp
call fcn.1400a6bc8
mov rsi, rax
test rax, rax
je 0x140089cf6
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.140099b00
mov r8, rbp
xor edx, edx
mov rcx, rsi
call fcn.140099b00
mov eax, 0x22
mov rdx, r14
mov word [rsi], ax
mov rcx, rsi
mov r8, qword [rdi]
call fcn.1400df004
lea r8, [0x1401beb3c]
mov rdx, r14
mov rcx, rsi
call fcn.1400df004
lea r8, [0x1401beb40]
mov rdx, r14
mov rcx, rsi
call fcn.1400df004
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.1400df004
mov qword [rsp + 0x48], r12
lea rax, [0x1401bc364]
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.1400a6bb4
mov eax, ebx
jmp 0x140089d0c
lea rdx, str.Unable_to_allocate_memory._n
mov ecx, 3
call fcn.1400124d0
mov eax, 0x708
mov rbp, qword [rsp + 0x100]
mov r15, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140097fb0
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret