joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140067ad0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x14018d030]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call fcn.140130762
mov r9d, 1
lea r8d, [r9 + 0x19]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x140067cbb
mov ecx, 0x20
call fcn.14012f210
mov rsi, rax
mov qword [rsp + 0x50], 0x14
mov qword [rsp + 0x58], 0x1f
movups xmm0, xmmword [str.config_systemprofile]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401645d8]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xf
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140067b90
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140006d70
lea rbp, [rsp + 0x20]
mov r13, qword [rsp + 0x38]
cmp r13, 0x10
setae r12b
mov rdi, qword [rsp + 0x20]
cmovae rbp, rdi
mov rax, qword [rsp + 0x30]
cmp rax, 0x14
jb 0x140067c23
lea r14, [rax + rbp]
movsx r15d, byte [rsi]
lea r8, [r14 - 0x13]
sub r8, rbp
mov edx, r15d
mov rcx, rbp
call fcn.140130891
mov rbx, rax
test rax, rax
je 0x140067c23
mov r8d, 0x14
mov rdx, rsi
mov rcx, rbx
call fcn.140130750
test eax, eax
je 0x140067c58
inc rbx
lea r8, [r14 - 0x13]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call fcn.140130891
mov rbx, rax
test rax, rax
jne 0x140067bf1
test r12b, r12b
je 0x140067cae
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140067ca5
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067ca5
call qword [0x140138140]
int3
sub rbx, rbp
cmp rbx, 0xffffffffffffffff
je 0x140067c23
test r12b, r12b
je 0x140067c94
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140067c8b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067c51
mov rcx, rdi
call fcn.14012f24c
nop
mov edx, 0x20
mov rcx, rsi
call fcn.14012f24c
mov al, 1
jmp 0x140067cbd
mov rcx, rdi
call fcn.14012f24c
nop
mov edx, 0x20
mov rcx, rsi
call fcn.14012f24c
xor al, al
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14012f1f0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140067f00
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x14018d030]
xor rax, rsp
mov qword [rsp + 0x270], rax
movaps xmm0, xmmword [rcx]
xor edx, edx
movdqa xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140067f59
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140067fb6
mov qword [rsp + 0x298], rdi
mov rdi, qword [rsp + 0x20]
nop word [rax + rax]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140067fa3
mov rdx, rdi
lea rcx, [rsp + 0x5c]
call qword [0x1401381c8]
test eax, eax
jne 0x140067f70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x140067fae
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, qword [rsp + 0x298]
test eax, eax
setne al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14012f1f0
add rsp, 0x280
pop rbx
ret
Function at 0x140067fe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r13d, r13d
mov qword [rsp + 0x98], r13
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea rdx, [rsp + 0x98]
mov ecx, eax
call qword [0x140137fb8]
test eax, eax
je 0x140068034
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
nop
cmp rbx, 0xffffffff80000001
jne 0x140068043
call qword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCache]
mov rbp, r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x98], r13
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006809b
mov eax, r13d
mov rbp, qword [rsp + 0x98]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x38], 0x100
test eax, eax
je 0x1400680d4
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rax]
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400680c4
jmp 0x14006823b
mov r12, qword [r12]
mov dword [rsp + 0xb8], r13d
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x98]
xor r8d, r8d
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140068203
mov eax, dword [rsp + 0x98]
dec eax
cmp eax, 1
ja 0x140068203
mov r15d, dword [rsp + 0xb8]
shr r15d, 1
je 0x140068203
mov edi, r15d
mov eax, 2
mul rdi
mov rbx, rax
mov r8, 0xffffffffffffffff
cmovo rbx, r8
mov rcx, rbx
call fcn.14012fc80
mov r14, rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.140130762
mov qword [rsp + 0xa0], r14
lea r8, [r15 + r15]
xor edx, edx
mov rcx, r14
call fcn.140130762
lea ecx, [r15 + r15]
mov dword [rsp + 0xb8], ecx
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x98]
xor r8d, r8d
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400681dc
mov eax, dword [rsp + 0x98]
dec eax
cmp eax, 1
ja 0x1400681dc
mov eax, dword [rsp + 0xb8]
test eax, eax
je 0x1400681e9
test al, 1
jne 0x1400681dc
shr rax, 1
cmp word [r14 + rax*2 - 2], 0
je 0x1400681ed
mov rdx, qword [rsp + 0xb0]
mov rdx, qword [rdx]
jmp 0x1400681f0
mov word [r14], r13w
mov rdx, r14
mov rcx, rsi
call fcn.140006660
nop
mov rcx, r14
call fcn.14012f24c
jmp 0x140068244
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rax]
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140068230
mov rcx, rsi
call fcn.140006b20
nop
test rbp, rbp
je 0x140068253
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rax, rsi
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140068280
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rsi, r9
mov rdi, rcx
movaps xmm0, xmmword [r8]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rdx]
movdqa xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x80], 0
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea rdx, [rsp + 0x80]
mov ecx, eax
call qword [0x140137fb8]
test eax, eax
je 0x1400682d5
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
cmp rdi, 0xffffffff80000001
jne 0x1400682e4
call qword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCache]
xor ebx, ebx
mov qword [rsp + 0x90], rbx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006831e
mov rbx, qword [rsp + 0x90]
test eax, eax
jne 0x140068398
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x80], 8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140068398
cmp dword [rsp + 0x88], 0xb
jne 0x140068398
mov rdi, qword [rsp + 0x30]
test rbx, rbx
je 0x140068387
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rax, rdi
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
test rbx, rbx
je 0x1400683a6
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rax, rsi
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400683c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rsi, r9
mov r14, r8
mov rbp, rdx
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x90], r15
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea rdx, [rsp + 0x90]
mov ecx, eax
call qword [0x140137fb8]
test eax, eax
je 0x14006840f
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
cmp rdi, 0xffffffff80000001
jne 0x14006841e
call qword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCache]
mov rbx, r15
mov rbp, qword [rbp]
mov qword [rsp + 0x98], r15
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006845e
mov eax, r15d
mov rbx, qword [rsp + 0x98]
test eax, eax
je 0x14006850b
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400684c0
mov eax, r15d
test rbx, rbx
je 0x1400684bb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x14006850b
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140068502
mov eax, r15d
test rbx, rbx
je 0x1400684fd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x14006850b
xor dil, dil
jmp 0x140068568
cmp qword [r14 + 8], 0
jne 0x14006851e
cmp qword [rsi + 8], 0
jne 0x14006851e
mov dil, 1
jmp 0x140068568
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14006852b
lea eax, [rcx + 0xd]
jmp 0x140068562
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140068532
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete dil
test rbx, rbx
je 0x140068576
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
movzx eax, dil
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400685a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov r14, r9
mov r15, r8
mov rsi, rdx
mov rdi, rcx
xor ebp, ebp
mov qword [rsp + 0xa0], rbp
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea rdx, [rsp + 0xa0]
mov ecx, eax
call qword [0x140137fb8]
test eax, eax
je 0x1400685ee
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
cmp rdi, 0xffffffff80000001
jne 0x1400685fd
call qword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCache]
mov rbx, rbp
mov rsi, qword [rsi]
mov qword [rsp + 0xa8], rbp
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006863b
mov eax, ebp
mov rbx, qword [rsp + 0xa8]
test eax, eax
je 0x1400686e5
mov qword [rsp + 0x50], rbp
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14006869b
mov eax, ebp
test rbx, rbx
je 0x140068696
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x1400686e5
mov qword [rsp + 0x58], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400686dc
mov eax, ebp
test rbx, rbx
je 0x1400686d7
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
test eax, eax
je 0x1400686e5
xor dil, dil
jmp 0x14006871a
mov rax, qword [r14]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rdx, qword [r15]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete dil
test rbx, rbx
je 0x140068728
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
movzx eax, dil
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140068750
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x14018d030]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.140130762
mov r9d, 0x104
lea r8, [rbp - 0x70]
mov edx, 0x5a
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r14, str.DEFAULT_VALUE
lea rdx, [rbp - 0x70]
test eax, eax
cmove rdx, r14
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400687f0
lea rcx, [rsp + 0x48]
call fcn.140006b20
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.140130762
mov r9d, 0x104
lea r8, [rbp + 0x1a0]
mov edx, 0x59
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rdx, [rbp + 0x1a0]
test eax, eax
cmove rdx, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140068860
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.140006b20
nop
mov edx, 0x2d
lea rcx, [rsp + 0x28]
call fcn.140006430
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x78], xmm1
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.140038dc0
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140068906
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068900
call qword [0x140138140]
int3
call fcn.14012f24c
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14006894b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068946
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068946
call qword [0x140138140]
int3
call fcn.14012f24c
mov rax, rdi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14012f1f0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400b5050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r15
sub rsp, 0x68
mov r15, rdx
mov rdi, rcx
movzx edx, byte [rdx]
movzx eax, dl
cmp dl, 0xad
jne 0x1400b506e
movzx eax, byte [r15 + 2]
cmp al, 0xae
jne 0x1400b5078
mov rax, qword [r15 + 0x20]
jmp 0x1400b5088
cmp al, 0x88
jne 0x1400b5207
mov rax, qword [r15 + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x1400b5207
mov dword [r8], 0
cmp dl, 0x88
jne 0x1400b50b2
mov rdx, r15
mov rcx, rdi
add rsp, 0x68
pop r15
pop rdi
jmp fcn.1400b2e80
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x1400b51f2
mov qword [rsp + 0x80], rbx
lea rcx, [0x1400b1290]
mov qword [rsp + 0x90], rbp
mov ebp, r13d
mov qword [rsp + 0x50], r14
lea r13, [fcn.1400b1440]
xor r14d, r14d
mov qword [rsp + 0x98], rsi
lea edx, [r14 + 2]
cmp byte [rdi + 0x23], 0
mov rax, qword [r15 + 0x20]
mov rbx, qword [rax + r14 + 8]
je 0x1400b5160
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x1400b5150
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400aaac0
cmp word [rsp + 0x44], 0
je 0x1400b5160
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1400b67e0
jmp 0x1400b51a0
mov rsi, qword [rdi]
test rbx, rbx
je 0x1400b517c
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.1400aff60
mov rbx, rax
cmp byte [rsi + 0x61], 0
jne 0x1400b5190
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1400b6a90
test rbx, rbx
je 0x1400b51a0
mov rdx, rbx
mov rcx, rsi
call fcn.1400afd30
inc ebp
lea rcx, [0x1400b1290]
add r14, 0x20
mov edx, 2
sub r12, 1
jne 0x1400b5110
mov eax, dword [rsp + 0x88]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r15
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r15
pop rdi
ret
mov rdx, r15
mov rcx, rdi
add rsp, 0x68
pop r15
pop rdi
jmp fcn.1400b6960

Function at 0x1400b88a0
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.1400c0610
test ebx, ebx
jne 0x1400b88f4
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.1400c0610
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400c0c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x1400c0d79
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, str.main
mov qword [rsp + 0x20], r15
lea r15, [0x14013c340]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x1400c0cf1
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x1400c0d2c
test ecx, ecx
jne 0x1400c0d3a
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.140073f30
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x1400c0d10
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x1400c0cb0
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x1400c0d3f
inc r8
jmp 0x1400c0ce0
test r10d, r10d
jne 0x1400c0d09
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x1400c0d65
test edx, edx
je 0x1400c0cf1
inc rax
jmp 0x1400c0d50
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x1400c0d09
inc rax
jmp 0x1400c0d50
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d7560
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 0x1400d7758
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 0x1400d75c2
inc dword [rbx + 0x38]
mov r15d, dword [rbx + 0x38]
jmp 0x1400d75d2
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0xd4]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r14 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x1400d75ff
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, rdi
call fcn.1400952e0
jmp 0x1400d762d
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.1400d6ad0
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1400d766c
mov rcx, rdi
call fcn.140095150
test eax, eax
jne 0x1400d7744
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 0x1400d7738
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400d7738
mov dword [rbx + rax*4 + 0xd4], r15d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400d75a0
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