joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b26b0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rax, qword [0x140293988]
test rax, rax
jne 0x1400b2788
mov ecx, 0x95050
call fcn.140189b0c
mov rdi, rax
mov qword [rsp + 0x40], rax
xor ebx, ebx
test rax, rax
je 0x1400b2707
xor edx, edx
mov r8d, 0x95050
mov rcx, rax
call fcn.14018c010
mov rcx, rdi
call fcn.1400afb30
jmp 0x1400b270a
mov rax, rbx
mov qword [0x140293988], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov dword [0x14028a1b8], eax
cmp eax, 0xffffffff
jne 0x1400b277e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea rdx, [0x14028d9b0]
mov rcx, qword [0x14028d9b0]
cmp rcx, rdx
je 0x1400b275f
test byte [rcx + 0x44], 0x40
je 0x1400b275f
cmp byte [rcx + 0x41], 4
jb 0x1400b275f
mov edx, 0x2c
mov r9d, eax
lea r8, [0x140209e60]
mov rcx, qword [rcx + 0x38]
call fcn.14001ef30
mov rcx, qword [0x140293988]
test rcx, rcx
je 0x1400b2775
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x140293988], rbx
jmp 0x1400b2785
mov rbx, qword [0x140293988]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b36e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov rbx, rdx
mov dword [rsp + 0x50], esi
mov rdi, rcx
mov rcx, qword [0x14028d9b0]
lea rbp, [0x14028d9b0]
cmp rcx, rbp
je 0x1400b3732
test byte [rcx + 0x44], 0x40
je 0x1400b3732
cmp byte [rcx + 0x41], 4
jb 0x1400b3732
mov rcx, qword [rcx + 0x38]
lea edx, [rsi + 0x2d]
lea r8, [0x140209e60]
call fcn.14001d350
add rdi, 0x94dd8
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp byte [0x140293a70], sil
jne 0x1400b37dd
mov rcx, rdi
mov byte [0x140293a70], 1
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rax, qword [0x14028d9b0]
cmp rax, rbp
je 0x1400b37bc
test byte [rax + 0x44], 0x40
je 0x1400b37bc
cmp byte [rax + 0x41], 2
jb 0x1400b37bc
cmp qword [rbx + 0x18], 8
jb 0x1400b3781
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400b3ef0
mov esi, 1
cmp qword [rax + 0x18], 0x10
jb 0x1400b379d
mov rax, qword [rax]
mov rcx, qword [0x14028d9b0]
lea r8, [0x140209e60]
mov edx, 0x2f
mov r9, rax
mov rcx, qword [rcx + 0x38]
call fcn.140023320
test sil, 1
je 0x1400b37cc
lea rcx, [rsp + 0x20]
call fcn.140005dd0
call fcn.1400b4660
mov ecx, 0x2c9
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
mov rcx, qword [0x14028d9b0]
cmp rcx, rbp
je 0x1400b380a
test byte [rcx + 0x44], 0x40
je 0x1400b380a
cmp byte [rcx + 0x41], 5
jb 0x1400b380a
mov rcx, qword [rcx + 0x38]
lea r8, [0x140209e60]
mov edx, 0x2e
call fcn.14001d350
mov rcx, rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
Function at 0x1400b3b40
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov esi, r8d
mov rbx, rdx
jb 0x1400b3b61
mov rcx, qword [rdx]
jmp 0x1400b3b64
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov edi, eax
or edi, esi
mov rcx, qword [0x14028d9b0]
lea rsi, [0x14028d9b0]
cmp rcx, rsi
je 0x1400b3ba5
test byte [rcx + 0x44], 0x40
je 0x1400b3ba5
cmp byte [rcx + 0x41], 4
jb 0x1400b3ba5
mov rcx, qword [rcx + 0x38]
lea r8, [0x140209e60]
mov edx, 0x17
mov r9d, edi
call fcn.14001ef30
cmp qword [rbx + 0x18], 8
jb 0x1400b3bb1
mov rcx, qword [rbx]
jmp 0x1400b3bb4
mov rcx, rbx
mov edx, edi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
test eax, eax
jne 0x1400b3c1e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [0x14028d9b0]
cmp rcx, rsi
je 0x1400b3c09
test byte [rcx + 0x44], 0x40
je 0x1400b3c09
cmp byte [rcx + 0x41], 2
jb 0x1400b3c09
cmp qword [rbx + 0x18], 8
jb 0x1400b3be8
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x140209e60]
mov dword [rsp + 0x28], eax
mov edx, 0x18
mov r9d, edi
mov qword [rsp + 0x20], rbx
call fcn.1400b4420
mov eax, 0x3eb
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b7e90
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x14028cab8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
lea rax, [0x14028d9b0]
mov rcx, qword [0x14028d9b0]
cmp rcx, rax
je 0x1400b7efa
test dword [rcx + 0x44], 0x8000
je 0x1400b7efa
cmp byte [rcx + 0x41], 4
jb 0x1400b7efa
mov edx, 0x11
mov r9d, dword [rbx + 0x58]
lea r8, [0x14020cb38]
mov rcx, qword [rcx + 0x38]
call fcn.14001f1d0
lea rcx, [rbx + 0x30]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov byte [rsp + 0x38], 1
mov eax, dword [rbx + 0x20]
cmp eax, 4
je 0x1400b7f20
mov edi, 0x139f
jmp 0x1400b7fbd
mov dword [rbx + 0x20], 1
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1400b7f40
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
jmp 0x1400b7fbd
xor edi, edi
cmp qword [rbx + 0x18], rdi
je 0x1400b7fbd
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov rcx, qword [0x140293988]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], dil
mov r9d, 0xb8
lea r8, str.ServiceThread::resume
lea rcx, [rsp + 0x48]
call fcn.14006d3f0
mov rcx, qword [rbx + 0x18]
call fcn.1400b7ff0
mov qword [rbx + 0x18], rdi
cmp byte [rsp + 0x50], dil
jne 0x1400b7fbd
lea rcx, [rsp + 0x48]
call fcn.14006de90
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140189c60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x1400b8090
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movzx esi, dl
mov rcx, qword [rcx + 0x60]
add rcx, 0xa0
call fcn.1400a7690
mov edi, eax
test eax, eax
je 0x140085b81
mov rcx, qword [0x14028d9b0]
lea rdx, [0x14028d9b0]
cmp rcx, rdx
je 0x140085b6f
test byte [rcx + 0x44], 4
je 0x140085b6f
cmp byte [rcx + 0x41], 2
jb 0x140085b6f
mov edx, 0x2d
mov rcx, qword [rcx + 0x38]
lea r8, [0x1402048f0]
call fcn.14001d350
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x60]
mov ecx, dword [rax + 0xac]
cmp ecx, 2
je 0x140085be8
mov rcx, qword [rbx + 0x60]
add rcx, 0xa0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, eax
test eax, eax
je 0x140085bcd
mov rcx, qword [0x14028d9b0]
lea rdx, [0x14028d9b0]
cmp rcx, rdx
je 0x140085b6f
test byte [rcx + 0x44], 4
je 0x140085b6f
cmp byte [rcx + 0x41], 2
jb 0x140085b6f
mov edx, 0x2e
jmp 0x140085b5f
movzx edx, sil
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp method.ServiceThread.virtual_16
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movzx ebp, dl
mov rbx, rcx
mov rcx, qword [0x14028d9b0]
lea rax, [0x14028d9b0]
cmp rcx, rax
je 0x1400b80e5
test dword [rcx + 0x44], 0x8000
je 0x1400b80e5
cmp byte [rcx + 0x41], 4
jb 0x1400b80e5
mov r9d, dword [rbx + 0x58]
lea r8, [0x14020cb38]
mov rcx, qword [rcx + 0x38]
mov edx, 0x12
call fcn.14001f1d0
lea rcx, [rbx + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov eax, dword [rbx + 0x20]
cmp eax, 3
je 0x1400b80fe
mov edi, 0x139f
jmp 0x1400b8153
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
movzx eax, bpl
lea r8, [0x1400b7910]
neg al
mov r9, rbx
sbb ecx, ecx
xor edi, edi
and ecx, 4
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ecx
xor edx, edx
xor ecx, ecx
call fcn.1401b1db0
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x1400b8140
lea edi, [rax + 0x6f]
jmp 0x1400b8153
test bpl, bpl
mov edx, 1
mov eax, 4
cmovne edx, eax
mov dword [rbx + 0x20], edx
lea rcx, [rbx + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b8510
Capabilities:
Suspend thread

Disassembly:
push rbx
sub rsp, 0x90
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14028cab8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
lea rax, [0x14028d9b0]
mov rcx, qword [0x14028d9b0]
cmp rcx, rax
je 0x1400b8572
test dword [rcx + 0x44], 0x8000
je 0x1400b8572
cmp byte [rcx + 0x41], 4
jb 0x1400b8572
mov edx, 0x10
mov r9d, dword [rbx + 0x58]
lea r8, [0x14020cb38]
mov rcx, qword [rcx + 0x38]
call fcn.14001f1d0
lea rcx, [rbx + 0x30]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov byte [rsp + 0x38], 1
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov rcx, qword [0x140293988]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, rax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
mov r9d, 0x89
lea r8, str.ServiceThread::suspend
lea rcx, [rsp + 0x48]
call fcn.14006d3f0
nop
mov rcx, qword [rbx + 0x10]
call fcn.1400b8690
mov qword [rbx + 0x18], rax
mov eax, dword [rbx + 0x20]
cmp eax, 1
je 0x1400b85f9
mov ebx, 0x139f
jmp 0x1400b8649
mov dword [rbx + 0x20], 4
mov rcx, qword [0x140293988]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea rcx, [rax + 0x10]
call fcn.14002bbf0
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SuspendThread]
mov ebx, eax
mov rcx, qword [0x140293988]
mov rdx, qword [rcx]
call qword [rdx + 0x28]
lea rcx, [rax + 0x10]
call fcn.14002bc10
cmp ebx, 0xffffffff
jne 0x1400b8647
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x1400b8649
xor ebx, ebx
cmp byte [rsp + 0x50], 0
jne 0x1400b865b
lea rcx, [rsp + 0x48]
call fcn.14006de90
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140189c60
add rsp, 0x90
pop rbx
ret
Function at 0x1400dc840
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 0x1400dca40
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 0x1400dc8a2
inc dword [rbx + 0x38]
mov r15d, dword [rbx + 0x38]
jmp 0x1400dc8b2
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 0x1400dc8df
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, rdi
call fcn.1400f2610
jmp 0x1400dc90d
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], 0x6d
mov r9, qword [r9 + 0x68]
call fcn.140124020
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1400dc951
mov edx, 5
mov rcx, rdi
call fcn.1400f2680
test eax, eax
jne 0x1400dca2c
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], 0x79
mov qword [rdx + 0x20], r13
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], 0x5c
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r13
mov qword [rdx + 0x48], 0x7a
mov qword [rdx + 0x50], r13
mov qword [rdx + 0x58], r13
mov qword [rdx + 0x60], 0x75
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 0x1400dca20
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400dca20
movzx eax, al
mov dword [rbx + rax*4 + 0xcc], r15d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400dc880
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 0x1400dcc60
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 0x1400dccc3
cmp byte [r14 + 0x10], bl
mov eax, 8
cmovne ebx, eax
mov rdi, r15
sub rdi, rcx
test ebx, ebx
jne 0x1400dce60
mov qword [rsp + 0x88], rbp
mov rbp, r10
mov qword [rsp + 0x30], rsi
cmp rdi, r15
jge 0x1400dce42
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 [0x14028a450]
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x1400dce37
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, r10d
mov rcx, r14
call qword [r14 + 0x108]
mov ebx, eax
test eax, eax
jne 0x1400dcdde
mov rcx, qword [rsp + 0x70]
test byte [rcx + 0x34], 4
mov rdx, qword [rcx + 0x28]
je 0x1400dcd69
mov eax, dword [rcx + 0x30]
cmp dword [rdx + 0x1c], eax
jb 0x1400dcd69
cmp dword [rdx + 0x80], ebx
je 0x1400dcd65
call fcn.14014e010
jmp 0x1400dcd8a
xor ebx, ebx
jmp 0x1400dcd95
mov ebx, dword [rdx + 0x2c]
test ebx, ebx
jne 0x1400dcde3
mov eax, dword [rdx + 0xbc]
cmp dword [rdx + 0xb8], eax
jbe 0x1400dcd85
call fcn.1400fa3b0
jmp 0x1400dcd8a
call fcn.1400fb5b0
mov rcx, qword [rsp + 0x70]
mov ebx, eax
test eax, eax
jne 0x1400dcde3
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 fcn.14018c1c0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov byte [rcx], 0
test rdi, rdi
jne 0x1400dcdde
test r12d, r12d
jne 0x1400dcdde
mov rax, qword [r13 + 0x28]
mov rcx, qword [rax + 8]
mov eax, dword [rcx + 0x3c]
bswap eax
mov dword [rsi + 0x1c], eax
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400dce37
test byte [rcx + 0x34], 0x20
je 0x1400dce32
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 0x1400dce37
call fcn.140126ea0
add rdi, rbp
test ebx, ebx
je 0x1400dcce1
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 0x1400eb4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x30
movzx eax, byte [rdx]
mov rbp, rcx
cmp al, 0xa8
jne 0x1400eb4c4
movzx eax, byte [rdx + 0x36]
mov qword [rsp + 0x48], rsi
cmp al, 0xa9
jne 0x1400eb4d6
lea rsi, [rdx + 0x20]
mov rax, rsi
jmp 0x1400eb4e6
cmp al, 0x83
jne 0x1400eb586
mov rax, qword [rdx + 0x20]
lea rsi, [rdx + 0x20]
mov rax, qword [rax]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x1400eb586
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov dword [r8], ebx
cmp byte [rdx], 0x83
jne 0x1400eb51b
mov rcx, rbp
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
jmp fcn.14010ddd0
mov eax, dword [rbp + 0x38]
mov qword [rsp + 0x28], 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 0x1400eb581
mov qword [rsp + 0x50], rdi
mov edi, r15d
mov rdx, qword [rsi]
mov r8d, edi
mov rcx, rbp
mov rdx, qword [rdx + rbx + 8]
call fcn.140114090
inc edi
lea rbx, [rbx + 0x28]
sub r14, 1
jne 0x1400eb540
mov rdi, qword [rsp + 0x50]
mov eax, r15d
mov r14, qword [rsp + 0x28]
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret
mov eax, r15d
jmp 0x1400eb567
mov rcx, rbp
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
jmp fcn.1401165d0
Function at 0x140100610
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_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov rsi, rcx
call fcn.140123ca0
test ebx, ebx
jne 0x140100664
mov r9, rdi
lea r8, str.sqlite_master
lea rdx, str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov rcx, rsi
call fcn.140123ca0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14010cd50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x14028cab8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rax, qword [rcx]
mov r13, r9
movsxd r10, edx
mov r12, r8
shl r10, 5
mov r15, rcx
mov r14d, 1
mov rdx, qword [rax + 0x20]
mov rsi, qword [r10 + rdx]
mov r9d, r14d
lea r8, str.sqlite_stat_d
lea rdx, [rsp + 0x38]
mov ecx, 0x18
call fcn.1400cc770
mov rbp, qword [r15]
lea rdi, [rsp + 0x38]
xor ebx, ebx
cmp dword [rbp + 0x28], ebx
jle 0x14010ce5e
nop dword [rax]
mov r9d, ebx
xor r9d, 1
cmp ebx, 2
cmovge r9d, ebx
test rsi, rsi
je 0x14010ce29
mov rax, qword [rbp + 0x20]
lea r11, [0x14020f9a0]
movzx edx, byte [rsi]
mov r8, rsi
movsxd rcx, r9d
shl rcx, 5
mov r10, qword [rcx + rax]
movzx eax, byte [rdx + r11]
movzx ecx, byte [r10]
movzx ecx, byte [rcx + r11]
sub eax, ecx
jne 0x14010ce53
sub r10, rsi
test dl, dl
je 0x14010ce25
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx ecx, byte [rax + r11]
movzx edx, byte [r8]
movzx eax, byte [rdx + r11]
sub eax, ecx
je 0x14010ce04
jmp 0x14010ce53
test eax, eax
jne 0x14010ce53
mov rax, qword [rbp + 0x20]
xor r8d, r8d
movsxd rcx, r9d
mov rdx, rdi
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.1400ecd20
cmp qword [rax + 0x10], 0
jne 0x14010cf00
inc ebx
cmp ebx, dword [rbp + 0x28]
jl 0x14010cdc0
movzx edx, byte [rdi]
lea rbx, [0x14020f9a0]
cmp byte [rdx + rbx], 0x73
jne 0x14010cf21
lea r8, str.sqlite_master
sub r8, rdi
nop dword [rax]
test dl, dl
je 0x14010cea1
movzx eax, byte [r8 + rdi + 1]
inc rdi
movzx ecx, byte [rax + rbx]
movzx edx, byte [rdi]
movzx eax, byte [rdx + rbx]
cmp eax, ecx
je 0x14010ce80
jmp 0x14010cf21
mov rax, qword [rbp + 0x20]
mov r9, qword [rax + 0x20]
test rsi, rsi
jne 0x14010ceb5
neg r9
sbb eax, eax
jmp 0x14010cef0
test r9, r9
je 0x14010cf21
movzx eax, byte [r9]
mov r8, rsi
movzx edx, byte [rsi]
movzx ecx, byte [rax + rbx]
movzx eax, byte [rdx + rbx]
sub eax, ecx
jne 0x14010cef0
sub r9, rsi
test dl, dl
je 0x14010cef0
movzx eax, byte [r9 + r8 + 1]
inc r8
movzx ecx, byte [rax + rbx]
movzx edx, byte [r8]
movzx eax, byte [rdx + rbx]
sub eax, ecx
je 0x14010ced3
test eax, eax
jne 0x14010cf21
lea rdi, str.sqlite_temp_master
jmp 0x14010cdb2
mov qword [rsp + 0x28], r13
lea r9, [rsp + 0x38]
mov r8, rsi
mov qword [rsp + 0x20], r12
lea rdx, str.DELETE_FROM__Q._s_WHERE__s_Q
mov rcx, r15
call fcn.140123ca0
inc r14d
cmp r14d, 4
jle 0x14010cd91
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140189c60
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140119380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], 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 0x140119465
mov qword [rsp + 0x30], r14
lea r14, [0x14020f9a0]
nop dword [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovge eax, ebx
movsxd rcx, eax
mov rax, qword [rsi + 0x20]
shl rcx, 5
mov r11, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x140119425
mov r9, qword [rcx + rax]
mov r8, rdi
movzx edx, byte [rdi]
movzx eax, byte [r9]
movzx ecx, byte [rax + r14]
movzx eax, byte [rdx + r14]
sub eax, ecx
jne 0x14011943d
sub r9, rdi
nop
test dl, dl
je 0x140119421
movzx eax, byte [r9 + r8 + 1]
inc r8
movzx ecx, byte [rax + r14]
movzx edx, byte [r8]
movzx eax, byte [rdx + r14]
sub eax, ecx
je 0x140119400
jmp 0x14011943d
test eax, eax
jne 0x14011943d
lea rcx, [r11 + 0x20]
xor r8d, r8d
mov rdx, rbp
call fcn.1400ecd20
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x140119448
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x1401193c0
mov r14, qword [rsp + 0x30]
mov rax, r10
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rax, r10
jmp 0x140119450