Function at 0x14016aae1
Capabilities:
Reference sql statements

Disassembly:
jmp 0x14019a270
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, gethostbyname
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x1d8]
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
movsxd rax, dword [rbp + 0x1a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax]
and al, 1
movzx eax, al
test eax, eax
je 0x14019a2d6
mov qword [rbp + 0x178], 0
jmp 0x14019a30c
movsxd rax, dword [rbp + 0x1a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x1a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rax + 0x28]
sub rax, rcx
mov qword [rbp + 0x178], rax
cmp qword [rbp + 0x178], 6
jae 0x14019a31d
xor eax, eax
jmp 0x14019a626
cmp qword [rbp + 0x1a8], 0
je 0x14019a335
mov rax, qword [rbp + 0x1a8]
movzx eax, byte [rax]
test eax, eax
jne 0x14019a34c
mov edx, 6
mov ecx, dword [rbp + 0x1a0]
call fcn.14016642d
xor eax, eax
jmp 0x14019a626
movsxd rax, dword [rbp + 0x1a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x1a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
mov eax, dword [rax + rcx + 2]
mov dword [rbp + 4], eax
mov edx, 6
mov ecx, dword [rbp + 0x1a0]
call fcn.14016642d
mov dword [rbp + 0x24], 0
jmp 0x14019a3a0
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xf
jae 0x14019a3bd
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x1a8]
mov edx, dword [rbp + 4]
cmp dword [rcx + rax*4 + 0x14], edx
jne 0x14019a3bb
jmp 0x14019a3bd
jmp 0x14019a398
xor eax, eax
test eax, eax
jne 0x14019a38f
cmp dword [rbp + 0x24], 0xf
jne 0x14019a3ea
xor r9d, r9d
mov r8d, 3
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x1a0]
call fcn.140166725
mov eax, 1
jmp 0x14019a626
mov r9d, dword [rbp + 4]
lea r8, [0x1404f20d4]
lea rdx, str.SELECT__delete_date___party_id___guild_id__FROM___s__WHERE__char_id__d
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
test eax, eax
jne 0x14019a41c
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
je 0x14019a45c
mov eax, dword [0x1404ed08c]
add eax, 0x13
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar_clif.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
xor r9d, r9d
mov r8d, 3
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x1a0]
call fcn.140166725
mov eax, 1
jmp 0x14019a626
xor r9d, r9d
lea r8, [rbp + 0x88]
xor edx, edx
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x88]
call fcn.1401622dd
mov eax, eax
mov qword [rbp + 0xa8], rax
xor r9d, r9d
lea r8, [rbp + 0x88]
mov edx, 1
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x88]
call fcn.1401622dd
mov dword [rbp + 0x64], eax
xor r9d, r9d
lea r8, [rbp + 0x88]
mov edx, 2
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x88]
call fcn.1401622dd
mov dword [rbp + 0x44], eax
cmp qword [rbp + 0xa8], 0
je 0x14019a51d
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x1a0]
call fcn.140166725
mov eax, 1
jmp 0x14019a626
mov eax, dword [0x1404f4e10]
and eax, 2
test eax, eax
je 0x14019a551
cmp dword [rbp + 0x44], 0
je 0x14019a551
xor r9d, r9d
mov r8d, 4
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x1a0]
call fcn.140166725
mov eax, 1
jmp 0x14019a626
mov eax, dword [0x1404f4e10]
and eax, 1
test eax, eax
je 0x14019a585
cmp dword [rbp + 0x64], 0
je 0x14019a585
xor r9d, r9d
mov r8d, 5
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x1a0]
call fcn.140166725
mov eax, 1
jmp 0x14019a626
xor ecx, ecx
call fcn.14019f840
movsxd rcx, dword [0x1404f49e8]
add rax, rcx
mov qword [rbp + 0xa8], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0xa8]
lea r8, [0x1404f20d4]
lea rdx, str.UPDATE___s__SET__delete_date__lu_WHERE__char_id__d
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
test eax, eax
je 0x14019a606
mov eax, dword [0x1404ed08c]
add eax, 0x32
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar_clif.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
xor r9d, r9d
mov r8d, 3
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x1a0]
call fcn.140166725
mov eax, 1
jmp 0x14019a626
mov r9, qword [rbp + 0xa8]
mov r8d, 1
mov edx, dword [rbp + 4]
mov ecx, dword [rbp + 0x1a0]
call fcn.140166725
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_accept
call fcn.140168bb0
mov rax, rdi
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret