Function at 0x4945e2
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
call fcn.0043f37c
mov ebx, eax
lea edi, [ebp - 0xfc]
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call fcn.007507e0
mov dword [ebp - 0xc8], 0x839710
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [0x8210cc]
mov dword [ebp - 0xfc], eax
mov esi, eax
sub esi, 0xc
mov eax, dword [esi]
mov edx, dword [0x8210d0]
mov dword [edi + eax], edx
mov dword [ebp - 0xf8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax - 0xc]
lea eax, [edi + ecx]
mov dword [esp], eax
call fcn.007518a0
jmp 0x494688
mov edx, dword [0x8210d4]
mov dword [ebp - 0xf4], edx
lea eax, [ebp - 0xf4]
mov edx, dword [edx - 0xc]
mov ecx, dword [0x8210d8]
mov dword [eax + edx], ecx
mov dword [esp + 4], 0
mov edx, dword [ebp - 0xf4]
add eax, dword [edx - 0xc]
mov dword [esp], eax
call fcn.007518a0
jmp 0x4946e8
mov eax, dword [0x8210c8]
mov dword [ebp - 0xfc], eax
lea esi, [ebp - 0xfc]
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210dc]
mov dword [esi + eax], edx
mov eax, dword [0x8210e0]
mov dword [ebp - 0xf4], eax
mov eax, dword [0x8210c4]
mov dword [ebp - 0xfc], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210e4]
mov dword [esi + eax], edx
mov eax, dword [0x8210e8]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], vtable.c_streambufIwSt11char_traitsIwEE.0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
lea eax, [ebp - 0xd4]
mov dword [esp], eax
call fcn.0072de18
mov dword [ebp - 0xf0], 0x838ce8
mov dword [ebp - 0xd0], 0x18
mov dword [ebp - 0xcc], 0x7bf7b0
lea eax, [ebp - 0xf0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xfc]
add esi, dword [eax - 0xc]
mov dword [esp], esi
call fcn.007518a0
jmp 0x4947e9
mov dword [ebp - 0xfc], vtable.o.14.0
mov dword [ebp - 0xc8], 0x824814
mov dword [ebp - 0xf4], 0x824800
mov dword [esp], 0x8d18a0
call fcn.00647b78
jmp 0x494843
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov esi, eax
lea edx, [ebp - 0x40]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
lea edx, [ebp - 0x3c]
mov eax, dword [ebx]
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x2c]
sub esp, 4
mov dword [esp + 4], str.SELECT__id____name____group_id__FROM__players__WHERE__name_
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
mov dword [esp + 4], str._AND__deleted___0_AND__world_id__
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d5546
mov dword [esp], eax
call fcn.0076107c
jmp 0x494903
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x494922
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0070479c
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x38]
lea edx, [ebp - 0xf0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov ebx, eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0070479c
jmp 0x494977
test ebx, ebx
je 0x494b52
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x2d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d554f
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4949d4
mov eax, dword [ebx]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x21]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d5580
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x28]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
sub esp, 4
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00703510
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x494a49
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0070479c
jmp 0x494a5d
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x19]
mov dword [esp + 8], eax
mov dword [esp + 4], str.group_id
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov esi, eax
cmp byte [0x7b9b70], 0
jne 0x494ae6
mov dword [esp], 0x7b9b70
call fcn.00768148
test eax, eax
je 0x494ae6
mov dword [0x7c02ac], vtable.6Logger.0
mov edx, 0x7c02b4
mov ecx, 0x10
mov al, 0
mov edi, edx
rep stosb byte es:[edi], al
mov dword [edi], 0
mov dword [0x7c02bc], edx
mov dword [0x7c02c0], edx
mov dword [esp], 0x7b9b70
call fcn.007681fc
mov dword [esp], 0x489740
call section..text
mov dword [esp + 4], esi
mov dword [esp], 0x7c02ac
call fcn.00479556
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x494b18
test esi, esi
je 0x494b2e
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
shrd edx, ecx, 0x1e
and edx, 1
mov eax, dword [ebp + 0x10]
mov byte [eax], dl
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
jmp 0x494b50
mov bl, 1
lea eax, [ebp - 0xfc]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret