joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140142a60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140142b30
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x74], edi
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], r9
mov qword [rsp + 0x90], r10
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rax
lea rax, [0x140282360]
lea rbx, [rsp + 0x48]
xor ecx, ecx
xor edi, edi
call fcn.1400097e0
mov rdx, qword [rsp + 0x60]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 8], rdx
mov edx, dword [rsp + 0x70]
mov dword [rsp + 0x10], edx
mov edx, dword [rsp + 0x74]
mov dword [rsp + 0x14], edx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x30], rdx
call fcn.140138b20
xorps xmm15, xmm15
mov r14, qword [0x1404f1920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x38]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov dword [rsp + 0x1c], edi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
call fcn.14006e3a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov edi, dword [rsp + 0x1c]
mov rsi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x38]
jmp fcn.140142a60

Function at 0x140143c00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140143cd0
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x74], edi
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], r9
mov qword [rsp + 0x90], r10
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rax
lea rax, [0x140282360]
lea rbx, [rsp + 0x48]
xor ecx, ecx
xor edi, edi
call fcn.1400097e0
mov rdx, qword [rsp + 0x60]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 8], rdx
mov edx, dword [rsp + 0x70]
mov dword [rsp + 0x10], edx
mov edx, dword [rsp + 0x74]
mov dword [rsp + 0x14], edx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x30], rdx
call fcn.140138b20
xorps xmm15, xmm15
mov r14, qword [0x1404f1920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x38]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov dword [rsp + 0x1c], edi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
call fcn.14006e3a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov edi, dword [rsp + 0x1c]
mov rsi, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x38]
jmp fcn.140143c00
Function at 0x14014af20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14014aff5
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdi
mov rdx, qword [rax + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rdx
lea rax, [0x140282360]
lea rbx, [rsp + 0x38]
xor ecx, ecx
xor edi, edi
nop
call fcn.1400097e0
lea rax, [0x1402867a0]
mov rbx, qword [rsp + 0x60]
lea rcx, [0x140288c00]
lea rdi, [0x140257e68]
nop
call fcn.1400097e0
lea rax, [0x1402867e0]
mov rbx, qword [rsp + 0x68]
lea rcx, [0x140288c00]
lea rdi, [0x140257e68]
nop
call fcn.1400097e0
mov rdx, qword [rsp + 0x30]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], 0xffffffff
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rdx
call fcn.140138f80
xorps xmm15, xmm15
mov r14, qword [0x1404f1920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x28]
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14006e3a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.14014af20

Function at 0x14014b540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14014b5ec
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdi
mov rdx, qword [rax + 8]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdx
lea rax, [0x140282360]
lea rbx, [rsp + 0x30]
xor ecx, ecx
xor edi, edi
nop
call fcn.1400097e0
lea rax, [0x140282620]
mov rbx, qword [rsp + 0x60]
lea rcx, [0x140288c00]
lea rdi, [0x140257e68]
nop
call fcn.1400097e0
mov rdx, qword [rsp + 0x28]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 8], rdx
mov rdx, qword [rsp + 0x58]
mov dword [rsp + 0x10], edx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
call fcn.14013b5c0
xorps xmm15, xmm15
mov r14, qword [0x1404f1920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14006e3a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.14014b540
Function at 0x14014c120
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14014c1bd
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x58], rcx
test rdi, rdi
jbe 0x14014c1b2
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdx
lea rax, [0x140282520]
lea rbx, [rsp + 0x30]
xor ecx, ecx
xor edi, edi
call fcn.1400097e0
mov rdx, qword [rsp + 0x28]
mov qword [rsp], rdx
mov edx, dword [rsp + 0x50]
mov dword [rsp + 8], edx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x18], edx
call fcn.1401389c0
xorps xmm15, xmm15
mov r14, qword [0x1404f1920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.1400706a0
nop
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call fcn.14006e3a0
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp fcn.14014c120

Function at 0x14014c660
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14014c6fd
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x58], rcx
test rdi, rdi
jbe 0x14014c6f2
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdx
lea rax, [0x140282520]
lea rbx, [rsp + 0x30]
xor ecx, ecx
xor edi, edi
call fcn.1400097e0
mov rdx, qword [rsp + 0x28]
mov qword [rsp], rdx
mov edx, dword [rsp + 0x50]
mov dword [rsp + 8], edx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x18], edx
call fcn.1401389c0
xorps xmm15, xmm15
mov r14, qword [0x1404f1920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.1400706a0
nop
mov qword [rsp + 8], rax
mov dword [rsp + 0x10], ebx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call fcn.14006e3a0
mov rax, qword [rsp + 8]
mov ebx, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp fcn.14014c660
Function at 0x1401503e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14015048d
push rbp
mov rbp, rsp
sub rsp, 0x38
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdi
mov rdx, qword [rax + 8]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rdx
lea rax, [0x140282360]
lea rbx, [rsp + 0x30]
xor ecx, ecx
xor edi, edi
nop
call fcn.1400097e0
lea rax, [0x1402867e0]
mov rbx, qword [rsp + 0x60]
lea rcx, [0x140288c00]
lea rdi, [0x140257e68]
nop
call fcn.1400097e0
mov rdx, qword [rsp + 0x28]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 8], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
call fcn.14013b9e0
xorps xmm15, xmm15
mov r14, qword [0x1404f1920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x20]
add rsp, 0x38
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14006e3a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.1401503e0

Function at 0x140150d00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140150da1
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov rdx, qword [rax + 8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rdx
lea rax, [0x140282360]
xor edi, edi
lea rbx, [rsp + 0x40]
xor ecx, ecx
call fcn.1400097e0
mov rdx, qword [rsp + 0x38]
mov qword [rsp], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 8], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 1
nop dword [rax]
call fcn.14013aea0
xorps xmm15, xmm15
mov r14, qword [0x1404f1920]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
nop
call fcn.14006e3a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp fcn.140150d00
Function at 0x140156e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
movsxd r12, dword [rdx]
mov rbp, rdx
movzx edx, byte [r8]
mov rdi, rcx
mov rbx, r8
test dl, dl
je 0x140156e5c
mov rsi, r8
mov eax, edx
lea r8, [0x140450e00]
xor r9d, r9d
nop dword [rax]
movzx ecx, al
test byte [r8 + rcx], 6
jne 0x140156e3e
cmp al, 0x5f
jne 0x140156e4e
movzx eax, byte [rsi + 1]
add rsi, 1
add r9d, 1
test al, al
jne 0x140156e30
movzx eax, dl
test byte [r8 + rax], 4
je 0x140156ed8
mov byte [rdi + r12], 0x22
movzx edx, byte [rbx]
lea eax, [r12 + 1]
mov r9d, 1
test dl, dl
jne 0x140156e86
jmp 0x140156ec8
movzx edx, byte [rbx + 1]
add rbx, 1
mov eax, ecx
test dl, dl
je 0x140156eaa
movsxd r8, eax
lea ecx, [rax + 1]
mov byte [rdi + r8], dl
cmp byte [rbx], 0x22
jne 0x140156e78
movsxd rcx, ecx
add rbx, 1
add eax, 2
mov byte [rdi + rcx], 0x22
movzx edx, byte [rbx]
test dl, dl
jne 0x140156e86
test r9d, r9d
jne 0x140156ec8
movsxd rdx, eax
mov byte [rdi + rdx], 0
mov dword [rbp], eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movsxd rdx, eax
add eax, 1
mov byte [rdi + rdx], 0x22
jmp 0x140156eaf
mov dword [rsp + 0x2c], 0x3b
cmp r9d, 1
jg 0x140156f08
cmp byte [rsi], 0
setne al
xor r9d, 1
and r9d, 1
or al, r9b
jne 0x140156e5c
mov eax, r12d
xor r9d, r9d
jmp 0x140156e86
lea r8, [rsp + 0x2c]
mov edx, r9d
mov rcx, rbx
call fcn.140156ce0
cmp dword [rsp + 0x2c], 0x3b
jne 0x140156e5c
cmp byte [rsi], 0
jne 0x140156e5c
movzx edx, byte [rbx]
mov eax, r12d
test dl, dl
je 0x140156eaf
xor r9d, r9d
jmp 0x140156e86
Function at 0x14016a5c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r13d, dword [rcx + 0x80]
movsxd rax, edx
mov r12, rcx
mov rcx, qword [rcx + 0x78]
lea rdx, [rax*8]
mov rsi, rax
sub rdx, rax
shl rdx, 3
test rcx, rcx
je 0x14016a778
test rdx, rdx
je 0x14016a790
cmp rdx, 0x7ffffeff
ja 0x14016a738
call fcn.14015df20
mov rdi, rax
test rdi, rdi
je 0x14016a738
movsxd rdx, r13d
xor ebp, ebp
lea rax, [rdx*8]
sub rax, rdx
xor edx, edx
lea rbx, [rdi + rax*8]
mov eax, esi
sub eax, r13d
mov rcx, rbx
cdqe
lea r8, [rax*8]
sub r8, rax
shl r8, 3
call sub.msvcrt.dll_memset
mov qword [r12 + 0x78], rdi
cmp r13d, esi
jl 0x14016a6ea
jmp 0x14016a760
lea rdi, [rax + 8]
mov rcx, rax
mov qword [rax], 0
mov qword [rax + 0x1f8], 0
and rdi, 0xfffffffffffffff8
mov rax, rbp
sub rcx, rdi
add ecx, 0x200
shr ecx, 3
rep stosq qword [rdi], rax
mov dword [rdx], r14d
mov qword [rbx + 0x10], rdx
mov rax, qword [r12 + 0x128]
mov dword [rbx + 0x20], 1
test rax, rax
je 0x14016a6d5
mov edx, dword [rax + 0x58]
mov dword [rbx + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rbx + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rbx + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rbx + 0x30], eax
add r13d, 1
add rbx, 0x38
mov dword [r12 + 0x80], r13d
cmp r13d, esi
je 0x14016a760
mov rax, qword [r12 + 0x50]
mov r14d, dword [r12 + 0x20]
cmp qword [rax], 0
mov dword [rbx + 0x18], r14d
je 0x14016a750
mov rax, qword [r12 + 0x60]
test rax, rax
jle 0x14016a750
mov qword [rbx], rax
mov eax, dword [r12 + 0x3c]
mov ecx, 0x200
mov dword [rbx + 0x1c], eax
call fcn.14015e070
mov rdx, rax
test rax, rax
jne 0x14016a670
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x20], 1
mov eax, 7
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, dword [r12 + 0xb8]
jmp 0x14016a708
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, rdx
call fcn.14015e070
mov rdi, rax
jmp 0x14016a618
call fcn.14015ba40
mov eax, 7
jmp 0x14016a73d
Function at 0x14016bb00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor ebp, ebp
lea rbx, [0x140450f00]
mov eax, dword [rcx + 0x28]
mov r12, rcx
mov rdi, rdx
mov rsi, r8
test eax, eax
jle 0x14016bb94
nop dword [rax + rax]
mov r10d, ebp
xor r10d, 1
cmp ebp, 2
cmovge r10d, ebp
movsxd r9, r10d
shl r9, 5
add r9, qword [r12 + 0x20]
test rsi, rsi
je 0x14016bb6e
mov r8, qword [r9]
xor ecx, ecx
jmp 0x14016bb5d
movzx edx, byte [rbx + rdx]
cmp byte [rbx + rax], dl
jne 0x14016bba8
add rcx, 1
movzx eax, byte [r8 + rcx]
movzx edx, byte [rsi + rcx]
cmp eax, edx
jne 0x14016bb50
test eax, eax
jne 0x14016bb59
mov rcx, qword [r9 + 0x18]
xor r8d, r8d
mov rdx, rdi
add rcx, 0x20
call fcn.140165510
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14016bb96
add ebp, 1
cmp dword [r12 + 0x28], ebp
jg 0x14016bb28
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
test r10d, r10d
jne 0x14016bb8a
mov rcx, rsi
mov eax, 0x6d
lea r8, str.main
jmp 0x14016bbd8
cdqe
movzx edx, byte [rbx + rdx]
cmp byte [rbx + rax], dl
jne 0x14016bb8a
movzx eax, byte [r8 + 1]
add r8, 1
add rcx, 1
movzx edx, byte [rcx]
cmp eax, edx
jne 0x14016bbc0
test eax, eax
jne 0x14016bbcb
jmp 0x14016bb6e
Function at 0x140175790
Capabilities:
Create thread

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor edi, edi
movzx r12d, byte [rcx + 0x5b]
mov rsi, r12
sub r12d, 1
mov byte [rcx + 0x58], 1
mov rbp, rcx
test r12d, r12d
jg 0x1401757cf
jmp 0x14017581b
cmp qword [rbx + 0x60], 0
je 0x140175820
add edi, 1
cmp edi, r12d
je 0x140175820
movzx eax, byte [rbp + 0x5a]
lea eax, [rdi + rax + 1]
cdq
idiv r12d
lea eax, [rdx + 1]
movsxd rdx, edx
lea rbx, [rdx + rdx*2]
cdqe
shl rbx, 5
lea r8, [rax + rax*2]
add rbx, rbp
shl r8, 5
mov eax, dword [rbx + 0x68]
lea r13, [rbp + r8]
test eax, eax
je 0x1401757c0
mov rcx, r13
call fcn.14015e910
test eax, eax
je 0x1401757c0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r13d, r13d
nop
cmp r12d, edi
je 0x1401758a0
lea rdx, [rbp + 0x60]
mov rax, r13
mov rcx, qword [r13 + 0x28]
movdqu xmm0, xmmword [rbp + 0x38]
sub rax, rdx
movabs rdx, 0xaaaaaaaaaaaaaaab
sar rax, 5
imul rax, rdx
mov byte [rbp + 0x5a], al
mov rax, qword [rbp + 0x48]
movups xmmword [r13 + 0x20], xmm0
mov qword [r13 + 0x30], rax
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
test rcx, rcx
je 0x1401758c0
mov qword [rbp + 0x40], rcx
call qword [0x140273738]
mov dword [rbp + 0x54], eax
mov r8, r13
lea rdx, [0x140175770]
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.14015e820
lea rcx, [rsi + rsi*2]
lea rdx, [rbp + 0x38]
shl rcx, 5
add rcx, rbp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1401754f0
cmp qword [rbp + 0x40], 0
je 0x14017587c
movsxd rcx, dword [rbp + 0x54]
call fcn.14015e070
mov qword [rbp + 0x40], rax
test rax, rax
jne 0x14017587c
mov eax, 7
jmp 0x14017580e
Function at 0x14017c900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0xc0
mov rbx, r8
mov rsi, r9
movzx r8d, byte [r8 + 8]
cmp byte [rcx + 0x16], r8b
jne 0x14017c950
mov r11d, dword [rcx + 0x10]
mov rax, qword [rdx + 8]
mov r10, qword [rbx + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, dword [rdx + 0x10]
mov edx, r11d
mov r8, qword [rcx + 8]
mov rcx, r10
call qword [rbx + 0x18]
add rsp, 0xc0
pop rbx
pop rsi
pop r12
ret
mov rax, qword [rcx + 0x18]
movdqu xmm0, xmmword [rcx]
mov dword [rsp + 0x60], 0
mov dword [rsp + 0xa0], 0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x98], rax
mov rax, qword [rcx + 0x10]
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
movzx eax, word [rcx + 0x14]
test ah, 0x20
jne 0x14017c99a
and ah, 0x8f
or ah, 0x40
mov word [rsp + 0x54], ax
movdqu xmm1, xmmword [rdx]
mov rcx, qword [rdx + 0x10]
movzx edx, word [rdx + 0x14]
mov qword [rsp + 0x90], rcx
movaps xmmword [rsp + 0x80], xmm1
test dh, 0x20
jne 0x14017c9c9
and dh, 0x8f
or dh, 0x40
mov word [rsp + 0x94], dx
movzx edx, r8b
xor r12d, r12d
test al, 1
jne 0x14017c9e8
lea rcx, [rsp + 0x40]
call fcn.14017c080
movzx edx, byte [rbx + 8]
mov r12, rax
mov r8d, edx
movzx eax, word [rsp + 0x94]
mov ecx, eax
and cx, 0x202
cmp cx, 0x202
je 0x14017caa0
test al, 1
jne 0x14017ca70
lea rcx, [rsp + 0x80]
call fcn.14017c080
test r12, r12
je 0x14017ca70
test rax, rax
je 0x14017ca70
mov rcx, qword [rbx + 0x10]
mov edx, dword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9d, dword [rsp + 0x90]
call qword [rbx + 0x18]
mov ecx, dword [rsp + 0x60]
test ecx, ecx
jne 0x14017ca82
mov edx, dword [rsp + 0xa0]
test edx, edx
je 0x14017c93e
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x3c], eax
call fcn.1401645b0
mov eax, dword [rsp + 0x3c]
add rsp, 0xc0
pop rbx
pop rsi
pop r12
ret
test rsi, rsi
je 0x14017ca78
mov byte [rsi], 7
mov ecx, dword [rsp + 0x60]
xor eax, eax
test ecx, ecx
je 0x14017ca40
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x3c], eax
call fcn.1401645b0
mov eax, dword [rsp + 0x3c]
jmp 0x14017ca40
cmp byte [rsp + 0x96], r8b
jne 0x14017ca02
mov rax, qword [rsp + 0x88]
jmp 0x14017ca13
Function at 0x14017cac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
movzx eax, word [rcx + 0x14]
movzx r9d, word [rdx + 0x14]
mov r10d, eax
or r10d, r9d
test r10b, 1
jne 0x14017cb38
test r10b, 0x2c
je 0x14017cb10
mov r8d, eax
and r8d, r9d
test r8b, 0x24
jne 0x14017cb50
and r8d, 8
je 0x14017cb70
movsd xmm1, qword [rcx]
movsd xmm0, qword [rdx]
comisd xmm0, xmm1
ja 0x14017cb80
xor r8d, r8d
comisd xmm1, xmm0
seta r8b
jmp 0x14017cb45
and r10d, 2
je 0x14017cb29
test al, 2
je 0x14017cb90
and r9d, 2
je 0x14017cb80
test r8, r8
jne 0x14017cbc8
add rsp, 0x28
jmp fcn.14015abd0
and r9d, 1
and eax, 1
sub r9d, eax
mov r8d, r9d
mov eax, r8d
add rsp, 0x28
ret
mov rax, qword [rdx]
cmp qword [rcx], rax
jl 0x14017cb80
setg r8b
movzx r8d, r8b
mov eax, r8d
add rsp, 0x28
ret
test al, 0x24
je 0x14017cba0
test r9b, 8
jne 0x14017cbd8
and r9d, 0x24
jne 0x14017cb50
mov r8d, 0xffffffff
jmp 0x14017cb45
mov r8d, 1
jmp 0x14017cb45
mov r8d, 1
test al, 8
je 0x14017cb45
and r9d, 0x24
je 0x14017cb80
movsd xmm1, qword [rcx]
mov rcx, qword [rdx]
call fcn.14015ceb0
neg eax
mov r8d, eax
jmp 0x14017cb45
xor r9d, r9d
add rsp, 0x28
jmp fcn.14017c900
movsd xmm1, qword [rdx]
mov rcx, qword [rcx]
add rsp, 0x28
jmp fcn.14015ceb0

Function at 0x140183e80
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 r15d, dword [rsp + 0xb0]
mov rdi, qword [rcx + 0x10]
mov rbp, qword [rsp + 0xb8]
mov r12d, dword [rsp + 0xc0]
mov rsi, rcx
mov r13d, edx
mov rcx, qword [rcx]
mov dword [rsp + 0x3c], r9d
lea edx, [r15*8 + 0x30]
mov r14d, r8d
movsxd rdx, edx
call fcn.140173f40
mov rbx, rax
test rax, rax
je 0x140183fd0
mov byte [rax + 0x2a], r15b
mov edx, dword [rdi + 0x90]
cmp r12d, 1
mov r10d, 0x41
mov qword [rax], 0
adc r10d, 0
mov qword [rax + 8], rbp
mov qword [rax + 0x18], 0
mov dword [rax + 0x24], 0
mov dword [rax + 0x20], edx
cmp edx, dword [rdi + 0x94]
jge 0x140183fb0
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
xor ecx, ecx
mov word [rax + 2], cx
mov ecx, dword [rsp + 0x3c]
mov byte [rax], r10b
mov dword [rax + 4], r13d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], ecx
mov qword [rax + 0x10], 0
mov byte [rax + 1], 0
mov r9d, 0xfffffff1
mov r8, rbx
mov rcx, rdi
call fcn.140175fe0
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x140183f8d
mov rdx, qword [rdi + 0x88]
lea rax, [rax + rax*2]
and r12d, 0x2e
lea rax, [rdx + rax*8]
mov word [rax - 0x16], r12w
mov rax, qword [rsi + 0xb0]
test rax, rax
cmove rax, rsi
mov byte [rax + 0x21], 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x3c]
mov edx, r10d
mov r9d, r14d
mov r8d, r13d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140182280
mov edx, eax
jmp 0x140183f59
test byte [rbp + 4], 0x10
je 0x140183f9f
mov rcx, qword [rsi]
mov rdx, rbp
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.140164b10
Function at 0x1401bd5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rsi, qword [rsp + 0x90]
mov r13, r8
mov r12, rcx
mov rbx, rdx
mov r8d, r9d
test rdx, rdx
je 0x1401bd6c0
mov rdi, qword [rcx + 0x80]
movzx eax, word [rdi + 6]
mov rcx, qword [rdi + 0x10]
add eax, 1
imul eax, eax, 0x38
lea edx, [rax + 0x28]
test rcx, rcx
je 0x1401bd6a0
call fcn.140173f40
mov r14, rax
test r14, r14
je 0x1401bd6b4
lea rax, [r14 + 0x28]
mov qword [r14], rdi
mov r9, r14
mov r8, rbx
mov qword [r14 + 8], rax
movzx eax, word [rdi + 6]
mov edx, r13d
mov rcx, rdi
add eax, 1
mov word [r14 + 0x1c], ax
call fcn.14016a1f0
movzx eax, word [r14 + 0x1c]
test ax, ax
je 0x1401bd648
cmp ax, word [rdi + 8]
jbe 0x1401bd6e0
lea rax, [0x14043f1ac]
mov r9d, 0x11532
lea r8, str.database_corruption
mov ecx, 0xb
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov r13d, 0xb
call fcn.14019a9e0
mov rax, qword [r12 + 0x80]
mov rdx, r14
mov rcx, qword [rax + 0x10]
call fcn.1401640a0
mov eax, r13d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
mov rcx, rdx
call fcn.14015e070
mov r14, rax
test r14, r14
jne 0x1401bd60c
mov r13d, 7
jmp 0x1401bd68c
mov r9, rsi
mov rdx, r13
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
jmp fcn.1401bdc50
mov r8, rsi
mov rdx, r14
mov rcx, r12
call fcn.1401bcfe0
mov r13d, eax
jmp 0x1401bd678
Function at 0x1401ccf20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [rcx + 0x11], 0
jne 0x1401ccf58
movzx eax, byte [rcx + 0x10]
test al, al
je 0x1401ccf58
cmp al, 1
je 0x1401ccf60
mov r9, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
je 0x1401ccf4e
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x50]
mov eax, dword [rax + 0x28]
bswap eax
mov dword [r8], eax
test edx, edx
jne 0x1401ccf78
xor eax, eax
ret
jmp fcn.1401cc4a0
test edx, edx
jne 0x1401ccf58
mov r9, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
jne 0x1401ccf3e
jmp 0x1401ccf52
mov rcx, qword [rcx]
mov edx, dword [r9 + 0x2e0]
cmp edx, dword [rcx + 0x80]
jle 0x1401ccf52
cmp byte [rcx + 0xa], 0
je 0x1401ccf52
jmp fcn.14016a5c0