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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140176692
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1401766d9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140176732
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1401766f0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140176773
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401a8df2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401a8df3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140176740
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1401776fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140177746
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140177746
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140177746
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140177746
cmp dword [rcx + 0x84], 0xe
jbe 0x140177746
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140177748
xor al, al
add rsp, 0x28
ret
Function at 0x1401779a0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401779da
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401779df
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140177a28
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140177a28
dec r8
sub rdx, 1
jne 0x140177a0e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x18001117c
Capabilities:
Create thread

Disassembly:
jmp 0x180011680
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x18002105f]
call fcn.1800112da
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 1
je 0x1800116bf
jmp 0x1800116e4
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [sym.hello_world.dll_MessageBoxThread]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x1800111a9
Capabilities:
Terminate process

Disassembly:
jmp 0x180014f40
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
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, 0x28
ret
Function at 0x1400010af
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140036d64
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140036df1
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140036df1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140036df1
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140036dd8
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140036dd2
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140036dda
add rdx, 0x28
jmp 0x140036db7
xor edx, edx
test rdx, rdx
jne 0x140036de3
xor al, al
jmp 0x140036df7
cmp dword [rdx + 0x24], 0
jge 0x140036ded
xor al, al
jmp 0x140036df7
mov al, 1
jmp 0x140036df7
xor al, al
jmp 0x140036df7
add rsp, 0x18
ret

Function at 0x140001104
Capabilities:
Terminate process

Disassembly:
jmp 0x1400376b4
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140001136
Capabilities:
Terminate process

Disassembly:
jmp 0x14003690c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400011d1
test al, al
je 0x1400367d7
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400011ae
mov bl, al
mov ecx, dword [0x140050170]
cmp ecx, 1
je 0x1400367e2
test ecx, ecx
jne 0x14003670d
mov dword [0x140050170], 1
lea rdx, [0x14003b660]
lea rcx, [0x14003b330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1400366ee
mov eax, 0xff
jmp 0x1400367c7
lea rdx, [0x14003b220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x140050170], 2
jmp 0x140036715
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.14000119a
call fcn.140001154
mov rbx, rax
cmp qword [rax], 0
je 0x140036748
mov rcx, rax
call fcn.1400010af
test al, al
je 0x140036748
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140053020]
call fcn.140001177
mov rbx, rax
cmp qword [rax], 0
je 0x14003676a
mov rcx, rax
call fcn.1400010af
test al, al
je 0x14003676a
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.140001131
mov ebx, eax
call fcn.14000113b
test al, al
je 0x1400367ec
test sil, sil
jne 0x1400367a1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010a5
mov eax, ebx
jmp 0x1400367c7
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400011a4
nop
mov ecx, 7
call fcn.1400011a4
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140001145
add rsp, 0x28
jmp 0x140036680

Function at 0x14000113b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140037318
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140037363
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140037363
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140037363
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140037363
cmp dword [rcx + 0x84], 0xe
jbe 0x140037363
cmp dword [rcx + 0xf8], 0
je 0x140037363
mov al, 1
jmp 0x140037365
xor al, al
add rsp, 0x28
ret
Function at 0x142830058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1428301df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x142830089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14283006f
add dl, dl
jne 0x142830096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1428300f6
xor eax, eax
add dl, dl
jne 0x1428300a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1428301ad
add dl, dl
jne 0x1428300b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1428300c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1428300d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1428300dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1428300ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14283007e
mov eax, 1
add dl, dl
jne 0x142830106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142830113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1428300fb
sub eax, ebx
mov ebx, 1
jne 0x14283014c
mov ecx, 1
add dl, dl
jne 0x14283012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14283013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x142830123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14283007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142830168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142830175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14283015d
cmp eax, 0x7d00
jae 0x14283019b
cmp eax, 0x500
jb 0x142830196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14283007e
cmp eax, 0x7f
ja 0x14283019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14283007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1428301d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14283007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x10105abd0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x10105abdd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x10105abed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x10105abd5
lea eax, [rcx + 1]
jmp 0x10105abfb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x10105ac0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x10105abf4
sub eax, 3
jb 0x10105ac2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x10105ac7d
sar eax, 1
movsxd rbp, eax
jb 0x10105ac64
jmp 0x10105ac3c
add ebx, ebx
jne 0x10105ac3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x10105ac64
inc ecx
add ebx, ebx
jne 0x10105ac4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x10105ac64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x10105ac5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x10105ac4c
add ecx, 2
jmp 0x10105ac69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.10105ab92
jmp 0x10105abdd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1056000]
mov eax, dword [rdi]
or eax, eax
je 0x10105acd9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x10622a4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x10105ac89
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x10105acd3
mov qword [rbx], rax
add rbx, 8
jmp 0x10105aca9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.10105ad5c], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.10105ad5c
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x10105ad4c
sub rsp, 0xffffffffffffff80
jmp 0x1000034b0
Function at 0x140005a2c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005828
Function at 0x140008aec
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140008b1c
xor eax, eax
jmp 0x140008bdf
mov rbp, rbx
cmp word [rax], si
je 0x140008b41
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008b28
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008b24
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140008a0c
movsxd r14, eax
test eax, eax
jne 0x140008b7f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140008b15
mov rcx, r14
call fcn.1400099c8
mov rdi, rax
test rax, rax
jne 0x140008b98
xor ecx, ecx
call fcn.14000706c
jmp 0x140008b74
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140008a0c
test eax, eax
jne 0x140008bc9
mov rcx, rdi
call fcn.14000706c
jmp 0x140008bd3
xor ecx, ecx
call fcn.14000706c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000c0d0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140007adc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000c15a
cmp byte [rbp - 0x21], r15b
je 0x14000c155
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000c190
call fcn.14000a1d8
test eax, eax
jne 0x14000c17c
cmp byte [rbp - 0x21], r15b
je 0x14000c174
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000c190
cmp byte [rbp - 0x21], r15b
je 0x14000c18d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400070bc
test eax, eax
jne 0x14000c230
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140007adc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000c1cf
cmp byte [rbp - 0x21], r15b
je 0x14000c204
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000c204
call fcn.14000a1d8
test eax, eax
jne 0x14000c1f0
cmp byte [rbp - 0x21], r15b
je 0x14000c1e9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000c204
cmp byte [rbp - 0x21], r15b
je 0x14000c201
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400070bc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000c230
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000c233
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000c241
mov rcx, rdi
call fcn.14000706c
cmp byte [rbp + 0x3f], r15b
je 0x14000c250
mov rcx, qword [rbp + 0x27]
call fcn.14000706c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180008bc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x640
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x180008be0
mov byte [0x1801b59e8], 1
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180008c26
movzx eax, byte [0x1801b52d1]
test eax, eax
jne 0x180008c0d
mov dword [rsp + 0x628], 1
jmp 0x180008c18
mov dword [rsp + 0x628], 0
movzx eax, byte [rsp + 0x628]
mov byte [0x1801b52d1], al
lea rcx, [rsp + 0x20]
call fcn.1800da1d0
mov rcx, rax
call fcn.1800ddde0
movzx eax, al
test eax, eax
jne 0x180008c44
jmp 0x180008cc5
mov ecx, 0x55
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180008cbb
movzx eax, byte [0x1801b5a15]
test eax, eax
jne 0x180008c71
mov dword [rsp + 0x62c], 1
jmp 0x180008c7c
mov dword [rsp + 0x62c], 0
movzx eax, byte [rsp + 0x62c]
mov byte [0x1801b5a15], al
movzx eax, byte [0x1801b5a17]
test eax, eax
jne 0x180008ca2
mov dword [rsp + 0x630], 1
jmp 0x180008cad
mov dword [rsp + 0x630], 0
movzx eax, byte [rsp + 0x630]
mov byte [0x1801b5a17], al
call fcn.18000e670
call fcn.18000e470
add rsp, 0x640
pop rdi
ret

Function at 0x18000e470
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x640
movzx eax, byte [0x1801b59fd]
test eax, eax
je 0x18000e558
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18000e558
mov eax, dword [0x1801b5928]
mov ecx, dword [0x1801b477c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x628], eax
mov eax, dword [0x1801b5928]
inc eax
mov dword [0x1801b5928], eax
cmp dword [rsp + 0x628], 0
jl 0x18000e4dd
mov dword [rsp + 0x62c], 1
jmp 0x18000e4e8
mov dword [rsp + 0x62c], 0
cmp dword [rsp + 0x62c], 0
je 0x18000e504
lea rcx, [rsp + 0x20]
call fcn.1800da1d0
mov rcx, rax
call fcn.1800ddc20
movzx eax, byte [0x1801b47aa]
test eax, eax
je 0x18000e545
xor r9d, r9d
mov r8d, 2
mov edx, 0x204
mov rcx, qword [0x1801b5930]
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
mov r8d, 2
mov edx, 0x205
mov rcx, qword [0x1801b5930]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x1801b5928], 0x14
jl 0x18000e558
mov dword [0x1801b5928], 0
movzx eax, byte [0x1801b5a1e]
test eax, eax
je 0x18000e61a
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18000e61a
mov eax, dword [0x1801b5928]
mov ecx, dword [0x1801b47b4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x630], eax
mov eax, dword [0x1801b5928]
inc eax
mov dword [0x1801b5928], eax
cmp dword [rsp + 0x630], 0
jl 0x18000e5bc
mov dword [rsp + 0x634], 1
jmp 0x18000e5c7
mov dword [rsp + 0x634], 0
cmp dword [rsp + 0x634], 0
je 0x18000e607
xor r9d, r9d
mov r8d, 2
mov edx, 0x204
mov rcx, qword [0x1801b5930]
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
mov r8d, 2
mov edx, 0x205
mov rcx, qword [0x1801b5930]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x1801b5928], 0x14
jl 0x18000e61a
mov dword [0x1801b5928], 0
add rsp, 0x640
pop rdi
ret
Function at 0x18000e670
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x810
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x18000e6b8
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x18000e6b8
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18000e6ba
jmp 0x18000e72d
movzx eax, byte [0x1801b59ea]
test eax, eax
je 0x18000e72d
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x18000e6ef
mov ecx, 0x45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18000e72d
lea rcx, [rsp + 0x20]
call fcn.1800da1d0
mov qword [rsp + 0x800], rax
lea rdx, [rsp + 0x628]
mov rcx, qword [rsp + 0x800]
call fcn.1800dcb40
mov qword [rsp + 0x808], rax
mov dl, 1
mov rcx, qword [rsp + 0x808]
call fcn.1800da860
add rsp, 0x810
pop rdi
ret

Function at 0x180011cd0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x850
lea rdi, [rsp + 0x20]
mov ecx, 0x20c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1801b4f00]
xor rax, rsp
mov qword [rsp + 0x840], rax
movzx eax, byte [0x1801b5a19]
cmp eax, 1
je 0x180011d0d
jmp 0x180011dc5
mov edx, 0x1d8
lea rcx, [rsp + 0x30]
call fcn.18000ea00
lea rcx, [rsp + 0x230]
call fcn.1800da1d0
mov qword [rsp + 0x838], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x838]
call fcn.1800dcb40
lea rcx, [rsp + 0x30]
call fcn.1800dc2a0
movzx eax, al
test eax, eax
je 0x180011dc5
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180011dc5
lea rcx, [rsp + 0x30]
call fcn.1800dbc80
movzx eax, al
test eax, eax
jne 0x180011d7c
jmp 0x180011dc5
lea rcx, [rsp + 0x30]
call fcn.1800dac00
movsd qword [rsp + 0x218], xmm0
lea rcx, [rsp + 0x30]
call fcn.1800daf40
movsd qword [rsp + 0x220], xmm0
lea rcx, [rsp + 0x30]
call fcn.1800db440
movzx eax, al
test eax, eax
je 0x180011dc5
movss xmm1, dword [0x1801059e0]
lea rcx, [rsp + 0x30]
call fcn.1800dbba0
mov rcx, rsp
lea rdx, [0x1801059d0]
call fcn.1800e8d70
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1800e91a0
add rsp, 0x850
pop rdi
ret
Function at 0x180013790
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
lea rdi, [rsp + 0x30]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [0x1801b4f00]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rsp + 0x30], rax
mov r8d, 4
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x24
rep stosb byte [rdi], al
mov dword [rsp + 0x84], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x64]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18010c040]
call fcn.1800e8d70
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800e91a0
add rsp, 0xb0
pop rdi
ret