Function at 0x1401617cf
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1401aa970
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]
mov rax, qword [0x1404ee780]
xor rax, rbp
mov qword [rbp + 0x170], rax
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 0x1401aa9e2
mov qword [rbp + 0x168], 0
jmp 0x1401aaa18
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 + 0x168], rax
cmp qword [rbp + 0x168], 0xa
jae 0x1401aaa2e
xor eax, eax
jmp 0x1401aadfe
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
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 + 6]
mov dword [rbp + 0x24], eax
mov edx, 0xa
mov ecx, dword [rbp + 0x1a0]
call fcn.14016642d
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 4]
lea r8, [0x1404f22d4]
lea rdx, str.SELECT_skill__tick_FROM___s__WHERE__account_id____d_AND__char_id__d
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x1401aaaf7
mov eax, dword [0x1404ed0b8]
add eax, 0xb
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar_mapif.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
mov eax, 1
jmp 0x1401aadfe
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
test rax, rax
jbe 0x1401aaded
cmp dword [rbp + 0x1a0], 0
je 0x1401aab59
movsxd rax, dword [rbp + 0x1a0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x30]
add rax, 0x14e
movsxd rcx, dword [rbp + 0x1a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
cmp rax, qword [rcx + 0x20]
jbe 0x1401aab59
mov edx, 0x14e
mov ecx, dword [rbp + 0x1a0]
call fcn.14016782d
xor eax, eax
test eax, eax
jne 0x1401aab0c
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 + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, 0x2b0b
mov word [rax + rcx], dx
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 + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, dword [rbp + 4]
mov dword [rax + rcx + 4], edx
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 + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, dword [rbp + 0x24]
mov dword [rax + rcx + 8], edx
mov dword [rbp + 0x44], 0
jmp 0x1401aac0b
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0x14
jge 0x1401aacd1
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
jne 0x1401aacd1
xor r9d, r9d
lea r8, [rbp + 0x68]
xor edx, edx
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x68]
call fcn.140161abd
mov word [rbp + 0x88], ax
xor r9d, r9d
lea r8, [rbp + 0x68]
mov edx, 1
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rbp + 0x68]
call fcn.14016b1bc
mov qword [rbp + 0x90], rax
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 + 0x10]
add rax, qword [rcx + 0x30]
movsxd rcx, dword [rbp + 0x44]
imul rcx, rcx, 0x10
lea rax, [rax + rcx + 0xe]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x88]
mov rcx, rax
call fcn.14016526c
jmp 0x1401aac03
cmp dword [rbp + 0x44], 0x14
jl 0x1401aacea
mov r8d, dword [rbp + 0x24]
mov edx, dword [rbp + 4]
lea rcx, str.Too_many_skillcooldowns_for__d:_d__some_of_them_were_not_loaded._n
call fcn.140160af5
cmp dword [rbp + 0x44], 0
jle 0x1401aaded
movsxd rax, dword [rbp + 0x44]
imul rax, rax, 0x10
add rax, 0xe
movsxd rcx, dword [rbp + 0x1a0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
movsxd rdx, dword [rbp + 0x1a0]
lea r8, [0x14050db40]
mov rdx, qword [r8 + rdx*8]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rdx + 0x30]
mov word [rcx + rdx + 2], ax
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 + 0x10]
mov rcx, qword [rcx + 0x30]
movzx edx, word [rbp + 0x44]
mov word [rax + rcx + 0xc], dx
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 + 0x10]
mov rcx, qword [rcx + 0x30]
movzx eax, word [rax + rcx + 2]
mov edx, eax
mov ecx, dword [rbp + 0x1a0]
call fcn.14016a799
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 4]
lea r8, [0x1404f22d4]
lea rdx, str.DELETE_FROM___s__WHERE__account_id____d_AND__char_id__d
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x1401aaded
mov eax, dword [0x1404ed0b8]
add eax, 0x27
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar_mapif.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.140168bb0
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140165226
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret