joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140097ef0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, rcx
mov dword [rcx + 0x9c4], 0
mov ecx, reloc.COMCTL32.dll_InitCommonControls
xor r14b, r14b
call qword [sym.imp.USER32.dll_GetKeyState]
mov r12d, 0x8000
mov ecx, InitCommonControls
movzx esi, ax
and si, r12w
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebp, ax
mov ecx, 0x12
and bp, r12w
call qword [sym.imp.USER32.dll_GetKeyState]
movzx r15d, ax
mov ecx, 0x5b
and r15w, r12w
setne dil
call qword [sym.imp.USER32.dll_GetKeyState]
test r12w, ax
jne 0x140097f81
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
test r12w, ax
je 0x140097f84
mov r14b, 1
mov r8d, dword [rbx + 0x9c0]
test r8d, r8d
je 0x140097fa5
test si, si
jne 0x140097faa
test bp, bp
jne 0x140097fa5
test r15w, r15w
jne 0x140097fa5
mov dil, 1
jmp 0x140097faa
test si, si
je 0x140097fb1
or dword [rbx + 0x9c4], 2
mov edx, dword [rbx + 0x9c4]
test bp, bp
je 0x140097fc5
or edx, 4
mov dword [rbx + 0x9c4], edx
test dil, dil
je 0x140097fd3
or edx, 1
mov dword [rbx + 0x9c4], edx
test r14b, r14b
je 0x140097fe1
or edx, 8
mov dword [rbx + 0x9c4], edx
lea rcx, [rsp + 0x20]
call fcn.140095550
cmp qword [rsp + 0x30], 0
jne 0x14009800a
mov r8d, 1
lea rdx, [0x1401d1560]
lea rcx, [rsp + 0x20]
call fcn.140003280
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400576f0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140098055
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140098050
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098074
call fcn.14017b7ac
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
call fcn.1401b08a0
int3
Function at 0x1400a5c60
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov r11, rsp
sub rsp, 0x2f8
mov eax, dword [0x14022eb98]
test eax, eax
jne 0x1400a5d76
mov qword [r11 + 0x10], rbx
lea ecx, [rax + 6]
mov qword [r11 - 8], rdi
xor r8d, r8d
xor edi, edi
xor edx, edx
mov ebx, edi
call fcn.140012600
test al, al
je 0x1400a5cea
mov rax, qword [0x14022eb90]
test rax, rax
jne 0x1400a5cca
lea rcx, str.shell32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SHGetStockIconInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14022eb90], rax
test rax, rax
je 0x1400a5cea
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0x220
mov edx, 0x4000
mov ecx, 3
call rax
test eax, eax
cmove ebx, dword [rsp + 0x40]
mov dword [0x14022eb98], ebx
test ebx, ebx
jne 0x1400a5d64
lea r8, [rsp + 0x300]
xor ecx, ecx
lea edx, [rbx + 0x25]
call sub.SHELL32.dll_SHGetSpecialFolderLocation
mov rbx, qword [rsp + 0x300]
test rbx, rbx
je 0x1400a5d5a
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x2b8
call sub.msvcrt.dll_memset
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4008
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
test eax, eax
mov rcx, qword [rsp + 0x300]
cmovg edi, eax
call qword [sym.imp.SHELL32.dll_ILFree]
mov dword [0x14022eb98], edi
mov eax, edi
jmp 0x1400a5d66
mov eax, ebx
mov rbx, qword [rsp + 0x308]
mov rdi, qword [rsp + 0x2f0]
add rsp, 0x2f8
ret
Function at 0x1400a7070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, r9
mov r14, r8
mov edi, edx
mov rsi, rcx
cmp edx, 0x104
je 0x1400a713c
cmp edx, 0x105
je 0x1400a7104
lea eax, [rdx - 0x20b]
cmp eax, 1
ja 0x1400a71bb
call fcn.14002a5e0
xor ebx, ebx
lea r9, vtable.type_info.0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r8, vtable.type_info.0
xor edx, edx
call sub.msvcrt.dll___RTDynamicCast
mov r12, rax
test rax, rax
je 0x1400a71bb
cmp edi, 0x20c
mov word [rbp - 0x1c], bx
mov ecx, ebx
sete cl
add ecx, 0x3c
mov dword [rbp - 0x38], ecx
jmp 0x1400a7173
call fcn.14002a5e0
xor ebx, ebx
lea r9, vtable.type_info.0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r8, vtable.type_info.0
xor edx, edx
call sub.msvcrt.dll___RTDynamicCast
mov r12, rax
test rax, rax
je 0x1400a71bb
mov dword [rbp - 0x38], 0x3b
jmp 0x1400a716e
call fcn.14002a5e0
xor ebx, ebx
lea r9, vtable.type_info.0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r8, vtable.type_info.0
xor edx, edx
call sub.msvcrt.dll___RTDynamicCast
mov r12, rax
test rax, rax
je 0x1400a71bb
mov dword [rbp - 0x38], 0x3a
mov word [rbp - 0x1c], r14w
xorps xmm0, xmm0
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x40]
movss dword [rbp - 8], xmm0
mov rcx, rsi
mov dword [rbp - 0x20], ebx
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r15
call fcn.1400282a0
mov rcx, qword [rax]
mov qword [rbp - 0x24], rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x28], eax
lea rdx, [rbp - 0x38]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x1e0]
mov r9, r15
mov r8, r14
mov edx, edi
mov rcx, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
jmp fcn.140040ce0
Function at 0x1400b1d70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b1d90
and eax, 0x10
test al, al
jne 0x1400b1d90
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400b8ca0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movzx ebx, r9w
mov rsi, rcx
shr r9, 0x10
movzx edi, r9w
call fcn.14008f2f0
mov ebp, dword [rax + 0x68]
call fcn.14008f2f0
mov ecx, dword [rax + 0x100]
mov eax, ecx
shr eax, 8
movzx edx, cl
movzx r8d, al
test ebp, ebp
je 0x1400b8d07
mov eax, ebp
shr eax, 8
movzx eax, al
cmp ebx, eax
jne 0x1400b8d07
movzx eax, bpl
cmp edi, eax
jne 0x1400b8d07
mov rcx, rsi
call fcn.1400a2d80
jmp 0x1400b8e70
test ecx, ecx
je 0x1400b8d60
cmp ebx, r8d
jne 0x1400b8d60
cmp edi, edx
jne 0x1400b8d60
mov rcx, qword [rsi + 0x1280]
test rcx, rcx
je 0x1400b8d60
xor edx, edx
call fcn.140041840
mov rcx, qword [rsi + 0x1280]
mov r8b, 1
movzx edx, r8b
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsi + 0x1280]
call fcn.140026de0
mov rcx, rax
call fcn.1400cad10
mov rcx, qword [rsi + 0x1280]
call fcn.1400cb010
jmp 0x1400b8e70
shl ebx, 8
or ebx, edi
call fcn.14008f0d0
mov rcx, rax
lea rdx, [rsp + 0x30]
mov r8d, ebx
call fcn.1400a59d0
mov r9, qword [rsp + 0x30]
mov edi, 0xffffffff
test r9, r9
je 0x1400b8e3f
xor ebp, ebp
lea r8, [0x1400cbfc0]
mov qword [rsp + 0x28], rbp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x30]
inc dword [rax + 0x168]
call fcn.14008f210
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.1400901c0
mov r8, qword [rsp + 0x30]
mov ebx, ebp
mov rdx, qword [r8 + 0x10]
test rdx, rdx
je 0x1400b8e01
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400b8e01
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1400b8df9
mov eax, dword [rdx + 8]
test eax, eax
jne 0x1400b8de6
jmp 0x1400b8e01
mov rbp, qword [r8 + 8]
mov rbx, qword [r8 + 0x10]
cmp dword [rbp + 0xc], 1
jne 0x1400b8e11
xor edx, edx
mov rcx, rsi
call fcn.1400c3510
test rbx, rbx
je 0x1400b8e3f
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b8e3f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b8e3f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400b8e70
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b8e70
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400b8e70
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400cad10
Capabilities:
Check for foreground window switch
Log keystrokes

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x40
mov rbx, rcx
xor bpl, bpl
call qword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
setne dil
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1400cad5f
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf120
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
test dil, dil
jne 0x1400cae40
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
xor r15d, r15d
mov r14d, r15d
mov qword [rsp + 0x60], rsi
nop dword [rax]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
je 0x1400cae25
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, 1
mov ecx, esi
mov edx, eax
mov edi, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov dword [rsp + 0x30], 3
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r15d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, 0xffffffff
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, edi
mov ecx, esi
test eax, eax
setne bpl
xor r8d, r8d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r14d
cmp r14d, 0xa
jl 0x1400cad80
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
movzx eax, bpl
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.USER32.dll_BringWindowToTop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
setne al
movzx eax, al
add rsp, 0x40
pop rdi
pop rbp
pop rbx
ret
Function at 0x1400d3720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x1400d3764
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400d3750
ret
Function at 0x1400ec520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0x98]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x1400ec720
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
movsxd rbp, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r14d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [r12 + 0x20]
test al, al
jne 0x1400ec582
inc dword [rbx + 0x38]
mov r15d, dword [rbx + 0x38]
jmp 0x1400ec592
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0xcc]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r14 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x1400ec5bf
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, rdi
call fcn.1401022b0
jmp 0x1400ec5ed
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x61
mov r9, qword [r9 + 0x68]
call fcn.140135ef0
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1400ec631
mov edx, 5
mov rcx, rdi
call fcn.140102320
test eax, eax
jne 0x1400ec70c
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r13d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r13d
lea ecx, [r14 + 1]
mov byte [rdx + 1], r13b
add eax, 2
mov dword [rdx + 8], eax
lea eax, [r14 - 1]
mov qword [rdx + 0x10], r13
mov word [rdx + 2], r13w
mov qword [rdx + 0x18], 0x78
mov qword [rdx + 0x20], r13
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], 0x5b
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r13
mov qword [rdx + 0x48], 0x79
mov qword [rdx + 0x50], r13
mov qword [rdx + 0x58], r13
mov qword [rdx + 0x60], 0x74
mov qword [rdx + 0x68], r13
mov qword [rdx + 0x70], r13
add dword [rdi + 0x90], 5
mov dword [rdx + 0x34], eax
mov eax, 8
mov word [rdx + 0x4a], ax
mov dword [rdx + 4], ecx
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x3c], r15d
mov dword [rdx + 0x50], r15d
mov dword [rdx + 0x54], ecx
test r15d, r15d
je 0x1400ec700
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400ec700
movzx eax, al
mov dword [rbx + rax*4 + 0xcc], r15d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400ec560
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ec940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov r13, rcx
mov r15d, edx
mov r12d, r9d
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov r14, qword [r11]
mov r10, qword [rax + 8]
movsxd rax, dword [r10 + 0x30]
movsxd r10, dword [r11 + 0x30]
cmp eax, r10d
mov qword [rsp + 0x20], rax
mov ecx, r10d
cmovl ecx, eax
xor ebx, ebx
imul r15, rax
mov dword [rsp + 0x78], ecx
mov rcx, rax
cmp eax, r10d
je 0x1400ec9a3
cmp byte [r14 + 0x10], bl
mov eax, 8
cmovne ebx, eax
mov rdi, r15
sub rdi, rcx
test ebx, ebx
jne 0x1400ecb44
mov qword [rsp + 0x88], rbp
mov rbp, r10
mov qword [rsp + 0x30], rsi
cmp rdi, r15
jge 0x1400ecb26
mov rax, rdi
mov qword [rsp + 0x70], 0
cqo
idiv rbp
mov rsi, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r13 + 8]
mov rcx, qword [rax + 8]
mov eax, dword [0x140227478]
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x1400ecb1b
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, r10d
mov rcx, r14
call qword [r14 + 0x108]
mov ebx, eax
test eax, eax
jne 0x1400ecac2
mov rcx, qword [rsp + 0x70]
test byte [rcx + 0x34], 4
mov rdx, qword [rcx + 0x28]
je 0x1400eca49
mov eax, dword [rcx + 0x30]
cmp dword [rdx + 0x1c], eax
jb 0x1400eca49
cmp dword [rdx + 0x80], ebx
je 0x1400eca45
call fcn.140162750
jmp 0x1400eca6a
xor ebx, ebx
jmp 0x1400eca75
mov ebx, dword [rdx + 0x2c]
test ebx, ebx
jne 0x1400ecac7
mov eax, dword [rdx + 0xbc]
cmp dword [rdx + 0xb8], eax
jbe 0x1400eca65
call fcn.14010a2d0
jmp 0x1400eca6a
call fcn.14010b4e0
mov rcx, qword [rsp + 0x70]
mov ebx, eax
test eax, eax
jne 0x1400ecac7
add rsi, qword [rcx + 8]
mov rax, rdi
movsxd r8, dword [rsp + 0x78]
cqo
idiv qword [rsp + 0x20]
mov rcx, rsi
add rdx, qword [rsp + 0x80]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov byte [rcx], 0
test rdi, rdi
jne 0x1400ecac2
test r12d, r12d
jne 0x1400ecac2
mov rax, qword [r13 + 0x28]
mov rcx, qword [rax + 8]
mov eax, dword [rcx + 0x3c]
btr eax, 0x1f
bswap eax
mov dword [rsi + 0x1c], eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400ecb1b
test byte [rcx + 0x34], 0x20
je 0x1400ecb16
mov r8, qword [rcx + 0x28]
mov rax, qword [r8 + 0xa8]
dec dword [r8 + 0x98]
mov qword [rcx + 0x20], rax
mov r9, qword [r8 + 0x48]
movsxd rax, dword [r8 + 0xbc]
mov qword [r8 + 0xa8], rcx
mov edx, dword [rcx + 0x30]
mov r8, qword [rcx + 8]
dec edx
mov r10, qword [r9]
mov rcx, r9
imul rdx, rax
call qword [r10 + 0x90]
jmp 0x1400ecb1b
call fcn.140138d70
add rdi, rbp
test ebx, ebx
je 0x1400ec9c1
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rbp, qword [rsp + 0x88]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
Function at 0x1400fb0c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
sub rsp, 0x28
movzx eax, byte [rdx]
mov rbx, rdx
mov rbp, rcx
cmp al, 0xad
jne 0x1400fb0d8
movzx eax, byte [rdx + 2]
cmp al, 0xae
jne 0x1400fb0e2
mov rax, qword [rdx + 0x20]
jmp 0x1400fb0f2
cmp al, 0x88
jne 0x1400fb193
mov rax, qword [rdx + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x1400fb193
mov qword [rsp + 0x48], rdi
xor edi, edi
mov dword [r8], edi
cmp byte [rdx], 0x88
jne 0x1400fb120
mov rcx, rbp
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
pop rbp
pop rbx
jmp fcn.14011e430
mov eax, dword [rbp + 0x38]
mov qword [rsp + 0x50], r14
mov r14, rcx
mov qword [rsp + 0x20], r15
lea r15d, [rax + 1]
add eax, ecx
mov dword [rbp + 0x38], eax
test ecx, ecx
jle 0x1400fb18e
mov qword [rsp + 0x40], rsi
mov esi, r15d
nop word [rax + rax]
mov rdx, qword [rbx + 0x20]
mov r8d, esi
mov rcx, rbp
mov rdx, qword [rdx + rdi + 8]
call fcn.140124d70
inc esi
lea rdi, [rdi + 0x20]
sub r14, 1
jne 0x1400fb150
mov rsi, qword [rsp + 0x40]
mov eax, r15d
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x48]
add rsp, 0x28
pop rbp
pop rbx
ret
mov eax, r15d
jmp 0x1400fb178
mov rcx, rbp
add rsp, 0x28
pop rbp
pop rbx
jmp fcn.1401276b0
Function at 0x140110600
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
lea r9, str.sqlite_master
mov rdi, rdx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r8, rdx
lea rdx, str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rsi, rcx
call fcn.140135c70
test ebx, ebx
jne 0x140110654
mov r9, rdi
lea r8, str.sqlite_master
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.140135c70
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14011d270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rcx]
mov r12, r9
movsxd r10, edx
mov r13, r8
shl r10, 5
mov r15, rcx
mov r14d, 1
mov rdx, qword [rax + 0x20]
mov rsi, qword [r10 + rdx]
nop dword [rax]
mov r9d, r14d
lea r8, str.sqlite_stat_d
lea rdx, [rsp + 0x30]
mov ecx, ILCombine
call fcn.1400d8bf0
mov rbp, qword [r15]
lea rdi, [rsp + 0x30]
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x14011d355
nop dword [rax + rax]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
test rsi, rsi
je 0x14011d324
mov rcx, qword [rbp + 0x20]
mov rax, rsi
movsxd rdx, r10d
shl rdx, 5
mov r9, qword [rdx + rcx]
sub r9, rsi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x14011d396
test edx, edx
jne 0x14011d3ac
mov rax, qword [rbp + 0x20]
xor r8d, r8d
movsxd rcx, r10d
mov rdx, rdi
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1400fcac0
cmp qword [rax + 0x10], 0
jne 0x14011d40d
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x14011d2e0
lea r8, str.sqlite_master
sub r8, rdi
nop
movzx ecx, byte [rdi]
movzx eax, byte [r8 + rdi]
cmp ecx, eax
jne 0x14011d3b4
test ecx, ecx
jne 0x14011d3c7
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test rsi, rsi
jne 0x14011d3cc
neg r9
sbb edx, edx
test edx, edx
jne 0x14011d42e
lea rdi, str.sqlite_temp_master
jmp 0x14011d2d1
lea r11, [0x1401d9cf0]
movzx r8d, byte [rcx + r11]
movzx edx, byte [rdx + r11]
cmp edx, r8d
jne 0x14011d34e
inc rax
jmp 0x14011d310
lea rbx, [0x1401d9cf0]
movzx edx, byte [rax + rbx]
movzx ecx, byte [rcx + rbx]
cmp ecx, edx
jne 0x14011d42e
inc rdi
jmp 0x14011d360
test r9, r9
je 0x14011d42e
mov r8, rsi
lea r10, [0x1401d9cf0]
sub r9, rsi
nop
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x14011d3f6
test edx, edx
je 0x14011d38a
inc r8
jmp 0x14011d3e0
movzx ecx, byte [rax + r10]
movzx edx, byte [rdx + r10]
sub edx, ecx
jne 0x14011d382
inc r8
jmp 0x14011d3e0
mov qword [rsp + 0x28], r12
lea r9, [rsp + 0x30]
mov r8, rsi
mov qword [rsp + 0x20], r13
lea rdx, str.DELETE_FROM__Q._s_WHERE__s_Q
mov rcx, r15
call fcn.140135c70
inc r14d
cmp r14d, 4
jle 0x14011d2b0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14012a4d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
xor r10d, r10d
mov rdi, r8
mov ebx, r10d
mov rbp, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x14012a588
mov qword [rsp + 0x48], r14
lea r14, [0x1401d9cf0]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd r9, eax
shl r9, 5
add r9, qword [rsi + 0x20]
mov r11, qword [r9 + 0x18]
test rdi, rdi
je 0x14012a540
mov r9, qword [r9]
mov rax, rdi
sub r9, rdi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x14012a574
test edx, edx
jne 0x14012a583
lea rcx, [r11 + 0x20]
xor r8d, r8d
mov rdx, rbp
call fcn.1400fcac0
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x14012a55f
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x14012a500
mov r14, qword [rsp + 0x48]
mov rax, r10
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
movzx r8d, byte [rcx + r14]
movzx edx, byte [rdx + r14]
cmp edx, r8d
jne 0x14012a558
inc rax
jmp 0x14012a530
mov rbx, qword [rsp + 0x50]
mov rax, r10
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x14012a5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, r8
lea r14, [0x1401d9cf0]
mov rdi, rdx
mov rbp, rcx
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x14012a647
nop dword [rax]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
test rsi, rsi
je 0x14012a614
mov rcx, qword [rbp + 0x20]
mov rax, rsi
movsxd rdx, r10d
shl rdx, 5
mov r9, qword [rdx + rcx]
sub r9, rsi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x14012a683
test edx, edx
jne 0x14012a692
mov rax, qword [rbp + 0x20]
xor r8d, r8d
movsxd rcx, r10d
mov rdx, rdi
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1400fcac0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14012a6eb
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x14012a5d0
lea r8, str.sqlite_master
sub r8, rdi
movzx ecx, byte [rdi]
movzx eax, byte [r8 + rdi]
cmp ecx, eax
jne 0x14012a69a
test ecx, ecx
jne 0x14012a6a8
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test rsi, rsi
jne 0x14012a6ad
neg r9
sbb edx, edx
test edx, edx
jne 0x14012a6e9
lea rdi, str.sqlite_temp_master
jmp 0x14012a5c2
movzx r8d, byte [rcx + r14]
movzx edx, byte [rdx + r14]
cmp edx, r8d
jne 0x14012a640
inc rax
jmp 0x14012a600
movzx edx, byte [rax + r14]
movzx ecx, byte [rcx + r14]
cmp ecx, edx
jne 0x14012a6e9
inc rdi
jmp 0x14012a651
test r9, r9
je 0x14012a6e9
mov r8, rsi
sub r9, rsi
nop dword [rax + rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x14012a6d6
test edx, edx
je 0x14012a677
inc r8
jmp 0x14012a6c0
movzx ecx, byte [rax + r14]
movzx edx, byte [rdx + r14]
sub edx, ecx
jne 0x14012a673
inc r8
jmp 0x14012a6c0
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret