Function at 0x140024890
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 [0x140123080]
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 0x14002490e
mov eax, 7
jmp 0x140025d69
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 0x140024945
mov edx, r15d
jmp 0x14002496e
test edx, edx
jne 0x14002494e
mov edx, r15d
jmp 0x140024961
cmp edx, edi
jne 0x14002495f
mov eax, dword [rbp + 0x150]
lea edx, [rax - 2]
add edx, edi
jmp 0x140024967
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 0x140024991
movzx ecx, byte [rsi + 5]
add rcx, 8
jmp 0x1400249ac
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, [0x140108c34]
mov dword [rsp + 0x70], edi
cmp r14d, dword [r10 + 0x3c]
jbe 0x140024ab7
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.140008fe0
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 0x140025cbd
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 0x140024c75
mov r8, qword [rbp - 0x40]
mov edx, dword [rbp - 0x80]
movzx ecx, word [r8 + 0x16]
lea eax, [rdx + rdi]
cmp eax, ecx
jne 0x140024b6d
cmp byte [r8 + 1], bl
je 0x140024b6d
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 0x1400249dc
mov rcx, qword [r10]
lea r8, [rbp - 0x78]
xor r9d, r9d
mov edx, r14d
call fcn.1400176e0
mov dword [rsp + 0x40], eax
mov r8d, eax
test eax, eax
jne 0x140024a1f
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 0x140024b5d
mov rcx, qword [rdx + 0x10]
cmp r14d, dword [rcx + 0x88]
je 0x140024b2b
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.14001dd80
mov dword [rsp + 0x40], eax
mov r8d, eax
test eax, eax
je 0x140024b5d
mov rcx, qword [rsi]
test rcx, rcx
je 0x140024a1f
mov rcx, qword [rcx + 0x70]
call fcn.140017d30
mov r8d, dword [rsp + 0x40]
jmp 0x140024a1f
mov eax, r15d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
jmp 0x140024a37
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 0x140024bfe
mov rax, qword [rbp - 0x40]
mov ecx, esi
sub ecx, dword [rax + 0x50]
lea eax, [r15 + rcx]
cmp eax, dword [rdx + 0x34]
jg 0x140024c29
movsxd rcx, ecx
mov r8d, r15d
add rcx, qword [rbp + 0x38]
mov rdx, rsi
call fcn.1400f3c40
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.140023990
mov r10, qword [rbp - 0x68]
xor r15d, r15d
jmp 0x1400249dc
lea rax, [0x140108c34]
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.140008fe0
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.1400f43c0
jmp 0x140025cda
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.140006670
mov qword [rsp + 0x48], rax
mov r12, rax
mov qword [rbp - 0x20], rax
test rax, rax
jne 0x140024ca9
mov r15d, 7
jmp 0x140025cda
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 0x14002502b
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 0x140024fe8
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.1400f43c0
cmp byte [r15 + 1], 0
jbe 0x140024dd3
movzx eax, word [r15 + 0x16]
mov r9, qword [rsp + 0x48]
cmp r12w, ax
jae 0x140024d99
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 0x140024d70
mov dword [rbp - 0x70], ebx
cmp byte [r15 + 1], 0
mov r8d, r12d
jbe 0x140024dd3
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 0x140024db0
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 0x140024e18
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 0x140024df0
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 0x140024ef2
cmp byte [rsp + 0x68], 0
jne 0x140024ef2
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.1400f3c40
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 0x140024eb1
mov rax, qword [r15 + 0x50]
mov rcx, qword [rcx + rsi*8]
mov eax, dword [rax + 8]
mov dword [rcx], eax
jmp 0x140024edb
cmp ax, 4
jae 0x140024edb
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 0x140024ec1
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 0x140024ef8
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 0x140024f1a
mov rdx, qword [rbp + 0x98]
jmp 0x140024d00
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 0x140024fa2
xor r15d, r15d
cmp byte [rdi + 1], r15b
jbe 0x140024f80
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 0x140024f55
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 0x140024f30
mov rdx, qword [rbp + 0x98]
xor r12d, r12d
jmp 0x14002503d
lea rax, [0x140108c34]
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.140008fe0
mov rcx, qword [rsp + 0x48]
mov r15d, reloc.WS2_32.dll_inet_addr
call fcn.1400067a0
mov rax, qword [rbp - 0x38]
xor r12d, r12d
jmp 0x140025cf0
lea rax, [0x140108c34]
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.140008fe0
mov rcx, qword [rsp + 0x48]
mov r15d, reloc.WS2_32.dll_inet_addr
call fcn.1400067a0
mov rax, qword [rbp - 0x38]
jmp 0x140025cf0
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 0x140025275
mov eax, 1
mov rdi, r12
mov dword [rsp + 0x78], eax
nop
mov r14d, dword [rbp + rdi - 8]
cmp r14d, r8d
jle 0x14002512a
lea rdx, [rbp - 4]
add rdx, rdi
cmp eax, ecx
jl 0x140025090
inc eax
mov dword [rsp + 0x70], eax
cmp rdi, 0xc
jg 0x140025220
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 0x1400250bb
lea edx, [rsi - 1]
lea rcx, [rbp - 0x30]
call fcn.140023de0
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 0x140025109
cmp esi, ebx
jge 0x140025106
movzx eax, word [r13 + rsi*2]
test ax, ax
jne 0x1400250f9
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.140023de0
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 0x140025109
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 0x140025075
movsxd rsi, dword [rbp + rdi + 0x18]
cmp esi, ebx
jge 0x1400251cf
lea r15, [rsi + rsi]
nop dword [rax + rax]
movzx eax, word [r15 + r13]
test ax, ax
jne 0x140025164
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.140023de0
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 0x1400251fb
inc esi
mov dword [rbp + rdi - 8], r14d
add r15, 2
mov dword [rbp + rdi + 0x18], esi
cmp byte [rsp + 0x68], 0
jne 0x1400251bf
cmp esi, ebx
jge 0x1400251bc
movzx eax, word [r15 + r13]
test ax, ax
jne 0x1400251b4
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.140023de0
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 0x1400251bf
mov eax, r12d
sub dword [rbp + rdi - 4], eax
cmp esi, ebx
jl 0x140025140
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 0x140025261
mov r8d, dword [rsp + 0x58]
jmp 0x140025060
cmp esi, ebx
jge 0x1400251cb
mov r8d, dword [rsp + 0x60]
test r8d, r8d
jle 0x14002520f
mov eax, dword [rbp + rdi + 0x14]
jmp 0x140025212
mov eax, r12d
cmp esi, eax
jle 0x140025259
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x70]
jmp 0x1400251da
mov r9d, 0x102c6
lea rax, [0x140108c34]
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.140008fe0
mov r15d, reloc.WS2_32.dll_inet_addr
mov rcx, qword [rbp - 0x20]
jmp 0x140025ce2
mov r9d, 0x102ea
jmp 0x140025226
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 0x1400253ee
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 0x1400252ed
lea rcx, [rbp - 0x30]
call fcn.140023de0
mov r13, qword [rbp - 0x18]
movsxd rax, ebx
xor r12d, r12d
lea rdi, [rax + rax]
cmp word [rdi + r13], r12w
jne 0x14002530d
mov edx, ebx
lea rcx, [rbp - 0x30]
call fcn.140023de0
mov r13, qword [rbp - 0x18]
test esi, esi
je 0x140025347
cmp dword [rbp + 0x150], r12d
jne 0x14002537f
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 0x14002537f
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 0x1400252f7
jmp 0x140025383
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 0x1400253a9
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + r12*4 - 4]
jmp 0x1400253ab
xor eax, eax
cmp ecx, eax
jle 0x140025457
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 0x1400252b0
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 0x140025546
movsxd r14, ecx
mov edi, r12d
nop word [rax + rax]
cmp rdi, qword [rbp - 0x38]
jge 0x140025495
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.1400186e0
inc dword [rsp + 0x54]
mov r15d, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x140025cdd
jmp 0x14002553a
lea rax, [0x140108c34]
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.140008fe0
mov r12, qword [rbp - 0x20]
mov r15d, reloc.WS2_32.dll_inet_addr
mov qword [rsp + 0x48], r12
jmp 0x140025cda
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.140022830
mov dword [rsp + 0x40], eax
mov r15d, eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x140025cdd
mov edx, esi
mov rsi, qword [rbp - 0x78]
mov rcx, rsi
call fcn.14001e000
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 0x140025530
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.14001d180
mov r15d, dword [rsp + 0x44]
mov dword [rsp + 0x40], r15d
test r15d, r15d
jne 0x140025cdd
mov ecx, dword [rbp - 0x50]
mov esi, dword [rsp + 0x60]
mov dword [rbp - 0x60], ecx
inc rdi
cmp rdi, r14
jl 0x140025410
movsxd r14, dword [rsp + 0x54]
mov qword [rbp - 0x78], r14
mov r15, r14
test r14d, r14d
jle 0x140025699
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 0x1400255a7
cmp dword [rbp + rax*4 + 0x80], r8d
je 0x140025788
inc rax
cmp rax, rdx
jl 0x140025591
inc rdx
cmp rdx, r15
jl 0x140025560
test r14d, r14d
jle 0x140025699
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 0x140025623
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 0x140025609
mov rdi, rcx
mov r11, rax
mov eax, r9d
cmovae eax, r10d
inc r9d
inc rcx
mov r10d, eax
cmp rcx, r15
jl 0x1400255f0
mov dword [rsp + 0x58], r14d
mov r14d, dword [rbp + rdi*4 + 0x68]
mov dword [rbp + rdi*4 + 0x68], 0xffffffff
cmp rdi, rsi
je 0x140025681
jle 0x140025655
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.140011c10
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.140011c10
mov rax, qword [rbp + rsi*8 + 0xb0]
mov dword [rax + 0x88], r14d
inc rsi
cmp rsi, r15
jl 0x1400255d0
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 0x1400256f2
cmp dword [rbp - 0x48], r14d
je 0x1400256f2
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 0x140025946
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 0x140025946
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 0x1400257f6
inc r14
cmp r14, r10
jge 0x1400257bd
mov rdx, qword [rbp + r14*8 + 0xb0]
jmp 0x1400257c5
lea rax, [0x140108c34]
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.140008fe0
mov r15d, reloc.WS2_32.dll_inet_addr
jmp 0x140025cdd
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 0x14002581c
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 0x14002591d
cmp r14, r10
jge 0x140025846
mov eax, dword [rbp + r14*4 + 0x80]
cmp dword [rdi + 0x88], eax
jne 0x140025846
cmp r15, r12
jb 0x140025846
movsxd rax, dword [rbp - 0x58]
add rax, r12
cmp r15, rax
jb 0x140025919
cmp word [rsp + 0x50], 0
jne 0x140025878
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.14001d180
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
mov rax, qword [rbp - 0x60]
movzx eax, word [rax + r13]
test ax, ax
jne 0x1400258a1
mov edx, esi
lea rcx, [rbp - 0x30]
call fcn.140023de0
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 0x1400258ff
cmp dword [rsp + 0x40], 0
jne 0x140025cd5
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 0x14002590d
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.14001d180
mov r15d, dword [rsp + 0x44]
mov dword [rsp + 0x40], r15d
jmp 0x140025904
mov r15d, dword [rsp + 0x40]
test r15d, r15d
jne 0x140025cda
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 0x140025760
mov r14d, dword [rsp + 0x54]
lea eax, [r14 - 1]
movsxd r12, eax
test eax, eax
jle 0x140025a86
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 0x14002599d
mov rcx, qword [r14 + 0x50]
mov eax, dword [rdi]
mov dword [rcx + 8], eax
jmp 0x140025a2e
cmp byte [rsp + 0x68], 0
je 0x140025a14
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 0x1400259e0
and dl, 0x7f
mov eax, 1
mov byte [rcx], dl
xor esi, esi
lea r9d, [rax + 4]
jmp 0x140025a2e
cmp rdx, 0x3fff
ja 0x140025a07
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 0x140025a2e
call fcn.14000a820
xor esi, esi
lea r9d, [rax + 4]
jmp 0x140025a2e
sub rdi, 4
cmp eax, 4
jne 0x140025a2e
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.140023b00
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x140025cd5
mov ecx, dword [rbp - 0x58]
inc edi
inc r15
mov dword [rbp - 0x80], edi
cmp r15, r12
jl 0x140025960
mov r14d, dword [rsp + 0x54]
mov edx, 1
sub edx, r14d
mov qword [rbp + 0x10], rdx
cmp edx, r14d
jge 0x140025b9f
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 0x140025b83
test edx, edx
jns 0x140025ada
mov eax, dword [rbp + rcx*4 + 0x14]
cmp dword [rbp + rcx*4 + 0x4c], eax
jl 0x140025b7f
mov rax, 0xffffffffffffffff
xor r12d, r12d
lea rdx, [rcx + rax]
test edi, edi
jne 0x140025af7
mov ebx, r12d
mov r8d, r12d
mov r9d, r14d
jmp 0x140025b25
mov eax, dword [rsp + 0x68]
cmp edi, dword [rbp - 0x48]
jge 0x140025b0c
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.1400241e0
mov dword [rsp + 0x40], eax
mov r15d, eax
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x140025250
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 0x140025ab0
mov rax, qword [rbp - 0x20]
mov r14d, dword [rsp + 0x54]
mov qword [rsp + 0x48], rax
cmp dword [rbp + 0x30], 0
je 0x140025c0b
mov rbx, qword [rbp - 0x40]
cmp word [rbx + 0x12], 0
jne 0x140025c0b
mov rcx, qword [rbp + 0xb0]
movzx eax, byte [rbx + 5]
cmp ax, word [rcx + 0x10]
ja 0x140025c0b
call fcn.14001d6a0
mov rcx, qword [rbp + 0xb0]
lea r8, [rsp + 0x44]
mov rdx, rbx
mov dword [rsp + 0x44], eax
call fcn.1400247a0
mov r15d, dword [rsp + 0x44]
test r15d, r15d
jne 0x140025c79
mov rcx, qword [rbp + 0xb0]
mov rdx, rcx
mov r8d, dword [rcx + 0x88]
mov rcx, qword [rcx + 0x48]
call fcn.140023030
mov r15d, eax
jmp 0x140025c79
mov rcx, qword [rbp - 0x68]
cmp byte [rcx + 0x21], 0
je 0x140025c74
xor r12d, r12d
cmp word [rsp + 0x50], r12w
jne 0x140025c6d
mov rdi, qword [rbp - 0x78]
test rdi, rdi
jle 0x140025c6d
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.14001d180
mov rcx, qword [rbp - 0x68]
inc rbx
cmp rbx, rdi
jl 0x140025c30
mov r15d, dword [rsp + 0x44]
jmp 0x140025c7c
mov r15d, dword [rsp + 0x40]
jmp 0x140025c7c
mov r15d, dword [rsp + 0x40]
xor r12d, r12d
mov rdi, qword [rbp - 0x38]
movsxd rbx, r14d
cmp rbx, rdi
jge 0x140025cdd
nop dword [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x98]
test r15d, r15d
jne 0x140025cb3
mov r8d, dword [rcx + 0x88]
mov rdx, rcx
mov rcx, qword [rcx + 0x48]
call fcn.140023030
mov r15d, eax
inc rbx
cmp rbx, rdi
jl 0x140025c90
jmp 0x140025cdd
lea eax, [rdi + 1]
xor edx, edx
movsxd r8, eax
lea rcx, [rbp + 0x98]
shl r8, 3
call fcn.1400f43c0
mov r15d, dword [rsp + 0x40]
xor r12d, r12d
mov rcx, qword [rsp + 0x48]
call fcn.1400067a0
mov rax, qword [rbp - 0x38]
test rax, rax
jle 0x140025d15
mov rbx, r12
mov rcx, qword [rbp + rbx*8 + 0x98]
test rcx, rcx
je 0x140025d0d
mov rcx, qword [rcx + 0x70]
call fcn.140017d30
mov rax, qword [rbp - 0x38]
inc rbx
cmp rbx, rax
jl 0x140025cf3
movsxd rbx, dword [rsp + 0x54]
mov r14, qword [rsp + 0x1f0]
mov r13, qword [rsp + 0x1f8]
mov rdi, qword [rsp + 0x248]
test rbx, rbx
jle 0x140025d5e
nop word [rax + rax]
mov rcx, qword [rbp + r12*8 + 0xb0]
test rcx, rcx
je 0x140025d56
mov rcx, qword [rcx + 0x70]
call fcn.140017d30
inc r12
cmp r12, rbx
jl 0x140025d40
mov r12, qword [rsp + 0x200]
mov eax, r15d
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400d12d0
add rsp, 0x208
pop r15
pop rsi
pop rbx
pop rbp
ret