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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.Src_tdemotest_tabuses_tcommittees_txtframework_tastats_tship_tmivadata_tfeeditem_twebcards_tanim_tvertical_tpractices_taquarius_tstrutture_tdictionary_tim_tstroy_tbusinesscards_tbluetooth_tbronze_tgogo_tledsign_tddformmailer_tmysearches_tnewstest_tcreditclobber_tabout_tanmelden_tcta_tmarken_trakuten_texpositions_thra_tbackup_tblok_tleoevtart_tpprepository_tjeu_tequipe_tfragments_texternal_thans_tcantor_tstart_tsurveys_tcachep_tnj_ttchat_twin_tassembly_twebalizer_tstorage_tsms_tmtbin_tsafeharbor_tcimages
mov r10, rax
sub rbx, rax
movabs rdi, 0x21579804855e6013
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c5
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 2]
movsx eax, al
mov word [r9 - 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c5
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c5
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 2]
movsx eax, al
mov word [r9 + 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c5
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 4]
movsx eax, al
mov word [r9 + 4], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c5
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 6]
movsx eax, al
mov word [r9 + 6], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 8
imul rax, rax, 0x1c5
sub rcx, rax
movzx eax, byte [rcx + rsi]
add r11d, 6
xor al, byte [rbx + r9 + 8]
lea r9, [r9 + 0xc]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 6
jb 0x140005cf0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140009ee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000a10e
mov word [rbp + 0x50], 0x7253
mov word [rbp + 0x58], 0x7253
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x140009f94
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x140009f80
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x140009fc5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x140009fb0
cmp rdi, rbx
jne 0x14000a0e2
mov r13, rsi
mov word [rbp - 0x50], 0x7253
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000a006
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400018c0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x140009ff2
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000a108
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x720032
call fcn.1400027f0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000a078
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x720029
call fcn.1400027f0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000a078
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x720032
mov dword [rbp - 0x42], 0x720012
call fcn.1400027f0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x720032
call fcn.1400027f0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000a0d5
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x720029
call fcn.1400027f0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000a0d5
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x720032
mov dword [rbp - 0x32], 0x720012
call fcn.1400027f0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400027f0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000a0e2
inc r14
jmp 0x140009fe0
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000a10e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x140009f50
mov rax, qword [rbp - 8]
jmp 0x14000a110
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000baa0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000bb02
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000e150
test al, al
jne 0x14000bb14
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000bad0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x73
mov dword [rbp - 0x20], 0x370018
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x470031
mov dword [rbp - 0x18], 0x290021
mov dword [rbp - 0x14], 0x2e002f
mov dword [rbp - 0x10], 0x200027
call fcn.140005e60
mov rcx, rax
call 0x14000baa0
mov qword [0x1400161b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x74
mov dword [rbp - 0x20], 0x370018
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x470031
mov dword [rbp - 0x18], 0x290021
mov dword [rbp - 0x14], 0x5d005e
call fcn.140002590
mov rcx, rax
call 0x14000baa0
lea rcx, [rbp - 0x20]
mov qword [0x1400161a8], rax
mov dword [rbp - 0x20], 0x6003d
mov dword [rbp - 0x1c], 0x650007
mov dword [rbp - 0x18], 0x650008
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000baa0
Function at 0x14000bc40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000bb02
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000e150
test al, al
jne 0x14000bb14
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000bad0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x73
mov dword [rbp - 0x20], 0x370018
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x470031
mov dword [rbp - 0x18], 0x290021
mov dword [rbp - 0x14], 0x2e002f
mov dword [rbp - 0x10], 0x200027
call fcn.140005e60
mov rcx, rax
call 0x14000baa0
mov qword [0x1400161b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x74
mov dword [rbp - 0x20], 0x370018
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x470031
mov dword [rbp - 0x18], 0x290021
mov dword [rbp - 0x14], 0x5d005e
call fcn.140002590
mov rcx, rax
call 0x14000baa0
lea rcx, [rbp - 0x20]
mov qword [0x1400161a8], rax
mov dword [rbp - 0x20], 0x6003d
mov dword [rbp - 0x1c], 0x650007
mov dword [rbp - 0x18], 0x650008
call fcn.140005ca0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000baa0
Function at 0x14000ed90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1a0000
mov dword [rbp - 0x1c], 0x650006
mov dword [rbp - 0x18], 0x560008
mov dword [rbp - 0x14], 0x41005f
mov dword [rbp - 0x10], 0x90010
mov dword [rbp - 0xc], 0x74001f
call fcn.140002e40
mov rcx, rax
call rbx
mov rbx, qword [0x1400161c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400161a0], rax
mov dword [rbp - 0x20], 0x1b0004
mov dword [rbp - 0x1c], 0x60000d
mov dword [rbp - 0x18], 0xa
mov dword [rbp - 0x14], 0x410019
mov dword [rbp - 0x10], 0x90010
mov dword [rbp - 0xc], 0x74001f
call fcn.140002e40
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x1400153e0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400161b0], rax
mov word [rbp - 0x10], 0x3205
mov byte [rbp - 0xe], 0x73
call fcn.140005220
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x65061a00
mov dword [rbp - 0x1c], 0xa152008
mov dword [rbp - 0x18], 0x11071017
mov word [rbp - 0x14], 0x615e
call fcn.140001180
mov rcx, qword [0x1400161a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140016130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x6c171c1a
mov dword [rbp - 0x1c], 0x1b080b16
mov dword [rbp - 0x18], 0x1a16153b
mov word [rbp - 0x14], 0x6148
call fcn.140001180
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015480]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e8], rax
mov byte [rbp - 0x10], 0x73
call fcn.140004e60
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015420]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160f0], rax
mov dword [rbp - 0x10], 0x9160917
call fcn.1400029f0
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x1400153b0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160e0], rax
mov byte [rbp - 0x10], 0x73
call fcn.140004e60
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015360]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400160d8], rax
mov dword [rbp - 0x10], 0x481d0a1a
mov byte [rbp - 0xc], 0x63
call fcn.140003790
mov rcx, qword [0x1400161b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140015410]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140016130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x241d
mov byte [rbp - 0xe], 0x73
call fcn.140005220
mov rcx, qword [0x1400161b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp rax
Function at 0x7ff74ae3090
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x7ff74b58340]
jne 0x7ff74b0dde1
rol rcx, 0x10
test cx, 0xffff
jne 0x7ff74b0dddd
ret 0
ror rcx, 0x10
jmp 0x7ff74b466b8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x7ff74b58b60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x7ff74b58c58]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x7ff74b4673d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x7ff74b58b60]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x7ff74b4675f
mov rax, qword [rsp + 0x88]
mov qword [0x7ff74b58c58], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x7ff74b58bf8], rax
mov rax, qword [0x7ff74b58c58]
mov qword [0x7ff74b58ad0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x7ff74b58be0], rax
mov dword [0x7ff74b58ac0], 0xc0000409
mov dword [0x7ff74b58ac4], 1
mov rax, qword [0x7ff74b58340]
mov qword [rsp + 0x68], rax
mov rax, qword [0x7ff74b58348]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x7ff74b51148]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x7ff74ae4524
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ecx, dword [0x7ff74b5828c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
cmp rax, rdi
je 0x7ff74aef153
xor eax, eax
jmp 0x7ff74ae4549
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [0x7ff74b584e0]
xor edx, edx
mov r8d, 0x210
call qword [0x7ff74b58358]
mov rbx, rax
cmp rax, rdi
je 0x7ff74b1af42
lea rdx, [rax + 0x10]
lea rcx, [rax + 0x1f0]
mov qword [rax + 0x20], rdi
mov qword [rdx], rdx
mov qword [rax], rdx
mov qword [rax + 0x18], rdx
lea rdx, [rax + 0x30]
mov qword [rax + 8], rcx
mov word [rax + 0x28], di
mov r8d, 0xf
mov qword [rdx + 0x10], rdi
mov word [rdx + 0x18], di
mov rcx, qword [rbx]
mov qword [rdx], rcx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov qword [rax], rdx
mov qword [rcx + 8], rdx
add rdx, 0x20
sub r8, 1
jne 0x7ff74aef19f
call fcn.7ff74aef1f8
cmp eax, edi
je 0x7ff74b1aee1
mov ecx, dword [0x7ff74b5828c]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x7ff74ae4545
jmp 0x7ff74b1aeeb
mov rcx, rbx
call fcn.7ff74aef0e4
jmp 0x7ff74b1af42
cmp dword [0x7ff74b582c8], edi
je 0x7ff74b1af30
mov rax, qword [0x7ff74b58350]
lea rcx, [0x7ff74b58350]
cmp rax, rcx
je 0x7ff74b1af30
test byte [rax + 0x1c], 1
je 0x7ff74b1af30
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [0x7ff74b58350]
lea r8, [0x7ff74b51840]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x18
call fcn.7ff74b25ec4
mov rcx, qword [0x7ff74b584e0]
mov r8, rbx
xor edx, edx
call qword [case.0x7ff74b3e5fd.0]
mov eax, 0x8007000e
jmp 0x7ff74ae4549
Function at 0x7ff74aee5f0
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rdx
mov rsi, rcx
cmp rdx, rdi
je 0x7ff74b16040
lea rdx, [rcx + 0x58]
lea rcx, [rbx + 0x58]
call qword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_EqualSid]
cmp eax, edi
je 0x7ff74b16047
mov rcx, rbx
call fcn.7ff74ae4324
mov rcx, rsi
mov ebx, eax
call fcn.7ff74ae4324
cmp ebx, eax
setne dil
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x7ff74aee640
mov eax, 1
jmp 0x7ff74aee640

Function at 0x7ff74aee6a8
Capabilities:
Compare security identifiers

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rdx + 0x50]
and qword [r11 + 0x18], 0
and qword [r11 + 0x10], 0
mov rax, rdx
mov rbp, rcx
test rsi, rsi
je 0x7ff74b16051
xor ebx, ebx
test ebx, ebx
js 0x7ff74aee70c
mov rdi, qword [rbp + 0x50]
test rdi, rdi
je 0x7ff74b16069
xor ebx, ebx
test ebx, ebx
js 0x7ff74aee70c
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call qword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_EqualSid]
test eax, eax
je 0x7ff74b16082
mov eax, dword [rdi + 8]
cmp dword [rsi + 8], eax
jne 0x7ff74b16082
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
lea rdx, [r11 + 0x10]
mov rcx, rax
call fcn.7ff74aee08c
mov rsi, qword [rsp + 0x48]
mov ebx, eax
jmp 0x7ff74aee6d5
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.7ff74aee08c
mov rdi, qword [rsp + 0x50]
mov ebx, eax
jmp 0x7ff74aee6e8
mov ebx, 1
jmp 0x7ff74aee70c
Function at 0x7ff74aeee70
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
sub edx, 1
je 0x7ff74afe14e
sub edx, 1
je 0x7ff74aef2ce
cmp edx, 1
jne 0x7ff74aeeeb7
mov ecx, dword [0x7ff74b5828c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x7ff74b5828c]
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test rbx, rbx
je 0x7ff74aeeeb7
mov rcx, rbx
call fcn.7ff74aef044
mov eax, 1
add rsp, 0x20
pop rbx
ret
call fcn.7ff74ae4524
jmp 0x7ff74aeeeb7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x7ff74b5828c], eax
cmp eax, 0xffffffff
jne 0x7ff74aeeeb7
jmp 0x7ff74b0e404
xor eax, eax
jmp 0x7ff74aeeebc
Function at 0x7ff74af3280
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
mov edi, dword [rsp + 0x80]
mov rbx, r9
xor ebp, ebp
lea eax, [rdi + rdi]
mov r9d, 0x20000003
xor edx, edx
mov dword [rsp + 0x40], eax
lea rax, [r11 - 0x18]
mov rsi, r8
mov qword [r11 - 0x28], rax
lea rax, [r11 + 0x28]
mov qword [r11 - 0x30], rbx
mov qword [r11 - 0x38], rax
mov dword [r11 + 0x28], ebp
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegGetValueW]
cmp eax, ebp
jne 0x7ff74af3360
mov eax, dword [rsp + 0x80]
mov r8d, 1
cmp eax, ebp
je 0x7ff74b19b96
mov edx, dword [rsp + 0x40]
shr edx, 1
cmp edx, edi
jae 0x7ff74b19bab
cmp eax, r8d
jne 0x7ff74b19bb5
or r9d, 0xffffffff
cmp edx, r8d
jb 0x7ff74af3323
lea rax, [rbx + rdx*2 - 2]
cmp word [rax], bp
jne 0x7ff74af3323
add edx, r9d
sub rax, 2
cmp edx, r8d
jae 0x7ff74af3312
movsxd rax, edx
cmp edx, r8d
jb 0x7ff74af3349
lea rax, [rbx + rax*2 - 2]
cmp word [rax], 0x20
je 0x7ff74b19c01
cmp edx, r8d
jb 0x7ff74af3349
cmp word [rbx], 0x20
je 0x7ff74b19c16
cmp edx, 2
jb 0x7ff74af3358
cmp word [rbx], 0x22
je 0x7ff74b19c30
mov word [rbx + rdx*2], bp
xor eax, eax
jmp 0x7ff74af3375
mov edi, eax
or edi, 0x80070000
cmp eax, 2
jne 0x7ff74b19b40
mov eax, edi
jmp 0x7ff74af3375
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
cmp dword [0x7ff74b582c8], ebp
je 0x7ff74af3371
mov rcx, qword [0x7ff74b58350]
lea rdx, [0x7ff74b58350]
cmp rcx, rdx
je 0x7ff74af3371
lea r8d, [rbp + 1]
test byte [rcx + 0x1c], r8b
je 0x7ff74af3371
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0xd]
lea r8, [0x7ff74b518d8]
xor r9d, r9d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.7ff74b2ddbc
nop
jmp 0x7ff74af3371
mov eax, r8d
mov edx, ebp
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x40], edx
jmp 0x7ff74af32f1
mov eax, 0x800700ea
jmp 0x7ff74af3375
cmp dword [0x7ff74b582c8], ebp
je 0x7ff74b19bf7
mov rcx, qword [0x7ff74b58350]
lea rdx, [0x7ff74b58350]
cmp rcx, rdx
je 0x7ff74b19bf7
test byte [rcx + 0x1c], r8b
je 0x7ff74b19bf7
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
lea r8, [0x7ff74b518d8]
mov edx, 0xe
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call fcn.7ff74b2ddbc
mov eax, 0x80040153
jmp 0x7ff74af3375
add edx, r9d
sub rax, 2
cmp edx, r8d
jae 0x7ff74af3330
jmp 0x7ff74af333a
add edx, r9d
je 0x7ff74af333a
lea rsi, [rbx + 2]
mov ecx, edx
mov rdi, rbx
rep movsw word [rdi], word [rsi]
jmp 0x7ff74af333a
lea eax, [rdx - 1]
cmp word [rbx + rax*2], 0x22
jne 0x7ff74af3358
add edx, 0xfffffffe
je 0x7ff74af3358
lea rsi, [rbx + 2]
mov ecx, edx
mov rdi, rbx
rep movsw word [rdi], word [rsi]
jmp 0x7ff74af3358
Function at 0x7ff74af97c0
Capabilities:
Terminate process

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x7ff74b58340]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x48]
mov rsi, r8
xor r8d, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdx
lea ecx, [r8 + 2]
lea rdx, [rsp + 0x30]
mov r9d, 0x1d4c0
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
je 0x7ff74b1e8ba
test eax, eax
jne 0x7ff74b1e8f9
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.7ff74ae3090
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
mov edx, dword [rbx + 0x44]
mov rcx, qword [0x7ff74b583e0]
call fcn.7ff74b3a3bc
mov rcx, qword [rbx + 0x48]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x48], 0
mov edx, 0x7530
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
jmp 0x7ff74af980f
cmp qword [rbx + 0x48], 0
lea rdi, [0x7ff74b58350]
je 0x7ff74b1e961
cmp dword [0x7ff74b582c8], 0
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x48], rax
je 0x7ff74b1e955
mov rcx, qword [0x7ff74b58350]
cmp rcx, rdi
je 0x7ff74b1e955
test byte [rcx + 0x1c], 2
je 0x7ff74b1e955
mov eax, dword [rbx + 0x44]
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
lea r8, [0x7ff74b51780]
mov edx, 0x10
mov dword [rsp + 0x20], eax
call fcn.7ff74b2f1d0
mov rcx, qword [rbx + 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x7ff74b582c8], 0
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x48], rax
je 0x7ff74b1e9af
mov rcx, qword [0x7ff74b58350]
cmp rcx, rdi
je 0x7ff74b1e9af
test byte [rcx + 0x1c], 2
je 0x7ff74b1e9af
mov eax, dword [rbx + 0x44]
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x40]
lea r8, [0x7ff74b51780]
mov edx, 0x11
mov dword [rsp + 0x20], eax
call fcn.7ff74b2f1d0
xor eax, eax
jmp 0x7ff74af981c