Function at 0x4b7d50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8208
mov eax, dword fs:[0]
push eax
sub esp, 0xec
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
call fcn.00488470
mov ebx, eax
push ecx
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x44], ebx
call fcn.0041c300
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
mov edx, dword [ebx]
mov ecx, ebx
push esi
push eax
call dword [edx + 0x20]
mov edi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx + 0x2c]
mov esi, eax
mov byte [ebp - 4], 2
cmp byte [0x631c98], 0
je 0x4b7dd8
mov ebx, dword [0x632104]
jmp 0x4b7e0a
cmp byte [0x631c99], 0
jne 0x4b7e08
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 ebx, ebx
mov edx, str.SELECT__id__FROM__guilds__WHERE__name_
lea ecx, [ebp - 0xe8]
call fcn.004064c0
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x4b7e24
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x4b7e3b
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov edx, 0x5d7ea8
push ebx
push ecx
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, 0x5d7d74
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4b7ea1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b7e97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b7edd
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x4b7eed
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b7ee3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b7ee3
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 - 0x40]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404ef0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
test esi, esi
sete bl
cmp ecx, 0x10
jb 0x4b7f4a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b7f40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b7f40
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 - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test bl, bl
je 0x4b7f64
xor bl, bl
jmp 0x4b7fdc
mov dword [ebp - 0x28], 0
mov eax, 0x6469
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 2
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4b7fd3
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b7fc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b7fc9
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 - 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