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

Disassembly:
push rbp
push rsi
push r13
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor esi, esi
mov dword [rbp - 0x50], r9d
mov r9, rcx
mov qword [rbp - 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x58], r8
mov dword [rsp + 0x4c], esi
mov r13d, esi
mov dword [rbp - 0x60], esi
mov r10, qword [r9 + 0x48]
mov qword [rbp - 0x80], r10
mov dword [rbp + 0xf8], ecx
mov byte [rbp + 0xfc], cl
mov dword [rbp - 0x30], esi
mov qword [rbp - 0x20], rsi
test r8, r8
jne 0x1400c876a
lea eax, [rsi + 7]
jmp 0x1400c9d0d
movzx ecx, word [r9 + 0x18]
movzx r8d, byte [r9 + 0xc]
mov qword [rsp + 0x278], rbx
mov qword [rsp + 0x238], rdi
mov qword [rsp + 0x230], r12
lea ebx, [r8 + rcx]
mov qword [rsp + 0x228], r14
mov qword [rsp + 0x220], r15
cmp ebx, 2
jae 0x1400c87a9
mov edx, esi
jmp 0x1400c87d1
test edx, edx
jne 0x1400c87b1
mov edx, esi
jmp 0x1400c87c4
cmp edx, ebx
jne 0x1400c87c2
mov eax, dword [rbp + 0x180]
lea edx, [rax - 2]
add edx, ebx
jmp 0x1400c87ca
dec edx
mov eax, dword [rbp + 0x180]
mov ebx, 2
sub ebx, eax
mov eax, edx
mov dword [rsp + 0x68], edx
sub eax, r8d
mov dword [rsp + 0x70], ebx
add eax, ebx
lea r12d, [rbx + 1]
mov dword [rsp + 0x6c], r12d
cmp eax, ecx
jne 0x1400c87f8
movzx ecx, byte [r9 + 9]
add rcx, 8
jmp 0x1400c8814
add eax, eax
movsxd rcx, eax
mov rax, qword [r9 + 0x60]
movzx edx, word [rcx + rax]
movzx eax, word [r9 + 0x1a]
ror dx, 8
movzx ecx, dx
and rcx, rax
add rcx, qword [r9 + 0x50]
lea r8, [rbp + 0x58]
movsxd r15, ebx
xor r9d, r9d
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], r15
mov edx, dword [rcx]
mov rcx, r10
bswap edx
lea rdi, [r15*8]
mov dword [rbp - 0x78], edx
add r8, rdi
mov dword [rbp - 0x70], edx
mov dword [rsp + 0x20], esi
call fcn.1400df220
mov dword [rsp + 0x44], eax
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1400c89d8
lea r15, [rbp + r15*4 + 0x40]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbp + rdi + 0x58]
movsxd r12, ebx
cmp dword [rcx + 0x14], r13d
jge 0x1400c8896
call fcn.1400ca750
mov dword [rsp + 0x44], eax
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1400c89ef
mov eax, ebx
sub r15, 4
dec ebx
sub rdi, 8
test eax, eax
je 0x1400c8ad2
mov r14, qword [rbp - 0x68]
movzx edx, byte [r14 + 0xc]
test dl, dl
je 0x1400c88f2
mov eax, dword [rsp + 0x68]
movzx ecx, word [r14 + 0x1c]
add eax, ebx
cmp eax, ecx
jne 0x1400c88f2
mov rdx, qword [r14 + 0x28]
mov rcx, r14
mov qword [rbp + rdi + 0x100], rdx
mov eax, dword [rdx]
bswap eax
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x70], eax
call qword [r14 + 0x78]
movzx eax, ax
mov dword [r15], eax
mov byte [r14 + 0xc], r13b
jmp 0x1400c89a7
mov rax, qword [r14 + 0x60]
mov ecx, dword [rsp + 0x68]
sub ecx, edx
add ecx, ebx
add ecx, ecx
movsxd rcx, ecx
movzx edx, word [rcx + rax]
mov rcx, r14
movzx eax, word [r14 + 0x1a]
ror dx, 8
movzx esi, dx
and rsi, rax
add rsi, qword [r14 + 0x50]
mov rdx, rsi
mov qword [rbp + rdi + 0x100], rsi
mov eax, dword [rsi]
bswap eax
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x70], eax
call qword [r14 + 0x78]
mov rdx, qword [rbp - 0x80]
movzx r14d, ax
mov dword [r15], r14d
test byte [rdx + 0x28], 0xc
je 0x1400c8988
mov rax, qword [rbp - 0x68]
mov ecx, esi
sub ecx, dword [rax + 0x50]
lea eax, [r14 + rcx]
cmp eax, dword [rdx + 0x38]
jg 0x1400c8a07
movsxd rcx, ecx
mov r8d, r14d
add rcx, qword [rbp - 0x58]
mov rdx, rsi
call fcn.14016bcc0
mov rcx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
sub rax, qword [rcx + 0x50]
add rax, rsi
mov qword [rbp + rdi + 0x100], rax
jmp 0x1400c898c
mov rcx, qword [rbp - 0x68]
movzx eax, byte [rcx + 0xc]
lea r9, [rsp + 0x40]
mov edx, dword [rsp + 0x68]
mov r8d, r14d
sub edx, eax
add edx, ebx
call fcn.1400d4270
xor esi, esi
mov edx, dword [rbp - 0x78]
lea r8, [rbp + 0x58]
mov rcx, qword [rbp - 0x80]
xor r9d, r9d
movsxd rax, ebx
mov dword [rsp + 0x20], esi
lea r8, [r8 + rax*8]
call fcn.1400df220
mov dword [rsp + 0x44], eax
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
je 0x1400c8870
lea eax, [rbx + 1]
xor edx, edx
movsxd r8, eax
lea rcx, [rbp + 0x58]
shl r8, 3
call fcn.14016b7a0
jmp 0x1400c8a49
movsxd r8, ebx
lea rcx, [rbp + 0x58]
xor edx, edx
lea r8, [r8*8]
call fcn.14016b7a0
jmp 0x1400c8a49
lea rax, [0x1401c4374]
mov r14d, reloc.WS2_32.dll_inet_addr
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x11abd
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400c3860
mov r8, r12
lea rcx, [rbp + 0x58]
shl r8, 3
xor edx, edx
call fcn.14016b7a0
xor esi, esi
movsxd rax, dword [rsp + 0x6c]
mov r15, qword [rsp + 0x220]
mov rdi, rax
mov r12, qword [rsp + 0x230]
test eax, eax
jle 0x1400c9c7c
mov rbx, rsi
nop dword [rax]
mov r8, qword [rbp + rbx*8 + 0x58]
test r8, r8
je 0x1400c9c70
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1400c9c68
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
movsxd rax, dword [r10 + 0xbc]
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
mov r9, qword [rcx]
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x1400c9c70
mov rdi, qword [rbp - 0x80]
mov eax, 0xaaaaaaab
mov r14d, dword [rsp + 0x6c]
mov r8d, dword [rdi + 0x34]
lea ecx, [r8 - 8]
mul ecx
mov ebx, edx
shr ebx, 2
add ebx, 4
imul ebx, r14d
add ebx, 3
and ebx, 0xfffffffc
lea eax, [rbx + rbx*4]
lea ecx, [r8 + rax*2]
movsxd rcx, ecx
call fcn.140118990
mov qword [rbp - 0x20], rax
mov rdx, rax
test rax, rax
jne 0x1400c8b20
lea r14d, [rax + 7]
jmp 0x1400c8a49
mov rcx, qword [rbp + 0x58]
xor r12d, r12d
movsxd rax, ebx
mov qword [rbp - 0x28], rcx
mov dword [rsp + 0x60], r12d
movzx r8d, byte [rcx + 8]
movzx r11d, byte [rcx + 3]
lea r9, [rdx + rax*8]
shl r8w, 2
lea rax, [r9 + rax*2]
mov qword [rbp - 0x18], r9
mov qword [rsp + 0x78], rax
mov word [rsp + 0x50], r8w
mov dword [rsp + 0x48], r11d
test r14d, r14d
jle 0x1400c8ef9
nop word [rax + rax]
mov r14, qword [rbp + r12*8 + 0x58]
mov rax, qword [rcx + 0x50]
mov rdi, qword [r14 + 0x50]
movzx ebx, word [r14 + 0x12]
movzx ecx, byte [rax]
add rbx, rdi
movzx esi, word [r14 + 0x18]
movzx r15d, word [r14 + 0x1a]
cmp byte [rdi], cl
jne 0x1400c8ec6
movsxd rax, dword [rbp - 0x30]
xor edx, edx
movzx r8d, byte [r14 + 0xc]
add r8, rsi
add r8, r8
lea rcx, [r9 + rax*2]
call fcn.14016b7a0
movzx ecx, byte [r14 + 0xc]
test cl, cl
je 0x1400c8c42
movzx eax, word [r14 + 0x1c]
cmp si, ax
jb 0x1400c8d67
mov r9d, dword [rbp - 0x30]
xor r8d, r8d
mov r10, qword [rbp - 0x20]
cmp r8w, ax
jae 0x1400c8c0f
mov edx, eax
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
and rcx, r15
movsxd rax, r9d
add rcx, rdi
inc r9d
mov qword [r10 + rax*8], rcx
sub rdx, 1
jne 0x1400c8be2
movzx ecx, byte [r14 + 0xc]
mov dword [rbp - 0x30], r9d
test cl, cl
je 0x1400c8c42
lea rdx, [r14 + 0x28]
nop word [rax + rax]
mov rax, qword [rdx]
lea rdx, [rdx + 8]
movsxd rcx, r9d
inc r8d
inc r9d
mov qword [r10 + rcx*8], rax
movzx eax, byte [r14 + 0xc]
cmp r8d, eax
jl 0x1400c8c20
mov dword [rbp - 0x30], r9d
movzx edx, word [r14 + 0x18]
movzx ecx, word [r14 + 0x12]
add rcx, rdi
lea r8, [rcx + rdx*2]
mov edx, dword [rbp - 0x30]
cmp rbx, r8
jae 0x1400c8c85
mov r9, qword [rbp - 0x20]
nop
movzx eax, word [rbx]
add rbx, 2
ror ax, 8
movzx ecx, ax
and rcx, r15
movsxd rax, edx
add rcx, rdi
inc edx
mov qword [r9 + rax*8], rcx
cmp rbx, r8
jb 0x1400c8c60
mov dword [rbp - 0x30], edx
mov r15d, dword [rsp + 0x60]
mov r11d, dword [rsp + 0x48]
mov dword [rbp + r12*4 + 0xc8], edx
cmp r15d, dword [rsp + 0x70]
jge 0x1400c8d3f
test r11b, r11b
jne 0x1400c8d3f
movzx ecx, word [rbp + r12*4 + 0x40]
mov rax, qword [rbp - 0x18]
mov r8d, ecx
movsxd rdi, edx
mov rdx, qword [rbp + r12*8 + 0x100]
lea rsi, [rax + rdi*2]
movsxd rbx, r13d
add r13d, ecx
add rbx, qword [rsp + 0x78]
mov word [rsi], cx
mov rcx, rbx
call fcn.14016bcc0
movzx r8d, word [rsp + 0x50]
mov rdx, qword [rbp - 0x20]
lea rax, [rbx + r8]
mov qword [rdx + rdi*8], rax
sub word [rsi], r8w
cmp byte [r14 + 8], 0
jne 0x1400c8d11
mov rax, qword [r14 + 0x50]
mov rcx, qword [rdx + rdi*8]
inc dword [rbp - 0x30]
mov r11d, dword [rsp + 0x48]
mov eax, dword [rax + 8]
mov dword [rcx], eax
jmp 0x1400c8d45
cmp word [rsi], 4
jae 0x1400c8d35
mov rcx, qword [rsp + 0x78]
movsxd rax, r13d
add rcx, rax
mov byte [rcx], 0
lea rcx, [rcx + 1]
inc word [rsi]
inc r13d
cmp word [rsi], 4
jb 0x1400c8d22
inc dword [rbp - 0x30]
mov r11d, dword [rsp + 0x48]
jmp 0x1400c8d45
movzx r8d, word [rsp + 0x50]
movsxd r14, dword [rsp + 0x6c]
inc r15d
inc r12
mov dword [rsp + 0x60], r15d
cmp r12, r14
jge 0x1400c8d79
mov rcx, qword [rbp + 0x58]
mov r9, qword [rbp - 0x18]
jmp 0x1400c8b70
mov ecx, 0x11b18
call fcn.140101480
mov r14d, eax
jmp 0x1400c96c5
mov rax, qword [rbp - 0x80]
lea r15, [rbp + 0x20]
xor r9d, r9d
movzx r8d, r8w
mov edx, r9d
mov dword [rsp + 0x70], r8d
mov ecx, r9d
mov qword [rsp + 0x78], rdx
mov r10d, dword [rax + 0x38]
lea r12, [rbp - 0x10]
add r10d, 0xfffffff4
mov dword [rsp + 0x58], ecx
add r10d, r8d
lea r13, [rbp + 0x1c]
mov dword [rsp + 0x54], r10d
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbp + rdx*4 + 0xc8]
mov rbx, qword [rbp + rdx*8 + 0x58]
mov dword [rsp + 0x60], r8d
mov rax, qword [rbx + 0x58]
mov qword [r12], rax
mov dword [r15], r8d
test ecx, ecx
je 0x1400c8df9
cmp r8d, dword [r13]
jne 0x1400c8df9
dec ecx
sub r12, 8
sub r13, 4
mov dword [rsp + 0x58], ecx
sub r15, 4
test r11b, r11b
jne 0x1400c8e23
mov rax, qword [rbp - 0x68]
add r12, 8
inc ecx
add r13, 4
add r15, 4
mov dword [rsp + 0x58], ecx
mov rax, qword [rax + 0x58]
mov qword [r12], rax
lea eax, [r8 + 1]
mov dword [r15], eax
mov edi, r10d
lea rax, [rbp + 0x40]
sub edi, dword [rbx + 0x14]
lea rax, [rax + rdx*4]
cmp byte [rbx + 0xc], 0
mov r14d, r9d
mov qword [rbp + 0x100], rax
mov dword [rax], edi
jbe 0x1400c8e8c
lea rsi, [rbx + 0x28]
mov rdx, qword [rsi]
mov rcx, rbx
call qword [rbx + 0x78]
movzx eax, ax
inc r14d
add eax, 2
lea rsi, [rsi + 8]
add edi, eax
movzx eax, byte [rbx + 0xc]
cmp r14d, eax
jl 0x1400c8e47
mov rax, qword [rbp + 0x100]
xor r9d, r9d
mov ecx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x54]
mov r11d, dword [rsp + 0x48]
mov dword [rax], edi
movsxd r14, dword [rsp + 0x6c]
inc ecx
mov dword [rbp + rdx*4 + 0x70], r8d
add r12, 8
inc rdx
mov dword [rsp + 0x58], ecx
add r13, 4
mov qword [rsp + 0x78], rdx
add r15, 4
cmp rdx, r14
jl 0x1400c8dc0
mov rcx, qword [rbp + 0x58]
xor r12d, r12d
mov r9, qword [rbp - 0x18]
jmp 0x1400c8f11
lea rax, [0x1401c4374]
mov r14d, reloc.WS2_32.dll_inet_addr
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x11b00
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400c3860
jmp 0x1400c96c5
mov r10d, dword [rdi + 0x38]
movzx edx, r8w
add r10d, 0xfffffff4
add r10d, edx
mov dword [rsp + 0x70], edx
mov dword [rsp + 0x54], r10d
mov edx, r14d
mov r13d, r12d
mov dword [rsp + 0x58], edx
test r14d, r14d
jle 0x1400c9121
mov ecx, dword [rbp - 0x30]
mov r15d, 1
mov r14, r12
mov edi, dword [rbp + r14 + 0x40]
cmp edi, r10d
jle 0x1400c8ff1
nop
cmp r15d, edx
jl 0x1400c8f66
lea eax, [r15 + 1]
mov dword [rsp + 0x58], eax
cmp r14, 0xc
jg 0x1400c90b7
mov dword [rbp + r14 + 0x44], r12d
mov edi, dword [rbp + r14 + 0x40]
mov dword [rbp + r14 + 0x74], ecx
movsxd rbx, dword [rbp + r14 + 0x70]
movzx eax, word [r9 + rbx*2 - 2]
lea esi, [rbx - 1]
test ax, ax
jne 0x1400c8f92
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.1400d06a0
mov r10d, dword [rsp + 0x54]
mov r9, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x48]
movzx eax, ax
add eax, 2
sub edi, eax
mov dword [rbp + r14 + 0x40], edi
test r11b, r11b
jne 0x1400c8fd7
cmp ebx, dword [rbp - 0x30]
jge 0x1400c8fd4
movzx eax, word [r9 + rbx*2]
test ax, ax
jne 0x1400c8fc7
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1400d06a0
mov r9, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x48]
mov r10d, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
jmp 0x1400c8fd7
mov eax, r12d
add dword [rbp + r14 + 0x44], eax
mov ecx, dword [rbp - 0x30]
mov edx, dword [rsp + 0x58]
mov dword [rbp + r14 + 0x70], esi
cmp edi, r10d
jg 0x1400c8f40
movsxd rbx, dword [rbp + r14 + 0x70]
cmp ebx, ecx
jge 0x1400c9072
lea rsi, [r9 + rbx*2]
nop
movzx eax, word [rsi]
test ax, ax
jne 0x1400c901b
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1400d06a0
mov ecx, dword [rbp - 0x30]
mov r10d, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
add edi, eax
cmp edi, r10d
jg 0x1400c909a
inc ebx
mov dword [rbp + r14 + 0x40], edi
add rsi, 2
mov dword [rbp + r14 + 0x70], ebx
cmp byte [rsp + 0x48], 0
jne 0x1400c9069
cmp ebx, ecx
jge 0x1400c9066
movzx eax, word [rsi]
test ax, ax
jne 0x1400c905e
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1400d06a0
mov ecx, dword [rbp - 0x30]
mov r10d, dword [rsp + 0x54]
movzx eax, ax
add eax, 2
jmp 0x1400c9069
mov eax, r12d
sub dword [rbp + r14 + 0x44], eax
cmp ebx, ecx
jl 0x1400c9000
mov edx, r15d
mov dword [rsp + 0x58], edx
inc r13d
inc r15d
add r14, 4
cmp r13d, edx
jge 0x1400c911d
mov r9, qword [rbp - 0x18]
mov r11d, dword [rsp + 0x48]
jmp 0x1400c8f30
cmp ebx, ecx
jge 0x1400c9072
test r13d, r13d
jle 0x1400c90aa
mov eax, dword [rbp + r14 + 0x6c]
jmp 0x1400c90ad
mov eax, r12d
cmp ebx, eax
jle 0x1400c90ea
mov edx, dword [rsp + 0x58]
jmp 0x1400c9079
lea rax, [0x1401c4374]
mov r14d, reloc.WS2_32.dll_inet_addr
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x11b7d
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400c3860
jmp 0x1400c96c5
lea rax, [0x1401c4374]
mov r14d, reloc.WS2_32.dll_inet_addr
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x11b9e
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400c3860
jmp 0x1400c96c5
mov rcx, qword [rbp + 0x58]
lea eax, [rdx - 1]
movsxd r13, eax
mov r12, r13
test eax, eax
jle 0x1400c9243
mov rdi, qword [rbp - 0x18]
lea r8, [rbp + 0x70]
mov esi, dword [rbp + r12*4 + 0x40]
sub r8, 4
mov r15d, dword [rbp + r12*4 + 0x3c]
mov qword [rsp + 0x78], r8
mov ecx, dword [r8 + r12*4]
mov dword [rsp + 0x60], ecx
lea ebx, [rcx - 1]
mov eax, ebx
sub eax, dword [rsp + 0x48]
movsxd r14, eax
inc r14
cmp word [rdi + r14*2], 0
lea edx, [rax + 1]
lea r14, [rdi + r14*2]
jne 0x1400c917c
lea rcx, [rbp - 0x30]
call fcn.1400d06a0
movsxd rax, ebx
lea rdi, [rdi + rax*2]
cmp word [rdi], 0
jne 0x1400c9194
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.1400d06a0
test esi, esi
je 0x1400c91ce
cmp dword [rbp + 0x180], 0
jne 0x1400c9202
mov ecx, dword [rsp + 0x58]
mov eax, 2
dec ecx
mov edx, r15d
cmp r13d, ecx
mov ecx, 0
cmove eax, ecx
lea ecx, [rsi + 2]
sub edx, eax
movzx eax, word [rdi]
sub edx, eax
movzx eax, word [r14]
add ecx, eax
cmp ecx, edx
jg 0x1400c9202
movzx eax, word [r14]
mov ecx, 0xfffffffe
mov r8, qword [rsp + 0x78]
add eax, 2
add esi, eax
mov dword [rsp + 0x60], ebx
movzx eax, word [rdi]
sub r14, 2
sub ecx, eax
sub rdi, 2
add r15d, ecx
mov dword [r8 + r12*4], ebx
mov ecx, ebx
sub ebx, 1
jns 0x1400c9183
jmp 0x1400c920b
mov r8, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x60]
mov dword [rbp + r12*4 + 0x40], esi
mov dword [rbp + r12*4 + 0x3c], r15d
cmp r12, 1
jbe 0x1400c9222
mov eax, dword [r8 + r12*4 - 4]
jmp 0x1400c9224
xor eax, eax
cmp ecx, eax
jle 0x1400c9306
dec r13d
dec r12
test r12, r12
jg 0x1400c9132
mov rcx, qword [rbp + 0x58]
mov edx, dword [rsp + 0x58]
mov rax, qword [rcx + 0x50]
movsxd r13, edx
movzx r15d, byte [rax]
mov dword [rsp + 0x60], r15d
test edx, edx
jle 0x1400c945f
xor r12d, r12d
nop
movsxd rcx, dword [rsp + 0x6c]
cmp r12, rcx
jge 0x1400c93ac
mov rax, qword [rbp + r12*8 + 0x58]
mov qword [rbp + r12*8 + 0x88], rax
mov qword [rbp + r12*8 + 0x58], 0
mov qword [rsp + 0x78], rax
mov r14, qword [rax + 0x70]
test byte [r14 + 0x34], 4
mov rcx, qword [r14 + 0x28]
je 0x1400c9362
mov esi, dword [r14 + 0x30]
cmp dword [rcx + 0x1c], esi
jb 0x1400c9362
movsxd rax, dword [rcx + 0x80]
test eax, eax
je 0x1400c934f
xor edi, edi
test eax, eax
jle 0x1400c92ef
mov rbx, qword [rcx + 0x78]
mov r15, rax
add rbx, 0x10
nop dword [rax]
cmp dword [rbx + 8], esi
jb 0x1400c92e3
mov rcx, qword [rbx]
mov edx, esi
call fcn.1400fa600
test eax, eax
je 0x1400c9339
inc rdi
add rbx, 0x30
cmp rdi, r15
jl 0x1400c92d0
mov r15d, dword [rsp + 0x60]
mov dword [rsp + 0x44], 0
mov r14d, dword [rsp + 0x44]
jmp 0x1400c9395
lea rax, [0x1401c4374]
mov r14d, reloc.WS2_32.dll_inet_addr
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x11bc8
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400c3860
jmp 0x1400c96c5
mov rcx, r14
call fcn.14014c5a0
mov r15d, dword [rsp + 0x60]
mov r14d, eax
mov dword [rsp + 0x44], eax
jmp 0x1400c9395
xor eax, eax
inc dword [rsp + 0x4c]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], eax
jmp 0x1400c9453
mov eax, dword [rcx + 0x2c]
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x1400c96bc
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
mov rcx, r14
jbe 0x1400c9389
call fcn.1400e8a60
jmp 0x1400c938e
call fcn.1400e9d30
mov dword [rsp + 0x44], eax
mov r14d, eax
inc dword [rsp + 0x4c]
mov dword [rsp + 0x40], r14d
test r14d, r14d
jne 0x1400c96c5
jmp 0x1400c9453
mov r9d, dword [rbp - 0x78]
lea r8, [rbp - 0x70]
cmp dword [rbp + 0x180], 0
lea rdx, [rsp + 0x78]
mov rdi, qword [rbp - 0x80]
mov ecx, 1
cmovne r9d, ecx
mov byte [rsp + 0x20], 0
mov rcx, rdi
call fcn.1400c4c60
mov dword [rsp + 0x44], eax
mov r14d, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1400c96c5
mov rbx, qword [rsp + 0x78]
mov edx, r15d
mov rcx, rbx
call fcn.140165a10
inc dword [rsp + 0x4c]
mov eax, dword [rbp - 0x30]
mov qword [rbp + r12*8 + 0x88], rbx
mov dword [rbp + r12*4 + 0xc8], eax
cmp byte [rdi + 0x21], r14b
je 0x1400c944d
mov edx, dword [rbx + 4]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8b, 5
mov rax, qword [rbp - 0x68]
mov rcx, rdi
mov r9d, dword [rax + 4]
call fcn.1400ec8e0
mov r14d, dword [rsp + 0x40]
mov dword [rsp + 0x44], r14d
test r14d, r14d
jne 0x1400c96c5
mov edx, dword [rbp - 0x70]
mov dword [rbp - 0x78], edx
inc r12
cmp r12, r13
jl 0x1400c9260
movsxd rdi, dword [rsp + 0x4c]
mov rsi, rdi
test edi, edi
jle 0x1400c95cb
xor r12d, r12d
mov edx, r12d
nop word [rax + rax]
mov rax, qword [rbp + rdx*8 + 0x88]
mov r8d, dword [rax + 4]
mov rax, qword [rax + 0x70]
mov dword [rbp + rdx*4 + 0xe0], r8d
mov dword [rbp + rdx*4 + 0xb0], r8d
movzx ecx, word [rax + 0x34]
mov rax, r12
mov word [rbp + rdx*2 + 0x100], cx
test rdx, rdx
jle 0x1400c94d6
nop dword [rax]
nop dword [rax + rax]
cmp dword [rbp + rax*4 + 0xe0], r8d
je 0x1400c972f
inc rax
cmp rax, rdx
jl 0x1400c94c0
inc rdx
cmp rdx, rsi
jl 0x1400c9480
mov rdi, r12
mov r15d, 1
nop word [rax + rax]
mov r10d, r12d
mov rbx, r12
mov r11d, r15d
mov rcx, r15
cmp r15, rsi
jge 0x1400c954e
mov r14d, dword [rsp + 0x54]
mov r9, r12
mov r13d, dword [rsp + 0x70]
nop
mov edx, dword [rbp + r9 + 0xb0]
lea rax, [rcx*4]
cmp dword [rbp + rax + 0xb0], edx
jae 0x1400c952f
mov rbx, rcx
mov r9, rax
mov eax, r11d
cmovae eax, r10d
inc r11d
inc rcx
mov r10d, eax
cmp rcx, rsi
jl 0x1400c9510
mov dword [rsp + 0x70], r13d
mov dword [rsp + 0x54], r14d
mov r14d, dword [rbp + rbx*4 + 0xb0]
mov dword [rbp + rbx*4 + 0xb0], 0xffffffff
cmp rbx, rdi
je 0x1400c95b6
jle 0x1400c958a
mov rax, qword [rbp - 0x80]
mov edx, dword [rax + 0x40]
mov rax, qword [rbp + rbx*8 + 0x88]
inc edx
add edx, r10d
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x34], r12w
call fcn.14011ca50
mov rax, qword [rbp + rdi*8 + 0x88]
mov edx, r14d
mov rcx, qword [rax + 0x70]
movzx eax, word [rbp + rbx*2 + 0x100]
mov word [rcx + 0x34], ax
call fcn.14011ca50
mov rax, qword [rbp + rdi*8 + 0x88]
mov dword [rax + 4], r14d
inc rdi
cmp rdi, rsi
jl 0x1400c94f0
mov r15d, dword [rsp + 0x60]
mov edi, dword [rsp + 0x4c]
lea r12, [rsi - 1]
mov rax, qword [rbp + r12*8 + 0x88]
mov ecx, dword [rax + 4]
mov rax, qword [rbp - 0x48]
bswap ecx
mov dword [rax], ecx
test r15b, 8
jne 0x1400c961b
cmp dword [rsp + 0x6c], edi
je 0x1400c961b
mov rcx, qword [rbp - 0x40]
lea rdx, [rbp + 0x58]
lea rax, [rbp + 0x88]
cmovge rax, rdx
mov rax, qword [rax + rcx*8]
mov rdx, qword [rax + 0x50]
mov rax, qword [rbp + r12*8 + 0x88]
mov rcx, qword [rax + 0x50]
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov r10, qword [rbp - 0x80]
cmp byte [r10 + 0x21], 0
je 0x1400c9918
mov rbx, qword [rbp + 0x88]
xor r14d, r14d
mov r13d, dword [rbp - 0x30]
movzx r15d, word [rbx + 0x18]
movzx eax, byte [rbx + 0xc]
add r15d, eax
test r13d, r13d
jle 0x1400c9923
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp - 0x20]
lea r8, [rbp + 0x70]
mov qword [rsp + 0x60], rax
xor edi, edi
mov qword [rbp - 0x78], rdx
mov r13, rbx
mov qword [rsp + 0x78], r8
mov qword [rbp - 0x70], rcx
nop word [rax + rax]
mov r12, qword [rcx]
mov r11d, dword [rsp + 0x48]
cmp r14d, r15d
jne 0x1400c979a
mov r9d, dword [rsp + 0x54]
xor edx, edx
mov r10d, dword [rsp + 0x70]
test r11b, r11b
sete dl
inc rdi
cmp rdi, rsi
jge 0x1400c9762
mov rbx, qword [rbp + rdi*8 + 0x88]
jmp 0x1400c9767
inc dword [rsp + 0x4c]
mov r14d, dword [rsp + 0x44]
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1400c8a47
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1400c9c5a
mov rcx, qword [0x14020fdb0]
test rcx, rcx
je 0x1400c96f1
call qword [0x140202760]
mov rcx, rbx
call qword [0x140202718]
dec qword [0x14020fd48]
movsxd rcx, eax
sub qword [0x14020fd00], rcx
mov rcx, rbx
call qword [0x140202708]
mov rcx, qword [0x14020fdb0]
test rcx, rcx
je 0x1400c8a47
call qword [0x140202770]
jmp 0x1400c8a47
lea rax, [0x1401c4374]
mov r14d, reloc.WS2_32.dll_inet_addr
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x11c12
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400c3860
jmp 0x1400c96c5
mov rbx, qword [rbp + rdi*8 + 0x58]
movzx eax, word [rbx + 0x18]
movzx ecx, byte [rbx + 0xc]
add eax, edx
add ecx, eax
add r15d, ecx
cmp r14d, r15d
je 0x1400c96a3
mov rax, qword [rsp + 0x60]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov dword [rsp + 0x70], r10d
mov r10, qword [rbp - 0x80]
mov dword [rsp + 0x54], r9d
cmp r14d, dword [r8]
jne 0x1400c97bd
mov r13, qword [rdx + 8]
add rdx, 8
add r8, 4
mov qword [rbp - 0x78], rdx
mov qword [rsp + 0x78], r8
test r11b, r11b
je 0x1400c98ba
cmp rdi, rsi
jge 0x1400c97df
mov eax, dword [rbp + rdi*4 + 0xe0]
cmp dword [r13 + 4], eax
jne 0x1400c97df
cmp r12, qword [rbx + 0x50]
jb 0x1400c97df
cmp r12, qword [rbx + 0x58]
jb 0x1400c98b5
cmp word [rsp + 0x50], 0
jne 0x1400c980e
mov edx, dword [r12]
lea rax, [rsp + 0x40]
mov r9d, dword [r13 + 4]
mov r8b, 5
bswap edx
mov rcx, r10
mov qword [rsp + 0x20], rax
call fcn.1400ec8e0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
test ax, ax
jne 0x1400c9827
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.1400d06a0
cmp ax, word [r13 + 0x10]
jbe 0x1400c98a0
cmp dword [rsp + 0x44], 0
jne 0x1400c96c0
lea r8, [rbp + 0xb0]
mov rdx, r12
mov rcx, r13
call qword [r13 + 0x80]
movzx edx, word [rbp + 0xc4]
cmp edx, dword [rbp + 0xc0]
jae 0x1400c98ac
mov rcx, qword [rbx + 0x58]
cmp rcx, r12
jb 0x1400c986e
lea rax, [r12 + rdx]
cmp rcx, rax
jb 0x1400c98e1
movzx eax, word [rbp + 0xc6]
mov r8b, 3
mov r9d, dword [r13 + 4]
mov rcx, qword [r13 + 0x48]
mov edx, dword [rax + r12 - 4]
lea rax, [rsp + 0x40]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.1400ec8e0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
jmp 0x1400c98a4
mov eax, dword [rsp + 0x44]
test eax, eax
jne 0x1400c96c0
mov r8, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rsp + 0x60]
add rcx, 8
add rax, 2
inc r14d
mov qword [rbp - 0x70], rcx
mov qword [rsp + 0x60], rax
cmp r14d, dword [rbp - 0x30]
jge 0x1400c9914
mov rdx, qword [rbp - 0x78]
mov r10, qword [rbp - 0x80]
jmp 0x1400c9680
lea rax, [0x1401c4374]
mov r14d, reloc.WS2_32.dll_inet_addr
mov ecx, r14d
mov qword [rsp + 0x20], rax
mov r9d, 0x10244
lea r8, str.database_corruption
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400c3860
jmp 0x1400c96c5
lea r12, [rsi - 1]
mov rbx, qword [rbp + 0x88]
mov r13d, dword [rbp - 0x30]
test r12, r12
jle 0x1400c9a59
xor r15d, r15d
nop
movsxd rdx, dword [rbp + r15*4 + 0x70]
mov rax, qword [rbp - 0x18]
mov r14, qword [rbp + r15*8 + 0x88]
mov rcx, qword [rbp - 0x20]
movsxd rdi, dword [rbp - 0x60]
movzx eax, word [rax + rdx*2]
add rdi, qword [rbp - 0x58]
mov r9d, eax
add r9d, dword [rsp + 0x70]
cmp byte [r14 + 8], 0
mov rbx, qword [rcx + rdx*8]
jne 0x1400c9972
mov rcx, qword [r14 + 0x50]
mov eax, dword [rbx]
mov dword [rcx + 8], eax
jmp 0x1400c9a03
cmp byte [rsp + 0x48], 0
je 0x1400c99e9
mov rdx, qword [rcx + rdx*8 - 8]
lea r8, [rbp + 0xe0]
mov rcx, r14
call qword [r14 + 0x80]
mov rdx, qword [rbp + 0xe0]
lea rcx, [rdi + 4]
mov rbx, rdi
cmp rdx, 0x7f
ja 0x1400c99b5
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
xor edi, edi
lea r9d, [rax + 4]
jmp 0x1400c9a03
cmp rdx, 0x3fff
ja 0x1400c99dc
mov rax, rdx
and dl, 0x7f
shr rax, 7
or al, 0x80
mov byte [rcx + 1], dl
mov byte [rcx], al
xor edi, edi
mov eax, 2
lea r9d, [rax + 4]
jmp 0x1400c9a03
call fcn.1400ed300
xor edi, edi
lea r9d, [rax + 4]
jmp 0x1400c9a03
sub rbx, 4
cmp eax, 4
jne 0x1400c9a03
mov rax, qword [rbp - 0x68]
mov rdx, rbx
mov rcx, rax
call qword [rax + 0x78]
movzx r9d, ax
mov rcx, qword [rbp - 0x68]
lea rax, [rsp + 0x40]
add dword [rbp - 0x60], r9d
mov r8, rbx
mov ebx, dword [rsp + 0x68]
mov edx, ebx
mov qword [rsp + 0x30], rax
mov eax, dword [r14 + 4]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call fcn.1400e0c30
mov r14d, dword [rsp + 0x40]
test r14d, r14d
jne 0x1400c96c5
inc ebx
inc r15
mov dword [rsp + 0x68], ebx
cmp r15, r12
jl 0x1400c9930
mov rbx, qword [rbp + 0x88]
jmp 0x1400c9a5e
mov r14d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x4c]
mov r12d, 1
sub r12d, r8d
mov qword [rbp - 0x58], r12
cmp r12d, r8d
jge 0x1400c9b56
mov edi, dword [rbp + 0x70]
mov r15d, dword [rsp + 0x54]
mov eax, r12d
cdq
xor eax, edx
sub eax, edx
movsxd rbx, eax
cmp byte [rbp + rbx + 0xf8], 0
jne 0x1400c9b3f
test r12d, r12d
jns 0x1400c9ab0
mov ecx, dword [rbp + rbx*4 + 0x6c]
cmp dword [rbp + rbx*4 + 0xc4], ecx
jl 0x1400c9b3f
test eax, eax
jne 0x1400c9ac0
xor eax, eax
mov r9d, edi
mov edx, eax
mov r8d, eax
jmp 0x1400c9afb
xor r12d, r12d
cmp eax, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x48]
jge 0x1400c9ade
test al, al
mov edx, r12d
sete dl
add edx, dword [rbp + rbx*4 + 0xc4]
jmp 0x1400c9ae1
mov edx, r13d
mov r9d, dword [rbp + rbx*4 + 0x70]
mov r8d, r12d
mov r12, qword [rbp - 0x58]
test al, al
sete r8b
add r8d, dword [rbp + rbx*4 + 0x6c]
sub r9d, r8d
mov rcx, qword [rbp + rbx*8 + 0x88]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.1400d4480
mov dword [rsp + 0x40], eax
mov r14d, eax
test eax, eax
jne 0x1400c96c5
mov rax, qword [rbp + rbx*8 + 0x88]
mov ecx, r15d
sub ecx, dword [rbp + rbx*4 + 0x40]
mov r8d, dword [rsp + 0x4c]
mov byte [rbp + rbx + 0xf8], 1
mov dword [rax + 0x14], ecx
inc r12d
mov qword [rbp - 0x58], r12
cmp r12d, r8d
jl 0x1400c9a81
mov rbx, qword [rbp + 0x88]
cmp dword [rbp - 0x50], 0
je 0x1400c9bbb
mov rdi, qword [rbp - 0x68]
cmp word [rdi + 0x18], 0
jne 0x1400c9bbb
movzx eax, byte [rdi + 9]
cmp eax, dword [rbx + 0x14]
jg 0x1400c9bbb
mov edx, 0xffffffff
mov rcx, rbx
call fcn.1400d3560
mov rcx, qword [rbp + 0x88]
lea r8, [rsp + 0x40]
mov rdx, rdi
mov dword [rsp + 0x40], eax
call fcn.1400d2720
mov r14d, dword [rsp + 0x40]
test r14d, r14d
jne 0x1400c9c1b
mov rcx, qword [rbp + 0x88]
mov rdx, rcx
mov r8d, dword [rcx + 4]
mov rcx, qword [rcx + 0x48]
call fcn.1400dce10
mov r14d, eax
jmp 0x1400c9c1b
mov r10, qword [rbp - 0x80]
cmp byte [r10 + 0x21], 0
je 0x1400c9c1b
cmp word [rsp + 0x50], 0
jne 0x1400c9c1b
test rsi, rsi
jle 0x1400c9c1b
xor ebx, ebx
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x88]
mov r8b, 5
mov rax, qword [rcx + 0x50]
mov r9d, dword [rcx + 4]
mov rcx, r10
mov edx, dword [rax + 8]
lea rax, [rsp + 0x40]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.1400ec8e0
mov r10, qword [rbp - 0x80]
inc rbx
cmp rbx, rsi
jl 0x1400c9be0
mov r14d, dword [rsp + 0x40]
movsxd rax, dword [rsp + 0x6c]
mov rbx, rax
cmp rsi, rax
jge 0x1400c96c5
nop dword [rax]
mov rcx, qword [rbp + rsi*8 + 0x58]
test r14d, r14d
jne 0x1400c9c4d
mov r8d, dword [rcx + 4]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.1400dce10
mov r14d, eax
inc rsi
cmp rsi, rbx
jl 0x1400c9c30
jmp 0x1400c96c5
mov rcx, rbx
call qword [0x140202708]
jmp 0x1400c8a47
mov rcx, r8
call fcn.14011cb20
inc rbx
cmp rbx, rdi
jl 0x1400c8a70
movsxd rbx, dword [rsp + 0x4c]
mov rdi, qword [rsp + 0x238]
test rbx, rbx
jle 0x1400c9cfa
nop
mov r8, qword [rbp + rsi*8 + 0x88]
test r8, r8
je 0x1400c9cf2
mov r8, qword [r8 + 0x70]
test byte [r8 + 0x34], 0x20
je 0x1400c9cea
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
movsxd rax, dword [r10 + 0xbc]
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
mov r9, qword [rcx]
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x1400c9cf2
mov rcx, r8
call fcn.14011cb20
inc rsi
cmp rsi, rbx
jl 0x1400c9c90
mov rbx, qword [rsp + 0x278]
mov eax, r14d
mov r14, qword [rsp + 0x228]
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1401677c0
add rsp, 0x240
pop r13
pop rsi
pop rbp
ret