joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003510
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1801d8040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x18000354d
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180003554
mov al, 1
jmp 0x180003698
call fcn.180003ce0
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
call fcn.180003ce0
mov ecx, dword [rsp + 0x38]
mov edx, ecx
mov ecx, eax
call fcn.180003d40
movzx eax, al
test eax, eax
je 0x18000359f
xor al, al
jmp 0x180003698
mov qword [rsp + 0x50], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180003605
cmp dword [rsp + 0x30], 1
je 0x180003611
cmp dword [rsp + 0x30], 3
je 0x180003686
jmp 0x180003696
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x18000365d
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x40], rax
je 0x18000365d
xor al, al
jmp 0x180003698
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180003677
mov dword [rsp + 0x34], 1
jmp 0x18000367f
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x180003698
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x180003698
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180142e20
add rsp, 0x98
ret

Function at 0x1800056e0
Capabilities:
Get disk information

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1801d8040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
lea rcx, [0x180146ce0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, 0x10
call fcn.18014339c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov r8d, dword [rsp + 0x50]
lea rdx, [0x180146ce4]
mov rcx, qword [rsp + 0x40]
call fcn.180004a20
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180142e20
add rsp, 0x68
ret
Function at 0x180005780
Capabilities:
Get mac address on windows

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1801d8040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 0x2c0
mov ecx, 0x12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x50], rax
mov ecx, 0x2c0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1800057d5
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x18000591b
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x180005820
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180005820
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x18000591b
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x18000590b
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov eax, 1
imul rax, rax, 5
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax + 0x198]
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx + 0x198]
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rsp + 0x40]
movzx edx, byte [r8 + rdx + 0x198]
mov r8d, 1
imul r8, r8, 2
mov r9, qword [rsp + 0x40]
movzx r8d, byte [r9 + r8 + 0x198]
mov r9d, 1
imul r9, r9, 1
mov r10, qword [rsp + 0x40]
movzx r9d, byte [r10 + r9 + 0x198]
mov r10d, 1
imul r10, r10, 0
mov r11, qword [rsp + 0x40]
movzx r10d, byte [r11 + r10 + 0x198]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov r8d, r10d
lea rdx, str._02X:_02X:_02X:_02X:_02X:_02X
mov rcx, qword [rsp + 0x50]
call fcn.180004a20
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180005842
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180142e20
add rsp, 0x78
ret
Function at 0x180005930
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x8a8
mov rax, qword [0x1801d8040]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [0x180146d10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180005a50
mov dword [rsp + 0x68], 0x3ff
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.Productid
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1800073c0
nop
lea rcx, [rsp + 0x30]
call fcn.180003dc0
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1800072d0
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180007330
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x8b0]
call fcn.180007f50
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x70]
call fcn.180007390
mov rax, qword [rsp + 0x8b0]
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.180142e20
add rsp, 0x8a8
ret

Function at 0x180005a70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x8a8
mov rax, qword [0x1801d8040]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [0x180146d90]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180005b90
mov dword [rsp + 0x68], 0x3ff
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.CurrentBuild
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1800073c0
nop
lea rcx, [rsp + 0x30]
call fcn.180003dc0
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1800072d0
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180007330
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x8b0]
call fcn.180007f50
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x70]
call fcn.180007390
mov rax, qword [rsp + 0x8b0]
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.180142e20
add rsp, 0x8a8
ret
Function at 0x18000e4d0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x180149390]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x18000e556
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
jmp 0x18000e502
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x18000e560
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x180149390]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x18000e65b
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x18000e656
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 1], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x18000e62b
cmp qword [rsp + 0x38], 2
jb 0x18000e62b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18000e62b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18000e62b
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x18000e5a7
jmp 0x18000e6e4
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp]
test eax, eax
je 0x18000e6e4
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x18000e6ba
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18000e6ba
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18000e6ba
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x18000e65b
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x180026560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.180009020
mov eax, dword [rsp + 0x78]
and eax, 1
test eax, eax
je 0x18002662a
mov edx, dword [rsp + 0x80]
mov ecx, 0x14
call fcn.180026330
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0x13
call fcn.180026330
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0x12
call fcn.180026330
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0x11
call fcn.180026330
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x28]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x44]
call fcn.180009020
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.180009da0
mov eax, dword [rsp + 0x78]
and eax, 2
test eax, eax
je 0x1800266cc
mov edx, dword [rsp + 0x80]
mov ecx, 7
call fcn.180026330
movss dword [rsp + 0x2c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 6
call fcn.180026330
movss xmm1, dword [rsp + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 5
call fcn.180026330
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 4
call fcn.180026330
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x34]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x4c]
call fcn.180009020
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.180009da0
mov eax, dword [rsp + 0x78]
and eax, 4
test eax, eax
je 0x18002676e
mov edx, dword [rsp + 0x80]
mov ecx, 0xb
call fcn.180026330
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0xa
call fcn.180026330
movss xmm1, dword [rsp + 0x38]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 9
call fcn.180026330
movss dword [rsp + 0x3c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 8
call fcn.180026330
movss xmm1, dword [rsp + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x40]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x54]
call fcn.180009020
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.180009da0
movss xmm0, dword [rsp + 0x88]
ucomiss xmm0, dword [0x1801d0264]
jp 0x180026782
je 0x1800267a6
mov ecx, 0xe
call fcn.18000d3c0
movzx eax, al
test eax, eax
je 0x1800267a6
movss xmm1, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
call fcn.180009d50
movss xmm0, dword [rsp + 0x90]
ucomiss xmm0, dword [0x1801d0264]
jp 0x1800267ba
je 0x1800267de
mov ecx, 0xf
call fcn.18000d3c0
movzx eax, al
test eax, eax
je 0x1800267de
movss xmm1, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.180009d50
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x18003a400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1801d8040]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
call fcn.18002ebe0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x10], 0
je 0x18003a45d
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x18003a465
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x88]
call fcn.18000afa0
movzx eax, al
test eax, eax
je 0x18003a4c2
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x78], 0
je 0x18003a4c2
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x78]
cmp qword [rax + 0x3e0], 0
je 0x18003a4c2
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x78]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x24], eax
jmp 0x18003a4ca
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x88]
call fcn.18000b0e0
movzx eax, al
test eax, eax
je 0x18003a509
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x28], eax
jmp 0x18003a511
mov dword [rsp + 0x28], 0xffffffff
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x48], al
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x49], al
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 8]
and eax, 0x61fc20
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x88]
add rax, 0x40
mov rdx, rax
lea rcx, [rsp + 0x2c]
call fcn.18000a350
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x88]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.18000a350
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x88]
add rax, 0x50
mov rdx, rax
lea rcx, [rsp + 0x34]
call fcn.18000a350
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.18003b880
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + rax + 0x18], 0
je 0x18003a5f8
mov eax, dword [rsp + 0x90]
inc eax
mov ecx, 8
imul rcx, rcx, 0
mov r8d, eax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x80]
call fcn.18003a400
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + rax + 0x18], 0
je 0x18003a640
mov eax, dword [rsp + 0x90]
inc eax
mov ecx, 8
imul rcx, rcx, 1
mov r8d, eax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x80]
call fcn.18003a400
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180142e20
add rsp, 0x78
ret
Function at 0x1800598a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1801d8040]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.180012ce0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1802035a0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.180009020
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
movzx eax, byte [0x180200409]
test eax, eax
je 0x180059918
call fcn.180059860
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1802035a8]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1802035b0]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x1802035a8], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18005997c
mov dword [rsp + 0x28], 1
jmp 0x180059984
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x134], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1800599b3
mov dword [rsp + 0x2c], 1
jmp 0x1800599bb
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x135], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1800599ea
mov dword [rsp + 0x30], 1
jmp 0x1800599f2
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x136], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x137], 0
call fcn.180058e40
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc8]
test eax, eax
je 0x180059a2d
mov dword [rsp + 0x34], 0xffffffff
jmp 0x180059a36
call fcn.180018490
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [reloc.OLEAUT32.dll_VariantCopy], eax
je 0x180059a59
mov eax, dword [rsp + 0x38]
mov dword [reloc.OLEAUT32.dll_VariantCopy], eax
call fcn.180058d10
call fcn.180059050
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180142e20
add rsp, 0x78
ret
Function at 0x1800671d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x1800671f3
jmp 0x18006721a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x180066b90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x48
ret

Function at 0x18006c7e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1801d8040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.180001f60
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.18006c980
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.18006ca20
nop
lea rcx, [rsp + 0x38]
call fcn.18006c8e0
lea rax, [0x18006ca70]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.180008590
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x18006c8a1
lea rcx, [rsp + 0x50]
call fcn.1800043f0
jmp 0x18006c8b9
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x50]
call fcn.18006c8e0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180142e20
add rsp, 0x68
ret

Function at 0x180085690
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0xcd]
test eax, eax
je 0x180085709
mov qword [rsp + 0x20], 0
jmp 0x1800856c1
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xcc
jae 0x1800856fd
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rax]
call fcn.180083d80
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x1800856b4
mov rax, qword [rsp + 0x40]
mov byte [rax + 0xcd], 0
add rsp, 0x38
ret
Function at 0x18013d000
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18013d04d
mov eax, 1
jmp 0x18013d04f
xor eax, eax
add rsp, 0x38
ret

Function at 0x18013d140
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea r9, [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.18013d000
test eax, eax
jne 0x18013d177
jmp 0x18013d1ac
mov rcx, qword [rsp + 0x50]
call fcn.18013d060
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x38
ret