Function at 0x14016a08c
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1401fbfc0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_select
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x148]
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
mov r8d, gethostname
xor edx, edx
mov rcx, qword [rbp + 0x128]
call fcn.140167e40
mov r9d, dword [rbp + 0x120]
lea r8, [0x1404f33d4]
lea rdx, str.SELECT__pet_id____class___name___account_id___char_id___level___egg_id___equip___intimate___hungry___rename_flag___incubate___autofeed__FROM___s__WHERE__pet_id__d
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x1401fc05b
mov eax, dword [str._lqv]
add eax, 0xd
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharint_pet.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
xor eax, eax
jmp 0x1401fc3cf
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
jne 0x1401fc3cd
mov rax, qword [rbp + 0x128]
mov ecx, dword [rbp + 0x120]
mov dword [rax + 8], ecx
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 1
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 8]
call fcn.140161abd
mov rcx, qword [rbp + 0x128]
mov word [rcx + 0xc], ax
lea r9, [rbp + 0x28]
lea r8, [rbp + 8]
mov edx, 2
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov edx, 0x18
mov rcx, qword [rbp + 0x28]
call fcn.1401fe250
mov rcx, qword [rbp + 0x128]
add rcx, 0x1c
mov r8, rax
mov rdx, qword [rbp + 8]
call fcn.14016526c
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 3
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 8]
call fcn.140161abd
mov rcx, qword [rbp + 0x128]
mov dword [rcx], eax
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 4
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 8]
call fcn.140161abd
mov rcx, qword [rbp + 0x128]
mov dword [rcx + 4], eax
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 5
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 8]
call fcn.140161abd
mov rcx, qword [rbp + 0x128]
mov word [rcx + 0xe], ax
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 6
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.1401622dd
mov rcx, qword [rbp + 0x128]
mov dword [rcx + 0x10], eax
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 7
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 8]
call fcn.1401622dd
mov rcx, qword [rbp + 0x128]
mov dword [rcx + 0x14], eax
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 8
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 8]
call fcn.140161abd
mov rcx, qword [rbp + 0x128]
mov word [rcx + 0x18], ax
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 9
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 8]
call fcn.140161abd
mov rcx, qword [rbp + 0x128]
mov word [rcx + 0x1a], ax
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 0xa
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 8]
call fcn.140161abd
mov rcx, qword [rbp + 0x128]
mov byte [rcx + 0x34], al
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, reloc.WS2_32.dll_inet_addr
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 8]
call fcn.140161abd
mov rcx, qword [rbp + 0x128]
mov byte [rcx + 0x35], al
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, reloc.WS2_32.dll_inet_ntoa
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 8]
call fcn.140161abd
test eax, eax
je 0x1401fc2af
mov dword [rbp + 0xf4], 1
jmp 0x1401fc2b9
mov dword [rbp + 0xf4], 0
mov rax, qword [rbp + 0x128]
movzx ecx, byte [rbp + 0xf4]
mov byte [rax + 0x36], cl
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
mov rax, qword [rbp + 0x128]
movsx eax, word [rax + 0x1a]
cmp eax, 0x64
jl 0x1401fc2f2
mov dword [rbp + 0xf4], 0x64
jmp 0x1401fc32a
mov rax, qword [rbp + 0x128]
movsx eax, word [rax + 0x1a]
test eax, eax
jg 0x1401fc30d
mov dword [rbp + 0xf8], 0
jmp 0x1401fc31e
mov rax, qword [rbp + 0x128]
movsx eax, word [rax + 0x1a]
mov dword [rbp + 0xf8], eax
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xf4], eax
mov rax, qword [rbp + 0x128]
movzx ecx, word [rbp + 0xf4]
mov word [rax + 0x1a], cx
mov rax, qword [rbp + 0x128]
movsx eax, word [rax + 0x18]
cmp eax, 0x3e8
jl 0x1401fc35a
mov dword [rbp + 0xf4], 0x3e8
jmp 0x1401fc392
mov rax, qword [rbp + 0x128]
movsx eax, word [rax + 0x18]
test eax, eax
jg 0x1401fc375
mov dword [rbp + 0xf8], 0
jmp 0x1401fc386
mov rax, qword [rbp + 0x128]
movsx eax, word [rax + 0x18]
mov dword [rbp + 0xf8], eax
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xf4], eax
mov rax, qword [rbp + 0x128]
movzx ecx, word [rbp + 0xf4]
mov word [rax + 0x18], cx
cmp dword [0x1404f4e28], 0
je 0x1401fc3cd
mov rax, qword [rbp + 0x128]
add rax, 0x1c
mov r8, rax
mov edx, dword [rbp + 0x120]
lea rcx, str.Pet_loaded___d____s_._n
call fcn.140168c9b
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_bind
call fcn.140168bb0
mov rax, rdi
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret