joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c2740
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1401c3500
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1401c3500
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1401c27b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14039f2f4]
mov rbx, rcx
test esi, esi
jle 0x1401c28e0
mov rax, qword [0x14039f2f8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1401c27fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1401c2885
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1401c27e0
mov rcx, rbx
call fcn.1401c3220
mov rdi, rax
test rax, rax
je 0x1401c2902
mov rax, qword [0x14039f2f8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1401c3360
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14039f2f8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1401c28e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1401c287e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1401c2890
add dword [0x14039f2f4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14039f2f8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1401c287e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1401c2740
nop dword [rax]
xor esi, esi
jmp 0x1401c2808
mov rax, qword [0x14039f2f8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1401c2740
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1401c2740
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1401c2e90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14039f360]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14039f340]
test rbx, rbx
je 0x1401c2eec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1401c2ee3
test eax, eax
jne 0x1401c2ee3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401c2ec8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1401c3220
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140364590]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401c3240
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401c3248
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401c3240
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401c329d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401c3294
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401c3240
add rax, 0x28
cmp rax, r9
jne 0x1401c3280
xor eax, eax
ret

Function at 0x1401c32a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140364590]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401c32bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401c32c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401c32bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1401c3360
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140364590]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401c337f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401c3388
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1401c90b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rsi
push rbx
sub rsp, 0x30
mov r13, qword [rsp + 0x80]
mov rbp, rdx
mov rsi, rcx
mov rdx, r8
mov r8d, r9d
test rbp, rbp
je 0x1401c914f
mov r12, qword [rcx + 0x80]
mov qword [rsp + 0x28], rdx
mov rcx, r12
call fcn.140246950
mov rbx, rax
mov eax, 7
test rbx, rbx
je 0x1401c9162
mov rdx, qword [rsp + 0x28]
mov r9, rbx
mov r8, rbp
mov rcx, r12
call fcn.14024f9e0
mov eax, dword [rbx + 0x1c]
test ax, ax
je 0x1401c9118
cmp word [r12 + 8], ax
jae 0x1401c9124
mov ecx, 0x113a8
call fcn.140219db0
jmp 0x1401c9132
mov r8, r13
mov rdx, rbx
mov rcx, rsi
call fcn.140215770
mov rdx, qword [rsi + 0x80]
mov dword [rsp + 0x28], eax
mov rcx, qword [rdx + 0x10]
mov rdx, rbx
call fcn.14021b350
mov eax, dword [rsp + 0x28]
jmp 0x1401c9162
mov r9, r13
add rsp, 0x30
pop rbx
pop rsi
pop rbp
pop r12
pop r13
jmp fcn.140217c90
add rsp, 0x30
pop rbx
pop rsi
pop rbp
pop r12
pop r13
ret
Function at 0x1401ef390
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
xor edi, edi
movsxd r12, edx
mov rbp, rcx
mov r14, r8
mov r13, r9
cmp qword [rcx + r12*8 + 0x28], 0
mov r15, r12
jne 0x1401ef5c4
lea rdi, [rsp + 0x38]
lea rsi, str.SELECT__s_FROM__s_T_WHERE_T._Q_____AND_T._Q_____ORDER_BY_T._Q_ASC
mov ecx, 0x16
rep movsd dword [rdi], dword [rsi]
mov rsi, qword [rbp]
cmp r12d, 0xa
ja case.0x1401ef3f2.5
lea rdx, [0x14035d4f8]
mov eax, r12d
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rdx, qword [rsi + 0x60]
mov r8, qword [rsi + 0x48]
lea rcx, str.SELECT__s_FROM__s_AS_T
call fcn.14025b080
jmp 0x1401ef51d
mov r9, qword [rsi + 0x50]
mov r8, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsp + r12*8 + 0x38]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
call fcn.14025b080
jmp 0x1401ef447
mov rdx, qword [rsi + 0x60]
mov r9, qword [rsi + 0x50]
lea rcx, str.SELECT__s_FROM__s_T_WHERE_T._Q_
mov r8, qword [rsi + 0x48]
call fcn.14025b080
mov rbx, rax
mov r9d, 1
test rax, rax
jne 0x1401ef556
jmp 0x1401ef47a
mov r15d, dword [rsi + 0x18]
lea ecx, [r15 + r15 + 3]
lea ebx, [r15 + 1]
movsxd rcx, ecx
call fcn.14025afe0
mov rdi, rax
xor eax, eax
test rdi, rdi
jne 0x1401ef484
mov edi, 7
jmp 0x1401ef5c4
cmp ebx, eax
jle 0x1401ef496
mov byte [rdi + rax*2], 0x3f
mov byte [rdi + rax*2 + 1], 0x2c
inc rax
jmp 0x1401ef484
xor eax, eax
add rbx, rbx
inc r15d
mov rcx, qword [rsp + r12*8 + 0x38]
cmovl rbx, rax
mov r9, rdi
mov byte [rdi + rbx - 1], 0
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
call fcn.14025b080
mov rcx, rdi
mov rbx, rax
call fcn.14025a080
jmp 0x1401ef5b4
cmp dword [rsi + 0x44], 0
lea r9, [0x1403590cc]
lea rax, [0x14035d30f]
mov rdx, qword [rsi + 8]
cmovne r9, rax
mov r8, qword [rsi + 0x10]
lea rcx, str.REPLACE_INTO__Q._q_docsize_VALUES_____s_
jmp 0x1401ef518
cmp dword [rsi + 0x44], 0
lea rdx, [0x1403590cc]
lea rax, str._origin
mov r9, qword [rsi + 0x10]
cmovne rdx, rax
mov r8, qword [rsi + 8]
lea rcx, str.SELECT_sz_s_FROM__Q._q_docsize_WHERE_id_
call fcn.14025b080
mov rbx, rax
jmp 0x1401ef5b4
mov rdx, qword [rsi + 8]
mov rcx, qword [rsp + r12*8 + 0x38]
mov r8, qword [rsi + 0x10]
call fcn.14025b080
mov rbx, rax
test rax, rax
je 0x1401ef47a
xor r9d, r9d
cmp r15d, 2
setg r9b
lea r9d, [r9*4 + 1]
mov rax, qword [rbp]
or r8d, 0xffffffff
mov rdx, rbx
inc dword [rax + 0x78]
xor eax, eax
mov qword [rsp + 0x28], rax
lea rax, [rbp + r12*8 + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsi]
call fcn.14025b4b0
mov rcx, rbx
mov edi, eax
mov rax, qword [rbp]
dec dword [rax + 0x78]
call fcn.14025a080
test edi, edi
je 0x1401ef5c4
test r13, r13
je 0x1401ef5c4
mov rcx, qword [rsi]
call fcn.140259880
lea rcx, [0x14035a07e]
mov rdx, rax
call fcn.14025b080
mov qword [r13], rax
jmp 0x1401ef5c4
mov r9d, 5
test rbx, rbx
jne 0x1401ef556
jmp 0x1401ef47a
mov rcx, qword [rbp + r12*8 + 0x28]
mov qword [r14], rcx
call fcn.14025bad0
mov eax, edi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401f3830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r12d, dword [rdx + 0x38]
mov eax, dword [rdx + 0x18]
mov rbx, rdx
mov edx, dword [rdx + 0x28]
cmp r8d, r12d
mov rsi, rcx
cmovle r12d, r8d
mov edi, r8d
mov rbp, r9
add edx, eax
lea ecx, [r8 + rdx + 2]
mov rdx, qword [rsi]
cmp ecx, dword [rdx + 0x88]
jl 0x1401f38a5
cmp eax, 4
jg 0x1401f388f
lea r8d, [rdi + 0x14]
add r8d, dword [rbx + 0x18]
cmp dword [rbx + 0x1c], r8d
jae 0x1401f38a5
lea rdx, [rbx + 0x10]
lea rcx, [rsi + 0x3c]
call fcn.140227fe0
jmp 0x1401f38a5
mov rdx, rbx
mov rcx, rsi
call fcn.1401f3dc0
cmp dword [rsi + 0x3c], 0
je 0x1401f3872
jmp 0x1401f39cc
mov edx, dword [rbx + 0x18]
sub edx, dword [rbx + 0xc]
movsxd rcx, dword [rbx + 0x28]
movsxd rdx, edx
add rcx, qword [rbx + 0x20]
call fcn.14023c500
add dword [rbx + 0x28], eax
mov eax, dword [rbx + 0x18]
cmp byte [rbx + 0x4a], 0
mov dword [rbx + 0xc], eax
je 0x1401f3942
cmp dword [rbx + 8], 1
jne 0x1401f38d8
xor r12d, r12d
jmp 0x1401f3975
cmp dword [rbx + 0x38], 0
mov r8d, edi
je 0x1401f38fc
mov rdx, qword [rbx + 0x30]
xor eax, eax
lea r8d, [rax + 1]
cmp r12d, eax
jle 0x1401f38fc
mov cl, byte [rdx + rax]
inc rax
cmp cl, byte [rbp + rax - 1]
je 0x1401f38e7
cmp dword [rbx + 0x70], 0
je 0x1401f3917
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x2c], r8d
call fcn.1401f3cb0
mov r8d, dword [rsp + 0x2c]
cmp dword [rsi + 0x3c], 0
jne 0x1401f39cc
lea rdx, [rbx + 0x60]
lea rcx, [rsi + 0x3c]
mov r9, rbp
call fcn.140227fd0
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x3c], 0
mov dword [rbx + 0x70], eax
je 0x1401f38d0
jmp 0x1401f39cc
mov rax, qword [rbx + 0x30]
xor r8d, r8d
cmp r12d, r8d
jle 0x1401f3962
mov cl, byte [rbp + r8]
lea rdx, [r8 + 1]
cmp byte [rax + r8], cl
jne 0x1401f3962
mov r8, rdx
jmp 0x1401f3949
mov r12d, r8d
lea rdx, [rbx + 0x10]
lea rcx, [rsi + 0x3c]
movsxd r8, r8d
call fcn.140227f70
add rsi, 0x3c
lea r13, [rbx + 0x10]
movsxd r14, r12d
movsxd r8, edi
sub r8, r14
mov rdx, r13
mov rcx, rsi
call fcn.140227f70
mov r8d, edi
lea r9, [rbp + r14]
mov rdx, r13
sub r8d, r12d
mov rcx, rsi
call fcn.140227eb0
lea rdx, [rbx + 0x30]
mov r9, rbp
mov r8d, edi
mov rcx, rsi
call fcn.140227fd0
mov rax, qword [rbx + 0x58]
mov edx, dword [rbx + 8]
mov byte [rbx + 0x4a], 0
mov word [rbx + 0x48], 1
mov dword [rax], edx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1401f39e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
xor ebp, ebp
xor edi, edi
lea rax, [rcx + 0x3c]
mov rbx, rcx
mov rsi, rdx
mov r12, r8
mov qword [rsp + 0x28], rax
or edi, dword [rbx + 0x3c]
jne 0x1401f3b86
mov r15, qword [rsi + 0x58]
mov r13, rbp
mov rax, qword [rbx]
shl r13, 5
add r15, r13
mov eax, dword [rax + 0x88]
cmp dword [r15 + 0x18], eax
jl 0x1401f3b0d
mov rax, qword [r15 + 0x10]
mov rcx, rbx
mov byte [rax], 1
movsxd rdx, dword [rsi]
mov eax, 1
shl rax, 0x24
mov r9d, dword [r15 + 0x18]
mov r8, qword [r15 + 0x10]
shl rdx, 0x25
add rdx, rax
mov rax, rbp
shl rax, 0x1f
add rdx, rax
movsxd rax, dword [r15]
add rdx, rax
call fcn.1401e41b0
lea r8d, [rbp + 2]
mov rdx, rsi
mov rcx, rbx
call fcn.1401f3ba0
mov r15, qword [rsi + 0x58]
add r15, r13
cmp dword [rbx + 0x3c], 0
jne 0x1401f3afe
cmp dword [r15 + 0x38], 0
jne 0x1401f3afe
mov r14, qword [r15 + 0x10]
lea r13, [rsp + 0x38]
mov rdx, r13
lea rcx, [r14 + 1]
call fcn.1402291a0
mov rdx, r13
lea r13, [r15 + 0x30]
movzx eax, al
lea rcx, [r14 + rax + 1]
call fcn.1402291a0
mov eax, dword [r15]
mov rcx, qword [rsp + 0x28]
xor r8d, r8d
mov rdx, r13
mov r14, qword [rsp + 0x38]
mov dword [r15 + 0x20], eax
call fcn.140227f70
movsxd r8, dword [r15]
mov rcx, qword [rsp + 0x28]
mov rdx, r13
call fcn.140227f70
mov rcx, qword [rsp + 0x28]
mov r8, r14
mov rdx, r13
call fcn.140227f70
mov dword [r15 + 0x24], 1
mov qword [r15 + 0x28], r14
xor eax, eax
inc dword [r15]
mov dword [r15 + 0x18], eax
mov dword [r15 + 4], eax
jmp 0x1401f3b27
cmp dword [r15 + 4], 0
je 0x1401f3b22
mov r8, r12
mov edi, 1
sub r8, qword [r15 + 8]
jmp 0x1401f3b64
mov edi, 1
test rbp, rbp
jne 0x1401f3b32
movsxd r14, dword [rsi + 8]
jmp 0x1401f3b36
movsxd r14, dword [r15 - 0x20]
mov r8d, edi
mov rcx, qword [rsp + 0x28]
lea r13, [r15 + 0x10]
xor r8d, 1
mov rdx, r13
movsxd r8, r8d
call fcn.140227f70
mov rcx, qword [rsp + 0x28]
mov r8, r14
mov rdx, r13
call fcn.140227f70
mov r8, r12
mov rcx, qword [rsp + 0x28]
lea rdx, [r15 + 0x10]
inc rbp
call fcn.140227f70
mov dword [r15 + 4], 1
mov qword [r15 + 8], r12
jmp 0x1401f3a06
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140200340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call fcn.14023c680
mov r8, rax
test rax, rax
jne 0x140200376
mov eax, 7
jmp 0x140200412
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x140200410
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x1402003b7
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x1402003bd
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call fcn.140214690
mov dword [rdi + 0x20], 1
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14020036c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x140200402
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x14020039a
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp dword [rcx + 0x80], edx
jge 0x140233d33
cmp byte [rcx + 0xa], 0
je 0x140233d33
jmp 0x140200340
xor eax, eax
ret

Function at 0x140207ca0
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
sub rsp, 0x58
mov r12d, dword [rsp + 0xa0]
mov byte [rcx + 0x1c], 1
mov ebp, r8d
mov rsi, rdx
mov rdi, r9
mov qword [rsp + 0x28], r9
mov r9, rdx
mov dword [rsp + 0x20], r8d
mov r8, rdx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x48], rcx
call fcn.1402330d0
test ebp, ebp
mov rcx, qword [rsp + 0x48]
jne 0x140207d10
mov r9, rdi
mov r8, rsi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov dword [rsp + 0xa0], r12d
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1402330d0
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x14020b050
Capabilities:
Reference sql statements

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
movsxd r12, edx
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rsi, r8
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
cmp qword [rcx + r12*8 + 0x28], 0
mov rbp, r12
mov rdi, r9
mov qword [rsp + 0x48], rax
lea r13, [r12 + 4]
jne 0x14020b0a7
mov rdx, qword [rsp + r12*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call fcn.14020b4a0
mov qword [rbx + r13*8 + 8], rax
cmp dword [rbx + 0x40], 0
jne 0x14020b160
mov r12, qword [rbx + r12*8 + 0x28]
mov r8, rsi
mov edx, 1
mov rcx, r12
call fcn.140256f60
mov rcx, r12
call fcn.14025ca10
cmp eax, 0x65
jne 0x14020b103
test ebp, ebp
lea rdx, str.__rowid
mov r9, rdi
mov r8, rsi
lea rax, str.__parent
mov rcx, rbx
cmovne rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call fcn.14020af50
jmp 0x14020b14f
cmp eax, 0x64
jne 0x14020b14f
xor edx, edx
mov rcx, r12
call fcn.140257dc0
mov r9, rax
cmp rdi, rax
je 0x14020b14f
lea rdx, str.__rowid
test ebp, ebp
mov r8, rsi
mov rcx, rbx
lea rax, str.__parent
mov qword [rsp + 0x30], rdi
cmovne rax, rdx
mov qword [rsp + 0x28], rsi
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rax
call fcn.14020af50
mov rcx, r12
call fcn.14025bad0
cmp dword [rbx + 0x40], 0
jne 0x14020b160
mov dword [rbx + 0x40], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x14022c2e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rbx
mov r9d, edx
cmp ecx, 0x7f
jg 0x14022c2fe
lea eax, [rcx - 0x41]
cmp eax, 0x19
ja 0x14022c3a5
add ecx, 0x20
jmp 0x14022c3a5
cmp ecx, 0xffff
jg 0x14022c397
or r8d, 0xffffffff
xor r11d, r11d
mov ebx, 0xa2
mov esi, 2
lea r10, [0x140364820]
lea eax, [rbx + r11]
cdq
idiv esi
movsxd rdx, eax
movzx edx, word [r10 + rdx*4]
cmp ecx, edx
jl 0x14022c33e
lea r11d, [rax + 1]
mov r8d, eax
jmp 0x14022c341
lea ebx, [rax - 1]
cmp ebx, r11d
jge 0x14022c322
movsxd rax, r8d
movzx edx, word [r10 + rax*4]
movzx r8d, byte [r10 + rax*4 + 3]
add r8d, edx
cmp ecx, r8d
jge 0x14022c382
mov al, byte [r10 + rax*4 + 2]
xor edx, ecx
mov r8d, eax
and r8d, 1
test r8d, edx
jne 0x14022c382
shr al, 1
lea rdx, [0x140368000]
and eax, 0x7f
add cx, word [rdx + rax*2]
movzx ecx, cx
test r9d, r9d
je 0x14022c3a5
xor edx, edx
cmp r9d, 2
sete dl
pop rbx
pop rsi
jmp fcn.140206300
lea eax, [rcx - 0x10400]
cmp eax, 0x27
ja 0x14022c3a5
add ecx, 0x28
mov eax, ecx
pop rbx
pop rsi
ret

Function at 0x140233d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call fcn.14023c680
mov r8, rax
test rax, rax
jne 0x140200376
mov eax, 7
jmp 0x140200412
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x140200410
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x1402003b7
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x1402003bd
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call fcn.140214690
mov dword [rdi + 0x20], 1
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14020036c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x140200402
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x14020039a
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp dword [rcx + 0x80], edx
jge 0x140233d33
cmp byte [rcx + 0xa], 0
je 0x140233d33
jmp 0x140200340
xor eax, eax
ret
Function at 0x140265b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rsi, qword [rsp + 0xc0]
mov ebp, r8d
mov r14, rcx
mov r8, qword [rsi + 0x18]
mov r12d, edx
mov ecx, ebp
mov qword [rsp + 0xa8], r9
call fcn.14024fcc0
mov ebx, eax
mov eax, 0x12
cmp dword [r8 + 0x88], ebx
jl 0x140265cd9
mov r13b, byte [rsi + 0x16]
cmp ebx, 0xfa0
jle 0x140265c88
cmp qword [r14 + 0x38], 0
jne 0x140265c88
test byte [r14 + 8], 0x10
jne 0x140265b8f
mov edx, 0x20
mov rcx, r8
call fcn.14021b520
mov qword [r14 + 0x70], rax
test rax, rax
jne 0x140265b8a
mov eax, 7
jmp 0x140265cd9
or byte [r14 + 8], 0x10
mov rdi, qword [r14 + 0x70]
cmp qword [rdi], 0
jne 0x140265ba8
mov rcx, qword [rdi]
test rcx, rcx
je 0x140265bdd
call fcn.14023c570
jmp 0x140265bdd
cmp dword [rdi + 0x10], r12d
jne 0x140265b99
mov eax, dword [rsp + 0xb0]
cmp dword [rdi + 0x14], eax
jne 0x140265b99
mov eax, dword [rsp + 0xb8]
cmp dword [rdi + 0x18], eax
jne 0x140265b99
mov rcx, qword [r14 + 0x30]
mov r15, qword [rdi + 8]
call fcn.140216b10
cmp r15, rax
jne 0x140265b99
mov r15, qword [rdi]
jmp 0x140265c4f
lea ecx, [rbx + 3]
movsxd rcx, ecx
call fcn.14023c540
mov qword [rdi], rax
mov r15, rax
test rax, rax
je 0x140265b80
xor eax, eax
mov rcx, qword [r14 + 0x30]
mov edx, dword [rsp + 0xa8]
mov r9, r15
mov dword [rsp + 0x20], eax
mov r8d, ebx
call fcn.1401c3a90
test eax, eax
jne 0x140265cd9
mov eax, ebx
mov byte [r15 + rax], 0
mov byte [r15 + rax + 1], 0
mov byte [r15 + rax + 2], 0
mov eax, dword [rsp + 0xb0]
mov dword [rdi + 0x10], r12d
mov rcx, qword [r14 + 0x30]
mov dword [rdi + 0x14], eax
mov eax, dword [rsp + 0xb8]
mov dword [rdi + 0x18], eax
call fcn.140216b10
mov qword [rdi + 8], rax
inc qword [r15 - 8]
lea rax, [fcn.14023c570]
and ebp, 1
mov r8d, ebx
mov qword [rsp + 0x20], rax
je 0x140265c78
movzx r9d, r13b
mov rdx, r15
mov rcx, rsi
call fcn.14024eb40
jmp 0x140265ccd
xor r9d, r9d
mov rdx, r15
mov rcx, rsi
call fcn.14024eb40
jmp 0x140265cd3
mov rcx, qword [r14 + 0x30]
mov edx, dword [rsp + 0xa8]
mov r9, rsi
mov r8d, ebx
call fcn.14024e6b0
test eax, eax
jne 0x140265cd9
mov rcx, qword [rsi + 8]
mov r8, rsi
mov edx, ebp
mov dword [rsp + 0x3c], eax
call fcn.14024fbe0
dec r13b
mov eax, dword [rsp + 0x3c]
jne 0x140265cd3
and ebp, 1
je 0x140265cd3
mov rdx, qword [rsi + 8]
movsxd rbx, ebx
mov byte [rdx + rbx], 0
or word [rsi + 0x14], 0x200
and word [rsi + 0x14], 0xbfff
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1402672b0
Capabilities:
Create thread

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor esi, esi
xor r13d, r13d
movzx r12d, byte [rcx + 0x5b]
mov ebp, r12d
dec r12d
mov byte [rcx + 0x58], 1
mov rbx, rcx
cmp r13d, r12d
jge 0x1402673b0
movzx eax, byte [rbx + 0x5a]
lea eax, [r13 + rax + 1]
cdq
idiv r12d
movsxd rdx, edx
lea rsi, [rdx + 1]
imul rdx, rdx, 0x60
imul rsi, rsi, 0x60
lea rdi, [rbx + rdx]
add rsi, rbx
cmp dword [rdi + 0x68], 0
jne 0x140267311
cmp qword [rdi + 0x60], 0
je 0x140267322
inc r13d
jmp 0x1402672d3
mov rcx, rsi
call fcn.140267450
test eax, eax
je 0x140267305
jmp 0x1402673d6
lea rdx, [rbx + 0x60]
mov rax, rsi
mov rcx, qword [rsi + 0x28]
movups xmm0, xmmword [rbx + 0x38]
sub rax, rdx
movabs rdx, 0xaaaaaaaaaaaaaaab
sar rax, 5
imul rax, rdx
mov byte [rbx + 0x5a], al
mov rax, qword [rbx + 0x48]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x30], rax
xor eax, eax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x48], rax
test rcx, rcx
je 0x140267372
mov qword [rbx + 0x40], rcx
call fcn.140232b40
mov dword [rbx + 0x54], eax
jmp 0x14026738b
cmp qword [rbx + 0x40], 0
je 0x14026738b
movsxd rcx, dword [rbx + 0x54]
call fcn.1402329e0
mov qword [rbx + 0x40], rax
test rax, rax
je 0x1402673a9
mov r8, rsi
lea rdx, [0x1402673f0]
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.140243730
mov eax, 7
jmp 0x1402673d6
jne 0x140267322
movzx ecx, bpl
lea rdx, [rbx + 0x38]
imul rcx, rcx, 0x60
add rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1402674c0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140272bb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
xor r11d, r11d
movsxd rax, dword [rcx + 0xc]
lea r10d, [rax + 1]
add rax, qword [rcx]
mov bl, byte [rdx + r9]
xor byte [rax], bl
movsxd rax, r10d
cmp dword [rcx + 8], r10d
cmovle rax, r11
inc r9
cmp r8d, r9d
jg 0x140272bbb
add dword [rcx + 0x10], r8d
mov dword [rcx + 0xc], eax
pop rbx
ret