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

Disassembly:
push rdi
push r12
push r14
push r15
sub rsp, 0x48
xor r15d, r15d
mov edi, r8d
mov r12d, edx
mov r14, rcx
cmp r8d, 2
jae 0x1400ee2a3
mov r8d, r15d
jmp 0x1400ee2db
mov eax, 0xcccccccd
mul dword [rcx + 0x34]
lea eax, [r8 - 2]
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
xor edx, edx
mov r8d, eax
mov eax, dword [0x14025a208]
div dword [r14 + 0x30]
imul r8d, ecx
inc eax
add r8d, 2
cmp r8d, eax
jne 0x1400ee2db
inc r8d
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x40], rsi
cmp r8d, edi
je 0x1400ee5eb
mov eax, dword [0x14025a208]
xor edx, edx
div dword [r14 + 0x30]
inc eax
cmp edi, eax
je 0x1400ee5eb
mov rax, qword [r14 + 0x18]
mov rdx, qword [rax + 0x70]
movzx eax, byte [rdx + 0x25]
movzx ecx, byte [rdx + 0x24]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x27]
shl ecx, 8
or ecx, eax
jne 0x1400ee33a
lea eax, [rcx + 0x65]
jmp 0x1400ee839
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x80]
mov edx, edi
mov rcx, r14
call fcn.1400eb2b0
test eax, eax
jne 0x1400ee839
cmp byte [rsp + 0x80], 1
jne 0x1400ee389
lea r9, [0x1401ead24]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rax + 0xb]
mov r8d, 0xb91b
call fcn.1400dc4c0
mov eax, ntohs
jmp 0x1400ee839
cmp byte [rsp + 0x80], 2
jne 0x1400ee3d6
test r12d, r12d
jne 0x1400ee837
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x88]
mov r9d, edi
mov rcx, r14
mov byte [rsp + 0x20], 1
call fcn.1400f0b70
test eax, eax
jne 0x1400ee839
mov rcx, qword [rsp + 0x88]
call fcn.1400ec5c0
jmp 0x1400ee5f4
mov rbp, qword [r14]
test edi, edi
jne 0x1400ee405
lea r9, [0x1401ead24]
lea rdx, str.database_corruption_at_line__d_of___.10s_
lea ecx, [rdi + 0xb]
mov r8d, 0x9878
call fcn.1400dc4c0
mov ebx, ntohs
mov eax, ebx
jmp 0x1400ee839
mov ebx, dword [rbp + 0x2c]
test ebx, ebx
jne 0x1400ee428
mov rcx, qword [rbp + 0xe0]
lea r9, [rsp + 0x88]
lea r8d, [rbx + 1]
mov edx, edi
call fcn.1400e1420
mov ebx, eax
test ebx, ebx
jne 0x1400ee4ff
mov rsi, qword [rsp + 0x88]
cmp qword [rsi + 0x20], r15
jne 0x1400ee51f
mov qword [rsi + 0x20], rbp
cmp edi, 0x7fffffff
ja 0x1400ee4aa
mov eax, dword [0x14025a208]
movsxd rcx, dword [rbp + 0xa0]
cdq
idiv ecx
inc eax
cmp edi, eax
je 0x1400ee4aa
cmp byte [rbp + 0x11], r15b
jne 0x1400ee48c
cmp dword [rbp + 0x1c], edi
jb 0x1400ee48c
mov rax, qword [rbp + 0x48]
cmp qword [rax], r15
je 0x1400ee48c
mov rcx, rsi
call fcn.1400e4760
mov ebx, eax
test eax, eax
je 0x1400ee51f
jmp 0x1400ee4cd
cmp edi, dword [rbp + 0xa4]
jbe 0x1400ee49b
mov ebx, ntohs
jmp 0x1400ee4cd
mov r8, rcx
mov rcx, qword [rsi]
xor edx, edx
call sub.MSVCR90.dll_memset
jmp 0x1400ee51f
lea r9, [0x1401ead24]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0x989f
mov ecx, ntohs
call fcn.1400dc4c0
mov ebx, ntohs
test byte [rsi + 0x28], 2
je 0x1400ee4db
mov rcx, rsi
call fcn.1400e13b0
mov rcx, qword [rsi + 0x30]
dec dword [rcx + 0x18]
cmp dword [rsi + 0x18], 1
jne 0x1400ee4ec
mov qword [rcx + 0x48], r15
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rsi
call qword [0x14025a2e8]
mov rax, qword [rbp + 0xe0]
cmp dword [rax + 0x18], r15d
jne 0x1400ee514
mov rcx, rbp
call fcn.1400e3c80
mov rsi, r15
test ebx, ebx
jne 0x1400ee5e4
mov rax, qword [rsi]
mov rbp, qword [rsi + 8]
cmp edi, 1
mov qword [rbp + 0x70], rax
mov eax, r15d
mov ecx, 0x64
cmove eax, ecx
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x68], r14
mov byte [rbp + 5], al
mov dword [rbp + 0x80], edi
nop dword [rax]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x38]
xor r9d, r9d
mov rcx, r14
mov byte [rsp + 0x20], r15b
call fcn.1400f0b70
mov ebx, eax
test eax, eax
jne 0x1400ee5dc
mov rcx, qword [rsp + 0x38]
call fcn.1400ec5c0
mov ebx, dword [rsp + 0x88]
test r12d, r12d
je 0x1400ee58e
cmp ebx, r12d
ja 0x1400ee550
mov rcx, qword [rbp + 0x78]
call fcn.1400e69c0
mov esi, eax
test eax, eax
jne 0x1400ee5c9
mov r9d, dword [rsp + 0x30]
movzx r8d, byte [rsp + 0x80]
mov eax, r15d
test r12d, r12d
mov rdx, rbp
mov rcx, r14
setne al
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.1400edfa0
mov esi, eax
mov rcx, rbp
call fcn.1400ec5c0
test esi, esi
je 0x1400ee5eb
mov eax, esi
jmp 0x1400ee839
mov rcx, rbp
call fcn.1400ec5c0
mov eax, ebx
jmp 0x1400ee839
test r12d, r12d
jne 0x1400ee837
mov rbp, qword [rsp + 0x88]
dec edi
lea r12d, [rdi - 2]
nop word [rax + rax]
mov eax, dword [0x14025a208]
xor edx, edx
div dword [r14 + 0x30]
lea r8d, [rax + 1]
cmp edi, r8d
je 0x1400ee65b
cmp edi, 2
jae 0x1400ee62f
mov eax, r15d
jmp 0x1400ee653
mov eax, 0xcccccccd
mul dword [r14 + 0x34]
mov eax, r12d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
imul eax, ecx
add eax, 2
cmp eax, r8d
jne 0x1400ee653
inc eax
cmp eax, edi
jne 0x1400ee82d
cmp edi, 2
jae 0x1400ee665
mov eax, r15d
jmp 0x1400ee689
mov eax, 0xcccccccd
mul dword [r14 + 0x34]
mov eax, r12d
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
imul eax, ecx
add eax, 2
cmp eax, r8d
jne 0x1400ee689
inc eax
cmp eax, edi
jne 0x1400ee823
mov rbx, qword [r14]
test edi, edi
je 0x1400ee854
mov esi, dword [rbx + 0x2c]
test esi, esi
jne 0x1400ee6c7
mov rcx, qword [rbx + 0xe0]
lea r9, [rsp + 0x88]
lea r8d, [rsi + 1]
mov edx, edi
call fcn.1400e1420
mov rbp, qword [rsp + 0x88]
mov esi, eax
test esi, esi
jne 0x1400ee797
cmp qword [rbp + 0x20], r15
jne 0x1400ee7bf
mov qword [rbp + 0x20], rbx
cmp edi, 0x7fffffff
ja 0x1400ee742
mov eax, dword [0x14025a208]
movsxd rcx, dword [rbx + 0xa0]
cdq
idiv ecx
inc eax
cmp edi, eax
je 0x1400ee742
cmp byte [rbx + 0x11], r15b
jne 0x1400ee723
cmp dword [rbx + 0x1c], edi
jb 0x1400ee723
mov rax, qword [rbx + 0x48]
cmp qword [rax], r15
je 0x1400ee723
mov rcx, rbp
call fcn.1400e4760
mov esi, eax
test eax, eax
je 0x1400ee7bf
jmp 0x1400ee765
cmp edi, dword [rbx + 0xa4]
jbe 0x1400ee732
mov esi, ntohs
jmp 0x1400ee765
mov r8, rcx
mov rcx, qword [rbp]
xor edx, edx
call sub.MSVCR90.dll_memset
jmp 0x1400ee7bf
lea r9, [0x1401ead24]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0x989f
mov ecx, ntohs
call fcn.1400dc4c0
mov esi, ntohs
test byte [rbp + 0x28], 2
je 0x1400ee773
mov rcx, rbp
call fcn.1400e13b0
mov rcx, qword [rbp + 0x30]
dec dword [rcx + 0x18]
cmp dword [rbp + 0x18], 1
jne 0x1400ee784
mov qword [rcx + 0x48], r15
mov rcx, qword [rcx + 0x40]
mov r8d, 1
mov rdx, rbp
call qword [0x14025a2e8]
mov rax, qword [rbx + 0xe0]
cmp dword [rax + 0x18], r15d
jne 0x1400ee7ac
mov rcx, rbx
call fcn.1400e3c80
mov rbp, r15
mov qword [rsp + 0x88], r15
test esi, esi
jne 0x1400ee877
mov rax, qword [rbp]
mov rbx, qword [rbp + 8]
mov ecx, 0x64
mov qword [rbx + 0x70], rax
mov eax, r15d
cmp edi, 1
cmove eax, ecx
mov rcx, rbp
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x68], r14
mov dword [rbx + 0x80], edi
mov byte [rbx + 5], al
call fcn.1400e69c0
mov rcx, qword [rbx + 0x78]
mov esi, eax
test rcx, rcx
je 0x1400ee81b
mov rbx, qword [rcx + 0x20]
call fcn.1400e15e0
mov r11, qword [rbx + 0xe0]
cmp dword [r11 + 0x18], r15d
jne 0x1400ee81b
mov rcx, rbx
call fcn.1400e3c80
test esi, esi
jne 0x1400ee5d5
dec edi
dec r12d
jmp 0x1400ee610
mov rax, qword [r14]
mov dword [rax + 0x1c], edi
mov dword [r14 + 0x3c], edi
xor eax, eax
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
ret
lea r9, [0x1401ead24]
lea rdx, str.database_corruption_at_line__d_of___.10s_
mov r8d, 0x9878
mov ecx, ntohs
call fcn.1400dc4c0
mov esi, ntohs
mov eax, esi
jmp 0x1400ee839