Function at 0x1401680d9
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1401f58f0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x718
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x738]
mov rax, qword [0x1404ee780]
xor rax, rbp
mov qword [rbp + 0x6e8], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
movsxd rax, dword [rbp + 0x710]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x710]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
movzx eax, word [rax + rcx + 2]
cmp rax, 0x408
je 0x1401f5975
jmp 0x1401f5b7f
movsxd rax, dword [rbp + 0x710]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x710]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
lea rax, [rax + rcx + 8]
mov r8d, 0x400
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14016526c
cmp dword [rbp + 0x30], 0
je 0x1401f5a96
mov r9d, dword [rbp + 0x30]
lea r8, [0x1404f20d4]
lea rdx, str.SELECT__char_id____name__FROM___s__WHERE__char_id____u
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x1401f5a09
mov eax, dword [0x1404edf38]
add eax, 0xd
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharint_mail.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
jmp 0x1401f5b7f
mov dword [rbp + 0x30], 0
mov eax, 1
imul rax, rax, 0
mov byte [rbp + rax + 0x34], 0
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
jne 0x1401f5a8a
xor r9d, r9d
lea r8, [rbp + 0x478]
xor edx, edx
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x478]
call fcn.140161abd
mov dword [rbp + 0x30], eax
lea r9, [rbp + 0x498]
lea r8, [rbp + 0x478]
mov edx, 1
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov r8d, 0x18
mov rdx, qword [rbp + 0x478]
lea rcx, [rbp + 0x34]
call fcn.14016b4b9
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
mov edx, 0x18
lea rcx, [rbp + 0x34]
call fcn.1401612cf
mov r9, rax
lea r8, [rbp + 0x34]
lea rdx, [rbp + 0x428]
mov rcx, qword [0x1404f6de0]
call fcn.140167314
lea r9, [rbp + 0x428]
lea r8, [0x1404f20d4]
lea rdx, str.SELECT__account_id____char_id__FROM___s__WHERE__name____s
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x1401f5b05
mov eax, dword [0x1404edf38]
add eax, 0x21
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharint_mail.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
jmp 0x1401f5b3f
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
jne 0x1401f5b3f
xor r9d, r9d
lea r8, [rbp + 0x478]
mov edx, 1
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0x478]
call fcn.140161abd
mov dword [rbp + 0x30], eax
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
mov dword [rbp + 0x278], 0
cmp dword [rbp + 0x30], 0
jbe 0x1401f5b67
lea rcx, [rbp + 0x10]
call fcn.14016b9c8
mov dword [rbp + 0x10], eax
lea rdx, [rbp + 0x10]
mov ecx, dword [rbp + 0x710]
call fcn.140164cc2
lea rcx, [rbp + 0x10]
call fcn.140168b60
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_connect
call fcn.140168bb0
mov rcx, qword [rbp + 0x6e8]
xor rcx, rbp
call fcn.140165226
lea rsp, [rbp + 0x6f8]
pop rdi
pop rbp
ret