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

Disassembly:
push rbp
push rbx
push rsi
push r15
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rax, qword [0x140125080]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r15d, r15d
mov qword [rbp - 0x40], rcx
mov rsi, rcx
mov dword [rbp + 0x30], r9d
xor ecx, ecx
mov qword [rbp + 0x38], r8
mov dword [rsp + 0x60], r15d
mov ebx, r15d
mov dword [rsp + 0x54], r15d
mov r10, qword [rsi + 0x48]
mov qword [rbp - 0x68], r10
mov dword [rsp + 0x78], r15d
mov dword [rbp - 0x10], r15d
mov dword [rbp + 0xd8], ecx
mov byte [rbp + 0xdc], cl
mov dword [rbp - 0x70], ebx
mov dword [rbp - 0x30], ebx
mov qword [rsp + 0x48], r15
test r8, r8
jne 0x1400249ee
mov eax, 7
jmp 0x140025e49
movzx ecx, word [rsi + 0x12]
movzx r8d, byte [rsi + 1]
mov qword [rsp + 0x248], rdi
mov qword [rsp + 0x200], r12
mov qword [rsp + 0x1f8], r13
lea edi, [r8 + rcx]
mov qword [rsp + 0x1f0], r14
cmp edi, 2
jae 0x140024a25
mov edx, r15d
jmp 0x140024a4e
test edx, edx
jne 0x140024a2e
mov edx, r15d
jmp 0x140024a41
cmp edx, edi
jne 0x140024a3f
mov eax, dword [rbp + 0x150]
lea edx, [rax - 2]
add edx, edi
jmp 0x140024a47
dec edx
mov eax, dword [rbp + 0x150]
mov edi, 2
sub edi, eax
mov eax, edx
mov dword [rbp - 0x80], edx
sub eax, r8d
mov dword [rbp - 0x58], edi
add eax, edi
lea r9d, [rdi + 1]
mov dword [rbp - 0x48], r9d
cmp eax, ecx
jne 0x140024a71
movzx ecx, byte [rsi + 5]
add rcx, 8
jmp 0x140024a8c
add eax, eax
movsxd rcx, eax
mov rax, qword [rsi + 0x60]
movzx edx, word [rcx + rax]
movzx eax, word [rsi + 0x14]
ror dx, 8
movzx ecx, dx
and rcx, rax
add rcx, qword [rsi + 0x50]
lea r13, [rbp - 8]
mov qword [rbp + 0x10], rcx
movsxd rax, edi
mov ecx, dword [rcx]
bswap ecx
mov dword [rbp - 0x60], ecx
lea r13, [r13 + rax*4]
mov dword [rbp - 0x50], ecx
lea r12, [rax*8]
mov r14d, ecx
movsxd rcx, r9d
mov qword [rbp - 0x38], rcx
lea rcx, [0x140109c54]
mov dword [rsp + 0x70], edi
cmp r14d, dword [r10 + 0x3c]
jbe 0x140024b97
mov qword [rsp + 0x20], rcx
lea r8, str.database_corruption
mov ecx, reloc.WS2_32.dll_inet_addr
lea rdx, str._s_at_line__d_of___.10s_
mov r9d, 0xedd4
call fcn.1400090c0
mov r8d, reloc.WS2_32.dll_inet_addr
mov dword [rsp + 0x40], r8d
lea rsi, [rbp + 0x98]
mov dword [rsp + 0x44], r8d
add rsi, r12
test r8d, r8d
jne 0x140025d9d
mov rax, qword [rsi]
sub r13, 4
sub r12, 8
movzx esi, word [rax + 0x12]
movzx ecx, byte [rax + 1]
inc esi
add ecx, dword [rsp + 0x60]
mov eax, edi
add esi, ecx
dec edi
mov dword [rsp + 0x60], esi
test eax, eax
je 0x140024d55
mov r8, qword [rbp - 0x40]
mov edx, dword [rbp - 0x80]
movzx ecx, word [r8 + 0x16]
lea eax, [rdx + rdi]
cmp eax, ecx
jne 0x140024c4d
cmp byte [r8 + 1], bl
je 0x140024c4d
mov rdx, qword [r8 + 0x20]
mov rcx, r8
mov qword [rbp + r12 + 0x40], rdx
mov esi, dword [rdx]
bswap esi
mov dword [rbp - 0x60], esi
mov dword [rbp - 0x50], esi
call qword [r8 + 0x78]
mov rcx, qword [rbp - 0x40]
mov r14d, esi
mov r10, qword [rbp - 0x68]
movzx eax, ax
mov dword [r13], eax
mov byte [rcx + 1], bl
jmp 0x140024abc
mov rcx, qword [r10]
lea r8, [rbp - 0x78]
xor r9d, r9d
mov edx, r14d
call fcn.1400177c0
mov dword [rsp + 0x40], eax
mov r8d, eax
test eax, eax
jne 0x140024aff
mov rdx, qword [rbp - 0x78]
lea rsi, [rbp + 0x98]
add rsi, r12
mov rax, qword [rdx + 0x10]
mov qword [rsi], rax
cmp byte [rax], bl
jne 0x140024c3d
mov rcx, qword [rdx + 0x10]
cmp r14d, dword [rcx + 0x88]
je 0x140024c0b
mov rax, qword [rdx + 8]
cmp r14d, 1
mov qword [rcx + 0x50], rax
mov rax, qword [rbp - 0x68]
mov qword [rcx + 0x48], rax
mov eax, r15d
mov qword [rcx + 0x70], rdx
mov edx, 0x64
cmove eax, edx
mov dword [rcx + 0x88], r14d
mov byte [rcx + 5], al
mov rcx, qword [rsi]
call fcn.14001de60
mov dword [rsp + 0x40], eax
mov r8d, eax
test eax, eax
je 0x140024c3d
mov rcx, qword [rsi]
test rcx, rcx
je 0x140024aff
mov rcx, qword [rcx + 0x70]
call fcn.140017e10
mov r8d, dword [rsp + 0x40]
jmp 0x140024aff
mov eax, r15d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
jmp 0x140024b17
movzx eax, byte [r8 + 1]
mov ecx, edx
sub ecx, eax
mov rax, qword [r8 + 0x60]
add ecx, edi
add ecx, ecx
movsxd rcx, ecx
movzx edx, word [rcx + rax]
mov rcx, r8
movzx eax, word [r8 + 0x14]
ror dx, 8
movzx esi, dx
and rsi, rax
add rsi, qword [r8 + 0x50]
mov rdx, rsi
mov qword [rbp + r12 + 0x40], rsi
mov eax, dword [rsi]
bswap eax
mov dword [rbp - 0x60], eax
mov r14d, eax
mov dword [rbp - 0x50], eax
call qword [r8 + 0x78]
mov rdx, qword [rbp - 0x68]
movzx r15d, ax
mov dword [r13], r15d
test byte [rdx + 0x26], 4
je 0x140024cde
mov rax, qword [rbp - 0x40]
mov ecx, esi
sub ecx, dword [rax + 0x50]
lea eax, [r15 + rcx]
cmp eax, dword [rdx + 0x34]
jg 0x140024d09
movsxd rcx, ecx
mov r8d, r15d
add rcx, qword [rbp + 0x38]
mov rdx, rsi
call fcn.1400f3b10
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp + 0x38]
sub rax, qword [rcx + 0x50]
add rax, rsi
mov qword [rbp + r12 + 0x40], rax
mov rsi, qword [rbp - 0x40]
lea r9, [rsp + 0x44]
mov edx, dword [rbp - 0x80]
mov r8d, r15d
mov rcx, rsi
movzx eax, byte [rsi + 1]
sub edx, eax
add edx, edi
call fcn.140023a70
mov r10, qword [rbp - 0x68]
xor r15d, r15d
jmp 0x140024abc
lea rax, [0x140109c54]
mov r9d, 0x10213
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.1400090c0
movsxd r8, dword [rsp + 0x70]
lea rcx, [rbp + 0x98]
shl r8, 3
xor edx, edx
mov r15d, reloc.WS2_32.dll_inet_addr
call fcn.1400f4290
jmp 0x140025dba
lea edi, [rsi + 3]
mov rsi, qword [rbp - 0x68]
and edi, 0xfffffffc
mov eax, dword [rsi + 0x30]
lea ecx, [rdi + rdi*4]
lea ecx, [rax + rcx*2]
call fcn.140006750
mov qword [rsp + 0x48], rax
mov r12, rax
mov qword [rbp - 0x20], rax
test rax, rax
jne 0x140024d89
mov r15d, 7
jmp 0x140025dba
mov rdx, qword [rbp + 0x98]
movsxd rax, edi
mov qword [rbp - 0x28], rdx
movzx r10d, byte [rdx + 4]
lea r13, [r12 + rax*8]
shl r10w, 2
lea rax, [rax*2]
mov qword [rbp - 0x18], r13
add rax, r13
mov word [rsp + 0x50], r10w
xor r12d, r12d
mov qword [rbp - 0x78], rax
movzx eax, byte [rdx + 3]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x70], r12d
cmp qword [rbp - 0x38], rbx
jle 0x14002510b
mov r9d, r12d
mov qword [rsp + 0x60], r12
mov r15, qword [rbp + r9*8 + 0x98]
mov rax, qword [rdx + 0x50]
mov rsi, qword [r15 + 0x50]
movzx edi, word [r15 + 0xe]
movzx ecx, byte [rax]
add rdi, rsi
movzx r14d, word [r15 + 0x14]
cmp byte [rsi], cl
jne 0x1400250c8
movzx eax, byte [r15 + 1]
xor edx, edx
movzx r8d, word [r15 + 0x12]
add r8, rax
movsxd rax, ebx
add r8, r8
lea rcx, [rax*2]
add rcx, r13
call fcn.1400f4290
cmp byte [r15 + 1], 0
jbe 0x140024eb3
movzx eax, word [r15 + 0x16]
mov r9, qword [rsp + 0x48]
cmp r12w, ax
jae 0x140024e79
mov edx, eax
nop word [rax + rax]
movzx eax, word [rdi]
add rdi, 2
ror ax, 8
movzx ecx, ax
and rcx, r14
movsxd rax, ebx
add rcx, rsi
inc ebx
mov dword [rbp - 0x30], ebx
mov qword [r9 + rax*8], rcx
sub rdx, 1
jne 0x140024e50
mov dword [rbp - 0x70], ebx
cmp byte [r15 + 1], 0
mov r8d, r12d
jbe 0x140024eb3
lea rdx, [r15 + 0x20]
nop word [rax + rax]
mov rax, qword [rdx]
lea rdx, [rdx + 8]
movsxd rcx, ebx
inc r8d
inc ebx
mov dword [rbp - 0x30], ebx
mov qword [r9 + rcx*8], rax
movzx eax, byte [r15 + 1]
cmp r8d, eax
jl 0x140024e90
mov dword [rbp - 0x70], ebx
movzx ecx, word [r15 + 0xe]
movzx edx, word [r15 + 0x12]
add rcx, rsi
lea r8, [rcx + rdx*2]
cmp rdi, r8
jae 0x140024ef8
mov rdx, qword [rsp + 0x48]
nop
movzx eax, word [rdi]
add rdi, 2
ror ax, 8
movzx ecx, ax
and rcx, r14
movsxd rax, ebx
add rcx, rsi
inc ebx
mov dword [rbp - 0x30], ebx
mov qword [rdx + rax*8], rcx
cmp rdi, r8
jb 0x140024ed0
mov dword [rbp - 0x70], ebx
mov r9, qword [rsp + 0x60]
mov eax, dword [rbp - 0x48]
mov r8d, dword [rsp + 0x70]
dec eax
mov dword [rbp + r9*4 + 0x50], ebx
cmp r8d, eax
jge 0x140024fd2
cmp byte [rsp + 0x68], 0
jne 0x140024fd2
movzx ecx, word [rbp + r9*4 - 8]
movsxd r12, dword [rsp + 0x78]
mov r8d, ecx
mov rdx, qword [rbp + r9*8 + 0x40]
mov rdi, r12
add rdi, qword [rbp - 0x78]
add r12d, ecx
movsxd rsi, ebx
mov dword [rsp + 0x78], r12d
lea r14, [rsi*2]
add r14, r13
mov word [r14], cx
mov rcx, rdi
call fcn.1400f3b10
movzx r10d, word [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
lea rax, [rdi + r10]
mov qword [rcx + rsi*8], rax
movzx eax, word [r14]
sub ax, r10w
mov word [r14], ax
cmp byte [r15 + 4], 0
jne 0x140024f91
mov rax, qword [r15 + 0x50]
mov rcx, qword [rcx + rsi*8]
mov eax, dword [rax + 8]
mov dword [rcx], eax
jmp 0x140024fbb
cmp ax, 4
jae 0x140024fbb
mov rcx, qword [rbp - 0x78]
movsxd rax, r12d
add rcx, rax
mov byte [rcx], 0
lea rcx, [rcx + 1]
inc word [r14]
inc r12d
cmp word [r14], 4
jb 0x140024fa1
mov dword [rsp + 0x78], r12d
mov r9, qword [rsp + 0x60]
inc ebx
mov r8d, dword [rsp + 0x70]
xor r12d, r12d
mov dword [rbp - 0x70], ebx
mov dword [rbp - 0x30], ebx
jmp 0x140024fd8
movzx r10d, word [rsp + 0x50]
inc r8d
inc r9
mov dword [rsp + 0x70], r8d
mov qword [rsp + 0x60], r9
cmp r9, qword [rbp - 0x38]
jge 0x140024ffa
mov rdx, qword [rbp + 0x98]
jmp 0x140024de0
mov rax, qword [rbp - 0x68]
movzx r8d, r10w
mov eax, dword [rax + 0x34]
add eax, 0xfffffff4
add r8d, eax
mov dword [rsp + 0x58], r8d
mov rdi, qword [rbp + r12*8 + 0x98]
mov esi, r8d
movzx eax, word [rdi + 0x10]
sub esi, eax
mov dword [rbp + r12*4 - 8], esi
js 0x140025082
xor r15d, r15d
cmp byte [rdi + 1], r15b
jbe 0x140025060
lea r14, [rdi + 0x20]
mov rdx, qword [r14]
mov rcx, rdi
call qword [rdi + 0x78]
movzx eax, ax
inc r15d
add eax, 2
lea r14, [r14 + 8]
add esi, eax
movzx eax, byte [rdi + 1]
cmp r15d, eax
jl 0x140025035
mov r8d, dword [rsp + 0x58]
mov dword [rbp + r12*4 - 8], esi
mov eax, dword [rbp + r12*4 + 0x50]
mov dword [rbp + r12*4 + 0x18], eax
inc r12
cmp r12, qword [rbp - 0x38]
jl 0x140025010
mov rdx, qword [rbp + 0x98]
xor r12d, r12d
jmp 0x14002511d
lea rax, [0x140109c54]
mov r9d, 0x102ba
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.1400090c0
mov rcx, qword [rsp + 0x48]
mov r15d, reloc.WS2_32.dll_inet_addr
call fcn.140006880
mov rax, qword [rbp - 0x38]
xor r12d, r12d
jmp 0x140025dd0
lea rax, [0x140109c54]
mov r9d, 0x10257
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.1400090c0
mov rcx, qword [rsp + 0x48]
mov r15d, reloc.WS2_32.dll_inet_addr
call fcn.140006880
mov rax, qword [rbp - 0x38]
jmp 0x140025dd0
mov eax, dword [rsi + 0x34]
add eax, 0xfffffff4
movzx r8d, r10w
add r8d, eax
mov dword [rsp + 0x58], r8d
mov eax, dword [rbp - 0x48]
mov ecx, eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x60], r12d
test eax, eax
jle 0x140025355
mov eax, 1
mov rdi, r12
mov dword [rsp + 0x78], eax
nop
mov r14d, dword [rbp + rdi - 8]
cmp r14d, r8d
jle 0x14002520a
lea rdx, [rbp - 4]
add rdx, rdi
cmp eax, ecx
jl 0x140025170
inc eax
mov dword [rsp + 0x70], eax
cmp rdi, 0xc
jg 0x140025300
mov dword [rdx], r12d
mov dword [rbp + rdi + 0x1c], ebx
movsxd rsi, dword [rbp + rdi + 0x18]
movzx eax, word [r13 + rsi*2 - 2]
test ax, ax
jne 0x14002519b
lea edx, [rsi - 1]
lea rcx, [rbp - 0x30]
call fcn.140023ec0
mov ebx, dword [rbp - 0x30]
mov r8d, dword [rsp + 0x58]
mov r13, qword [rbp - 0x18]
mov dword [rbp - 0x70], ebx
mov r14d, dword [rbp + rdi - 8]
movzx ecx, ax
add ecx, 2
sub r14d, ecx
cmp byte [rsp + 0x68], 0
mov dword [rbp + rdi - 8], r14d
jne 0x1400251e9
cmp esi, ebx
jge 0x1400251e6
movzx eax, word [r13 + rsi*2]
test ax, ax
jne 0x1400251d9
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.140023ec0
mov ebx, dword [rbp - 0x30]
mov r13, qword [rbp - 0x18]
mov dword [rbp - 0x70], ebx
mov r8d, dword [rsp + 0x58]
movzx ecx, ax
add ecx, 2
jmp 0x1400251e9
mov ecx, r12d
lea eax, [rsi - 1]
lea rdx, [rbp - 4]
mov dword [rbp + rdi + 0x18], eax
mov eax, dword [rsp + 0x78]
add rdx, rdi
add dword [rdx], ecx
mov ecx, dword [rsp + 0x70]
cmp r14d, r8d
jg 0x140025155
movsxd rsi, dword [rbp + rdi + 0x18]
cmp esi, ebx
jge 0x1400252af
lea r15, [rsi + rsi]
nop dword [rax + rax]
movzx eax, word [r15 + r13]
test ax, ax
jne 0x140025244
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.140023ec0
mov ebx, dword [rbp - 0x30]
mov r8d, dword [rsp + 0x58]
mov r13, qword [rbp - 0x18]
mov dword [rbp - 0x70], ebx
movzx eax, ax
add eax, 2
add r14d, eax
cmp r14d, r8d
jg 0x1400252db
inc esi
mov dword [rbp + rdi - 8], r14d
add r15, 2
mov dword [rbp + rdi + 0x18], esi
cmp byte [rsp + 0x68], 0
jne 0x14002529f
cmp esi, ebx
jge 0x14002529c
movzx eax, word [r15 + r13]
test ax, ax
jne 0x140025294
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.140023ec0
mov ebx, dword [rbp - 0x30]
mov r8d, dword [rsp + 0x58]
mov r13, qword [rbp - 0x18]
mov dword [rbp - 0x70], ebx
movzx eax, ax
add eax, 2
jmp 0x14002529f
mov eax, r12d
sub dword [rbp + rdi - 4], eax
cmp esi, ebx
jl 0x140025220
mov eax, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x60]
mov ecx, eax
mov dword [rsp + 0x70], eax
inc r8d
inc eax
add rdi, 4
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x78], eax
cmp r8d, ecx
jge 0x140025341
mov r8d, dword [rsp + 0x58]
jmp 0x140025140
cmp esi, ebx
jge 0x1400252ab
mov r8d, dword [rsp + 0x60]
test r8d, r8d
jle 0x1400252ef
mov eax, dword [rbp + rdi + 0x14]
jmp 0x1400252f2
mov eax, r12d
cmp esi, eax
jle 0x140025339
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x70]
jmp 0x1400252ba
mov r9d, 0x102c6
lea rax, [0x140109c54]
mov ecx, reloc.WS2_32.dll_inet_addr
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
call fcn.1400090c0
mov r15d, reloc.WS2_32.dll_inet_addr
mov rcx, qword [rbp - 0x20]
jmp 0x140025dc2
mov r9d, 0x102ea
jmp 0x140025306
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp + 0x98]
mov qword [rsp + 0x48], rcx
mov ecx, dword [rsp + 0x70]
lea eax, [rcx - 1]
movsxd r12, eax
mov qword [rbp - 0x78], r12
mov dword [rsp + 0x78], eax
test eax, eax
jle 0x1400254ce
lea rcx, [rbp - 8]
sub rcx, 4
lea rax, [rbp + 0x18]
sub rax, 4
mov qword [rbp - 0x70], rcx
mov qword [rsp + 0x48], rax
lea r8, [rbp - 8]
nop dword [rax + rax]
mov r15d, dword [rcx + r12*4]
lea rax, [rax + r12*4]
mov ecx, dword [rax]
mov esi, dword [r8 + r12*4]
mov qword [rbp + 0x40], rax
mov dword [rsp + 0x60], ecx
lea ebx, [rcx - 1]
mov edx, ebx
sub edx, dword [rsp + 0x68]
inc edx
movsxd rax, edx
lea r14, [rax + rax]
cmp word [r14 + r13], 0
jne 0x1400253cd
lea rcx, [rbp - 0x30]
call fcn.140023ec0
mov r13, qword [rbp - 0x18]
movsxd rax, ebx
xor r12d, r12d
lea rdi, [rax + rax]
cmp word [rdi + r13], r12w
jne 0x1400253ed
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.140023ec0
mov r13, qword [rbp - 0x18]
test esi, esi
je 0x140025427
cmp dword [rbp + 0x150], r12d
jne 0x14002545f
mov ecx, dword [rsp + 0x70]
mov eax, 2
dec ecx
mov edx, r15d
cmp dword [rsp + 0x78], ecx
movzx ecx, word [r14 + r13]
cmove eax, r12d
add ecx, 2
sub edx, eax
add ecx, esi
movzx eax, word [rdi + r13]
sub edx, eax
cmp ecx, edx
jg 0x14002545f
movzx eax, word [r14 + r13]
mov ecx, 0xfffffffe
add eax, 2
mov dword [rsp + 0x60], ebx
add esi, eax
sub r14, 2
movzx eax, word [rdi + r13]
sub rdi, 2
sub ecx, eax
mov rax, qword [rbp + 0x40]
add r15d, ecx
mov ecx, ebx
mov dword [rax], ebx
sub ebx, 1
jns 0x1400253d7
jmp 0x140025463
mov ecx, dword [rsp + 0x60]
mov r12, qword [rbp - 0x78]
lea rax, [rbp - 8]
mov dword [rax + r12*4], esi
mov rax, qword [rbp - 0x70]
mov dword [rax + r12*4], r15d
cmp r12, 1
jbe 0x140025489
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + r12*4 - 4]
jmp 0x14002548b
xor eax, eax
cmp ecx, eax
jle 0x140025537
dec dword [rsp + 0x78]
lea r8, [rbp - 8]
mov rax, qword [rsp + 0x48]
dec r12
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], r12
test r12, r12
jg 0x140025390
mov rax, qword [rbp - 0x20]
mov ebx, dword [rbp - 0x30]
mov rdx, qword [rbp + 0x98]
mov ecx, dword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov dword [rbp - 0x70], ebx
mov rax, qword [rdx + 0x50]
xor r12d, r12d
movzx esi, byte [rax]
mov dword [rsp + 0x60], esi
test ecx, ecx
jle 0x140025626
movsxd r14, ecx
mov edi, r12d
nop word [rax + rax]
cmp rdi, qword [rbp - 0x38]
jge 0x140025575
mov rcx, qword [rbp + rdi*8 + 0x98]
mov qword [rbp + rdi*8 + 0xb0], rcx
mov qword [rbp - 0x78], rcx
mov qword [rbp + rdi*8 + 0x98], r12
mov rcx, qword [rcx + 0x70]
call fcn.1400187c0
inc dword [rsp + 0x54]
mov r15d, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x140025dbd
jmp 0x14002561a
lea rax, [0x140109c54]
mov r9d, 0x10314
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.1400090c0
mov r12, qword [rbp - 0x20]
mov r15d, reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x48], r12
jmp 0x140025dba
mov r9d, dword [rbp - 0x60]
lea r8, [rbp - 0x50]
cmp dword [rbp + 0x150], r12d
lea rdx, [rbp - 0x78]
mov rcx, qword [rbp - 0x68]
mov eax, 1
cmovne r9d, eax
mov byte [rsp + 0x20], r12b
call fcn.140022910
mov dword [rsp + 0x40], eax
mov r15d, eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x140025dbd
mov edx, esi
mov rsi, qword [rbp - 0x78]
mov rcx, rsi
call fcn.14001e0e0
mov rcx, qword [rbp - 0x68]
inc dword [rsp + 0x54]
mov qword [rbp + rdi*8 + 0xb0], rsi
mov dword [rbp + rdi*4 + 0x50], ebx
cmp byte [rcx + 0x21], r12b
je 0x140025610
mov edx, dword [rsi + 0x88]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r8b, 5
mov rax, qword [rbp - 0x40]
mov r9d, dword [rax + 0x88]
call fcn.14001d260
mov r15d, dword [rsp + 0x44]
mov dword [rsp + 0x40], r15d
test r15d, r15d
jne 0x140025dbd
mov ecx, dword [rbp - 0x50]
mov esi, dword [rsp + 0x60]
mov dword [rbp - 0x60], ecx
inc rdi
cmp rdi, r14
jl 0x1400254f0
movsxd r14, dword [rsp + 0x54]
mov qword [rbp - 0x78], r14
mov r15, r14
test r14d, r14d
jle 0x140025779
mov rdx, r12
nop
mov rax, qword [rbp + rdx*8 + 0xb0]
mov r8d, dword [rax + 0x88]
mov rax, qword [rax + 0x70]
mov dword [rbp + rdx*4 + 0x80], r8d
mov dword [rbp + rdx*4 + 0x68], r8d
movzx ecx, word [rax + 0x2c]
mov rax, r12
mov word [rbp + rdx*2 + 0x40], cx
test rdx, rdx
jle 0x140025687
cmp dword [rbp + rax*4 + 0x80], r8d
je 0x140025868
inc rax
cmp rax, rdx
jl 0x140025671
inc rdx
cmp rdx, r15
jl 0x140025640
test r14d, r14d
jle 0x140025779
mov rbx, qword [rbp - 0x68]
mov rsi, r12
mov r13d, 1
nop word [rax + rax]
mov r10d, r12d
mov rdi, r12
mov r9d, r13d
mov rcx, r13
cmp r13, r15
jge 0x140025703
mov r14d, dword [rsp + 0x58]
mov r11, r12
nop dword [rax]
mov edx, dword [rbp + r11 + 0x68]
lea rax, [rcx*4]
cmp dword [rbp + rax + 0x68], edx
jae 0x1400256e9
mov rdi, rcx
mov r11, rax
mov eax, r9d
cmovae eax, r10d
inc r9d
inc rcx
mov r10d, eax
cmp rcx, r15
jl 0x1400256d0
mov dword [rsp + 0x58], r14d
mov r14d, dword [rbp + rdi*4 + 0x68]
mov dword [rbp + rdi*4 + 0x68], 0xffffffff
cmp rdi, rsi
je 0x140025761
jle 0x140025735
mov rax, qword [rbp + rdi*8 + 0xb0]
mov edx, dword [rbx + 0x3c]
inc edx
add edx, r10d
mov rcx, qword [rax + 0x70]
mov word [rcx + 0x2c], r12w
call fcn.140011cf0
mov rax, qword [rbp + rsi*8 + 0xb0]
mov edx, r14d
mov rcx, qword [rax + 0x70]
movzx eax, word [rbp + rdi*2 + 0x40]
mov word [rcx + 0x2c], ax
call fcn.140011cf0
mov rax, qword [rbp + rsi*8 + 0xb0]
mov dword [rax + 0x88], r14d
inc rsi
cmp rsi, r15
jl 0x1400256b0
mov ebx, dword [rbp - 0x70]
mov r13, qword [rbp - 0x18]
mov r14d, dword [rsp + 0x54]
test byte [rsp + 0x60], 8
movsxd rax, r14d
lea r8, [rbp + rax*8 + 0xa8]
mov rax, qword [rbp + rax*8 + 0xa8]
mov ecx, dword [rax + 0x88]
mov rax, qword [rbp + 0x10]
bswap ecx
mov dword [rax], ecx
jne 0x1400257d2
cmp dword [rbp - 0x48], r14d
je 0x1400257d2
movsxd rax, dword [rbp - 0x58]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0xb0]
cmovge rcx, rdx
mov rcx, qword [rcx + rax*8]
mov rax, qword [r8]
mov rdx, qword [rcx + 0x50]
mov rcx, qword [rax + 0x50]
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov rcx, qword [rbp - 0x68]
cmp byte [rcx + 0x21], 0
je 0x140025a26
mov rdi, qword [rbp + 0xb0]
xor r11d, r11d
mov esi, r11d
movzx eax, byte [rdi + 1]
movzx r9d, word [rdi + 0x12]
mov r12, qword [rdi + 0x50]
add r9d, eax
mov eax, dword [rcx + 0x34]
mov dword [rsp + 0x60], r9d
mov dword [rbp - 0x58], eax
test ebx, ebx
jle 0x140025a26
mov eax, r11d
lea rdx, [rbp + 0xb0]
mov ecx, r11d
mov qword [rbp - 0x60], rax
lea r8, [rbp + 0x18]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x70], rdx
mov r14d, r11d
mov qword [rsp + 0x78], r8
nop word [rax + rax]
mov r10, qword [rsp + 0x48]
mov r15, qword [rcx + r10]
mov r10, qword [rbp - 0x78]
cmp esi, r9d
jne 0x1400258d6
inc r14
cmp r14, r10
jge 0x14002589d
mov rdx, qword [rbp + r14*8 + 0xb0]
jmp 0x1400258a5
lea rax, [0x140109c54]
mov r9d, 0x1035f
lea r8, str.database_corruption
mov qword [rsp + 0x20], rax
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.1400090c0
mov r15d, reloc.WS2_32.dll_inet_addr
jmp 0x140025dbd
mov rdx, qword [rbp + r14*8 + 0x98]
movzx eax, byte [rdx + 1]
movzx ecx, word [rdx + 0x12]
mov r12, qword [rdx + 0x50]
add ecx, eax
cmp byte [rsp + 0x68], 0
mov eax, r11d
mov rdx, qword [rsp + 0x70]
sete al
add r9d, eax
mov rax, qword [rbp - 0x60]
add r9d, ecx
mov rcx, qword [rbp - 0x50]
mov dword [rsp + 0x60], r9d
cmp esi, dword [r8]
jne 0x1400258fc
mov rdi, qword [rdx + 8]
add rdx, 8
add r8, 4
mov qword [rsp + 0x70], rdx
cmp byte [rsp + 0x68], 0
mov qword [rsp + 0x78], r8
je 0x1400259fd
cmp r14, r10
jge 0x140025926
mov eax, dword [rbp + r14*4 + 0x80]
cmp dword [rdi + 0x88], eax
jne 0x140025926
cmp r15, r12
jb 0x140025926
movsxd rax, dword [rbp - 0x58]
add rax, r12
cmp r15, rax
jb 0x1400259f9
cmp word [rsp + 0x50], 0
jne 0x140025958
mov edx, dword [r15]
lea rax, [rsp + 0x44]
mov r9d, dword [rdi + 0x88]
mov r8b, 5
mov rcx, qword [rbp - 0x68]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.14001d260
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
mov rax, qword [rbp - 0x60]
movzx eax, word [rax + r13]
test ax, ax
jne 0x140025981
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.140023ec0
mov rbx, qword [rbp - 0x20]
mov r13, qword [rbp - 0x18]
mov qword [rsp + 0x48], rbx
mov ebx, dword [rbp - 0x30]
cmp ax, word [rdi + 0xc]
jbe 0x1400259df
cmp dword [rsp + 0x40], 0
jne 0x140025db5
lea r8, [rbp + 0x68]
mov rdx, r15
mov rcx, rdi
call qword [rdi + 0x80]
movzx eax, word [rbp + 0x7c]
cmp eax, dword [rbp + 0x78]
jae 0x1400259ed
movzx eax, word [rbp + 0x7e]
mov r8b, 3
mov r9d, dword [rdi + 0x88]
mov rcx, qword [rdi + 0x48]
mov edx, dword [rax + r15 - 4]
lea rax, [rsp + 0x44]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.14001d260
mov r15d, dword [rsp + 0x44]
mov dword [rsp + 0x40], r15d
jmp 0x1400259e4
mov r15d, dword [rsp + 0x40]
test r15d, r15d
jne 0x140025dba
mov r8, qword [rsp + 0x78]
xor r11d, r11d
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x60]
mov r9d, dword [rsp + 0x60]
add rcx, 8
mov rdx, qword [rsp + 0x70]
add rax, 2
inc esi
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x60], rax
cmp esi, ebx
jl 0x140025840
mov r14d, dword [rsp + 0x54]
lea eax, [r14 - 1]
movsxd r12, eax
test eax, eax
jle 0x140025b66
movzx ecx, word [rsp + 0x50]
xor r15d, r15d
mov dword [rbp - 0x58], ecx
movsxd rdx, dword [rbp + r15*4 + 0x18]
mov r14, qword [rbp + r15*8 + 0xb0]
mov r10, qword [rsp + 0x48]
movsxd rsi, dword [rbp - 0x10]
movzx eax, word [r13 + rdx*2]
add rsi, qword [rbp + 0x38]
cmp byte [r14 + 4], 0
mov rdi, qword [r10 + rdx*8]
lea r9d, [rcx + rax]
jne 0x140025a7d
mov rcx, qword [r14 + 0x50]
mov eax, dword [rdi]
mov dword [rcx + 8], eax
jmp 0x140025b0e
cmp byte [rsp + 0x68], 0
je 0x140025af4
mov rdx, qword [r10 + rdx*8 - 8]
lea r8, [rbp + 0x80]
mov rcx, r14
call qword [r14 + 0x80]
mov rdx, qword [rbp + 0x80]
lea rcx, [rsi + 4]
mov rdi, rsi
cmp rdx, 0x7f
ja 0x140025ac0
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
xor esi, esi
lea r9d, [rax + 4]
jmp 0x140025b0e
cmp rdx, 0x3fff
ja 0x140025ae7
mov rax, rdx
and dl, 0x7f
shr rax, 7
or al, 0x80
mov byte [rcx + 1], dl
mov byte [rcx], al
xor esi, esi
mov eax, 2
lea r9d, [rax + 4]
jmp 0x140025b0e
call fcn.14000a900
xor esi, esi
lea r9d, [rax + 4]
jmp 0x140025b0e
sub rdi, 4
cmp eax, 4
jne 0x140025b0e
mov rax, qword [rbp - 0x40]
mov rdx, rdi
mov rcx, rax
call qword [rax + 0x78]
movzx r9d, ax
mov rcx, qword [rbp - 0x40]
lea rax, [rsp + 0x44]
add dword [rbp - 0x10], r9d
mov r8, rdi
mov edi, dword [rbp - 0x80]
mov edx, edi
mov qword [rsp + 0x30], rax
mov eax, dword [r14 + 0x88]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call fcn.140023be0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x140025db5
mov ecx, dword [rbp - 0x58]
inc edi
inc r15
mov dword [rbp - 0x80], edi
cmp r15, r12
jl 0x140025a40
mov r14d, dword [rsp + 0x54]
mov edx, 1
sub edx, r14d
mov qword [rbp + 0x10], rdx
cmp edx, r14d
jge 0x140025c7f
mov r14d, dword [rbp + 0x18]
mov r13d, dword [rsp + 0x58]
mov eax, dword [rsp + 0x54]
nop dword [rax + rax]
mov edi, edx
neg edi
cmovs edi, edx
movsxd rcx, edi
cmp byte [rbp + rcx + 0xd8], 0
jne 0x140025c63
test edx, edx
jns 0x140025bba
mov eax, dword [rbp + rcx*4 + 0x14]
cmp dword [rbp + rcx*4 + 0x4c], eax
jl 0x140025c5f
mov rax, 0xffffffffffffffff
xor r12d, r12d
lea rdx, [rcx + rax]
test edi, edi
jne 0x140025bd7
mov ebx, r12d
mov r8d, r12d
mov r9d, r14d
jmp 0x140025c05
mov eax, dword [rsp + 0x68]
cmp edi, dword [rbp - 0x48]
jge 0x140025bec
test al, al
mov ebx, r12d
sete bl
add ebx, dword [rbp + rdx*4 + 0x50]
test al, al
mov r8d, r12d
movsxd rax, edi
sete r8b
add r8d, dword [rbp + rdx*4 + 0x18]
mov r9d, dword [rbp + rax*4 + 0x18]
sub r9d, r8d
movsxd rax, edi
lea rsi, [rbp + 0xb0]
mov rcx, qword [rsi + rax*8]
lea rsi, [rsi + rax*8]
lea rax, [rbp - 0x30]
mov edx, ebx
mov qword [rsp + 0x20], rax
call fcn.1400242c0
mov dword [rsp + 0x40], eax
mov r15d, eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x140025330
mov ebx, dword [rbp - 0x30]
movzx ecx, r13w
mov rdx, qword [rbp + 0x10]
movsxd rax, edi
mov byte [rbp + rax + 0xd8], 1
movsxd rax, edi
sub cx, word [rbp + rax*4 - 8]
mov rax, qword [rsi]
mov word [rax + 0x10], cx
mov eax, dword [rsp + 0x54]
inc edx
mov qword [rbp + 0x10], rdx
cmp edx, eax
jl 0x140025b90
mov rax, qword [rbp - 0x20]
mov r14d, dword [rsp + 0x54]
mov qword [rsp + 0x48], rax
cmp dword [rbp + 0x30], 0
je 0x140025ceb
mov rbx, qword [rbp - 0x40]
cmp word [rbx + 0x12], 0
jne 0x140025ceb
mov rcx, qword [rbp + 0xb0]
movzx eax, byte [rbx + 5]
cmp ax, word [rcx + 0x10]
ja 0x140025ceb
call fcn.14001d780
mov rcx, qword [rbp + 0xb0]
lea r8, [rsp + 0x44]
mov rdx, rbx
mov dword [rsp + 0x44], eax
call fcn.140024880
mov r15d, dword [rsp + 0x44]
test r15d, r15d
jne 0x140025d59
mov rcx, qword [rbp + 0xb0]
mov rdx, rcx
mov r8d, dword [rcx + 0x88]
mov rcx, qword [rcx + 0x48]
call fcn.140023110
mov r15d, eax
jmp 0x140025d59
mov rcx, qword [rbp - 0x68]
cmp byte [rcx + 0x21], 0
je 0x140025d54
xor r12d, r12d
cmp word [rsp + 0x50], r12w
jne 0x140025d4d
mov rdi, qword [rbp - 0x78]
test rdi, rdi
jle 0x140025d4d
mov ebx, r12d
nop dword [rax]
mov r9, qword [rbp + rbx*8 + 0xb0]
mov r8b, 5
mov rax, qword [r9 + 0x50]
mov r9d, dword [r9 + 0x88]
mov edx, dword [rax + 8]
lea rax, [rsp + 0x44]
bswap edx
mov qword [rsp + 0x20], rax
call fcn.14001d260
mov rcx, qword [rbp - 0x68]
inc rbx
cmp rbx, rdi
jl 0x140025d10
mov r15d, dword [rsp + 0x44]
jmp 0x140025d5c
mov r15d, dword [rsp + 0x40]
jmp 0x140025d5c
mov r15d, dword [rsp + 0x40]
xor r12d, r12d
mov rdi, qword [rbp - 0x38]
movsxd rbx, r14d
cmp rbx, rdi
jge 0x140025dbd
nop dword [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x98]
test r15d, r15d
jne 0x140025d93
mov r8d, dword [rcx + 0x88]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.140023110
mov r15d, eax
inc rbx
cmp rbx, rdi
jl 0x140025d70
jmp 0x140025dbd
lea eax, [rdi + 1]
xor edx, edx
movsxd r8, eax
lea rcx, [rbp + 0x98]
shl r8, 3
call fcn.1400f4290
mov r15d, dword [rsp + 0x40]
xor r12d, r12d
mov rcx, qword [rsp + 0x48]
call fcn.140006880
mov rax, qword [rbp - 0x38]
test rax, rax
jle 0x140025df5
mov rbx, r12
mov rcx, qword [rbp + rbx*8 + 0x98]
test rcx, rcx
je 0x140025ded
mov rcx, qword [rcx + 0x70]
call fcn.140017e10
mov rax, qword [rbp - 0x38]
inc rbx
cmp rbx, rax
jl 0x140025dd3
movsxd rbx, dword [rsp + 0x54]
mov r14, qword [rsp + 0x1f0]
mov r13, qword [rsp + 0x1f8]
mov rdi, qword [rsp + 0x248]
test rbx, rbx
jle 0x140025e3e
nop word [rax + rax]
mov rcx, qword [rbp + r12*8 + 0xb0]
test rcx, rcx
je 0x140025e36
mov rcx, qword [rcx + 0x70]
call fcn.140017e10
inc r12
cmp r12, rbx
jl 0x140025e20
mov r12, qword [rsp + 0x200]
mov eax, r15d
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400d1190
add rsp, 0x208
pop r15
pop rsi
pop rbx
pop rbp
ret