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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov ebp, r9d
mov rdi, r8
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
cmp edx, 1
jbe 0x140269340
test bpl, 2
jne 0x1402692d3
cmp byte [rsi + 0x15], 1
jne 0x140269348
mov rcx, qword [rsi + 0x128]
test rcx, rcx
jne 0x1402695d5
lea r12, [rsp + 0x30]
mov qword [r12], 0
mov rcx, qword [rsi + 0x48]
mov r8, qword [rsi + 0xc8]
lea r14d, [rbx - 1]
mov rdx, r8
imul rdx, r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x88]
mov r9, r12
call qword [0x140505c38]
mov r15d, eax
test eax, eax
sete al
mov r12, qword [r12]
test r12, r12
setne cl
and cl, al
cmp cl, 1
je 0x140269481
test r15d, r15d
je 0x140269348
jmp 0x14026982c
test ebx, ebx
je 0x1402697cf
mov r14, qword [rsi + 0x120]
movzx r10d, byte [r14 + 0x31]
mov r9d, r10d
and r9d, 3
mov rax, qword [0x140527b78]
mov rcx, qword [r14 + 0x48]
lea rdx, [0x1401dfd80]
cmp rax, rdx
jne 0x140269723
mov r8, qword [rcx + 0x40]
mov eax, ebx
xor edx, edx
div dword [rcx + 0x3c]
mov r8, qword [r8 + rdx*8]
test r8, r8
je 0x140269649
cmp dword [r8 + 0x10], ebx
jne 0x14026971a
mov rax, qword [r8 + 0x28]
test rax, rax
jne 0x14026940a
mov rcx, qword [rsi + 0x120]
mov r14, qword [r8 + 8]
cmp qword [r14], 0
je 0x1402693ea
inc qword [rcx + 0x18]
inc qword [r14 + 0x38]
mov qword [rdi], r14
test bpl, 1
jne 0x140269432
cmp qword [r14 + 0x28], 0
je 0x140269432
inc dword [rsi + 0xf8]
xor r15d, r15d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1402693f6
call fcn.14029bbb0
int3
mov edx, ebx
call fcn.1401a6bc0
mov r14, rax
jmp 0x1402693ba
mov eax, r15d
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r8 + 0x30]
mov qword [rcx + 0x28], rax
mov rax, qword [r8 + 0x28]
mov rcx, qword [r8 + 0x30]
mov qword [rax + 0x30], rcx
mov qword [r8 + 0x28], 0
mov rax, qword [r8 + 0x20]
dec dword [rax + 0x34]
jmp 0x1402693a1
cmp dword [rsi + 0xc0], ebx
je 0x140269753
mov qword [r14 + 0x28], rsi
mov rax, qword [rsi + 0x48]
cmp qword [rax], 0
je 0x14026950a
test bpl, 1
jne 0x14026950a
cmp dword [rsi + 0x20], ebx
jb 0x14026950a
inc dword [rsi + 0xfc]
mov rcx, r14
call fcn.1401a6c10
xor r15d, r15d
test eax, eax
je 0x1402693d3
jmp 0x14026974e
cmp byte [rsi + 0x15], 1
jbe 0x140269594
mov rcx, qword [rsi + 0x120]
mov rax, qword [0x140527b78]
mov rcx, qword [rcx + 0x48]
mov edx, ebx
xor r8d, r8d
call qword [0x140505c38]
test rax, rax
je 0x14026958d
mov rcx, qword [rsi + 0x120]
mov r13, qword [rax + 8]
cmp qword [r13], 0
je 0x140269834
inc qword [rcx + 0x18]
inc qword [r13 + 0x38]
mov r12, qword [rsp + 0x30]
test r13, r13
je 0x14026959e
imul r14, qword [rsi + 0xc8]
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
mov rdx, r14
mov r8, r12
call qword [0x140505c38]
xor r15d, r15d
mov qword [rdi], r13
jmp 0x1402693d3
cmp dword [rsi + 0xbc], ebx
jb 0x140269733
test bpl, 1
je 0x140269573
mov rax, qword [0x140536988]
test rax, rax
jne 0x1402697b9
cmp dword [rsi + 0x24], ebx
jae 0x140269846
mov eax, dword [rsi + 0x80]
test eax, eax
jle 0x140269563
mov edi, 0x18
xor r15d, r15d
mov rcx, qword [rsi + 0x78]
cmp dword [rcx + rdi], ebx
jae 0x140269856
inc r15
movsxd rcx, eax
add rdi, 0x38
cmp r15, rcx
jl 0x140269547
mov rax, qword [0x140536990]
test rax, rax
jne 0x1402697c4
mov rcx, qword [r14 + 8]
mov r8, qword [rsi + 0xc8]
xor r15d, r15d
xor edx, edx
call fcn.1402d9b60
jmp 0x1402693d3
mov r12, qword [rsp + 0x30]
jmp 0x14026959e
cmp byte [rsi + 0x10], 0
jne 0x14026948b
mov r13, qword [rsi + 0xa8]
test r13, r13
je 0x1402695f9
mov rax, qword [r13 + 0x20]
mov qword [rsi + 0xa8], rax
xor eax, eax
mov qword [r13 + 0x20], rax
mov rcx, qword [r13 + 0x10]
mov qword [rcx], rax
mov dword [r13 + 0x30], ebx
mov qword [r13 + 8], r12
inc dword [rsi + 0x98]
jmp 0x1402694ff
lea r8, [rsp + 0x3c]
mov edx, ebx
call fcn.1401a6b90
test eax, eax
jne 0x1402697b4
cmp dword [rsp + 0x3c], 0
jne 0x140269348
jmp 0x1402692e3
movzx r15d, word [rsi + 0xb0]
add r15, 0x50
mov rcx, r15
call fcn.14025c810
test rax, rax
je 0x140269804
mov r13, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.1402d9b60
mov rax, r13
add rax, 0x50
mov qword [r13 + 0x10], rax
mov word [r13 + 0x34], 0x20
mov qword [r13 + 0x38], 1
mov qword [r13 + 0x28], rsi
jmp 0x1402695c2
test r9b, r9b
je 0x14026966f
mov edx, ebx
mov r8d, r9d
call fcn.1401dffd0
mov r8, rax
test rax, rax
jne 0x1402693a1
mov r14, qword [rsi + 0x120]
mov r10b, byte [r14 + 0x31]
mov r15d, 7
cmp r10b, 2
je 0x140269788
mov rax, qword [0x140527b70]
mov rcx, qword [r14 + 0x48]
call qword [0x140505c38]
cmp eax, dword [r14 + 0x24]
jle 0x1402696c6
mov rdx, qword [r14 + 0x10]
test rdx, rdx
je 0x1402696fc
cmp qword [rdx + 0x38], 0
jne 0x1402696f6
test byte [rdx + 0x34], 8
jne 0x1402696f6
mov qword [r14 + 0x10], rdx
mov rax, qword [r14 + 0x38]
mov rcx, qword [r14 + 0x40]
call qword [0x140505c38]
test eax, eax
jne 0x14026986d
mov rax, qword [0x140527b78]
mov rcx, qword [r14 + 0x48]
mov edx, ebx
mov r8d, 2
call qword [0x140505c38]
mov r8, rax
mov r15d, 7
test rax, rax
jne 0x1402693a1
jmp 0x140269788
mov rdx, qword [rdx + 0x48]
jmp 0x14026969a
mov qword [r14 + 0x10], 0
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x1402696c6
cmp qword [rdx + 0x38], 0
je 0x1402696b0
mov rdx, qword [rdx + 0x48]
jmp 0x140269708
mov r8, qword [r8 + 0x18]
jmp 0x140269385
mov edx, ebx
mov r8d, r9d
call qword [0x140505c38]
jmp 0x140269658
mov r15d, ntohl
cmp dword [rsi + 0x20], ebx
jb 0x140269783
mov rcx, r14
call fcn.140268ee0
mov r15d, ntohl
jmp 0x140269788
mov r15d, eax
jmp 0x140269783
lea rax, [0x1404f37d1]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov r15d, ntohl
mov ecx, ntohl
mov r9d, 0xf4bc
call fcn.14019af90
test r14, r14
jne 0x1402697aa
mov rax, qword [rsi + 0x120]
cmp qword [rax + 0x18], 0
jne 0x14026979e
mov rcx, rsi
call fcn.1401a6d40
mov qword [rdi], 0
jmp 0x1402693d3
mov rcx, r14
call fcn.14040a8c0
jmp 0x140269788
mov r15d, eax
jmp 0x14026979e
call qword [0x140505c38]
jmp 0x14026952c
call qword [0x140505c38]
jmp 0x140269573
lea rax, [0x1404f37d1]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov r15d, ntohl
mov ecx, ntohl
mov r9d, 0xf50f
call fcn.14019af90
jmp 0x1402693d3
imul r14, qword [rsi + 0xc8]
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
mov rdx, r14
mov r8, r12
call qword [0x140505c38]
mov r15d, 7
xor r13d, r13d
jmp 0x140269502
mov edx, ebx
mov r8, rax
call fcn.1401a6bc0
mov r13, rax
jmp 0x1402694cf
mov rcx, qword [rsi + 0x40]
mov edx, ebx
call fcn.1401a3360
jmp 0x140269535
mov rcx, qword [rcx + rdi - 8]
mov edx, ebx
call fcn.1401a3360
mov eax, dword [rsi + 0x80]
jmp 0x140269554
mov r15d, eax
cmp eax, 5
je 0x1402696c6
jmp 0x140269788