joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140064eb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
call qword [rax + 0x228]
test al, al
jne 0x140064efb
mov eax, dword [rdi]
sub eax, 9
cmp eax, 0xc
ja 0x140064efb
mov rcx, qword [rbx + 0x5c0]
mov rdx, rdi
test rcx, rcx
je 0x14006510c
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x30]
mov rcx, qword [rbx + 0x5c0]
test rcx, rcx
je 0x140064f9f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rax + 0x470], 0
je 0x140064f9f
cmp dword [rdi], 0xf
jne 0x140064f9f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140065114
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140064f75
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x140064f75
lea rcx, [rbx + 0x5a8]
mov dl, 1
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x28]
mov rcx, qword [rbx + 0x5c0]
test rcx, rcx
je 0x140065114
mov rax, qword [rcx]
xor r8d, r8d
mov edx, dword [rbx + 0x5b0]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [rax + 0x20]
mov eax, dword [rdi]
cmp eax, 0xd
jne 0x140064ff7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140065114
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test al, al
je 0x140064f37
mov rcx, qword [rbx + 0x58]
lea r8, str.buttondown
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.140014220
jmp 0x140064f37
cmp eax, 0xe
jne 0x14006503f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140065114
mov rcx, qword [rbx + 0x58]
lea r8, str.itemclick
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.140014220
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0xb
jne 0x1400650aa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x140065114
or dword [rbx + 0x5b8], 8
mov rcx, rbx
call fcn.140064360
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test al, al
je 0x140065114
mov rcx, qword [rbx + 0x58]
lea r8, str.mouseenter
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.140014220
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp eax, 0xa
jne 0x140065109
mov eax, dword [rbx + 0x5b8]
test al, 8
je 0x140065114
and eax, 0xfffffff7
mov rcx, rbx
mov dword [rbx + 0x5b8], eax
call fcn.140064360
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test al, al
je 0x140065114
mov rcx, qword [rbx + 0x58]
lea r8, str.mouseleave
mov byte [rsp + 0x28], 0
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], 0
call fcn.140014220
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, rdi
mov rcx, rbx
call fcn.140064740
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140065750
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x30
mov rax, qword [rcx]
mov r14, rdx
mov rbx, rcx
call qword [rax + 0x228]
test al, al
jne 0x1400657ad
mov eax, dword [r14]
sub eax, 9
cmp eax, 0xc
ja 0x1400657ad
mov rcx, qword [rbx + 0xa98]
mov rdx, r14
test rcx, rcx
je 0x14006579a
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
jmp qword [rax + 0x30]
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
jmp fcn.140064eb0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
xor edi, edi
cmp dword [r14], 0x1a
jne 0x1400657fd
mov esi, edi
cmp dword [rbx + 0x5c8], edi
jle 0x1400657fd
nop dword [rax]
mov rdx, qword [r14 + 0x14]
movsxd rcx, esi
shl rcx, 4
add rcx, 0x5cc
add rcx, rbx
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x14006589b
inc esi
cmp esi, dword [rbx + 0x5c8]
jl 0x1400657d0
cmp dword [r14], 0xe
mov qword [rsp + 0x40], rbp
jne 0x14006584e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x218]
test al, al
je 0x14006584e
mov esi, edi
cmp dword [rbx + 0x5c8], edi
jle 0x14006584e
mov rdx, qword [r14 + 0x14]
movsxd rbp, esi
mov rcx, rbp
shl rcx, 4
add rcx, 0x5cc
add rcx, rbx
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1400658b3
inc esi
cmp esi, dword [rbx + 0x5c8]
jl 0x140065822
cmp dword [rbx + 0x5c8], edi
jle 0x1400658ed
cmp dword [r14], 9
jne 0x1400658ed
mov esi, 0xffffffff
nop dword [rax]
mov rdx, qword [r14 + 0x14]
movsxd rcx, edi
shl rcx, 4
add rcx, 0x5cc
add rcx, rbx
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1400658d5
inc edi
cmp edi, dword [rbx + 0x5c8]
jl 0x140065870
jmp 0x1400658d7
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
jmp 0x140065927
mov rcx, qword [rbx + 0x58]
lea r8, str.link
mov byte [rsp + 0x28], dil
mov r9, rbp
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.140014220
jmp 0x140065922
mov esi, edi
cmp dword [rbx + 0xa90], esi
je 0x1400658ed
mov rcx, rbx
call fcn.140064360
mov dword [rbx + 0xa90], esi
cmp dword [rbx + 0x5c8], 0
jle 0x140065917
cmp dword [r14], 0xa
jne 0x140065917
cmp dword [rbx + 0xa90], 0xffffffff
je 0x140065917
mov rcx, rbx
call fcn.140064360
mov dword [rbx + 0xa90], 0xffffffff
mov rdx, r14
mov rcx, rbx
call fcn.140064eb0
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14006f1b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, r8
movzx r12d, dl
mov r14, rcx
test r8, r8
je 0x14006f263
movsxd rax, dword [r8 + 0x7a8]
test eax, eax
jle 0x14006f2f0
xor esi, esi
mov r13, rax
mov ebp, esi
test eax, eax
jle 0x14006f2f0
mov edi, esi
nop
cmp ebp, dword [r15 + 0x7a8]
jge 0x14006f216
mov rbx, qword [r15 + 0x7a0]
mov rbx, qword [rbx + rdi*8]
jmp 0x14006f219
mov rbx, rsi
mov rax, qword [rbx]
movzx edx, r12b
mov rcx, rbx
call qword [rax + 0x208]
cmp dword [rbx + 0x7a8], esi
je 0x14006f254
mov rax, qword [rbx + 0x778]
cmp byte [rax + 0xae0], sil
jne 0x14006f254
mov rax, qword [r14]
mov r8, rbx
movzx edx, r12b
mov rcx, r14
call qword [rax + 0x478]
inc ebp
inc rdi
cmp rdi, r13
jl 0x14006f200
jmp 0x14006f2f0
mov rax, qword [rcx + 0x5a8]
add rcx, 0x5a8
call qword [rax + 0x18]
xor esi, esi
mov edi, eax
test eax, eax
jle 0x14006f2f0
movzx ebp, r12b
xor bpl, 1
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [r14 + 0x5a8]
lea rcx, [r14 + 0x5a8]
mov edx, esi
call qword [r8]
mov r8b, 1
movzx edx, bpl
mov rbx, rax
mov rcx, qword [rax + 0x778]
mov r9, qword [rcx]
call qword [r9 + 0x390]
cmp dword [rbx + 0x7a8], 0
je 0x14006f2ea
mov rcx, qword [rbx + 0x778]
cmp byte [rcx + 0xae0], 0
jne 0x14006f2ea
mov rax, qword [r14]
mov r8, rbx
movzx edx, r12b
mov rcx, r14
call qword [rax + 0x478]
inc esi
cmp esi, edi
jl 0x14006f290
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14007a750
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ecx, ecx
mov ebx, r8d
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor edx, edx
mov ecx, ebx
mov r8, rax
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
add ebx, 0xffffffdf
mov edi, eax
cmp ebx, 0xd
ja case.0x14007a7aa.41
lea rdx, [0x140000000]
mov ecx, dword [rdx + rbx*4 + 0x7a868]
add rcx, rdx
jmp rcx
bts edi, 8
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.1400a5140
shl edi, 0x10
lea rdx, [rsp + 0x30]
mov ecx, edi
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
lea rcx, [rsi + 8]
xor edi, edi
mov rax, 0xffffffffffffffff
mov qword [rsi], rcx
mov word [rcx], di
lea rdx, [rsp + 0x30]
mov rbx, rax
inc rbx
cmp word [rdx + rbx*2], di
jne 0x14007a7f3
cmp ebx, 0x3f
jl 0x14007a823
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x14007a801
lea eax, [rbx + 1]
mov qword [rsi], rdi
movsxd rdx, eax
mov rcx, rdi
add rdx, rdx
call fcn.1400a9604
mov qword [rsi], rax
mov rcx, qword [rsi]
lea rdx, [rsp + 0x30]
movsxd rbx, ebx
mov r8, rbx
call fcn.1400a960c
mov rcx, qword [rsi]
mov rax, rsi
mov word [rcx + rbx*2], di
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400a23f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14007cba0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rdx
mov r14, rcx
test rcx, rcx
je 0x14007cdf5
movzx ecx, word [rcx]
cmp ecx, 0x2f
ja 0x14007cbe7
movabs rdx, 0xa00000000001
bt rdx, rcx
jb 0x14007cdf5
cmp ecx, 0x5c
je 0x14007cdf5
xor r13d, r13d
mov rbx, r14
mov edi, r13d
nop dword [rax]
call fcn.1400b55b4
test eax, eax
je 0x14007cdf5
cmp word [rbx], 0x3d
je 0x14007cdf5
inc rdi
movzx ecx, word [r14 + rdi*2]
lea rbx, [r14 + rdi*2]
test cx, cx
jne 0x14007cc00
movzx eax, byte [0x14014a568]
test al, al
jne 0x14007cc6b
movzx eax, byte [0x14014a568]
test al, al
jne 0x14007cc6b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [0x14014a730]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [0x14014a738], rax
test rax, rax
je 0x14007cdf5
mov byte [0x14014a568], 1
mov ebp, 1
cmp dword [0x14014a730], ebp
jle 0x14007cdf5
mov r15d, 8
mov rax, qword [0x14014a738]
mov rdi, r13
mov rsi, qword [r15 + rax]
cmp word [rsi], di
je 0x14007ccbb
movzx ebx, word [rsi + rdi*2]
test bx, bx
je 0x14007ccbb
movzx ecx, bx
call fcn.1400b55a8
test eax, eax
jne 0x14007ccb6
movzx ecx, bx
call fcn.1400b55c0
test eax, eax
je 0x14007ccbb
inc rdi
jmp 0x14007cc95
movzx ecx, word [rsi + rdi*2]
cmp cx, 0x2f
jne 0x14007cda0
lea rbx, [rdi + 1]
movzx eax, word [rsi + rbx*2]
lea rbx, [rsi + rbx*2]
test ax, ax
jne 0x14007ccf6
cmp cx, 0x2d
jne 0x14007cde3
cmp ax, cx
je 0x14007cde3
test ax, ax
je 0x14007cde3
test rbx, rbx
je 0x14007cde3
movzx ecx, word [rbx]
call fcn.1400b55b4
test eax, eax
je 0x14007cde3
cmp word [rbx], 0x3d
je 0x14007cde3
mov edx, 0x3d
mov rcx, rbx
call fcn.1400a4728
mov rdi, rax
test rax, rax
je 0x14007cdd4
cmp word [rax], r13w
je 0x14007cdd4
mov r8, 0xffffffffffffffff
inc r8
cmp word [r14 + r8*2], r13w
jne 0x14007cd43
sub rax, rbx
sar rax, 1
cmp rax, r8
jne 0x14007cde3
mov rdx, r14
mov rcx, rbx
call fcn.1400b5618
test eax, eax
jne 0x14007cde3
test r12, r12
je 0x14007ce1e
add rdi, 2
je 0x14007ce19
mov r9d, 0x3ff
mov r8, rdi
mov rcx, r12
lea edx, [r9 + 1]
call fcn.1400b57b4
mov al, 1
mov word [r12 + 0x7fe], r13w
jmp 0x14007cdf7
cmp cx, 0x2d
jne 0x14007cde3
lea rbx, [rdi + 1]
movzx eax, word [rsi + rbx*2]
lea rbx, [rsi + rbx*2]
cmp ax, cx
jne 0x14007ccda
cmp word [rsi + rdi*2 + 4], r13w
lea rdx, [rsi + rdi*2]
je 0x14007ccda
lea rbx, [rdx + 4]
jmp 0x14007ccf6
mov rdx, r14
mov rcx, rbx
call fcn.1400a9404
test eax, eax
je 0x14007ce14
inc ebp
add r15, 8
cmp ebp, dword [0x14014a730]
jl 0x14007cc82
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test r12, r12
je 0x14007ce1e
mov word [r12], r13w
mov al, 1
jmp 0x14007cdf7
Function at 0x14007f9c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
movzx edi, cl
mov ecx, 0xf0
call fcn.1400a2514
mov rsi, rax
mov qword [rsp + 0x68], rax
xor edx, edx
mov r8d, 0xf0
mov rcx, rax
call fcn.1400a5140
mov byte [rsi], 0
lea r14, [rsi + 4]
xor r12d, r12d
mov dword [r14], r12d
mov qword [rsi + 8], r12
xor eax, eax
mov byte [rsi + 0x10], al
lea edx, [rax + 2]
lea rcx, [rsi + 0x18]
call fcn.1400a1974
nop
lea rbx, [rsi + 0x68]
mov qword [rsp + 0x70], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r12
lea ecx, [r12 + 0x10]
call fcn.1400a2514
mov qword [rax + 8], r12
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rsi + 0x90]
call fcn.1400a1a6c
nop
lea rbx, [rsi + 0xd8]
mov qword [rsp + 0x70], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
lea ecx, [r12 + 0x60]
call fcn.1400a2514
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov byte [rsi + 0xe8], r12b
mov byte [rsi + 0xe8], dil
cmp byte [rsi], r12b
jne 0x14007faf0
mov byte [rsi], 1
lea rcx, [rsi + 0x18]
call fcn.1400a19b0
test eax, eax
jne 0x14007fb0a
mov eax, r12d
xchg byte [rsi + 0x10], al
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
mov r9, rsi
lea r8, [0x14007f9b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
lea rdx, [rsi + 0x18]
lea rcx, [rsi + 0x90]
call fcn.1400a1a9c
lea rcx, [rsi + 0x18]
call fcn.1400a19d4
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.1400a16a4
int3
Function at 0x140084550
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
xor edi, edi
call fcn.1400a5140
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rdi + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
jns 0x1400845c4
xor r8d, r8d
lea rdx, [0x140112cfc]
jmp 0x1400845df
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x1400845d0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400049c0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400a23f0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret

Function at 0x140084610
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
xor edi, edi
call fcn.1400a5140
xor r9d, r9d
lea r8d, [rdi + 0x17]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
jne 0x14008467d
xor r8d, r8d
lea rdx, [0x140112cfc]
jmp 0x14008469f
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140084690
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400049c0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400a23f0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x1400846d0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140084734
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rbx
test eax, eax
jne 0x14008474e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a23f0
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a23f0
add rsp, 0x50
pop rbx
ret
Function at 0x140084770
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
lea r8d, [r9 + 2]
call fcn.140028080
xor r14d, r14d
mov rbx, rax
mov dword [rsp + 0x30], r14d
mov ebp, r14d
mov word [rsp + 0x34], r14w
mov dword [rsp + 0x25c], r14d
test rax, rax
jne 0x1400847dc
mov eax, 0x10000
jmp 0x1400847ff
cmp dword [rax], 1
je 0x1400847e8
mov eax, 0x80000
jmp 0x1400847ff
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x30]
mov edx, 0xffffffff
call fcn.140027300
mov ebp, dword [rsp + 0x30]
mov dword [0x14014a550], eax
mov esi, r14d
mov edi, r14d
test ebp, ebp
jle 0x1400848a7
mov dword [rsp + 0x30], r14d
mov word [rsp + 0x34], r14w
mov dword [rsp + 0x25c], r14d
test rbx, rbx
jne 0x14008483c
mov dword [0x14014a550], 0x10000
mov esi, 0x10000
jmp 0x14008489d
mov eax, dword [rbx]
cmp eax, 1
je 0x14008484a
mov ecx, 0x80000
jmp 0x14008485e
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov edx, edi
call fcn.140027300
mov ecx, eax
mov eax, dword [rbx]
mov dword [0x14014a550], ecx
cmp eax, 1
je 0x14008487a
mov dword [0x14014a550], 0x80000
mov esi, 0x80000
jmp 0x14008489d
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x34]
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov edx, edi
call fcn.140027ba0
mov esi, eax
mov dword [0x14014a550], eax
inc edi
cmp edi, ebp
jl 0x140084813
mov rcx, rbx
call fcn.1400282f0
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a23f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400848e0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov r14, rdx
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
lea r8d, [r9 + 2]
call fcn.140028080
xor r15d, r15d
mov rbx, rax
mov dword [rsp + 0x30], r15d
mov ebp, r15d
mov word [rsp + 0x34], r15w
mov dword [rsp + 0x25c], r15d
test rax, rax
jne 0x14008494d
mov eax, 0x10000
jmp 0x140084970
cmp dword [rax], 1
je 0x140084959
mov eax, 0x80000
jmp 0x140084970
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x30]
mov edx, 0xffffffff
call fcn.140027300
mov ebp, dword [rsp + 0x30]
mov dword [0x14014a550], eax
mov esi, 0x500
mov edi, r15d
test ebp, ebp
jle 0x140084a39
nop word [rax + rax]
mov dword [rsp + 0x30], r15d
mov word [rsp + 0x34], r15w
mov dword [rsp + 0x25c], r15d
test rbx, rbx
jne 0x1400849af
mov eax, 0x10000
jmp 0x1400849cb
cmp dword [rbx], 1
je 0x1400849bb
mov eax, 0x80000
jmp 0x1400849cb
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov edx, edi
call fcn.140027300
mov rdx, r14
mov dword [0x14014a550], eax
lea rcx, [rsp + 0x34]
call fcn.1400a9404
test eax, eax
je 0x1400849ea
inc edi
cmp edi, ebp
jl 0x140084990
jmp 0x140084a39
test rbx, rbx
jne 0x140084a00
mov dword [0x14014a550], 0x10000
mov esi, 0x10000
jmp 0x140084a39
cmp dword [rbx], 1
je 0x140084a16
mov dword [0x14014a550], 0x80000
mov esi, 0x80000
jmp 0x140084a39
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x34]
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov edx, edi
call fcn.140027ba0
mov esi, eax
mov dword [0x14014a550], eax
mov rcx, rbx
call fcn.1400282f0
test esi, esi
sete al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a23f0
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140084f60
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov word [rsp + 0x6c], 0x500
lea rax, [rsp + 0x60]
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov dword [rsp + 0x48], ecx
mov dl, 1
mov dword [rsp + 0x40], ecx
lea r8d, [rcx + 0x12]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x68], ecx
lea rcx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140084fde
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400a23f0
add rsp, 0x88
ret
Function at 0x140086640
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rax, r8
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x70], rsi
cmp qword [r8 + 0x18], 8
jb 0x1400866a1
mov rax, qword [r8]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400867e5
mov edi, esi
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.1400a5140
xor edx, edx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x78], 0x100
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400867da
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140086740
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.1400049c0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140086786
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x48], si
add qword [rbx + 8], 0x20
jmp 0x140086798
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.140086a40
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400867d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400867cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008680a
call fcn.1400a2410
inc edi
mov edx, edi
jmp 0x1400866e1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400a23f0
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a92b0
int3