Function at 0x4b9ed0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a874b
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], edi
call fcn.00488470
push ecx
lea ecx, [ebp - 0xf8]
mov ebx, eax
call fcn.0041c300
movzx ecx, byte [ebp + 0xc]
mov dword [ebp - 4], 0
mov esi, ecx
cmp byte [0x631c98], 0
jne 0x4b9f66
cmp byte [0x631c99], 0
jne 0x4ba085
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getNumber_
push 0x406700
push 0x11
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4ba085
cmp dword [0x632080], 0
je 0x4ba085
push edi
push ecx
mov edx, str.SELECT__online__FROM__players__WHERE__id__
lea ecx, [ebp - 0xe8]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x5db190
mov ecx, eax
call fcn.004064c0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404ef0
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
mov edi, eax
call fcn.00405b30
test edi, edi
jne 0x4b9fd0
xor bl, bl
jmp 0x4ba186
mov eax, dword [str.online]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x28], eax
mov ax, word [0x5db384]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 6
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
movzx esi, ax
cmp ecx, 0x10
jb 0x4ba04a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ba040
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ba040
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
lea ecx, [ebp - 0xe0]
call fcn.00405f10
and dword [ebp - 0xa4], 0xffffffdf
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0xa8], 0
mov byte [ebp - 4], 0
je 0x4ba07a
inc esi
jmp 0x4ba085
test si, si
je 0x4ba085
add esi, 0xffff
mov eax, dword [ebx]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov edi, eax
push dword [ebp - 0x44]
mov edx, str.UPDATE__players__SET__online__
mov byte [ebp - 4], 4
push esi
push ecx
lea ecx, [ebp - 0xe8]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int_]
push ecx
mov edx, 0x5db340
mov ecx, eax
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x4ba0d8
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004073f0
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4ba11f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ba115
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ba115
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045b34b
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404ef0
push eax
mov byte [ebp - 4], 5
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp - 0x14]
mov bl, al
cmp ecx, 0x10
jb 0x4ba174
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ba16a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ba16a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0xf8]
call fcn.0041c440
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
ret 8