Function at 0x4b8a70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a844e
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
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 eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
call fcn.00488470
mov ebx, eax
push ecx
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x4c], ebx
call fcn.0041c300
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov edx, dword [ebx]
mov ecx, ebx
push esi
push eax
call dword [edx + 0x20]
mov esi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx + 0x2c]
mov dword [ebp - 0x48], eax
push edi
push ecx
mov edx, 0x5d8184
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf4]
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, str._AND__name_
mov ecx, eax
call fcn.004064c0
mov ecx, eax
mov eax, dword [ebp - 0x48]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4b8b23
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
add esp, 4
mov edx, esi
cmp dword [esi + 0x14], 0x10
jb 0x4b8b38
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov edx, 0x5d8174
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x4b8b85
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b8b7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b8bc1
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x4b8bd1
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b8bc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b8bc7
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 - 0x2c]
push eax
lea ecx, [ebp - 0x104]
call fcn.00404ef0
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebx]
push eax
call dword [edx + 0x1c]
mov esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
test esi, esi
sete bl
cmp ecx, 0x10
jb 0x4b8c2d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b8c23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b8c23
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 - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
test bl, bl
jne 0x4b8e25
mov dword [ebp - 0x44], 0
mov eax, 0x6469
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 2
mov word [ebp - 0x44], ax
mov byte [ebp - 0x42], bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0
mov ebx, eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x54], ebx
cmp ecx, 0x10
jb 0x4b8cb5
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b8cab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b8cab
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 dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 5
call fcn.00405f10
push dword [ebp - 0xb0]
lea eax, [ebp - 0x2c]
push 0
push eax
lea ecx, [ebp - 0xec]
call fcn.0040d040
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00405b30
mov edi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x30]
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
mov ecx, edi
mov edx, dword [edi]
push esi
push eax
call dword [edx + 0x20]
mov dword [ebp - 0x50], eax
mov edx, str.UPDATE__guild_ranks__SET__name__
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.004064c0
mov ecx, eax
mov eax, dword [ebp - 0x50]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4b8d51
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
add esp, 4
mov edx, 0x5d81b8
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___unsigned_int_]
mov ecx, eax
mov eax, dword [ebp - 0x4c]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x4b8d84
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00405b30
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00405b30
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x104]
call fcn.00404ef0
push eax
mov byte [ebp - 4], 8
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00405b30
test bl, bl
je 0x4b8e25
mov edi, dword [0x63229c]
mov eax, dword [edi]
mov dword [ebp - 0x48], eax
cmp eax, edi
je 0x4b8e21
mov ebx, dword [ebp - 0x54]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x588], ebx
jne 0x4b8e12
lea ecx, [eax + 0x724]
cmp ecx, esi
je 0x4b8e12
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4b8e03
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00405890
mov edi, dword [0x63229c]
lea ecx, [ebp - 0x48]
call fcn.0040bd40
mov eax, dword [ebp - 0x48]
cmp eax, edi
jne 0x4b8de4
mov bl, 1
jmp 0x4b8e27
xor bl, bl
lea ecx, [ebp - 0x104]
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 0xc