joyce8/EMBER2024-capa huggingface dataset:
Function at 0x657930
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x00719748]
test rbx, rbx
je 0x657992
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x657992
test esi, esi
je 0x657977
mov rax, qword [rbx]
test rax, rax
je 0x657977
mov rcx, qword [rbx + 8]
call rax
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x00719748]
call fcn.00657470
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6579a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x00719748]
test rsi, rsi
mov rbx, rcx
mov qword [rcx], rdx
mov qword [rcx + 8], r8
je 0x657a00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [0x00719748]
mov rdx, rbx
mov rcx, rsi
mov qword [rbx + 0x10], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.00657470
xor edi, edi
jmp 0x6579e0

Function at 0x657a10
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [0x00719750]
test rsi, rsi
mov rbx, rcx
je 0x657a72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x657a72
mov rdi, qword [rsi + 0x18]
mov rsi, qword [rsi + 0x10]
mov qword [rbx], rsi
mov qword [rbx + 8], rdi
mov rax, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r12, [rsp + 0x40]
mov rcx, r12
call fcn.00654e90
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
test rbp, rbp
mov rsi, rbp
je 0x657a57
or byte [rbp + 0x194], 1
mov dword [rbp + 0x184], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r13, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rbp + 0x198], eax
call r13
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r14, rax
call r13
lea r9, [rbp + 8]
mov r8, r15
mov rdx, r14
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x657b20
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov rcx, qword [0x00719750]
mov rdx, rbp
mov dword [rbp + 0x188], eax
call fcn.00657470
jmp 0x657a57
mov rcx, r12
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
call fcn.00654cf0
mov qword [rbx], 0
mov dword [rbx + 8], 0
jmp 0x657a5e
Function at 0x657b50
Capabilities:
Create thread
Resume thread

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
test rdx, rdx
mov r12, rcx
mov r14, r8
mov dword [rcx + 8], 0
mov r13, r9
je 0x657c90
mov rbp, qword [rdx]
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.00654e90
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
test rbx, rbx
je 0x657c60
mov ecx, 0x20
call sub.msvcrt.dll_malloc
test rax, rax
mov rsi, rax
je 0x657c60
test rbp, rbp
mov qword [rax], rbx
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r13
je 0x657cc0
mov eax, dword [rbp + 0x18]
mov r14, qword [rbp + 0x10]
mov r13d, dword [rbp + 0x1c]
mov dword [rbx + 0x184], eax
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x657ca0
mov dword [rbx + 0x28], 0
xor ecx, ecx
mov r9, rsi
mov edx, r14d
lea rax, [rbx + 0x198]
mov qword [rbx + 0x58], 0
lea r8, [0x00657870]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbp, rax
mov qword [rbx + 8], rax
je 0x657d10
mov r8d, r13d
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.00655b00
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov qword [r12], rbx
xor eax, eax
mov qword [r12 + 8], r15
jmp 0x657c77
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.006537e0
mov eax, 0xb
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x657b7c
mov rcx, rdi
call fcn.00657a10
mov rax, qword [rsp + 0x30]
mov r13d, dword [rax + 0x188]
jmp 0x657be6
mov dword [rbx + 0x28], 0
xor edx, edx
xor ecx, ecx
mov r9, rsi
lea rax, [rbx + 0x198]
mov qword [rbx + 0x58], 0
lea r8, [0x00657870]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov rbp, rax
mov qword [rbx + 8], rax
jne 0x657c45
nop word [rax + rax]
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r15
call fcn.006537e0
mov rcx, rsi
call sub.msvcrt.dll_free
mov eax, 0xb
jmp 0x657c77

Function at 0x65e750
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
test rcx, rcx
je 0x65e783
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret
xor ebx, ebx
jmp 0x65e779
Function at 0x65e790
Capabilities:
Get thread local storage value

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov edi, ecx
mov rcx, qword [0x00719750]
call fcn.0065e750
mov rsi, rax
mov dword [rax + 0x28], 5
lea eax, [rdi - 1]
cmp eax, 1
jbe 0x65e7c8
mov ecx, 1
call sub.msvcrt.dll_exit
test byte [rsi + 0x194], 1
jne 0x65e842
mov rbx, qword [0x00719748]
test rbx, rbx
je 0x65e837
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x65e81f
mov r8, qword [rbx]
test r8, r8
je 0x65e803
mov rcx, qword [rbx + 8]
call r8
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x00719748]
call fcn.00657470
mov rbx, qword [0x00719748]
test rbx, rbx
je 0x65e837
call r13
mov ecx, dword [rbx]
mov r14d, eax
call r12
mov ecx, r14d
mov rbx, rax
call rbp
test rbx, rbx
jne 0x65e7f4
lea rcx, [rsi + 0x70]
mov edx, edi
call sub.msvcrt.dll_longjmp
or ecx, 0xffffffff
cmp edi, 2
jne 0x65e859
cmp dword [0x00719758], 0
jne 0x65e85e
call qword [sym.imp.msvcrt.dll__endthreadex]
mov ecx, dword [rsi + 0x48]
jmp 0x65e84a
mov dword [rsp + 0x2c], ecx
call fcn.00654260
mov ecx, dword [rsp + 0x2c]
jmp 0x65e853
Function at 0x664db0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, 1
test edx, edx
mov rbx, rcx
cmovg esi, edx
cmp edx, 0x3ffffff
jg 0x664e28
movsxd rdx, dword [rcx]
movsxd r8, esi
shl r8, 3
test edx, edx
je 0x664e08
mov rax, qword [0x006f1620]
shl rdx, 3
mov rcx, qword [rcx + 8]
call qword [rax]
mov edx, dword [rbx + 4]
mov ecx, dword [rbx + 4]
sar edx, 0x1f
xor ecx, edx
sub ecx, edx
cmp ecx, esi
jg 0x664e58
mov qword [rbx + 8], rax
mov dword [rbx], esi
add rsp, 0x28
pop rbx
pop rsi
ret
mov rax, qword [0x006f15e0]
mov rcx, r8
call qword [rax]
mov qword [rbx + 8], rax
mov dword [rbx], esi
add rsp, 0x28
pop rbx
pop rsi
ret
mov ecx, 2
call qword [fcn.00688220]
lea rcx, str.gmp:_overflow_in_mpz_type_n
mov r9, rax
mov r8d, 0x1a
mov edx, 1
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop word [rax + rax]
mov dword [rbx + 4], 0
jmp 0x664dfb

Function at 0x680460
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00688220
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.00688220
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x6804d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00719d74]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x680678
mov rax, qword [0x00719d78]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x68051c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x6805a7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x680500
mov rcx, r12
call fcn.00681230
mov rbp, rax
test rax, rax
je 0x6806b2
mov rax, qword [0x00719d78]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00681360
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00719d78]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6806c1
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x6805a0
sub eax, 4
and eax, 0xfffffffb
jne 0x680630
add dword [0x00719d74], 1
cmp ebx, 8
jae 0x6805d8
test bl, 4
jne 0x680680
test ebx, ebx
je 0x6805c9
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x6806a0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x6805c9
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x68060a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00719d78]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6805a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00680460
nop dword [rax]
xor edi, edi
jmp 0x680527
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x6805c9
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x6805c9
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00680460
mov rax, qword [0x00719d78]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00680460
nop
nop dword [rax]
Function at 0x680ea0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0071a060]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0071a040]
test rbx, rbx
je 0x680ef4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x680eeb
test r12, r12
je 0x680eeb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x680ed0
lea rcx, [0x0071a060]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x681230
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x006f1650]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x6812a9
mov rcx, r10
call fcn.00681100
test eax, eax
je 0x6812a9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x6812a6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x68129d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x6812a9
add r8, 0x28
cmp r8, r9
jne 0x681288
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x140003290
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x890
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14029fa58]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rsi, rcx
movdqa xmm0, xmmword [0x140273a90]
movdqu xmmword [rsp + 0x68], xmm0
xor edi, edi
mov word [rsp + 0x58], di
mov ebx, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140003363
cmp eax, 0x80010106
je 0x14000336e
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140003336
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003331
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400034d9
call fcn.14017fde4
movzx eax, bl
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14017fdc0
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp eax, 0x80010106
je 0x14000336e
mov byte [rsi + 8], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x140253938]
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [0x1402665b8]
call qword [sym.imp.ole32.dll_CoGetClassObject]
test eax, eax
js 0x1400032f2
lea rdx, [rsp + 0x58]
call fcn.140004320
test al, al
jne 0x14000343b
nop dword [rax]
cmp ebx, 0xa
jge 0x1400032f2
inc ebx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x30], 0x3e8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
lea r9, [rsp + 0x80]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.NeedAKey
lea rcx, str..pipeMBLG
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
je 0x1400033b0
mov eax, dword [rsp + 0x50]
cmp eax, 0x400
je 0x140003429
and rax, 0xfffffffffffffffe
cmp rax, 0x800
jae 0x1400034d3
mov word [rsp + rax + 0x80], di
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140009370
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
lea r14, [rsi + 0x10]
mov rcx, qword [rsp + 0x48]
mov r10, qword [rcx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea r9, [0x1402665c8]
xor r8d, r8d
xor edx, edx
call qword [r10 + 0x38]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
js 0x1400032f2
mov rcx, qword [r14]
mov rax, qword [rcx]
lea rdx, [rsi + 0x18]
call qword [rax + 0x60]
test eax, eax
js 0x1400032f2
mov rax, qword [rsi]
lea rcx, str.Initialize_complete.
mov qword [rsp + 0x20], rcx
mov r9d, 0x7e
lea r8, str.MbamService::Initialize
lea rdx, str.d:jenkinsworkspace_n_mbamwsc_srciservice.cpp
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_recv]
mov bl, 1
jmp 0x1400032f4
call fcn.14017ff5c
nop
call fcn.14018b33c
int3
Function at 0x140004320
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push rbx
sub rsp, 0x860
mov rax, qword [0x14029fa58]
xor rax, rsp
mov qword [rsp + 0x850], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x3e8
mov rbx, rdx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 0x800
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.NeedAKey
lea rcx, str..pipeMBLG
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
je 0x1400043a8
mov eax, dword [rsp + 0x40]
cmp eax, 0x400
je 0x140004399
and rax, 0xfffffffffffffffe
cmp rax, 0x800
jae 0x1400043c1
xor ecx, ecx
mov word [rsp + rax + 0x50], cx
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140009370
mov al, 1
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14017fdc0
add rsp, 0x860
pop rbx
ret
call fcn.14017ff5c
int3
Function at 0x14000c0c0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x100
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov rax, qword [0x14029fa58]
xor rax, rsp
mov qword [rbp - 1], rax
mov r12d, r9d
movzx r9d, r8w
mov r8, rdx
mov r15d, dword [rbp + 0x67]
mov r14d, dword [rbp + 0x6f]
mov rsi, qword [rbp + 0x77]
mov rbx, qword [rbp + 0x7f]
mov r11d, dword [rbp + 0x87]
mov r10d, dword [rbp + 0x8f]
mov rdx, qword [rbp + 0x97]
mov rax, qword [rbp + 0x9f]
mov rdi, qword [rcx]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x48], r11d
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r12d
lea rdx, [rbp - 0x41]
call qword [rdi + 0x50]
nop
movdqa xmm0, xmmword [0x140273a90]
movdqu xmmword [rbp - 0x59], xmm0
xor ebx, ebx
mov word [rbp - 0x69], bx
lea rdx, [0x1402665b0]
lea rcx, [rbp - 0x69]
call fcn.140009370
nop
movdqa xmm0, xmmword [0x140273a90]
movdqu xmmword [rbp - 0x79], xmm0
mov word [rsp + 0x70], bx
lea rdx, reloc.OLEAUT32.dll_VariantCopy
lea rcx, [rsp + 0x70]
call fcn.140009370
nop
movdqa xmm0, xmmword [0x140273a90]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], bx
lea r9, [rbp - 0x69]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.140012ec0
lea rcx, [rbp - 0x41]
call fcn.14000a700
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbp - 0x31], xmm1
mov rdx, qword [rbp - 0x71]
cmp rdx, 8
jb 0x14000c224
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c21f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c2eb
call fcn.14017fde4
movdqa xmm0, xmmword [0x140273a90]
movdqu xmmword [rbp - 0x79], xmm0
mov word [rsp + 0x70], bx
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x14000c276
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c271
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c2f1
call fcn.14017fde4
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x14000c2c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c2c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c2e5
call fcn.14017fde4
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14017fdc0
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14018b33c
nop
call fcn.14018b33c
nop
call fcn.14018b33c
int3
Function at 0x1400352b0
Capabilities:
Query service status

Disassembly:
push rdi
sub rsp, 0x70
mov rax, qword [0x14029fa58]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor eax, eax
mov rdi, rcx
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
mov dword [rdx + 0x20], eax
mov rcx, qword [rcx + 0x60]
test rcx, rcx
jne 0x14003535d
mov r10, qword [rdi]
test r10, r10
je 0x140035411
cmp qword [rdi + 0x40], 8
lea rcx, [rdi + 0x28]
jb 0x1400352ff
mov rcx, qword [rcx]
add rdi, 8
cmp qword [rdi + 0x18], 8
jb 0x14003530d
mov rdi, qword [rdi]
mov rax, qword [r10]
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonwindowsservice.cpp
mov qword [rsp + 0x38], rcx
lea rdx, str.mb::common::system::WindowsService::QueryStatusEx
lea rcx, str.Invalid_service_handle_for__ls
mov r9d, 0xe4
mov qword [rsp + 0x30], rcx
mov rcx, r10
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 2
call qword [rax + 0x20]
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14017fdc0
add rsp, 0x70
pop rdi
ret
mov dword [rsp + 0x50], eax
mov r8, rdx
lea rax, [rsp + 0x50]
mov r9d, 0x24
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140035426
mov qword [rsp + 0x90], rbx
mov rbx, qword [rdi]
test rbx, rbx
je 0x140035409
cmp qword [rdi + 0x40], 8
mov qword [rsp + 0x68], rsi
lea rsi, [rdi + 0x28]
mov qword [rsp + 0x60], r14
jb 0x1400353ac
mov rsi, qword [rsi]
cmp qword [rdi + 0x20], 8
lea r14, [rdi + 8]
jb 0x1400353ba
mov r14, qword [r14]
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi]
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommonwindowsservice.cpp
mov dword [rsp + 0x40], eax
lea rdx, str.mb::common::system::WindowsService::QueryStatusEx
mov qword [rsp + 0x38], rsi
lea rax, str.QueryServiceStatusEx_failed_on__1s.__Error__u.
mov qword [rsp + 0x30], rax
mov r9d, 0xec
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 2
call qword [rbx + 0x20]
mov r14, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x90]
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14017fdc0
add rsp, 0x70
pop rdi
ret
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14017fdc0
add rsp, 0x70
pop rdi
ret

Function at 0x140035920
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140040520
cmp qword [rax + 0x18], 8
jb 0x14003593d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 8
jb 0x140035986
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035981
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003598e
call fcn.14017fde4
mov eax, ebx
add rsp, 0x40
pop rbx
ret
call fcn.14018b33c
int3
Function at 0x14003ae00
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x40
pop rbx
ret

Function at 0x14003ae60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add rsp, 0x40
pop rbx
ret

Function at 0x14003afe0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x14003b060
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rbx
ret