joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4d623c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d62ba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d62b1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d62b1
mov rax, qword [rbp - 8]
jmp 0x2fc4d62cf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d6284
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001c1f0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
push rbx
mov r8, rcx
xor ebx, ebx
xor eax, eax
xor ecx, ecx
xchg rbx, rsi
cpuid
xchg rbx, rsi
test eax, eax
jle 0x14001c302
mov esi, eax
mov eax, 1
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r9d, ecx
mov r10d, edx
mov r11d, eax
cmp esi, 7
jb 0x14001c23d
mov eax, 7
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
and ebx, 0x20
mov dword [r8], r11d
mov eax, r11d
and eax, 0xf
mov dword [r8 + 8], eax
shr r11d, 0xc
and r11d, 3
mov dword [r8 + 4], r11d
mov eax, r10d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r10d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r10d, 0x1a
and r10b, 1
mov byte [r8 + 0xe], r10b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x19], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x14001c339
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test ebx, ebx
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov eax, 0x80000000
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
cmp eax, 0x80000006
jle 0x14001c33d
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
shr edx, 8
and dl, 1
mov byte [r8 + 0x18], dl
test dl, dl
je 0x14001c343
pop rbx
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14001c2d5
mov dl, byte [r8 + 0x18]
jmp 0x14001c331
cmp byte [r8 + 0x19], 0
je 0x14001c335
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
cmp ebx, 0x7263694d
jne 0x14001c335
cmp ecx, 0x666f736f
jne 0x14001c335
cmp edx, 0x76482074
jne 0x14001c335
mov byte [r8 + 0x18], 1
jmp 0x14001c335

Function at 0x140024830
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14002486c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call fcn.1400c10e0
test al, al
je 0x140024876
add rdi, rbx
sub rsi, rbx
jne 0x14002484a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140038440
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x1400cf938]
mov qword [rcx], rax
add rcx, 8
call fcn.1400588e0
lea rcx, [rsi + 0x10]
call fcn.1400588e0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.1400588e0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
movups xmmword [rsi + 0xd0], xmm6
mov qword [rsi + 0xe0], rbx
mov ebp, 0x3f800000
mov dword [rsi + 0xe8], ebp
mov dword [rsi + 0xf0], ebx
movups xmmword [rsi + 0xf8], xmm6
movups xmmword [rsi + 0x108], xmm6
mov dword [rsi + 0x118], ebp
movups xmmword [rsi + 0x120], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x140], ebp
movups xmmword [rsi + 0x148], xmm6
movups xmmword [rsi + 0x158], xmm6
mov dword [rsi + 0x168], ebp
movups xmmword [rsi + 0x170], xmm6
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebp
mov qword [rsi + 0x1b0], rbx
movups xmmword [rsi + 0x198], xmm6
mov dword [rsi + 0x1a8], ebx
mov eax, dword [0x1400d4b4c]
mov dword [rsi + 0x1b8], eax
lea rcx, [rsi + 0x1c0]
call fcn.14003d8d0
lea rcx, [rsi + 0x310]
movups xmmword [rsi + 0x2f8], xmm6
mov qword [rsi + 0x308], rbx
xor edx, edx
call fcn.14003c510
lea rcx, [rsi + 0x318]
xor edx, edx
call fcn.14003c510
lea rcx, [rsi + 0x320]
xor edx, edx
call fcn.14003c510
movups xmmword [rsi + 0x328], xmm6
movups xmmword [rsi + 0x338], xmm6
mov dword [rsi + 0x348], ebp
movups xmmword [rsi + 0x350], xmm6
movups xmmword [rsi + 0x360], xmm6
movups xmmword [rsi + 0x370], xmm6
mov byte [rsi + 0x380], bl
mov dword [rsi + 0x384], edi
mov byte [rsi + 0x388], bl
movups xmmword [rsi + 0x390], xmm6
movups xmmword [rsi + 0x3a0], xmm6
call fcn.140019e90
call fcn.140038110
mov dword [rsi + 0x1a8], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x1a0], rax
mov rcx, rsi
call fcn.140038670
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14003865b
call fcn.14003d010
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.14003d0c0
mov qword [0x1400f2c88], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1400fc008]
jmp 0x140038629
Function at 0x14003b500
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea rdi, [rsp + 0x38]
mov dword [rdi], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [0x1400d8c40]
test eax, eax
jne 0x14003b587
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14003b571
cmp dword [rsp + 0x38], 4
jne 0x14003b571
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140068e50
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x14003b571

Function at 0x14003b590
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140068df0
sub rsp, rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rsi, [rsp + 0x840]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.14006af70
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
call qword [0x1400d8c40]
test eax, eax
jne 0x14003b643
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14003b647
lea rdx, [rsp + 0x840]
mov rcx, r14
call fcn.14002e640
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140068e50
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14003b624
cmp eax, 2
jne 0x14003b68f
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.14006af70
lea rcx, [rsp + 0x840]
mov rdx, rsi
mov r8d, 0x400
call qword [0x1400d8ce0]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14003b696
lea rdx, [rsp + 0x40]
jmp 0x14003b61a
mov edi, 0x3f4
jmp 0x14003b624
mov edi, 0xea
jmp 0x14003b624
Function at 0x140001082
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
jmp 0x1405a6dc0
xor r8d, r8d
mov r9d, edx
mov r10, rcx
test edx, edx
jle 0x1405a6e13
lea r11, str.RiQh14VBfO._
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x2aaaaaab
lea r10, [r10 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
inc r8d
lea ecx, [rdx + rdx*2]
shl ecx, 2
sub eax, ecx
cdqe
movzx eax, byte [rax + r11]
xor byte [r10 - 1], al
cmp r8d, r9d
jl 0x1405a6de0
mov eax, r9d
ret
Function at 0x1400010c8
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1405a7c38
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1405a7cc5
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1405a7cc5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1405a7cc5
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1405a7cac
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1405a7ca6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1405a7cae
add rdx, 0x28
jmp 0x1405a7c8b
xor edx, edx
test rdx, rdx
jne 0x1405a7cb7
xor al, al
jmp 0x1405a7ccb
cmp dword [rdx + 0x24], 0
jge 0x1405a7cc1
xor al, al
jmp 0x1405a7ccb
mov al, 1
jmp 0x1405a7ccb
xor al, al
jmp 0x1405a7ccb
add rsp, 0x18
ret

Function at 0x140001122
Capabilities:
Terminate process

Disassembly:
jmp 0x1405a7440
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 0x140001154
Capabilities:
Terminate process

Disassembly:
jmp 0x1405a7428
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400011f4
test al, al
je 0x1405a72f3
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400011cc
mov bl, al
mov ecx, dword [0x1405ae828]
cmp ecx, 1
je 0x1405a72fe
test ecx, ecx
jne 0x1405a7229
mov dword [0x1405ae828], 1
lea rdx, [0x1405ac660]
lea rcx, [0x1405ac330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1405a720a
mov eax, 0xff
jmp 0x1405a72e3
lea rdx, [0x1405ac220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1405ae828], 2
jmp 0x1405a7231
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011b8
call fcn.140001177
mov rbx, rax
cmp qword [rax], 0
je 0x1405a7264
mov rcx, rax
call fcn.1400010c8
test al, al
je 0x1405a7264
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x1405b2020]
call fcn.140001195
mov rbx, rax
cmp qword [rax], 0
je 0x1405a7286
mov rcx, rax
call fcn.1400010c8
test al, al
je 0x1405a7286
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.14000114f
mov ebx, eax
call fcn.140001159
test al, al
je 0x1405a7308
test sil, sil
jne 0x1405a72bd
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010be
mov eax, ebx
jmp 0x1405a72e3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400011c2
nop
mov ecx, 7
call fcn.1400011c2
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.140001168
add rsp, 0x28
jmp 0x1405a719c

Function at 0x140001159
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
cmp ecx, 2
jge 0x1405a6e57
lea rcx, str.____Missing_PID..._Finding..._n
call fcn.1400010f5
jmp 0x1405a6e65
mov rcx, qword [rdx + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
jne 0x1405a6e7d
lea rcx, str.____Process_not_found_n
call fcn.1400010f5
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, eax
call fcn.1400010af
xor eax, eax
add rsp, 0x28
ret

Function at 0x1405a81e8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1405a81e8
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1405a8232
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1405a8232
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1405a8232
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1405a8232
cmp dword [rcx + 0x84], 0xe
jbe 0x1405a8232
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1405a8234
xor al, al
add rsp, 0x28
ret
Function at 0x14000fc24
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1400c6038], 0
je 0x14000fc4e
mov ecx, 3
mov byte [0x1400c5ff4], 0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
add rsp, 0x28
ret
Function at 0x1400112e8
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400c1010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edx, ecx
lea r8, [rsp + 0x20]
mov ecx, 0x400
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor ecx, ecx
test eax, eax
je 0x140011326
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400af450
add rsp, 0x48
ret

Function at 0x14001133c
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
mov edx, ecx
lea r8, [rsp + 0x38]
mov ecx, 0x400
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor ecx, ecx
test eax, eax
je 0x140011363
movzx ecx, byte [rsp + 0x38]
mov al, cl
add rsp, 0x28
ret

Function at 0x140011370
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
mov ecx, reloc.ODBC32.dll_SQLFetch
call fcn.1400112e8
mov ecx, 0x23
mov dword [0x1400c7b21], eax
call fcn.1400112e8
mov ecx, SQLDriverConnect
mov dword [0x1400c7b25], eax
call fcn.1400112e8
mov ecx, 0x21
mov dword [0x1400c7b3a], eax
call fcn.1400112e8
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [0x1400c7b3e], eax
call fcn.14001133c
mov ecx, 0x1e
mov byte [0x1400c7b20], al
call fcn.14001133c
mov ecx, reloc.ODBC32.dll_SQLFreeEnv
mov byte [0x1400c7b29], al
call fcn.14001133c
mov ecx, reloc.ODBC32.dll_SQLFreeConnect
mov byte [0x1400c7b60], al
call fcn.14001133c
mov ecx, 0x1d
mov byte [0x1400c7b61], al
call fcn.14001133c
mov r9d, 8
mov byte [0x1400c7b62], al
lea r8, [0x1400c7b2a]
mov ecx, 0x400
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov r9d, 8
lea r8, [0x1400c7b32]
neg eax
sbb cl, cl
and byte [0x1400c7b2a], cl
lea edx, [r9 + 0x21]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov r9d, SQLSetParam
lea r8, [0x1400c7b42]
neg eax
mov ecx, 0x400
sbb dl, dl
and byte [0x1400c7b32], dl
lea edx, [r9 + 0xa]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov r9d, 9
lea r8, [0x1400c7b57]
neg eax
mov ecx, 0x400
sbb dl, dl
and byte [0x1400c7b42], dl
lea edx, [r9 + 0xb]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
neg eax
mov edx, reloc.ODBC32.dll_SQLDescribeParam
movzx eax, byte [0x1400c7b29]
sbb cl, cl
and byte [0x1400c7b57], cl
mov ecx, eax
cmp al, byte [0x1400c7b62]
cmove ecx, edx
mov byte [0x1400c7b29], cl
call fcn.14001a768
lea rax, str.pM_f_
mov qword [0x1400c7b00], rax
lea rax, [0x1400c7a20]
mov qword [0x1400c7b68], rax
add rsp, 0x28
ret
Function at 0x1400136dc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ecx, reloc.ODBC32.dll_SQLFreeStmt
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, SQLPrepare
shr ebx, 1
and ebx, 0x4000
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
mov ecx, reloc.ODBC32.dll_SQLNumResultCols
and edi, 0x8000
or edi, ebx
shr edi, 2
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [rsp + 0x30]
and eax, 0x8000
or eax, edi
shr eax, 0xa
add rsp, 0x20
pop rdi
ret

Function at 0x1400139c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, 1
mov esi, ebx
test rcx, rcx
jne 0x1400139fc
cmp dword [0x1400c6170], ecx
jg 0x1400139fc
cmp dword [0x1400c7528], ecx
jg 0x1400139fc
cmp byte [0x1400c6038], cl
je 0x140013a50
cmp dword [0x1400c6018], ebx
jne 0x140013a50
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [0x1400c5ff8]
mov ebp, eax
mov dword [0x1400c5ff8], 0x3000
mov ecx, 0xe000
call fcn.14000fc54
test eax, eax
jne 0x140013a4a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0x3e8
jb 0x140013a46
xor edx, edx
mov ecx, ebx
call fcn.140013a68
mov esi, eax
xor ebx, ebx
test esi, esi
jne 0x140013a1c
mov dword [0x1400c5ff8], edi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140013a68
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400c1010]
xor rax, rsp
mov qword [rbp + 0x40], rax
and dword [rsp + 0x20], 0
cmp byte [0x1400c6a4c], 0
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
je 0x140013ab4
xor eax, eax
jmp 0x140013bb3
mov rax, qword [0x1400c6040]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rdx, rsp
lea rax, [rsp + 0x40]
mov qword [0x1400c6040], rax
call sub.VCRUNTIME140.dll___intrinsic_setjmp
test eax, eax
jne 0x140013b8d
cmp dword [rsp + 0x28], eax
je 0x140013af3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400c61a4], eax
mov r13d, dword [rsp + 0x20]
lea rbx, [0x1400c1a08]
mov byte [0x1400c6a4c], 1
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov r14d, eax
sub esi, dword [0x1400c61a4]
jns 0x140013b24
and dword [0x1400c61a4], 0
mov esi, eax
mov ecx, 0x8000
call fcn.14000fc54
test eax, eax
jne 0x140013b8d
cmp dword [0x1400c6018], 1
jne 0x140013b8d
mov rax, qword [rbx - 8]
test rax, rax
je 0x140013b69
cmp dword [rbp + 0x88], 0
jne 0x140013b52
cmp dword [rbx], 0
jne 0x140013b69
mov ecx, dword [rsp + 0x28]
mov r8d, r14d
mov edx, esi
call qword [0x1400b1958]
or r13d, eax
mov dword [rsp + 0x20], r13d
inc edi
add rbx, 0xc
cmp edi, 7
jb 0x140013b08
mov rax, qword [rsp + 0x30]
mov qword [0x1400c6040], rax
mov eax, dword [rsp + 0x20]
mov byte [0x1400c6a4c], 0
jmp 0x140013bb3
cmp dword [rbp + 0x88], 0
mov rcx, qword [rsp + 0x30]
mov qword [0x1400c6040], rcx
mov byte [0x1400c6a4c], 0
je 0x140013bae
call fcn.14000fc24
mov eax, 1
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400af450
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015348
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400c1010]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rcx, qword [0x1400c7af0]
test rcx, rcx
je 0x140015508
cmp dword [0x1400c7af8], 0
mov ebx, 2
mov r15d, 0x410
je 0x1400154cb
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.USER32.dll_DeleteMenu]
xor edi, edi
mov edx, r15d
jmp 0x1400153b7
inc edi
mov edx, edi
or edx, r15d
mov rcx, qword [0x1400c7af0]
xor r8d, r8d
call qword [sym.imp.USER32.dll_DeleteMenu]
test eax, eax
jne 0x1400153b0
xor esi, esi
xor ecx, ecx
jmp 0x1400154a8
test rdi, rdi
je 0x1400153f2
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongA]
shr eax, 0x1f
test eax, eax
jne 0x1400154a5
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov edx, 0xfffffff0
mov rcx, rdi
mov r14, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
shr eax, 0x1c
not eax
test al, 1
jne 0x14001549b
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14001549b
cmp esi, 9
jg 0x14001549b
mov rax, qword [r14]
mov dword [rax + 0x1c], esi
jne 0x140015456
mov rcx, qword [0x1400c7b80]
lea r8, [rsp + 0x30]
mov r9d, 0x5b
mov edx, 0x110003
call qword [sym.imp.Mso30Win32Client.dll_Ordinal_474]
mov eax, ebx
jmp 0x140015480
lea eax, [rsi + 0x31]
mov byte [rsp + 0x30], SQLDriverConnect
mov r8d, 0x58
mov byte [rsp + 0x31], al
lea rdx, [rsp + 0x33]
mov byte [rsp + 0x32], 0x20
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, esi
or eax, r15d
mov rcx, qword [0x1400c7af0]
lea r9, [rsp + 0x30]
mov r8d, eax
xor edx, edx
call qword [sym.imp.USER32.dll_AppendMenuA]
inc esi
jmp 0x1400154a5
mov rax, qword [r14]
mov dword [rax + 0x1c], 9
mov rcx, rdi
or edx, 0xffffffff
mov dword [rsp + 0x20], 4
call fcn.140018278
mov rdi, rax
test rax, rax
jne 0x1400153d4
and dword [0x1400c7af8], 0
mov rcx, qword [0x1400c6a68]
test rcx, rcx
je 0x140015508
mov edx, ebx
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov rcx, qword [rax]
cmp dword [rcx + 0x1c], 9
je 0x1400154ee
mov ebx, dword [rcx + 0x1c]
or ebx, r15d
mov rcx, qword [0x1400c7af0]
test rcx, rcx
je 0x140015508
mov r8d, 8
mov edx, ebx
call qword [sym.imp.USER32.dll_CheckMenuItem]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400af450
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret