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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.1400b3040
sub rsp, rax
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rbx, r8
mov rdi, rdx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov qword [rcx], rdx
lea rsi, [rbp + 0xfd8]
call fcn.140004490
mov rcx, qword [rax]
or rcx, 1
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
mov r9, rbx
mov r8d, 0x7fe
lea rdx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov esi, 0xffffffff
test eax, eax
cmovs eax, esi
test eax, eax
js 0x14003237c
cmp eax, 0x7fe
jb 0x140032384
mov word [rbp + 0xf7c], r14w
mov qword [rsp + 0x70], r14
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
test rdi, rdi
je 0x140032453
add ecx, eax
je 0x140032411
mov dword [rsp + 0x50], r14d
call fcn.140005ad0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov ebx, 1
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x48]
call fcn.140005a30
mov dword [rsp + 0x68], 0x20
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
lea rcx, str._s_start:__s
mov qword [rsp + 0x28], rcx
lea rcx, str._CScopeTrace::operator___
mov qword [rsp + 0x20], rcx
lea r9, [0x140000000]
lea r8, [rsp + 0x68]
movsx edx, r14w
mov rcx, rax
call fcn.140004c90
jmp 0x140032415
mov ebx, dword [rsp + 0x40]
test bl, 1
je 0x1400324fa
and ebx, 0xfffffffe
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], r14
mov eax, esi
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x140032449
call fcn.140005e40
mov eax, esi
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x140032437
lock inc dword [rsp + 0x50]
jmp 0x1400324fa
add ecx, eax
je 0x1400324c1
mov dword [rsp + 0x60], r14d
call fcn.140005ad0
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov ebx, 2
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x58]
call fcn.140005a30
mov dword [rsp + 0x6c], 0x20
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rcx
lea rcx, str.start:__s
mov qword [rsp + 0x28], rcx
lea rcx, str._CScopeTrace::operator___
mov qword [rsp + 0x20], rcx
lea r9, [0x140000000]
lea r8, [rsp + 0x6c]
movsx edx, r14w
mov rcx, rax
call fcn.140004c90
jmp 0x1400324c5
mov ebx, dword [rsp + 0x40]
test bl, 2
je 0x1400324fa
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x58], r14
mov eax, esi
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
js 0x1400324f5
call fcn.140005e40
mov eax, esi
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
jns 0x1400324e3
lock inc dword [rsp + 0x60]
mov rax, qword [0x1401c0ff8]
cmp eax, 0xffffffff
je 0x140032525
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [0x1401c0ff8]
cmp ecx, 0xffffffff
je 0x140032525
inc eax
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x1090
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140032550
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
xor edi, edi
mov dword [rsp + 0x70], edi
mov qword [rcx], rdx
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x1400325e9
mov dword [rsp + 0x48], edi
call fcn.140005ad0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400325aa
call fcn.140005ad0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x78], 0x20
mov qword [rsp + 0x30], rbx
lea rax, str._s_start:
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::operator___
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x78]
movsx edx, di
call fcn.140004c90
nop
mov eax, dword [rsp + 0x70]
test al, 1
je 0x14003262a
and eax, 0xfffffffe
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x40], rdi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x140032625
nop dword [rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x140032610
lock inc dword [rsp + 0x48]
mov rax, qword [0x1401c0ff8]
cmp eax, 0xffffffff
je 0x140032655
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [0x1401c0ff8]
cmp ecx, 0xffffffff
je 0x140032655
inc eax
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140032660
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
mov rdi, rcx
xor esi, esi
mov ebx, esi
mov dword [rbp + 0x6f], ebx
mov rax, qword [0x1401c0ff8]
cmp eax, 0xffffffff
je 0x1400326b1
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [0x1401c0ff8]
cmp ecx, 0xffffffff
je 0x1400326b1
dec eax
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [rbp + 0x7f]
sub rax, qword [rdi + 8]
xorps xmm6, xmm6
cvtsi2sd xmm6, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rbp + 7]
divsd xmm6, xmm0
cmp qword [rdi], rbx
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
je 0x1400327c5
add ecx, eax
je 0x14003278c
mov dword [rbp + 0x17], esi
call fcn.140005ad0
mov qword [rbp + 0xf], rax
lock inc dword [rbp + 0x17]
mov rax, qword [rbp + 0xf]
test rax, rax
jne 0x140032725
call fcn.140005ad0
mov qword [rbp + 0xf], rax
lock inc dword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
mov dword [rbp + 0x6f], 0x20
cvttsd2si edx, xmm6
movd xmm0, edx
cvtdq2pd xmm0, xmm0
subsd xmm6, xmm0
mulsd xmm6, qword [0x140189c10]
cvttsd2si eax, xmm6
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], edx
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
lea rax, str._s_end___d._03d_
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::_CScopeTrace
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x6f]
movsx edx, si
call fcn.140004c90
mov ebx, 1
test bl, 1
je 0x140032888
mov qword [rbp + 0xf], rsi
mov eax, 0xffffffff
lock xadd dword [rbp + 0x17], eax
cmp eax, 1
js 0x1400327bc
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp + 0x17], eax
cmp eax, 1
jns 0x1400327a8
lock inc dword [rbp + 0x17]
jmp 0x140032888
add ecx, eax
je 0x140032852
mov dword [rbp + 0x27], esi
call fcn.140005ad0
mov qword [rbp + 0x1f], rax
lock inc dword [rbp + 0x27]
mov rax, qword [rbp + 0x1f]
test rax, rax
jne 0x1400327f3
call fcn.140005ad0
mov qword [rbp + 0x1f], rax
lock inc dword [rbp + 0x27]
mov rcx, qword [rbp + 0x1f]
mov dword [rbp + 0x77], 0x20
cvttsd2si edx, xmm6
movd xmm0, edx
cvtdq2pd xmm0, xmm0
subsd xmm6, xmm0
mulsd xmm6, qword [0x140189c10]
cvttsd2si eax, xmm6
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], edx
lea rax, str.end___d._03d_
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::_CScopeTrace
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x77]
movsx edx, si
call fcn.140004c90
mov ebx, 2
test bl, 2
je 0x140032888
mov qword [rbp + 0x1f], rsi
mov eax, 0xffffffff
lock xadd dword [rbp + 0x27], eax
cmp eax, 1
js 0x140032884
nop word [rax + rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp + 0x27], eax
cmp eax, 1
jns 0x140032870
lock inc dword [rbp + 0x27]
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400361a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x80], rax
test rcx, rcx
jne 0x1400361d8
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x98
ret
mov rax, qword [rcx]
lea r8, [0x140181c70]
mov edx, 0xca
mov qword [rsp + 0x90], rbx
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
xor ebx, ebx
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x60], rbx
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x70], rbx
inc r8
cmp word [rax + r8*2], bx
jne 0x140036215
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002f20
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
cmp qword [rsp + 0x70], rbx
je 0x1400362f6
cmp r8, 8
lea rax, [rsp + 0x60]
cmovae rax, rcx
cmp word [rax], 0x3c
je 0x1400362f6
cmp r8, 8
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x44]
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x40]
cmovae rdx, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140168668]
mov r9d, 0x10
mov qword [rsp + 0x20], rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400362ce
mov dword [rsp + 0x50], eax
lea rax, [0x1401b9210]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
jmp 0x1400362d7
mov ecx, ebx
lea rdx, [0x1401b91d8]
mov rax, qword [0x1401b91e0]
cmp qword [rdx + 8], rax
jne 0x1400362ec
test ecx, ecx
jne 0x1400362ec
mov ebx, dword [rsp + 0x40]
mov r8, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
cmp r8, 8
jb 0x140036331
lea rdx, [r8*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003632c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003632c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
mov eax, ebx
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x98
ret
Function at 0x140036360
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov edi, edx
test rcx, rcx
jne 0x140036394
lea eax, [rcx + 0x1f]
jmp 0x140036557
mov rax, qword [rcx]
lea r8, [0x140181c70]
mov edx, 0xca
mov qword [rsp + 0xa8], rsi
mov rax, qword [rax + 0x30]
call qword [case.0x140077645.0]
xor esi, esi
mov qword [rbp + 0x3f], 7
mov qword [rbp + 0x27], rsi
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x37], rsi
nop
inc r8
cmp word [rax + r8*2], si
jne 0x1400363d0
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.140002f20
mov r8, qword [rbp + 0x3f]
mov rcx, qword [rbp + 0x27]
cmp qword [rbp + 0x37], rsi
je 0x14003650d
cmp r8, 8
lea rax, [rbp + 0x27]
cmovae rax, rcx
cmp word [rax], 0x3c
je 0x14003650d
cmp r8, 8
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x17]
mov dword [rbp + 0x17], edi
lea rdx, [rbp + 0x27]
mov qword [rsp + 0x20], rax
cmovae rdx, rcx
lea r8, [0x140168668]
mov rcx, 0xffffffff80000001
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
je 0x1400364e7
cmp qword [rbp + 0x3f], 8
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x40], rsi
lea rdx, [rbp + 0x27]
cmovae rdx, qword [rbp + 0x27]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
mov qword [rbp + 0x1f], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x140036503
cmp qword [rbp + 0x3f], 8
lea rax, [rbp + 0x17]
lea rdx, [rbp + 0x27]
mov dword [rsp + 0x28], 4
cmovae rdx, qword [rbp + 0x27]
lea r9d, [rbx + 4]
lea r8, [0x140168668]
mov dword [rbp + 0x17], edi
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x1f]
test eax, eax
jne 0x1400364f3
test rcx, rcx
je 0x1400364e7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rbp + 0x3f]
mov ebx, esi
mov rcx, qword [rbp + 0x27]
jmp 0x140036512
mov ebx, 0x1f
test rcx, rcx
je 0x140036503
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rbp + 0x3f]
mov rcx, qword [rbp + 0x27]
jmp 0x140036512
mov ebx, 0x1f
mov rsi, qword [rsp + 0xa8]
cmp r8, 8
jb 0x140036555
lea rdx, [r8*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036550
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036550
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400373b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp method.bdHtmlDlgEx.1.virtual_392
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x140079a1a
cmp word [r8], 0
je 0x140079a1a
lea rdx, str.sciter:
mov rcx, r8
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
cmp rax, rsi
je 0x140079a16
mov edx, 0x2f
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x140079a1a
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea r8, [rdi + 2]
mov edx, 0x104
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov edx, 0x2e
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, rax
test rax, rax
je 0x1400799a0
xor eax, eax
mov word [rdi], ax
add rdi, 2
je 0x1400799a0
lea rdx, str.HTML
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400799a0
lea rdx, [0x140189680]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rdx, [rsp + 0x30]
test eax, eax
jne 0x14007999b
mov rcx, qword [rbx + 0x278]
lea r8, [0x140189680]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140079992
mov rbx, qword [rbx + 0x278]
jmp 0x1400799c7
lea r8, [0x140189680]
jmp 0x1400799a6
mov r8, rdi
jmp 0x1400799ab
mov r8d, 0x17
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x270]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140079a16
mov rbx, qword [rbx + 0x270]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140079a1a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x140079a1a
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test eax, eax
je 0x140079a1a
call fcn.140008c80
mov r9d, ebx
mov r8, rbp
mov rdx, rsi
mov rcx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x140077645.0]
xor eax, eax
jmp 0x140079a1f
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140041d80
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140041db8
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1400098f0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rdx, qword [rsi + 8]
mov rdx, qword [rdx]
cmp rdx, rdi
je 0x140041f07
mov qword [rsp + 0x30], rbp
mov rcx, rdx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rbx
xor r9, rax
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rdi
jne 0x140041e73
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140041ef6
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x140041eb0
mov r10, qword [rax]
cmp r10, rcx
je 0x140041eaa
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140041ef6
mov r8, rax
cmp r10, rax
je 0x140041ed2
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x140041f1c
cmp r10, rax
jne 0x140041ec0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rdi
jne 0x140041e20
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140041ef6
Function at 0x140046260
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xe0
xorps xmm0, xmm0
mov dword [rax - 0x78], 0x68
mov rbx, rcx
xor esi, esi
xor ecx, ecx
mov rdi, r9
mov dword [rax - 0x14], ecx
mov rdx, r8
mov qword [rsp + 0x60], rcx
xor r9d, r9d
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rcx
lea rcx, [rax - 0x78]
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
movups xmmword [rax - 0x74], xmm0
movups xmmword [rax - 0x64], xmm0
movups xmmword [rax - 0x54], xmm0
movups xmmword [rax - 0x44], xmm0
movups xmmword [rax - 0x34], xmm0
movups xmmword [rax - 0x24], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140046311
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, [0x1401b9210]
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
jmp 0x14004633d
mov dword [rdi], esi
lea rax, [0x1401b91d8]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x64]
mov dword [rbx + 0x14], eax
lea r11, [rsp + 0xe0]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140055d50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rbx, rcx
xor edi, edi
mov dword [rbp + 0x20], edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, rcx
lea r8, [0x140055f00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x20], rax
lea rsi, str.CApplicationInstance::InstanceThread
test rax, rax
jne 0x140055e4a
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x140055e12
mov dword [rbp - 0x18], edi
call fcn.140005ad0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov dword [rbp + 0x20], 1
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140055dd5
call fcn.140005ad0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x28], 4
mov dword [rsp + 0x30], eax
lea rax, str.Failed_to_create_single_instance_monitor_thread__LastError:_d_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [0x140000000]
lea r8, [rbp + 0x28]
movsx edx, di
mov rcx, rbx
call fcn.140004c90
nop
mov eax, dword [rbp + 0x20]
test al, 1
je 0x140055e4a
and eax, 0xfffffffe
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x20], rdi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
js 0x140055e46
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
jns 0x140055e32
lock inc dword [rbp - 0x18]
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x140055eb4
mov dword [rbp - 8], edi
call fcn.140005ad0
mov qword [rbp - 0x10], rax
lock inc dword [rbp - 8]
or dword [rbp + 0x20], 2
mov rax, qword [rbp - 0x10]
test rax, rax
jne 0x140055e84
call fcn.140005ad0
mov qword [rbp - 0x10], rax
lock inc dword [rbp - 8]
mov rcx, qword [rbp - 0x10]
mov dword [rbp + 0x30], 0x20
lea rax, str.There_are_no_more_instances_of_seccenter__SingleInstanceThread_started
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [0x140000000]
lea r8, [rbp + 0x30]
movsx edx, di
call fcn.140004c90
nop
mov eax, dword [rbp + 0x20]
test al, 2
je 0x140055eec
and eax, 0xfffffffd
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x10], rdi
mov eax, 0xffffffff
lock xadd dword [rbp - 8], eax
cmp eax, 1
js 0x140055ee8
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp - 8], eax
cmp eax, 1
jns 0x140055ed4
lock inc dword [rbp - 8]
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret