Function at 0x14024b430
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, 0x38
xor r13d, r13d
cmp byte [rcx + 0x10], 2
jne 0x14024b53c
mov rsi, rdx
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x21], 0
je 0x14024b476
mov rbx, qword [rdi]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14024b470
and byte [rax + 1], 0xfb
mov rax, qword [rax + 0x28]
jmp 0x14024b461
cmp byte [rdi + 0x22], 0
je 0x14024b4a3
cmp byte [rdi + 0x23], 0
je 0x14024b485
mov eax, dword [rdi + 0x40]
mov rcx, qword [rdi]
mov dword [rcx + 0x20], eax
mov rcx, qword [rdi]
mov rdx, rsi
xor r8d, r8d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14024a950
mov r14d, dword [rdi + 0x40]
xor eax, eax
cmp r14d, 2
jb 0x14024b4f1
mov eax, dword [rdi + 0x38]
mov r9d, 0xcccccccd
imul r9, rax
shr r9, 0x22
inc r9d
lea r8d, [r14 - 2]
mov eax, r8d
xor edx, edx
div r9d
sub r8d, edx
mov eax, dword [0x14041b130]
xor edx, edx
div dword [rdi + 0x34]
lea edx, [r8 + 1]
xor r9d, r9d
cmp edx, eax
sete r9b
lea eax, [r9 + r8]
add eax, 2
cmp eax, r14d
je 0x14024b50c
mov eax, dword [0x14041b130]
mov r8d, dword [rdi + 0x34]
xor edx, edx
div r8d
inc eax
cmp r14d, eax
jne 0x14024b550
lea rax, [0x1403f1b90]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov r13d, recv
mov ecx, 0xb
mov r9d, 0x11b1e
call fcn.1402487b0
mov eax, r13d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdi + 0x18]
mov rax, qword [rax + 0x50]
mov r13d, dword [rax + 0x24]
mov ebp, r13d
bswap ebp
mov r9, qword [rcx]
mov rax, qword [r9 + 0x148]
mov r15d, ebp
test rax, rax
je 0x14024b5d5
mov r10d, dword [r9 + 0x28]
mov rdx, qword [r9 + 0x20]
test r10d, r10d
jle 0x14024b59d
lea r15, [rdx + 8]
xor r11d, r11d
cmp qword [r15], rcx
je 0x14024b5a0
inc r11
add r15, 0x20
cmp r10, r11
jne 0x14024b587
mov r11d, r10d
jmp 0x14024b5a0
xor r11d, r11d
mov ecx, r11d
shl rcx, 5
mov rdx, qword [rdx + rcx]
mov rcx, qword [r9 + 0x138]
mov dword [rsp + 0x20], r8d
mov r8d, r14d
mov r9d, ebp
call qword [case.0x1403339d6.0]
mov r15d, eax
cmp eax, ebp
cmovae r15d, ebp
test r15d, r15d
je 0x14024b476
mov eax, dword [rdi + 0x38]
mov r11d, 0xcccccccd
imul r11, rax
shr r11, 0x22
mov r8d, r15d
sub r8d, r14d
cmp r14d, 1
ja 0x14024b608
mov eax, dword [0x14041b130]
xor r9d, r9d
xor edx, edx
div dword [rdi + 0x34]
mov ecx, eax
lea r10d, [r11 + 1]
jmp 0x14024b63a
lea r10d, [r11 + 1]
lea r9d, [r14 - 2]
mov eax, r9d
xor edx, edx
div r10d
sub r9d, edx
mov eax, dword [0x14041b130]
xor edx, edx
div dword [rdi + 0x34]
mov ecx, eax
lea eax, [r9 + 1]
xor edx, edx
cmp eax, ecx
sete dl
add r9d, edx
add r9d, 2
add r8d, r11d
add r8d, r9d
mov eax, r8d
xor edx, edx
div r11d
add eax, r15d
mov edx, r14d
sub edx, eax
lea r9d, [rcx + 1]
cmp r9d, r14d
setb al
cmp edx, r9d
setb r8b
and r8b, al
movzx eax, r8b
sub edx, eax
mov r12d, edx
mov eax, 0
cmp edx, 2
jb 0x14024b699
lea r8d, [r12 - 2]
mov eax, r8d
xor edx, edx
div r10d
sub r8d, edx
lea eax, [r8 + 1]
xor edx, edx
cmp eax, ecx
sete dl
lea eax, [rdx + r8]
add eax, 2
lea edx, [r12 - 1]
cmp r12d, eax
je 0x14024b66a
cmp r12d, r9d
je 0x14024b66a
cmp r12d, r14d
jbe 0x14024b6dd
lea rax, [0x1403f1b90]
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
lea r8, str.database_corruption
mov r13d, recv
mov ecx, 0xb
mov r9d, 0x11b39
jmp 0x14024b537
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], r13d
jae 0x14024b700
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14024b707
xor edx, edx
xor r8d, r8d
call fcn.14025fbb0
mov r13d, eax
jmp 0x14024b70a
mov al, 1
xor r13d, r13d
jmp 0x14024b744
xor r13d, r13d
test r13d, r13d
je 0x14024b713
xor eax, eax
jmp 0x14024b744
xor ebp, ebp
cmp r15d, dword [rsp + 0x30]
sete bpl
mov rcx, rdi
mov edx, r12d
mov r8d, r14d
mov r9d, ebp
call fcn.14025f690
mov r13d, eax
dec r14d
test eax, eax
sete al
cmp r14d, r12d
jbe 0x14024b744
test r13d, r13d
je 0x14024b71e
cmp r13d, 0x65
setne cl
xor al, 1
test cl, al
jne 0x14024b7ed
cmp dword [rsp + 0x34], 0
je 0x14024b7ed
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x70]
mov rax, qword [rcx + 0x28]
test byte [rcx + 0x34], 4
je 0x14024b77a
mov edx, dword [rax + 0x20]
cmp edx, dword [rcx + 0x30]
jae 0x14024b79c
mov r13d, dword [rax + 0x30]
test r13d, r13d
mov ebp, dword [rsp + 0x30]
jne 0x14024b7b8
mov edx, dword [rax + 0xb8]
cmp edx, dword [rax + 0xc8]
jbe 0x14024b7b0
call fcn.14025edd0
jmp 0x14024b7b5
cmp dword [rax + 0x80], 0
mov ebp, dword [rsp + 0x30]
je 0x14024b803
call fcn.140254ba0
jmp 0x14024b7b5
call fcn.14025f170
mov r13d, eax
cmp r15d, ebp
jne 0x14024b7d5
mov rax, qword [rdi + 0x18]
mov rax, qword [rax + 0x50]
xor ecx, ecx
mov dword [rax + 0x20], ecx
mov rax, qword [rdi + 0x18]
mov rax, qword [rax + 0x50]
mov dword [rax + 0x24], ecx
mov rax, qword [rdi + 0x18]
mov rax, qword [rax + 0x50]
mov ecx, r12d
bswap ecx
mov dword [rax + 0x1c], ecx
mov byte [rdi + 0x23], 1
mov dword [rdi + 0x40], r12d
test r13d, r13d
je 0x14024b476
mov rcx, rbx
call fcn.1402594c0
jmp 0x14024b53c
xor r13d, r13d
jmp 0x14024b7b8