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

Disassembly:
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r15
sub rsp, 0x70
mov r15, r9
mov edi, edx
mov r12, rcx
cmp edx, dword [rcx + 0x3c]
jbe 0x140026e43
lea rax, [0x140108c34]
mov edi, reloc.WS2_32.dll_inet_addr
mov ecx, edi
mov qword [rsp + 0x20], rax
mov r9d, 0x10768
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140008fe0
mov eax, edi
add rsp, 0x70
pop r15
pop r12
pop rdi
ret
mov rcx, qword [rcx]
lea r8, [rsp + 0x90]
mov qword [rsp + 0xa8], rbx
xor r9d, r9d
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], r14
call fcn.1400176e0
mov esi, eax
test eax, eax
jne 0x140026ecb
mov rcx, qword [rsp + 0x90]
xor ebp, ebp
mov rbx, qword [rcx + 0x10]
cmp byte [rbx], bpl
jne 0x140026eee
cmp edi, dword [rbx + 0x88]
je 0x140026eb4
mov rax, qword [rcx + 8]
cmp edi, 1
mov qword [rbx + 0x50], rax
mov eax, ebp
mov qword [rbx + 0x70], rcx
mov ecx, 0x64
cmove eax, ecx
mov qword [rbx + 0x48], r12
mov byte [rbx + 5], al
mov dword [rbx + 0x88], edi
mov rcx, rbx
call fcn.14001dd80
mov esi, eax
test eax, eax
je 0x140026eee
mov rcx, qword [rbx + 0x70]
call fcn.140017d30
mov eax, esi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x50]
add rsp, 0x70
pop r15
pop r12
pop rdi
ret
cmp byte [rbx + 8], bpl
je 0x140026f31
lea rax, [0x140108c34]
mov edi, reloc.WS2_32.dll_inet_addr
mov ecx, edi
mov qword [rsp + 0x20], rax
mov r9d, 0x1076d
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.140008fe0
mov rcx, qword [rbx + 0x70]
mov byte [rbx + 8], 0
call fcn.140017d30
mov eax, edi
jmp 0x140026ecd
movzx eax, word [rbx + 0x12]
movzx esi, byte [rbx + 5]
mov qword [rsp + 0x58], r13
mov byte [rbx + 8], 1
mov byte [rsp + 0x98], sil
cmp bp, ax
jae 0x140027004
lea rcx, [rbx + 0x60]
mov r14, rbp
lea rdx, [rbx + 0x14]
mov qword [rsp + 0x30], rcx
lea r8, [rbx + 0x50]
mov qword [rsp + 0x38], rdx
lea r9, [rbx + 4]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r9
nop word [rax + rax]
mov rax, qword [rcx]
movzx ecx, word [r14 + rax]
movzx eax, word [rdx]
ror cx, 8
movzx esi, cx
and rsi, rax
add rsi, qword [r8]
cmp byte [r9], 0
jne 0x140026fbd
mov edx, dword [rsi]
mov r9, r15
bswap edx
mov r8d, 1
mov rcx, r12
call fcn.140026df0
mov edi, eax
test eax, eax
jne 0x140027083
lea r8, [rsp + 0x90]
mov rdx, rsi
mov rcx, rbx
call fcn.1400233f0
mov edi, eax
test eax, eax
jne 0x140027083
movzx eax, word [rbx + 0x12]
inc ebp
mov rcx, qword [rsp + 0x30]
add r14, 2
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
cmp ebp, eax
jl 0x140026f80
movzx esi, byte [rsp + 0x98]
cmp byte [rbx + 4], 0
jne 0x140027031
mov rax, qword [rbx + 0x50]
mov r9, r15
movzx ecx, sil
mov r8d, 1
mov edx, dword [rax + rcx + 8]
mov rcx, r12
bswap edx
call fcn.140026df0
mov edi, eax
test eax, eax
jne 0x140027083
jmp 0x14002703c
test r15, r15
je 0x14002703c
movzx eax, ax
add dword [r15], eax
cmp dword [rsp + 0xa0], 0
je 0x14002705d
mov r8d, dword [rbx + 0x88]
mov rdx, rbx
mov rcx, qword [rbx + 0x48]
call fcn.140023030
mov edi, eax
jmp 0x140027083
mov rcx, qword [rbx + 0x70]
call fcn.1400186e0
mov edi, eax
test eax, eax
jne 0x140027083
mov rax, qword [rbx + 0x50]
mov rcx, rbx
movzx edx, sil
movzx edx, byte [rax + rdx]
or edx, 8
call fcn.14001e000
mov r13, qword [rsp + 0x58]
mov rcx, qword [rbx + 0x70]
mov byte [rbx + 8], 0
call fcn.140017d30
mov eax, edi
jmp 0x140026ecd