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

Disassembly:
sub rsp, 0x28
test dl, dl
je 0x14005a09b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.sent_up_is_true__sending_down_arrow
call fcn.140005df0
lea rdx, [0x140005fc0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 0xc8
mov cl, 0x28
add rsp, 0x28
jmp fcn.140059140
test cl, cl
je 0x14005a0d2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.sent_down_is_true__sending_up
call fcn.140005df0
lea rdx, [0x140005fc0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 0xc8
mov cl, 0x26
add rsp, 0x28
jmp fcn.140059140
test r9b, r9b
je 0x14005a10a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.sent_up_2_is_true__sending_down_arrow
call fcn.140005df0
lea rdx, [0x140005fc0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 0x96
mov cl, 0x28
add rsp, 0x28
jmp fcn.140059140
test r8b, r8b
je 0x14005a142
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.sent_down_2_is_true__sending_up
call fcn.140005df0
lea rdx, [0x140005fc0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 0x96
mov cl, 0x26
add rsp, 0x28
jmp fcn.140059140
add rsp, 0x28
ret

Function at 0x14005a220
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov edx, 0x3e8
mov cl, 0x26
call fcn.140059140
mov edx, 0x190
mov cl, 0x28
add rsp, 0x28
jmp fcn.140059140
Function at 0x14005b6e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005b72a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005b72a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005b72a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005b72a
cmp dword [rcx + 0x84], 0xe
jbe 0x14005b72a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005b72c
xor al, al
add rsp, 0x28
ret
Function at 0x180011b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
shl byte [rbp + 0x3344ffed], 1
and dl, byte [rcx]
add byte [0x184407c7e], dh
add byte [rax], al
xlatb
lodsd eax, dword [rsi]
invalid
shl byte [rbp + 0x3344ffed], 1
and dl, byte [rcx]
add byte [0x18440b17e], dh
add byte [rax], al
or byte [rdi], al
mov bh, 0xa3
cmp byte [rsi], 0x57
invalid
shl byte [rbp + 0x3344ffed], 1
and dl, byte [rcx]
add byte [0x18440e67e], dh
add byte [rax], al
stosb byte [rdi], al
sub byte [rcx], ch
or eax, 0xad24edce
iretd
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
sub rsp, 0x30
mov r12, rdx
mov r13, rcx
cmp r9d, 0x198
jne 0x180011ba0
mov ecx, 0x13
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x18000b170
cmp r9d, 0xff
jne 0x180011bbc
mov ecx, 0x42
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x180007c70
cmp r9d, 0x3d3
jne 0x180011bd8
mov ecx, 0x4b
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x18000e670
mov qword [rsp + 0x60], rsi
mov rsi, qword [0x180078ca8]
movsxd rax, dword [rsi + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x180011cf4
mov r11d, dword [rsi + rcx + 0x20]
lea rax, [rsi + rcx]
mov qword [rsp + 0x58], rbx
xor ecx, ecx
mov qword [rsp + 0x68], rdi
add r11, rsi
mov edi, dword [rax + 0x24]
mov ebx, ecx
mov qword [rsp + 0x28], r14
add rdi, rsi
mov r14d, dword [rax + 0x18]
mov qword [rsp + 0x20], r15
mov r15d, dword [rax + 0x1c]
add r15, rsi
test r14, r14
je 0x180011cae
lea rcx, str.drusvcw
xor r13d, r13d
nop
mov r10d, dword [r11]
mov rax, r13
add r10, rsi
nop dword [rax]
inc rax
cmp byte [rax + rcx], r13b
jne 0x180011c50
test r10, r10
je 0x180011c97
mov rdx, r13
test rax, rax
je 0x180011ca7
sub r10, rcx
nop dword [rax]
add rcx, rdx
movzx r8d, byte [r10 + rcx]
cmp r8b, byte [rcx]
jb 0x180011c90
ja 0x180011c90
inc rdx
cmp rdx, rax
jae 0x180011ca7
lea rcx, str.drusvcw
jmp 0x180011c70
lea rcx, str.drusvcw
inc rbx
add r11, 4
add rdi, 2
cmp rbx, r14
jb 0x180011c40
mov r13, qword [rsp + 0x50]
xor ecx, ecx
movzx eax, word [rdi]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
cmp cx, ax
jae 0x180011cc9
lea r15, [r15 + rax*4]
mov eax, dword [r15]
mov r15, qword [rsp + 0x20]
add rax, rsi
je 0x180011cf4
lea r8, [0x18006f5b0]
mov rdx, r12
mov rcx, r13
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp rax
mov rsi, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x30
pop r13
pop r12
pop rbp
ret
Function at 0x180011d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
sub rsp, 0x30
mov r12, rdx
mov r13, rcx
cmp r9d, 0x1bd
jne 0x180011d40
mov ecx, 0x1f
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x18000b170
cmp r9d, 0xef
jne 0x180011d5c
mov ecx, 0x4e
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x180007c70
cmp r9d, 0x36a
jne 0x180011d78
mov ecx, 0x4e
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x18000e670
mov qword [rsp + 0x60], rsi
mov rsi, qword [0x180078ca8]
movsxd rax, dword [rsi + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x180011e94
mov r11d, dword [rsi + rcx + 0x20]
lea rax, [rsi + rcx]
mov qword [rsp + 0x58], rbx
xor ecx, ecx
mov qword [rsp + 0x68], rdi
add r11, rsi
mov edi, dword [rax + 0x24]
mov ebx, ecx
mov qword [rsp + 0x28], r14
add rdi, rsi
mov r14d, dword [rax + 0x18]
mov qword [rsp + 0x20], r15
mov r15d, dword [rax + 0x1c]
add r15, rsi
test r14, r14
je 0x180011e4e
lea rcx, str.initBuffer
xor r13d, r13d
nop
mov r10d, dword [r11]
mov rax, r13
add r10, rsi
nop dword [rax]
inc rax
cmp byte [rax + rcx], r13b
jne 0x180011df0
test r10, r10
je 0x180011e37
mov rdx, r13
test rax, rax
je 0x180011e47
sub r10, rcx
nop dword [rax]
add rcx, rdx
movzx r8d, byte [r10 + rcx]
cmp r8b, byte [rcx]
jb 0x180011e30
ja 0x180011e30
inc rdx
cmp rdx, rax
jae 0x180011e47
lea rcx, str.initBuffer
jmp 0x180011e10
lea rcx, str.initBuffer
inc rbx
add r11, 4
add rdi, 2
cmp rbx, r14
jb 0x180011de0
mov r13, qword [rsp + 0x50]
xor ecx, ecx
movzx eax, word [rdi]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
cmp cx, ax
jae 0x180011e69
lea r15, [r15 + rax*4]
mov eax, dword [r15]
mov r15, qword [rsp + 0x20]
add rax, rsi
je 0x180011e94
lea r8, [0x18006f5c8]
mov rdx, r12
mov rcx, r13
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp rax
mov rsi, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x30
pop r13
pop r12
pop rbp
ret
Function at 0x180011eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
sub rsp, 0x30
mov r12, rdx
mov r13, rcx
cmp r9d, 0x240
jne 0x180011ee0
mov ecx, 0x4a
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x18000b170
cmp r9d, 0x30
jne 0x180011ef8
lea ecx, [r9 + 0x2f]
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x180007c70
cmp r9d, 0x38f
jne 0x180011f14
mov ecx, 0xf
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x18000e670
mov qword [rsp + 0x60], rsi
mov rsi, qword [0x180078ca8]
movsxd rax, dword [rsi + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x180012034
mov r11d, dword [rsi + rcx + 0x20]
lea rax, [rsi + rcx]
mov qword [rsp + 0x58], rbx
xor ecx, ecx
mov qword [rsp + 0x68], rdi
add r11, rsi
mov edi, dword [rax + 0x24]
mov ebx, ecx
mov qword [rsp + 0x28], r14
add rdi, rsi
mov r14d, dword [rax + 0x18]
mov qword [rsp + 0x20], r15
mov r15d, dword [rax + 0x1c]
add r15, rsi
test r14, r14
je 0x180011fee
lea rcx, str.uninitBuffer
xor r13d, r13d
nop dword [rax + rax]
mov r10d, dword [r11]
mov rax, r13
add r10, rsi
nop dword [rax]
inc rax
cmp byte [rax + rcx], r13b
jne 0x180011f90
test r10, r10
je 0x180011fd7
mov rdx, r13
test rax, rax
je 0x180011fe7
sub r10, rcx
nop dword [rax]
add rcx, rdx
movzx r8d, byte [r10 + rcx]
cmp r8b, byte [rcx]
jb 0x180011fd0
ja 0x180011fd0
inc rdx
cmp rdx, rax
jae 0x180011fe7
lea rcx, str.uninitBuffer
jmp 0x180011fb0
lea rcx, str.uninitBuffer
inc rbx
add r11, 4
add rdi, 2
cmp rbx, r14
jb 0x180011f80
mov r13, qword [rsp + 0x50]
xor ecx, ecx
movzx eax, word [rdi]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
cmp cx, ax
jae 0x180012009
lea r15, [r15 + rax*4]
mov eax, dword [r15]
mov r15, qword [rsp + 0x20]
add rax, rsi
je 0x180012034
lea r8, [0x18006f5f0]
mov rdx, r12
mov rcx, r13
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp rax
mov rsi, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x30
pop r13
pop r12
pop rbp
ret
Function at 0x180012050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
sub rsp, 0x30
mov r12, rdx
mov r13, rcx
cmp r9d, 0x173
jne 0x180012080
mov ecx, 0x53
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x18000b170
cmp r9d, 0xf2
jne 0x18001209c
mov ecx, 0x4e
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x180007c70
cmp r9d, 0x366
jne 0x1800120b8
mov ecx, 0x51
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp 0x18000e670
mov qword [rsp + 0x60], rsi
mov rsi, qword [0x180078ca8]
movsxd rax, dword [rsi + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x1800121d4
mov r11d, dword [rsi + rcx + 0x20]
lea rax, [rsi + rcx]
mov qword [rsp + 0x58], rbx
xor ecx, ecx
mov qword [rsp + 0x68], rdi
add r11, rsi
mov edi, dword [rax + 0x24]
mov ebx, ecx
mov qword [rsp + 0x28], r14
add rdi, rsi
mov r14d, dword [rax + 0x18]
mov qword [rsp + 0x20], r15
mov r15d, dword [rax + 0x1c]
add r15, rsi
test r14, r14
je 0x18001218e
lea rcx, str.updateBuffer
xor r13d, r13d
nop
mov r10d, dword [r11]
mov rax, r13
add r10, rsi
nop dword [rax]
inc rax
cmp byte [rax + rcx], r13b
jne 0x180012130
test r10, r10
je 0x180012177
mov rdx, r13
test rax, rax
je 0x180012187
sub r10, rcx
nop dword [rax]
add rcx, rdx
movzx r8d, byte [r10 + rcx]
cmp r8b, byte [rcx]
jb 0x180012170
ja 0x180012170
inc rdx
cmp rdx, rax
jae 0x180012187
lea rcx, str.updateBuffer
jmp 0x180012150
lea rcx, str.updateBuffer
inc rbx
add r11, 4
add rdi, 2
cmp rbx, r14
jb 0x180012120
mov r13, qword [rsp + 0x50]
xor ecx, ecx
movzx eax, word [rdi]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
cmp cx, ax
jae 0x1800121a9
lea r15, [r15 + rax*4]
mov eax, dword [r15]
mov r15, qword [rsp + 0x20]
add rax, rsi
je 0x1800121d4
lea r8, [0x18006f620]
mov rdx, r12
mov rcx, r13
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rbp
jmp rax
mov rsi, qword [rsp + 0x60]
mov eax, 0xffffffff
add rsp, 0x30
pop r13
pop r12
pop rbp
ret
Function at 0x180017160
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xa0
movdqa xmm0, xmmword [0x180070030]
mov edx, 0x3bd09a55
movdqa xmm1, xmmword [0x18006fff0]
mov rbx, qword [0x180078ca0]
movdqu xmmword [rax - 0x48], xmm0
mov dword [rax - 0x18], 0xa
movdqa xmm0, xmmword [0x180070040]
movdqu xmmword [rax - 0x28], xmm0
mov dword [rax - 0x14], 0x49
movdqa xmm0, xmmword [0x180070000]
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rax - 0x10], 8
movdqa xmm0, xmmword [0x180070010]
movdqu xmmword [rax - 0x38], xmm1
mov dword [rax - 0x58], 0x43
movdqa xmm1, xmmword [0x180070020]
movdqu xmmword [rax - 0x68], xmm0
mov dword [rax - 0x54], 0xad
movdqu xmmword [rax - 0x78], xmm1
mov dword [rax - 0x50], 0x1c
call fcn.180019b70
mov edx, 0xc9
mov r8d, 2
mov rcx, rbx
call rax
mov edi, dword [rax + 4]
mov esi, dword [rax]
mov ecx, edi
add rsi, rbx
mov ebx, edi
call fcn.18001f600
mov r11, rax
mov rcx, rax
test edi, edi
je 0x18001723d
nop dword [rax + rax]
mov byte [rcx], 0
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x180017230
lea rdx, [rsi + 0x67]
test rdx, rdx
je 0x18001725f
mov rcx, r11
test edi, edi
je 0x18001725f
sub rdx, r11
movzx eax, byte [rdx + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub edi, 1
jne 0x180017250
xor r9d, r9d
mov r8, r11
mov r10d, r9d
mov ecx, r9d
movabs rbx, 0x8888888888888889
nop word [rax + rax]
mov rax, rbx
lea r8, [r8 + 1]
mul rcx
inc r10d
shr rdx, 3
imul rax, rdx, 0xf
sub rcx, rax
movzx eax, byte [rsp + rcx*4 + 0x20]
xor byte [r8 - 1], al
movsxd rcx, r10d
cmp rcx, 0x22c00
jb 0x180017280
mov rcx, r9
mov r8, r11
mov rax, rbx
lea r8, [r8 + 1]
mul rcx
inc r9d
shr rdx, 3
imul rax, rdx, 0xf
sub rcx, rax
movzx eax, byte [rsp + rcx*4 + 0x60]
xor byte [r8 - 1], al
movsxd rcx, r9d
cmp rcx, 0x22c00
jb 0x1800172b3
cmp byte [r11], 0
jne 0x1800172f4
mov ecx, 0x11
call fcn.180001270
cdqe
jmp 0x1800172f7
mov rax, r11
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180017870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov rsi, rcx
mov r8d, dword [rax + rcx + 0x88]
test r8d, r8d
jne 0x180017894
xor eax, eax
add rsp, 0x28
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], rbx
lea rax, [rcx + r8]
mov ebx, dword [rax + 0x20]
mov qword [rsp + 0x48], rdi
add rbx, rsi
mov edi, dword [rax + 0x24]
mov qword [rsp + 0x50], r12
add rdi, rsi
mov qword [rsp + 0x58], r14
xor r12d, r12d
mov r14d, dword [rax + 0x1c]
mov r11d, r12d
mov qword [rsp + 0x20], r15
add r14, rsi
mov r15d, dword [rax + 0x18]
test r15, r15
je 0x18001792b
mov r9d, dword [rbx]
mov rcx, rdx
call fcn.180017310
mov r10, rax
add r9, rsi
je 0x18001791b
test rdx, rdx
je 0x18001791b
test rax, rax
je 0x18001792b
mov r8, rdx
mov rcx, r9
sub r8, r9
nop dword [rax]
movzx eax, byte [rcx]
cmp al, byte [rcx + r8]
jb 0x18001791b
ja 0x18001791b
inc rcx
mov rax, rcx
sub rax, r9
cmp rax, r10
jb 0x180017900
jmp 0x18001792b
inc r11
add rbx, 4
add rdi, 2
cmp r11, r15
jb 0x1800178d3
movzx eax, word [rdi]
mov r15, qword [rsp + 0x20]
cmp r12w, ax
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
jae 0x18001794c
lea r14, [r14 + rax*4]
mov eax, dword [r14]
mov r14, qword [rsp + 0x58]
add rax, rsi
add rsp, 0x28
pop rsi
pop rbp
ret
Function at 0x180019b70
Capabilities:
Access peb ldr_data
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov rax, qword gs:[0x60]
mov ebx, edx
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x20]
test r8, r8
je 0x180019bd1
nop dword [rax]
mov r9, qword [r8 + 0x50]
xor edx, edx
movzx r10d, word [r8 + 0x48]
nop dword [rax + rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
ror edx, 0xd
mov eax, edx
add rax, rcx
cmp cl, 0x61
lea rdx, [rax - 0x20]
cmovb rdx, rax
sub r10, 1
jne 0x180019ba0
cmp edx, 0x6a4abc5b
je 0x180019bd9
mov r8, qword [r8]
test r8, r8
jne 0x180019b90
xor eax, eax
mov rbx, qword [rsp + 8]
ret
mov r10, qword [r8 + 0x20]
movsxd rax, dword [r10 + 0x3c]
mov r11d, dword [rax + r10 + 0x88]
mov r8d, dword [r11 + r10 + 0x20]
mov r9d, dword [r11 + r10 + 0x24]
add r8, r10
add r9, r10
nop dword [rax]
mov edx, dword [r8]
add rdx, r10
xor eax, eax
movzx ecx, byte [rdx]
nop dword [rax + rax]
ror eax, 0xd
lea rdx, [rdx + 1]
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x180019c10
cmp eax, ebx
je 0x180019c31
add r8, 4
add r9, 2
jmp 0x180019c00
mov ecx, dword [r11 + r10 + 0x1c]
movzx edx, word [r9]
add rcx, r10
mov rbx, qword [rsp + 8]
mov eax, dword [rcx + rdx*4]
add rax, r10
ret

Function at 0x180019ec0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x180019f75
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x180019f41
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180019f60
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180019f60
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x180019f60
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x180078d38], 0
jne 0x180019fc0
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180019fb0
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180078d30], rax
mov byte [0x180078d38], 1
jmp 0x180019fc7
mov rax, qword [0x180078d30]
mov byte [0x180078d38], 1
jmp 0x180019fc7
mov rax, qword [0x180078d30]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x180019f4a
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax
Function at 0x18001a0f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x180076010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov qword [rsp + 0x40], rbp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x40]
call fcn.180019ff0
mov ebx, eax
test eax, eax
jne 0x18001a207
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18001a1e1
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.18001a0f0
mov ebx, eax
test eax, eax
jne 0x18001a207
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x18001a190
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18001a1f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.180019ec0
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18001a217
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18001f570
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001a760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x180076010]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x60]
call fcn.1800229f0
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18001a7f7
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18001a7f7
call fcn.180019cb0
mov ebx, eax
jmp 0x18001a91c
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x18001a818
call fcn.180019cb0
jmp 0x18001a90b
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x18001a83b
call fcn.180019cb0
jmp 0x18001a90b
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x18001a85d
mov ebx, 0x8007000e
jmp 0x18001a90d
mov ecx, eax
test eax, eax
je 0x18001a892
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x18001a954
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18001a892
lea rcx, [rsp + 0x60]
call fcn.18001f100
jmp 0x18001a89c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x18001a8af
cmp qword [rsp + 0x60], 0
jne 0x18001a8be
mov ebx, 0x8007000e
jmp 0x18001a90d
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x18001a8e8
call fcn.180019cb0
jmp 0x18001a90b
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.18001b6b0
mov ebx, eax
test rdi, rdi
je 0x18001a91c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x18001a933
lea rcx, [rsp + 0x60]
call fcn.18001f060
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.18001f570
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.180019c80
int3