joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001700
Capabilities:
Start service

Disassembly:
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x40
mov rdi, rcx
xor r12d, r12d
lea rcx, str..pipeAESTAPOProperties
mov qword [rsp + 0x30], r12
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x14000184e
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Cant_open_pipe:
or r9d, 0xffffffff
mov rcx, rdi
mov r8d, eax
mov dword [rsp + 0x20], r12d
call fcn.140001970
cmp dword [rdi + 0x60], r12d
je 0x14000178d
mov ebx, 1
mov rax, r12
mov dword [rdi + 0x60], ebx
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
mov ebx, 1
xor edx, edx
xor ecx, ecx
mov r8d, ebx
mov qword [rsp + 0x60], rsi
mov esi, r12d
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
mov rdi, rax
je 0x140001841
lea r8d, [rbx + 0xf]
lea rdx, str.AESTFilters
mov rcx, rax
mov qword [rsp + 0x58], rbp
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
test rax, rax
mov rbp, rax
je 0x1400017f0
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
mov rcx, rbp
test eax, eax
cmovne esi, ebx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
mov rbp, qword [rsp + 0x58]
je 0x140001841
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], r12
lea rcx, str..pipeAESTAPOProperties
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
cmove rax, r12
jmp 0x140001844
mov rax, r12
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
Function at 0x1400025d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, dword [rcx + 0x28]
xor ebx, ebx
test ecx, ecx
jne 0x1400025f7
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov eax, dword [rdi + 0x18]
test eax, eax
je 0x14000268d
add eax, eax
cmp eax, ecx
jne 0x14000268d
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareAndrea_ElectronicsAEAudioAPOSettings
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000268d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.AEOpts
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140002682
mov ecx, dword [rsp + 0x60]
mov eax, 1
not ecx
cmp ecx, dword [rdi + 0x28]
cmove ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140002a40
Capabilities:
Access the windows event log

Disassembly:
push rdi
sub rsp, 0xe0
mov rax, qword [0x140015028]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp dword [0x14001758c], 0
mov rdi, rcx
jne 0x140002b11
mov qword [rsp + 0xf8], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.AESTFilters
xor ecx, ecx
mov dword [0x140017588], eax
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov edx, dword [0x140017588]
lea r9, str.AESTFilters
mov dword [rsp + 0x20], edx
lea r8, str._s_error:__d
lea rcx, [rsp + 0x60]
mov edx, 0x70
mov rbx, rax
call fcn.140003ed0
test rbx, rbx
lea r11, [rsp + 0x60]
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x58], rdi
je 0x140002b09
xor ecx, ecx
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], 2
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rbx
mov dx, 1
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140003f10
add rsp, 0xe0
pop rdi
ret
Function at 0x140003b90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x170
mov rax, qword [0x140015028]
xor rax, rsp
mov qword [rsp + 0x160], rax
test r9d, r9d
mov r12d, 2
mov eax, 4
cmovne eax, r12d
mov ebp, r8d
mov rdi, rcx
mov esi, edx
mov qword [rsp + 0x30], 0
lea r8d, [r12 - 1]
lea rcx, str.C:AEService.log
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x140003d38
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rax, [rsp + 0x70]
lea r9, str.ddMMMyy
lea r8, [rsp + 0x48]
xor edx, edx
mov ecx, 0x400
mov dword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea rax, [rsp + 0x58]
lea r9, str.HH:mm:ss
lea r8, [rsp + 0x48]
xor edx, edx
mov ecx, 0x400
mov dword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTimeFormatA]
cmp esi, 0xffffffff
movzx eax, word [rsp + 0x56]
lea r9, [rsp + 0x70]
mov edx, 0xc8
lea rcx, [rsp + 0x90]
jne 0x140003ca4
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x58]
lea r8, str._s__s._i:__s__r_n
mov qword [rsp + 0x20], rax
call fcn.140003ed0
jmp 0x140003cc7
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x58]
lea r8, str._s__s._i:__s___i__r_n
mov qword [rsp + 0x20], rax
call fcn.140003ed0
mov r9d, r12d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebp, ebp
je 0x140003cfd
lea r9, [rsp + 0x40]
lea rdx, [0x140012144]
mov r8d, r12d
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x90]
repne scasb al, byte [rdi]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x90]
not rcx
mov qword [rsp + 0x20], rax
lea r8, [rcx - 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140003f10
add rsp, 0x170
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400060d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x140016648]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140007890
test rax, rax
je 0x140006124
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x1400061b9
mov ecx, 2
call fcn.14000b350
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140006720
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1400061a5
test ebx, ebx
jne 0x1400061a5
lea ecx, [rax + 2]
call fcn.14000b350
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140006567
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140015028]
jne 0x140003f2a
rol rcx, 0x10
test cx, 0xffff
jne 0x140003f26
repz ret
ror rcx, 0x10
jmp 0x1400064c0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400166f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400167e8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140006545
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, [0x1400166f0]
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.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140006567
mov rax, qword [rsp + 0x88]
mov qword [0x1400167e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140016788], rax
mov rax, qword [0x1400167e8]
mov qword [0x140016660], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140016770], rax
mov dword [0x140016650], 0xc0000409
mov dword [0x140016654], 1
mov rax, qword [0x140015028]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140015030]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400166e8], eax
mov ecx, 1
call fcn.14000b350
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400104f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400166e8], 0
jne 0x1400065ee
mov ecx, 1
call fcn.14000b350
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 0x140008660
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x140015c80]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x14000869e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140008680
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140008885
mov ecx, 3
call fcn.14000e0a0
cmp eax, 1
je 0x14000883c
mov ecx, 3
call fcn.14000e0a0
test eax, eax
jne 0x1400086d5
cmp dword [0x140015020], 1
je 0x14000883c
cmp edi, 0xfc
je 0x140008885
mov qword [rsp + 0x50], rbp
lea rbp, [0x140016c50]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140003ff0
test eax, eax
je 0x140008719
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006030
lea rdx, [0x140016c69]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x140016d6d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140008769
lea r8, str._program_name_unknown_
lea rcx, [0x140016c69]
mov edx, 0x2fb
call fcn.140003ff0
test eax, eax
je 0x140008769
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006030
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x140016c69]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x1400087b8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x140016f64]
lea r9d, [rax + 3]
lea r8, [0x140010b64]
sub rdx, rcx
call fcn.14000d570
test eax, eax
je 0x1400087b8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006030
lea r8, [0x140010b60]
mov edx, 0x314
mov rcx, rbp
call fcn.140003f30
test eax, eax
je 0x1400087e4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006030
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.140003f30
test eax, eax
je 0x140008814
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140006030
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.14000de40
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140008885
cmp rax, 0xffffffffffffffff
je 0x140008885
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400088a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.14000e0a0
cmp eax, 1
je 0x1400088d2
mov ecx, 3
call fcn.14000e0a0
test eax, eax
jne 0x140008986
cmp dword [0x140015020], 1
jne 0x140008986
mov qword [rsp + 0x48], rbx
lea rbx, [0x140015c80]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x1400088fe
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x1400088e8
jmp 0x140008972
cmp edi, 0x17
jae 0x140008972
mov ecx, 3
call fcn.14000e0a0
cmp eax, 1
je 0x140008929
mov ecx, 3
call fcn.14000e0a0
test eax, eax
jne 0x140008972
cmp dword [0x140015020], 1
jne 0x140008972
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140008972
cmp rax, 0xffffffffffffffff
je 0x140008972
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.140008660
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140009b70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x1400172f8]
test eax, eax
jne 0x140009bc3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140009ba3
mov dword [0x1400172f8], 1
jmp 0x140009bde
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140009bbd
mov dword [0x1400172f8], 2
jmp 0x140009cb9
mov eax, dword [0x1400172f8]
cmp eax, 1
jne 0x140009cb0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140009d03
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x140009c05
add rbx, 2
cmp word [rbx], 0
jne 0x140009bf1
add rbx, 2
cmp word [rbx], 0
jne 0x140009bf1
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x140009ca3
mov rcx, rbp
call fcn.14000ad30
test rax, rax
mov rsi, rax
je 0x140009ca3
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x140009c7d
mov rcx, rsi
call fcn.1400040a0
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x140009c89
cmp eax, 2
je 0x140009cb9
test eax, eax
jne 0x140009d03
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x140009d03
cmp byte [rax], 0
je 0x140009ce2
nop
add rax, 1
cmp byte [rax], 0
jne 0x140009cd0
add rax, 1
cmp byte [rax], 0
jne 0x140009cd0
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.14000ad30
test rax, rax
mov rdi, rax
jne 0x140009d15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000cf50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x14000de40
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400077a0
xor ebx, ebx
cmp qword [0x140017378], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14000df6c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14000e07f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000e07f
mov rcx, rax
call fcn.1400076d0
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140017378], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400076d0
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140017380], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400076d0
lea rcx, [rsp + 0x98]
mov qword [0x140017388], rax
call fcn.140004710
test eax, eax
je 0x14000df1f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140006030
cmp dword [rsp + 0x98], 2
jne 0x14000df6c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400076d0
test rax, rax
mov qword [0x140017398], rax
je 0x14000df6c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.1400076d0
mov qword [0x140017390], rax
mov rcx, qword [0x140017390]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x14000e018
cmp qword [0x140017398], rbp
je 0x14000e018
call fcn.140007890
mov rcx, qword [0x140017398]
mov rsi, rax
call fcn.140007890
test rsi, rsi
mov r12, rax
je 0x14000e018
test rax, rax
je 0x14000e018
call rsi
test rax, rax
je 0x14000dfe3
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000dfe3
test byte [rsp + 0x40], 1
jne 0x14000e018
lea rcx, [rsp + 0x30]
call fcn.140004760
test eax, eax
je 0x14000e005
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140006030
cmp dword [rsp + 0x30], 4
jb 0x14000e012
bts edi, 0x15
jmp 0x14000e056
bts edi, 0x12
jmp 0x14000e056
mov rcx, qword [0x140017380]
cmp rcx, rbp
je 0x14000e056
call fcn.140007890
test rax, rax
je 0x14000e056
call rax
test rax, rax
mov rbx, rax
je 0x14000e056
mov rcx, qword [0x140017388]
cmp rcx, rbp
je 0x14000e056
call fcn.140007890
test rax, rax
je 0x14000e056
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140017378]
call fcn.140007890
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14000e07f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000e081
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ec70
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140015028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14000ecb7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140003f10
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14000ec60
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140003f10
add rsp, 0x38
ret
Function at 0x1400113d4
Capabilities:
Terminate process

Disassembly:
jmp 0x14001a470
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 0x1400114b5
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140017320
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002c10c]
call fcn.14001168b
call fcn.14001139d
xor eax, eax
cmp eax, 1
je 0x14001736b
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14001735e
call fcn.140011659
jmp 0x140017369
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140017340
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400114c4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019320
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019340
xor al, al
jmp 0x1400193c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019353
xor al, al
jmp 0x1400193c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001937d
xor al, al
jmp 0x1400193c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019391
xor al, al
jmp 0x1400193c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400193a3
xor al, al
jmp 0x1400193c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400193bf
xor al, al
jmp 0x1400193c1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400014e7
Capabilities:
Terminate process

Disassembly:
jmp 0x14003f2cc
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 0x1400018a7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14001da40
test rcx, rcx
je 0x14001dbd6
push rbp
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbp, rcx
je 0x14001dbd1
mov rcx, qword [rcx + 0x88]
test rcx, rcx
je 0x14001dbd1
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
call fcn.1400012ad
mov rsi, qword [rbp + 0x18]
mov edi, eax
test rsi, rsi
je 0x14001dacc
nop
mov rcx, qword [rsi + 0x28]
mov rbx, qword [rcx]
test rbx, rbx
je 0x14001dac3
nop dword [rax]
cmp byte [rbx + 0x3c], 4
jne 0x14001daba
mov rcx, qword [rbx + 0x20]
call fcn.1400012ad
movzx ecx, al
sub cl, dil
mov edi, eax
mov byte [rbx + 0x22], cl
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14001daa0
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x14001da90
mov rsi, qword [rbp + 0x18]
xor edi, edi
test rsi, rsi
je 0x14001dbc2
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
test rbx, rbx
je 0x14001dbb5
movzx eax, byte [rbx + 0x3c]
sub eax, 3
je 0x14001dba6
sub eax, 1
je 0x14001db2e
cmp eax, 4
jne 0x14001dba8
test byte [rbx + 0x24], 1
jne 0x14001dba6
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
mov rdi, rbx
call fcn.140001564
mov byte [rbx + 0x20], al
jmp 0x14001dba8
test rdi, rdi
je 0x14001dba8
movzx r8d, byte [rdi + 0x20]
sub r8b, byte [rbx + 0x22]
cmp r8b, 3
jge 0x14001db69
mov eax, 2
sub al, r8b
movzx ecx, al
mov eax, 0x24924925
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
movsx eax, cl
imul ecx, eax, 7
add cl, 7
add r8b, cl
movzx ecx, byte [rbp + 0xa1]
cmp r8b, cl
jle 0x14001dba0
movzx eax, r8b
sub al, cl
dec al
movzx ecx, al
mov eax, 0x24924925
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
movsx eax, cl
imul ecx, eax, 7
mov eax, 0xfffffff9
sub al, cl
add r8b, al
mov byte [rdi + 0x20], r8b
jmp 0x14001dba8
xor edi, edi
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14001daf0
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x14001dae0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret