Function at 0x4c3300
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a976f
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x631c98], 0
mov esi, dword [ebp + 8]
jne 0x4c3460
cmp byte [0x631c99], 0
jne 0x4c336e
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getBool_
push 0x406700
push 0xd
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_____]
call fcn.00488470
mov ebx, eax
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x60], ebx
call fcn.0041c300
push esi
push ecx
mov edx, str.SELECT__account_id____group_id__FROM__players__WHERE__id__
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x104]
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, 0x5da7dc
mov ecx, eax
call fcn.004064c0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x114]
call fcn.00404ef0
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00405b30
test esi, esi
je 0x4c35a3
mov eax, dword [0x5da890]
mov ecx, dword [0x5da894]
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
push eax
call fcn.0043dd50
mov ecx, eax
call fcn.004ac430
mov byte [ebp - 4], 0
mov edi, eax
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x4c347e
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c3474
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c3474
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp byte [0x631ff5], 0
je 0x4c336e
mov al, 1
jmp 0x4c363b
push ecx
push edx
call fcn.0045b34b
add esp, 8
movq xmm0, qword [0x5da844]
mov ax, word [0x5da84c]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0xa
movq qword [ebp - 0x2c], xmm0
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0
mov ebx, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4c350e
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c3504
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c3504
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 [esi]
mov ecx, esi
call dword [eax + 0x10]
test edi, edi
je 0x4c352c
mov ecx, dword [edi + 0x5c]
xor eax, eax
and ecx, 0x20
or eax, ecx
je 0x4c352c
mov bl, 1
jmp 0x4c362e
lea ecx, [ebp - 0xfc]
call fcn.00405f10
and dword [ebp - 0xc0], 0xffffffdf
mov edx, str.SELECT__premdays__FROM__accounts__WHERE__id__
push ebx
push ecx
lea ecx, [ebp - 0x104]
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 0
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, 0x5daa5c
mov ecx, eax
call fcn.004064c0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x114]
call fcn.00404ef0
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00405b30
test esi, esi
jne 0x4c35aa
xor bl, bl
jmp 0x4c362e
mov eax, dword [str.premdays]
mov ecx, dword [0x5daa40]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x24], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0
mov edi, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4c3622
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c3618
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c3618
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 [esi]
mov ecx, esi
call dword [eax + 0x10]
test edi, edi
setne bl
lea ecx, [ebp - 0x114]
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 - 0x14]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
ret 4