Function at 0x140162c9c
Capabilities:
Reference sql statements

Disassembly:
jmp 0x140200310
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.14016a9fb
mov r9d, dword [rbp + 0xf0]
lea r8, [0x1404f2ad4]
lea rdx, str.SELECT__guild_id__FROM___s__WHERE__guild_id__d
mov rcx, qword [0x1404f6de0]
call fcn.140164cae
cmp eax, 0xffffffff
jne 0x140200386
mov eax, dword [0x1404edfac]
add eax, 2
mov r8d, eax
lea rdx, str.C:GAMES_ro_offline_2022_20231219T050943Z_00201_emulator4cram_4th_jobs_srccharint_storage.cpp
mov rcx, qword [0x1404f6de0]
call fcn.1401647b8
jmp 0x140200580
mov rcx, qword [0x1404f6de0]
call fcn.1401655e1
test rax, rax
jbe 0x140200580
cmp dword [rbp + 0xe0], 0
je 0x1402003e8
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x30]
add rax, 0xb49d
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
cmp rax, qword [rcx + 0x20]
jbe 0x1402003e8
mov edx, 0xb49d
mov ecx, dword [rbp + 0xe0]
call fcn.14016782d
xor eax, eax
test eax, eax
jne 0x14020039b
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, 0x3818
mov word [rax + rcx], dx
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, 0xb49d
mov word [rax + rcx + 2], dx
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, dword [rbp + 0xe8]
mov dword [rax + rcx + 4], edx
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, dword [rbp + 0xf0]
mov dword [rax + rcx + 8], edx
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
movzx edx, byte [rbp + 0xf8]
mov byte [rax + rcx + 0xc], dl
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
lea rax, [rax + rcx + 0xd]
mov rdx, rax
mov ecx, dword [rbp + 0xf0]
call fcn.140160e9c
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
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 + 0xe0]
call fcn.14016a799
mov al, 1
jmp 0x1402006c4
mov rcx, qword [0x1404f6de0]
call fcn.140160e74
cmp dword [rbp + 0xe0], 0
je 0x1402005d7
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x30]
add rax, 0xc
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
cmp rax, qword [rcx + 0x20]
jbe 0x1402005d7
mov edx, reloc.WS2_32.dll_inet_ntoa
mov ecx, dword [rbp + 0xe0]
call fcn.14016782d
xor eax, eax
test eax, eax
jne 0x14020058c
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, 0x3818
mov word [rax + rcx], dx
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, reloc.WS2_32.dll_inet_ntoa
mov word [rax + rcx + 2], dx
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
mov edx, dword [rbp + 0xe8]
mov dword [rax + rcx + 4], edx
movsxd rax, dword [rbp + 0xe0]
lea rcx, [0x14050db40]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rbp + 0xe0]
lea rdx, [0x14050db40]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rcx + 0x30]
mov dword [rax + rcx + 8], 0
mov edx, reloc.WS2_32.dll_inet_ntoa
mov ecx, dword [rbp + 0xe0]
call fcn.14016a799
xor al, al
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret