joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d7e1a00
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d7e1a10
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d7e1a20
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d7e1a61
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d7e1a58
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7e1a63
add rax, 0x28
cmp rax, r9
jne 0x6d7e1a44
xor eax, eax
ret

Function at 0x6d7e1b00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7ff1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7e1b6d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7e1b6d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7e1b6d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7e1b64
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7e1b6f
add rax, 0x28
cmp rax, r9
jne 0x6d7e1b50
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7e1c70
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7ff1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7e1c90
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7e1c88
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7e1ced
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7e1ce4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7e1cf4
add rax, 0x28
cmp rax, r9
jne 0x6d7e1cd0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7e1d10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d7ff1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7e1d7e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7e1d7e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7e1d7e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7e1d7e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d7e1d75
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7e1d85
add rcx, 0x28
cmp rcx, rax
jne 0x6d7e1d60
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7e1d98
jmp 0x6d7e1d7e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7e1da6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7e1d7e
test r9d, r9d
jg 0x6d7e1d90
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7e2100
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1400234c0
Capabilities:
Enumerate files on windows

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2e8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r8, qword [rsp + 0x300]
mov rdx, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x2f0]
call fcn.1400236c0
mov rdx, qword [rsp + 0x2f8]
lea rcx, [rsp + 0x40]
call fcn.140015150
nop
lea rdx, [0x1402ee770]
lea rcx, [rsp + 0x40]
call fcn.140016190
lea rcx, [rsp + 0x40]
call fcn.14000c690
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x14002368c
mov eax, dword [rsp + 0x80]
and eax, 0x10
test eax, eax
jne 0x140023665
lea rcx, [rsp + 0xac]
call fcn.140229a68
mov qword [rsp + 0x20], rax
mov r8d, 3
lea rdx, [0x1402ee780]
lea rcx, [rsp + 0xac]
call fcn.14022ae84
test eax, eax
je 0x1400235dc
mov r8d, 2
lea rdx, [0x1402ee788]
lea rcx, [rsp + 0xac]
call fcn.14022ae84
test eax, eax
je 0x1400235dc
mov r8d, 2
lea rdx, [0x1402ee790]
lea rcx, [rsp + 0xac]
call fcn.14022ae84
test eax, eax
jne 0x140023665
cmp qword [rsp + 0x20], 9
jb 0x14002360a
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax*2 + 0x9a]
mov r8d, 9
lea rdx, str._orig.exe
mov rcx, rax
call fcn.14022ae84
test eax, eax
je 0x140023665
cmp qword [rsp + 0x20], 9
jne 0x140023630
mov r8d, 9
lea rdx, [0x1402ee7b0]
lea rcx, [rsp + 0xac]
call fcn.14022ae84
test eax, eax
je 0x140023665
lea rdx, [rsp + 0xac]
lea rcx, [rsp + 0x60]
call fcn.1400179b0
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x300]
call fcn.140029f10
nop
lea rcx, [rsp + 0x60]
call fcn.14000a800
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002355a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x40]
call fcn.14000a800
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x2e8
ret
Function at 0x1400236c0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x318
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rdx, qword [rsp + 0x328]
lea rcx, [rsp + 0x50]
call fcn.140015150
nop
lea rdx, str..con
lea rcx, [rsp + 0x50]
call fcn.140016190
lea rcx, [rsp + 0x50]
call fcn.14000c690
lea rdx, [rsp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1400237e3
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x90]
call fcn.1400179b0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [0x1402ee760]
mov rcx, qword [rsp + 0x38]
call fcn.140029be0
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x90]
call fcn.14000a800
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400237bc
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x70]
call fcn.1400179b0
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x330]
call fcn.140029f10
nop
lea rcx, [rsp + 0x70]
call fcn.14000a800
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140023738
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x50]
call fcn.14000a800
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x318
ret
Function at 0x1400249f0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x368
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0x98]
call fcn.140015150
nop
lea rcx, [rsp + 0x98]
call fcn.14002a240
lea rcx, [rsp + 0x50]
call fcn.14002b540
nop
mov r8d, 1
lea rdx, [0x1402ee7c8]
lea rcx, [rsp + 0x50]
call fcn.140035c10
nop
jmp 0x140024a60
lea rcx, [rsp + 0x98]
call fcn.14000c690
lea rdx, [rsp + 0x100]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x78]
call fcn.14000a280
nop
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x140024bd2
mov rcx, qword [rsp + 0x378]
call fcn.140016540
mov eax, dword [rsp + 0x100]
and eax, 0x10
test eax, eax
je 0x140024b22
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x12c]
call fcn.14002a2d0
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140024b20
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x104], eax
jb 0x140024b20
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x108], eax
jb 0x140024b20
lea rdx, [rsp + 0x12c]
lea rcx, [rsp + 0x78]
call fcn.140016420
mov rax, qword [rsp + 0x104]
mov qword [rsp + 0x28], rax
jmp 0x140024b22
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140024ab7
lea rcx, [rsp + 0x78]
call fcn.1400165c0
movzx eax, al
test eax, eax
jne 0x140024bc7
mov byte [rsp + 0x20], 1
lea r8, str.backup_
mov rdx, qword [rsp + 0x370]
lea rcx, [rsp + 0xd8]
call fcn.14001b840
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xb8]
call fcn.140024f50
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x378]
call fcn.14001e7a0
lea rcx, [rsp + 0xb8]
call fcn.14000a800
nop
lea rcx, [rsp + 0xd8]
call fcn.14000a800
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0x78]
call fcn.14000a800
nop
lea rcx, [rsp + 0x50]
call fcn.14002c670
nop
lea rcx, [rsp + 0x98]
call fcn.14000a800
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x368
ret
Function at 0x1400574d0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
call fcn.140017c30
nop
mov rax, qword [rsp + 0x70]
add rax, 0x160
mov rcx, rax
call fcn.14000df30
nop
mov rax, qword [rsp + 0x78]
mov rcx, rax
call fcn.140009d90
test rax, rax
je 0x1400575c0
lea rcx, [rsp + 0x38]
call fcn.14000a280
nop
lea rdx, str.IF_EXISTS___SELECT__FROM_INFORMATION_SCHEMA.TABLES_WHERE_table_name__resattrdef_conflicts_________________________________BEGIN_EXEC__SELECT__id____new_id__FROM__resattrdef_conflicts_____END_
lea rcx, [rsp + 0x38]
call fcn.140057a90
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
add rax, 0x160
mov r9, rax
mov r8d, 2
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1401a92b0
mov rax, qword [rsp + 0x70]
add rax, 0x160
mov rcx, rax
call fcn.140057e60
cmp rax, 1
jb 0x14005759d
mov dword [rsp + 0x20], 1
jmp 0x1400575a5
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0x178], cl
lea rcx, [rsp + 0x38]
call fcn.14000a800
nop
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x68
ret
Function at 0x140068540
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.14001dd00
nop
mov rax, qword [rsp + 0x1b0]
lea rcx, vtable.setup::ProgressDlg.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x1b0]
add rax, 0x40
mov rcx, rax
call fcn.14014f8b0
nop
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
mov word [rcx + 0x68], ax
mov rax, qword [rsp + 0x1b0]
add rax, 0x70
mov rcx, rax
call fcn.140070a90
nop
mov rax, qword [rsp + 0x1b0]
add rax, 0x80
mov rcx, rax
call fcn.14000a280
nop
mov rax, qword [rsp + 0x1b0]
mov qword [rax + 0xa0], 0
mov rax, qword [rsp + 0x1b0]
add rax, 0x40
mov qword [rsp + 0x30], rax
mov r8d, 0x7e
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14014fdb0
mov r9d, 8
lea r8, [rsp + 0x180]
mov edx, 1
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rax, qword [rsp + 0x1b0]
add rax, 0x68
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0xd0]
call fcn.1400179b0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov r8d, 0x200
mov rax, qword [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.14006fcd0
nop
lea rcx, [rsp + 0xd0]
call fcn.14000a800
mov rax, qword [rsp + 0x1b0]
add rax, 0x40
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x1b0]
movzx edx, word [rax + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.14014fc60
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 0xffff
mov rcx, qword [rsp + 0x1b0]
mov word [rcx + 0x68], ax
mov rax, qword [rsp + 0x1b0]
add rax, 0x70
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xf0]
call fcn.14000a280
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov eax, 0x7d4
mov word [rsp + 0x24], ax
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x130]
call fcn.14006fe40
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
call fcn.140009fd0
nop
lea rcx, [rsp + 0x130]
call fcn.14000a830
nop
lea rcx, [rsp + 0xf0]
call fcn.14000a800
mov eax, 0x9b0
mov word [rsp + 0x20], ax
jmp 0x140068778
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
cmp eax, 0x9b4
jg 0x140068831
mov rax, qword [rsp + 0x1b0]
add rax, 0x70
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x110]
call fcn.14000a280
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x158]
call fcn.14006fe40
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0xa8]
call fcn.140009fd0
nop
lea rcx, [rsp + 0x158]
call fcn.14000a830
nop
lea rcx, [rsp + 0x110]
call fcn.14000a800
jmp 0x14006876b
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x1a8
ret
Function at 0x14006bce0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.14001dd00
nop
mov rax, qword [rsp + 0x1b0]
lea rcx, vtable.setup::LicenseUpgradeDlg.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x1b0]
add rax, 0x40
mov rcx, rax
call fcn.14000a280
nop
mov rax, qword [rsp + 0x1b0]
add rax, 0x60
mov rcx, rax
call fcn.14014f8b0
nop
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
mov word [rcx + 0x88], ax
mov rax, qword [rsp + 0x1b0]
add rax, 0x90
mov rcx, rax
call fcn.140070a90
nop
mov rax, qword [rsp + 0x1b0]
add rax, 0x60
mov qword [rsp + 0x30], rax
mov r8d, 0x7e
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14014fdb0
mov r9d, 8
lea r8, [rsp + 0x180]
mov edx, 1
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rax, qword [rsp + 0x1b0]
add rax, 0x88
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0xd0]
call fcn.1400179b0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
xor r9d, r9d
mov r8d, 0x200
mov rax, qword [rsp + 0x40]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.14006fcd0
nop
lea rcx, [rsp + 0xd0]
call fcn.14000a800
mov rax, qword [rsp + 0x1b0]
add rax, 0x60
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x1b0]
movzx edx, word [rax + 0x88]
mov rcx, qword [rsp + 0x50]
call fcn.14014fc60
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
and eax, 0xffff
mov rcx, qword [rsp + 0x1b0]
mov word [rcx + 0x88], ax
mov rax, qword [rsp + 0x1b0]
add rax, 0x90
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xf0]
call fcn.14000a280
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov eax, 0x7d4
mov word [rsp + 0x24], ax
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x130]
call fcn.14006fe40
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x78]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x80]
call fcn.140009fd0
nop
lea rcx, [rsp + 0x130]
call fcn.14000a830
nop
lea rcx, [rsp + 0xf0]
call fcn.14000a800
mov eax, 0xa4e
mov word [rsp + 0x20], ax
jmp 0x14006bf12
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
cmp eax, 0xa51
jg 0x14006bfcd
mov rax, qword [rsp + 0x1b0]
add rax, 0x90
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x110]
call fcn.14000a280
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x90]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x158]
call fcn.140009220
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0xa8]
call fcn.140009fd0
nop
lea rcx, [rsp + 0x158]
call fcn.14000a830
nop
lea rcx, [rsp + 0x110]
call fcn.14000a800
jmp 0x14006bf05
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x1a8
ret
Function at 0x14006c7e0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jle 0x14006c85d
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov eax, 2
mov rcx, qword [rsp + 0x30]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140222dcc
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp qword [rsp + 0x28], 0
je 0x14006c874
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
call fcn.140015550
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140222778
add rsp, 0x58
ret
Function at 0x140081ee0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x78], 0
je 0x140082155
mov rax, qword [rsp + 0x78]
cmp dword [rax + 8], 0x100
jne 0x140082155
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 9
jne 0x140081f4f
mov ecx, MsiDatabaseExportA
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x140081f46
mov qword [rsp + 0x20], SQLGetData
jmp 0x140081f4f
mov qword [rsp + 0x20], reloc.ODBC32.dll_SQLSetConnectAttr
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xd
je 0x1400820a9
cmp qword [rsp + 0x30], 0x25
je 0x140081f7e
cmp qword [rsp + 0x30], 0x27
je 0x140082031
jmp 0x140082155
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x90], 0xffffffffffffffff
jne 0x140081fac
mov rax, qword [rsp + 0x70]
add rax, 0xd0
mov rcx, rax
call fcn.14000ea10
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x90], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x90]
dec rax
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x90], rax
mov rax, qword [rsp + 0x70]
add rax, 0xd0
mov rcx, rax
call fcn.14000ea10
mov rcx, qword [rsp + 0x70]
cmp qword [rcx + 0x90], rax
jbe 0x140081ff8
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x90], 0xffffffffffffffff
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x90], 0xffffffffffffffff
je 0x140082010
mov qword [rsp + 0x28], 6
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x20]
call fcn.14000af40
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x140082155
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x90]
inc rax
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x90], rax
mov rax, qword [rsp + 0x70]
add rax, 0xd0
mov rcx, rax
call fcn.14000ea10
mov rcx, qword [rsp + 0x70]
cmp qword [rcx + 0x90], rax
jae 0x140082078
mov qword [rsp + 0x28], 6
jmp 0x140082088
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x90], 0xffffffffffffffff
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x20]
call fcn.14000af40
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x140082155
mov rax, qword [rsp + 0x70]
add rax, 0xd0
mov rcx, rax
call fcn.14000ea10
mov rcx, qword [rsp + 0x70]
cmp qword [rcx + 0x90], rax
jae 0x140082155
mov qword [rsp + 0x28], 4
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x20]
call fcn.14000af40
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
add rax, 0xd0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x90]
mov rcx, qword [rsp + 0x38]
call fcn.14004a270
mov rcx, qword [rax]
call fcn.140082680
mov eax, eax
and rax, 0xffff
movzx eax, ax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x20]
call fcn.140016630
mov qword [rsp + 0x50], rax
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov edx, 0x111
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0x28]
add rsp, 0x68
ret
Function at 0x140088370
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x218
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x220]
add rax, 0xa0
xor edx, edx
mov rcx, rax
call fcn.140100210
mov rax, qword [rsp + 0x220]
mov dword [rax + 0x48], 2
mov rax, qword [rsp + 0x220]
movzx edx, byte [rax + 0xc0]
lea rcx, [rsp + 0xa0]
call fcn.140017ec0
nop
lea rcx, [rsp + 0xa0]
call fcn.1401a7970
movzx eax, al
test eax, eax
jne 0x140088428
mov rax, qword [rsp + 0x220]
mov dword [rax + 0x48], 2
mov rax, qword [rsp + 0x220]
add rax, 8
lea rdx, [0x1402f9330]
mov rcx, rax
call fcn.140015550
nop
lea rcx, [rsp + 0xa0]
call fcn.140018400
jmp 0x140088592
lea rcx, [rsp + 0x48]
call fcn.14000df30
nop
lea rcx, [rsp + 0xa0]
call fcn.14000e130
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x178]
mov qword [rsp + 0x38], rax
mov rdx, qword [str.SELECT__id__FROM__schedule__s______WHERE_EXISTS___________SELECT_1_FROM__report__r__________WHERE_r._jobid___s._id___]
lea rcx, [rsp + 0x78]
call fcn.1400179b0
nop
lea r9, [rsp + 0x48]
mov r8d, 1
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
call qword [rsp + MsiGetFeatureValidStatesW]
nop
lea rcx, [rsp + 0x78]
call fcn.14000a800
lea rcx, [rsp + 0x48]
call fcn.1400204f0
movzx eax, al
test eax, eax
je 0x1400884cf
mov rax, qword [rsp + 0x220]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x220]
add rax, 8
lea rdx, [0x1402f9380]
mov rcx, rax
call fcn.140015550
jmp 0x14008857a
mov rax, qword [rsp + 0x220]
mov dword [rax + 0x48], 1
mov rax, qword [rsp + 0x220]
add rax, 8
lea rdx, str.The_following_scheduled_reports_will_be_deleted_during_the_upgrade:_n
mov rcx, rax
call fcn.140015550
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140009d90
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x30]
call fcn.14000af40
mov qword [rsp + 0x40], rax
jmp 0x140088531
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x20], rax
je 0x14008857a
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140017b80
nop
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140071750
mov rcx, qword [rsp + 0x220]
add rcx, 8
mov rdx, rax
call fcn.14008c280
nop
lea rcx, [rsp + 0x60]
call fcn.1400183c0
jmp 0x140088523
lea rcx, [rsp + 0x48]
call fcn.140057b10
nop
lea rcx, [rsp + 0xa0]
call fcn.140018400
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x218
ret