Function at 0x4b7900
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8164
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
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
mov edi, dword [ebp + 8]
call fcn.00488470
push ecx
lea ecx, [ebp - 0xf4]
mov esi, eax
call fcn.0041c300
mov dword [ebp - 4], 0
cmp byte [0x631c98], 0
je 0x4b795c
mov ecx, dword [0x632104]
jmp 0x4b798e
cmp byte [0x631c99], 0
jne 0x4b798c
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 0x32
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_____]
xor ecx, ecx
push ecx
push dword [edi]
mov edx, str.SELECT__ownerid__FROM__guilds__WHERE__id__
push ecx
lea ecx, [ebp - 0xe4]
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_]
push ecx
mov edx, 0x5d7e00
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___int_]
mov edx, 0x5d7f0c
mov ecx, eax
call fcn.004064c0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00404ef0
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x1c]
mov esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
test esi, esi
sete bl
cmp ecx, 0x10
jb 0x4b7a2d
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b7a23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b7a23
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 - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test bl, bl
je 0x4b7a4a
xor bl, bl
jmp 0x4b7ad4
mov eax, dword [str.ownerid]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x2c], eax
mov ax, word [0x5d7e24]
mov word [ebp - 0x28], ax
mov al, byte [0x5d7e26]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 7
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [edi], eax
cmp ecx, 0x10
jb 0x4b7acb
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b7ac1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b7ac1
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]
mov bl, 1
lea ecx, [ebp - 0xf4]
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