joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c50c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rbx, rdx
mov rdi, rcx
lea r14, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x48], r14
lea r15, str.CVssRegistryKey::SetValue
mov qword [rsp + 0x50], r15
lea r12, str.REGREGSC
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0x11c
mov dword [rsp + 0x64], VariantTimeToDosDateTime
mov dword [rsp + 0x68], 0xff
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x10]
call fcn.14004058c
nop
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14003c5f9
lea rcx, [rbp - 0x10]
call fcn.1400406a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rsp + 0x30], 0xff
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0x12d
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.1400400dc
mov rdx, rax
lea rcx, [rdi + 0x10]
call fcn.140002ff8
movzx r8d, bx
or r8d, 0x80070000
test ebx, ebx
cmovle r8d, ebx
mov ecx, dword [rbp + 0xa0]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegSetValueExW_0x_08lx__s_0_REG_DWORD__ld_
lea rcx, [rbp - 0x10]
call fcn.140042060
int3
Function at 0x14003cf78
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rbx, rcx
lea r14, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x48], r14
lea r15, str.CVssRegistryKeyIterator::GetCurrentKeyName
mov qword [rsp + 0x50], r15
lea r12, str.REGREGSC
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0x2cf
mov dword [rsp + 0x64], VariantTimeToDosDateTime
mov edi, 0xff
mov dword [rsp + 0x68], edi
xor esi, esi
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x10]
call fcn.14004058c
nop
cmp byte [rbx + 0x28], sil
je 0x14003d132
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x14003d132
mov eax, dword [rbx + 0x10]
mov dword [rbp + 0xa0], eax
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0xa0]
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14003d081
mov dword [rsp + 0x30], 0xff
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], VariantTimeToDosDateTime
cmp eax, 0x103
jne 0x14003d0d9
jmp 0x14003d0a4
mov rbx, qword [rbx + 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400406a0
mov rax, rbx
add rsp, 0x160
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rsp + 0x20], 0x2ec
call fcn.1400400dc
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbx + 0xc]
mov dword [rsp + 0x20], ecx
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140042060
int3
mov dword [rsp + 0x20], 0x2e8
call fcn.1400400dc
mov rdx, rax
lea rcx, [rbx + 0x18]
call fcn.140002ff8
movzx r8d, di
or r8d, 0x80070000
test edi, edi
cmovle r8d, edi
mov ecx, dword [rbp + 0xa0]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumKeyExW__p__lu__p__lu_..._
lea rcx, [rbp - 0x10]
call fcn.140042060
int3
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0x2d3
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.1400400dc
lea r9, str.Unexpected_error:_noninitialized_iterator
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140041508
int3
Function at 0x14003ddbc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rbx, rcx
lea r14, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x48], r14
lea r15, str.CVssRegistryValueIterator::ReadCurrentValueDetails
mov qword [rsp + 0x50], r15
lea r12, str.REGREGSC
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0x45e
mov dword [rsp + 0x64], VariantTimeToDosDateTime
mov edi, 0xff
mov dword [rsp + 0x68], edi
xor esi, esi
mov dword [rbp - 0x18], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x10]
call fcn.14004058c
nop
cmp byte [rbx + 0x31], sil
je 0x14003df91
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x14003df91
cmp byte [rbx + 0x30], sil
je 0x14003de8f
lea rcx, [rbp - 0x10]
call fcn.1400406a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov eax, dword [rbx + 0x28]
mov dword [rbp + 0x90], eax
lea rax, [rbx + 0x2c]
lea rcx, [rbx + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x90]
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14003defa
mov dword [rsp + 0x30], 0xff
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], VariantTimeToDosDateTime
cmp eax, 0x103
jne 0x14003df38
jmp 0x14003df03
mov byte [rbx + 0x30], 1
jmp 0x14003de69
mov dword [rsp + 0x20], 0x47e
call fcn.1400400dc
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbx + 0xc]
mov dword [rsp + 0x20], ecx
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140042060
int3
mov dword [rsp + 0x20], 0x47a
call fcn.1400400dc
mov rdx, rax
lea rcx, [rbx + 0x18]
call fcn.140002ff8
movzx r8d, di
or r8d, 0x80070000
test edi, edi
cmovle r8d, edi
mov ecx, dword [rbp + 0x90]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumValue__p__lu__p__lu_..._
lea rcx, [rbp - 0x10]
call fcn.140042060
int3
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], VariantTimeToDosDateTime
mov dword [rsp + 0x20], 0x462
mov r9, r15
mov r8, r12
mov rdx, r14
lea rcx, [rsp + 0x48]
call fcn.1400400dc
lea r9, str.Unexpected_error:_noninitialized_iterator
mov r8d, 0x8000ffff
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140042060
int3
Function at 0x14003f2fc
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x1e0
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor r14d, r14d
mov edi, eax
test eax, eax
je 0x14003f3eb
lea rcx, str.NTDLL.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
jne 0x14003f363
lea rcx, str.VssTrace:_ERROR:_NTDLL.DLL_not_loaded_yet__n
jmp 0x14003f3df
lea rdx, str.swprintf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14003f38a
lea rcx, str.VssTrace:_ERROR:_NTDLL_swprintf_not_found__n
jmp 0x14003f3df
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov r9, rbp
lea rdx, str.VssTrace_pid:__d_:_ERROR_calling__s____GetLastError____0x_08lx__operation___s__m_dwTlsContextIndex__0x_08lx_._Returning_FALSE_in_DllMain..._n
mov r8d, eax
lea rcx, [rsp + 0x40]
mov eax, dword [0x14007c4a0]
mov dword [rsp + 0x30], eax
mov rax, rbx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
call qword [0x140053f18]
test eax, eax
jns 0x14003f3d1
lea rcx, str.VssTrace:_ERROR:_NTDLL_StringCchPrintfW_failed__n
jmp 0x14003f3df
mov word [rsp + 0x1ce], r14w
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400438c0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14003f41c
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rbx, rcx
cmp dword [rcx], 0
je 0x14003eb99
mov eax, 0x8000ffff
jmp 0x14003ec31
add rcx, 0x28
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140053f18]
nop
call fcn.14003e6ac
and qword [rsp + 0x58], 0
lea rax, [0x1400545f0]
mov qword [rsp + 0x50], rax
mov r9d, 1
mov dword [rbx], r9d
lea rax, [rbx + 0x10]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [0x1400545e0]
xor edx, edx
lea rcx, [0x14003f2b0]
call qword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
je 0x14003ec1b
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14003ec31
xor eax, eax
jmp 0x14003ec31
add rsp, 0x70
pop rbx
ret
sub rsp, 0x28
mov eax, 1
lock xadd dword [0x14007ce38], eax
inc eax
cmp eax, 1
jne 0x14003f48b
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
nop dword [rax + rax]
mov dword [0x14007c4a0], eax
cmp eax, 0xffffffff
jne 0x14003f454
lea rdx, [0x1400677c8]
jmp 0x14003f46f
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
test eax, eax
jne 0x14003f47b
lea rdx, [0x140067808]
lea rcx, str.DLL_PROCESS_ATTACH
call fcn.14003f2fc
lea rcx, [0x14007b0a0]
add rsp, 0x28
jmp 0x14003eb78
xor eax, eax
add rsp, 0x28
ret
Function at 0x14003f5e4
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, dword [0x14007c4a0]
mov rbx, rcx
mov rdx, rcx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
test eax, eax
jne 0x14003f62c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8, rbx
lea rcx, str.TlsSetValue__d___p__failed:__d
mov r9d, eax
mov edx, edi
call fcn.14003f2e4
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x14004058c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
xor edi, edi
mov r14, rdx
mov dword [rcx + 8], edi
mov rbx, rcx
mov rax, qword [rdx + 8]
mov qword [rcx + 0x28], rax
mov rax, qword [rdx]
mov qword [rcx + 0x10], rax
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x18], rax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x24], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
or dword [rbx + 4], 0xffffffff
xorps xmm0, xmm0
mov ecx, dword [0x14007c4a0]
mov dword [rbx + 0x34], eax
mov eax, dword [r14 + 0x20]
mov dword [rbx + 0x38], eax
mov dword [rbx], edi
mov qword [rbx + 0x60], rdi
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140040630
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x140040630
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14003f5e4
test eax, eax
js 0x140040642
mov qword [rbx + 0x60], rsi
jmp 0x140040646
mov rsi, qword [rbx + 0x60]
test rsi, rsi
je 0x140040650
mov edi, dword [rsi + 0x30]
inc edi
mov dword [rbx + 0x30], edi
lea rdx, str.ENTER
cmp dword [rbx + 0x38], 0xff
mov r8d, QueryPathOfRegTypeLib
mov rcx, rbx
cmovne r8d, dword [rbx + 0x38]
xor r9d, r9d
call fcn.140040ba8
mov rcx, r14
call fcn.1400401b4
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400406a0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
lea rbx, [rcx + 0x40]
mov edi, 4
mov rcx, qword [rbx]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbx], 0
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x1400406bb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
mov r8d, 0x88888889
sub ebx, dword [rsi + 0x34]
mov eax, 0x10624dd3
mul ebx
mov eax, r8d
mov r10d, ebx
mov r11d, edx
shr r11d, 6
mul r11d
imul ecx, r11d, 0x3e8
shr edx, 5
imul eax, edx, 0x3c
sub r10d, ecx
sub r11d, eax
mov eax, 0x45e7b273
mul ebx
mov eax, r8d
mov r9d, edx
shr r9d, 0xe
mul r9d
mov eax, 0x95217cb1
shr edx, 5
imul ecx, edx, 0x3c
mul ebx
sub r9d, ecx
mov eax, r8d
mov ecx, edx
mov r8d, QueryPathOfRegTypeLib
shr ecx, 0x15
mul ecx
shr edx, 5
imul eax, edx, 0x3c
lea rdx, str.EXIT
sub ecx, eax
mov eax, dword [rsi + 8]
cmp dword [rsi + 0x38], 0xff
mov dword [rsp + 0x48], eax
cmovne r8d, dword [rsi + 0x38]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r9d
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140040cac
mov rcx, qword [rsi + 0x60]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
jmp fcn.14003f5e4
Function at 0x14004080c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x840]
sub rsp, 0x940
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rbp + 0x830], rax
mov eax, dword [0x14007ce38]
mov rdi, rcx
neg eax
sbb ecx, ecx
and ecx, dword [0x14007b0c4]
cmp ecx, dword [rdi + 4]
je 0x140040a0b
xor r15d, r15d
mov dword [rdi + 4], ecx
cmp dword [0x14007ce38], r15d
je 0x1400408e1
mov ecx, dword [rdi + 0x24]
mov ebx, r15d
mov eax, dword [0x14009d7f0]
bt eax, ecx
jae 0x1400408da
mov r14, qword [rdi + 0x28]
lea rsi, [rcx + rcx*8]
lea r13, [0x14007ce40]
shl rsi, 4
lea rdx, [r13 + 0x78]
add rdx, rsi
lea rcx, [rbp - 8]
call fcn.14003f6c8
mov rcx, rax
mov rdx, r14
call fcn.14003e70c
test eax, eax
je 0x1400408b2
lea eax, [r15 + 1]
jmp 0x1400408dd
lea rdx, [r13 + 0x60]
add rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.14003f6c8
mov rcx, rax
mov rdx, r14
call fcn.14003e70c
test eax, eax
je 0x1400408da
mov ebx, 1
mov eax, ebx
jmp 0x1400408dd
mov eax, r15d
test eax, eax
jne 0x14004091f
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x1400408f3
call fcn.1400407fc
mov ebx, eax
jmp 0x14004091f
cmp dword [0x14007ce38], r15d
je 0x14004091c
cmp dword [0x14007b0a0], r15d
je 0x14004091c
cmp dword [0x14007b0a4], r15d
je 0x14004091c
cmp dword [0x14007c4a4], r15d
mov ebx, 1
jne 0x14004091f
mov ebx, r15d
mov dword [rdi], ebx
mov eax, dword [rdi + 4]
cmp dword [0x14007c4a8], eax
je 0x140040a0b
xor edx, edx
lea rcx, [rbp + 0x30]
mov r8d, 0x800
call sub.msvcrt.dll_memset
lea rdx, [rbp + 0x30]
call fcn.14004112c
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov dword [rsp + 0x68], 0x24f
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
lea rax, str.CVssFunctionTracer::UpdateLocalIsTracingEnabledFlag
mov dword [rsp + 0x6c], VariantTimeToDosDateTime
mov qword [rsp + 0x58], rax
mov esi, 0x78
lea rax, str.TRCTRCC
mov dword [rsp + 0x70], 0xff
mov r8d, esi
mov qword [rsp + 0x60], rax
xor edx, edx
mov dword [rbp - 0x10], 0x1000000
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
nop dword [rax + rax]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov ecx, dword [rdi + 4]
lea r8, str.TRACING_STARTED
mov dword [rsp + 0x48], ecx
lea rdx, [rsp + 0x50]
mov ecx, dword [0x14007c4a8]
mov r9d, esi
mov dword [rsp + 0x40], ecx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x38], rcx
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
lea rax, str.Tracing_started_or_updated._PID_d__CommandLine__s___UserName__s_._SQN__d_____d_
mov qword [rsp + 0x20], rax
call fcn.140040d78
mov eax, dword [rdi + 4]
mov dword [0x14007c4a8], eax
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.1400438c0
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140040a40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
cmp dword [0x14007ce38], 0
mov rbp, r8
mov r14d, edx
mov rdi, rcx
je 0x140040b8e
cmp dword [0x14007b0a0], 0
je 0x140040b8e
cmp dword [0x14007b0a4], 0
je 0x140040b8e
mov ecx, dword [0x14007c4a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140040ab5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x140040ab5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
xor esi, esi
test rbx, rbx
je 0x140040ad2
mov edx, dword [rdi + 0x1c]
mov rcx, rbx
call fcn.1400407b4
test eax, eax
je 0x140040b8e
mov esi, dword [rbx + 0x30]
lea rdx, [0x140054410]
mov ecx, 0x3ea
call fcn.140043b28
mov rbx, rax
test rax, rax
jne 0x140040af4
lea rcx, str.StaticTrace_failed_due_to_out_of_memory_condition
jmp 0x140040b51
and qword [rsp + 0x50], 0
lea rax, [rsp + 0xb0]
and qword [rsp + 0x58], 0
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x58]
mov rax, qword [rsp + 0xa8]
mov edx, 0x1f4
mov rcx, rbx
mov qword [rsp + 0x28], rax
call fcn.14003fa74
cmp qword [rsp + 0x50], 1
jne 0x140040b4e
mov rax, qword [rsp + 0x58]
mov ecx, 0x2e
mov dword [rax - 4], 0x2e002e
mov word [rax - 6], cx
mov rcx, rbx
mov eax, dword [rdi + 0x1c]
mov r9d, esi
mov r8d, dword [rdi + 0x18]
mov rdx, qword [rdi + 0x10]
mov qword [rsp + 0x40], rcx
lea rcx, str.STATIC
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], rcx
mov rcx, qword [rdi]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call fcn.14003f50c
mov rcx, rbx
call fcn.1400434b8
mov rcx, rdi
call fcn.1400401b4
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400436c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14009e240], rbx
je 0x14004370c
cmp rax, rbx
jne 0x1400436ff
mov ebx, 1
mov esi, ebx
jmp 0x140043711
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400436e4
mov ebx, 1
mov eax, dword [0x14009e248]
cmp eax, ebx
jne 0x140043727
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14004378c
mov eax, dword [0x14009e248]
test eax, eax
jne 0x140043786
mov dword [0x14009e248], ebx
lea r15, [0x140053f60]
lea rdi, [0x140053f48]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140043778
test eax, eax
jne 0x14004377c
cmp qword [rdi], 0
je 0x14004376d
mov rax, qword [rdi]
mov rcx, qword [0x140053f18]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14004374e
test eax, eax
je 0x14004378c
mov eax, 0xff
jmp 0x140043868
mov dword [0x14007c4b4], ebx
mov eax, dword [0x14009e248]
cmp eax, ebx
jne 0x1400437b3
lea rdx, [0x140053f40]
lea rcx, [0x140053f20]
call sub.msvcrt.dll__initterm
mov dword [0x14009e248], 2
test esi, esi
jne 0x1400437c0
xor eax, eax
xchg qword [0x14009e240], rax
cmp qword [0x14009e260], 0
je 0x1400437f4
lea rcx, [0x14009e260]
call fcn.140044300
test eax, eax
je 0x1400437f4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14009e260]
mov r9, qword [0x140053f18]
call r9
mov r8, qword [0x14007c4c8]
mov rdx, qword [0x14007c4c0]
mov ecx, dword [0x14007c4b8]
call fcn.1400012fc
mov dword [0x14007c4b0], eax
cmp dword [0x14007c4d0], 0
jne 0x140043824
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14007c4b4], 0
jne 0x140043839
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14007c4b0]
jmp 0x140043868
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1401fb000
add rsp, 0x28
jmp 0x1400436c0

Function at 0x140043ea8
Capabilities:
Print debug messages

Disassembly:
jmp 0x140043eb4
push rbx
sub rsp, 0x540
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140043f31
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140043f51
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400438c0
add rsp, 0x540
pop rbx
ret
Function at 0x140043eb4
Capabilities:
Print debug messages

Disassembly:
jmp 0x140043eb4
push rbx
sub rsp, 0x540
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140043f31
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140043f51
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400438c0
add rsp, 0x540
pop rbx
ret

Function at 0x1400441ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140044238
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140044230
cmp dword [rcx + 0x3c], edx
jl 0x140044230
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140044230
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140044238
mov rax, rdx
add rsp, 0x18
ret