Function at 0x14016a6a4
Capabilities:
Reference sql statements

Disassembly:
jmp 0x1401ac630
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2a8]
mov rax, qword [0x1404ee780]
xor rax, rbp
mov qword [rbp + 0x240], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
movsxd rax, dword [rbp + 0x270]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax]
and al, 1
movzx eax, al
test eax, eax
je 0x1401ac6a2
mov qword [rbp + 0x238], 0
jmp 0x1401ac6d8
movsxd rax, dword [rbp + 0x270]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x270]
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 + 0x238], rax
cmp qword [rbp + 0x238], 0x22
jae 0x1401ac6ee
xor eax, eax
jmp 0x1401aca8c
movsxd rax, dword [rbp + 0x270]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x270]
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 + 4], eax
movsxd rax, dword [rbp + 0x270]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0x270]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 8]
mov rcx, qword [rcx + 0x38]
lea rax, [rax + rcx + 0xa]
mov qword [rbp + 0x28], rax
mov edx, 0x22
mov ecx, dword [rbp + 0x270]
call fcn.14016642d
mov edx, 0x18
mov rcx, qword [rbp + 0x28]
call fcn.1401612cf
mov r9, rax
mov r8, qword [rbp + 0x28]
lea rdx, [rbp + 0x48]
mov rcx, qword [0x1404f6de0]
call fcn.140167314
lea r9, [rbp + 0x48]
lea r8, [0x1404f20d4]
lea rdx, str.SELECT__account_id___char_id___unban_time__FROM___s__WHERE__name____s
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x1401ac7d2
mov eax, dword [0x1404ed0cc]
add eax, 0xc
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
jmp 0x1401aca87
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
test rax, rax
jne 0x1401ac7f2
mov eax, 1
jmp 0x1401aca8c
mov rcx, qword [0x1404f6de0]
call fcn.140161626
test eax, eax
je 0x1401ac83c
mov eax, dword [0x1404ed0cc]
add eax, 0x11
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
jmp 0x1401aca8c
mov dword [rbp + 0x94], 0
mov dword [rbp + 0xb4], 0
xor ecx, ecx
call fcn.1401b0510
mov qword [rbp + 0x118], rax
mov rcx, qword [0x1404f6de0]
call fcn.140162f67
mov qword [rbp + 0x138], rax
xor r9d, r9d
lea r8, [rbp + 0xd8]
xor edx, edx
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0xd8]
call fcn.140161abd
mov dword [rbp + 0xb4], eax
xor r9d, r9d
lea r8, [rbp + 0xd8]
mov edx, 1
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0xd8]
call fcn.140161abd
mov dword [rbp + 0x94], eax
xor r9d, r9d
lea r8, [rbp + 0xd8]
mov edx, 2
mov rcx, qword [0x1404f6de0]
call fcn.140162594
mov rcx, qword [rbp + 0xd8]
call fcn.140167ab2
cdqe
mov qword [rbp + 0xf8], rax
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
cmp dword [rbp + 4], 0
jge 0x1401ac920
cmp qword [rbp + 0xf8], 0
jne 0x1401ac920
mov eax, 1
jmp 0x1401aca8c
mov rax, qword [rbp + 0x118]
cmp qword [rbp + 0xf8], rax
jge 0x1401ac93e
mov rax, qword [rbp + 0x118]
mov qword [rbp + 0xf8], rax
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0xf8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0x118]
cmp qword [rbp + 0xf8], rax
jge 0x1401ac971
mov qword [rbp + 0xf8], 0
lea r8, [0x1404f20d4]
lea rdx, str.UPDATE___s__SET__unban_time_____WHERE__char_id_____LIMIT_1
mov rcx, qword [rbp + 0x138]
call fcn.140163142
test eax, eax
jne 0x1401ac9f2
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0xf8]
mov r8d, reloc.WS2_32.dll_inet_ntoa
xor edx, edx
mov rcx, qword [rbp + 0x138]
call fcn.14016acfd
test eax, eax
jne 0x1401ac9f2
mov qword [rsp + 0x20], 4
lea r9, [rbp + 0x94]
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 1
mov rcx, qword [rbp + 0x138]
call fcn.14016acfd
test eax, eax
jne 0x1401ac9f2
mov rcx, qword [rbp + 0x138]
call fcn.14016069f
test eax, eax
je 0x1401aca24
mov eax, dword [0x1404ed0cc]
add eax, 0x2f
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharchar_mapif.cpp
mov rcx, qword [rbp + 0x138]
call fcn.14016608b
mov rcx, qword [rbp + 0x138]
call fcn.14016ac8f
mov eax, 1
jmp 0x1401aca8c
mov rcx, qword [rbp + 0x138]
call fcn.14016ac8f
mov rax, qword [rbp + 0x118]
cmp qword [rbp + 0xf8], rax
jle 0x1401aca87
mov eax, 0x2b14
mov word [rbp + 0x158], ax
mov eax, dword [rbp + 0x94]
mov dword [rbp + 0x15a], eax
mov byte [rbp + 0x15e], 2
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0x15f], eax
mov edx, reloc.WS2_32.dll_inet_addr
lea rcx, [rbp + 0x158]
call fcn.140160a19
mov ecx, dword [rbp + 0xb4]
call fcn.1401660a4
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140452bf0]
call fcn.140168bb0
mov rax, rdi
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140165226
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret