Function at 0x489d78
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov esi, dword [ebp + 0x10]
mov dword [esp + 4], esi
lea ebx, [ebp - 0x58]
mov dword [esp], ebx
call fcn.00704290
mov dword [esp + 4], ebx
mov dword [esp], 0x8e00c0
call fcn.0045a80a
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0070479c
test ebx, ebx
je 0x489dd6
mov ebx, 3
jmp 0x48a2fb
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.0066643c
lea edx, [ebp - 0x54]
mov eax, dword [ebx]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
lea edx, [ebp - 0x50]
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__FROM__players__WHERE__name_
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x50]
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 - 0x54]
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__account_id__
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str._AND__deleted___0_LIMIT_1
mov dword [esp], eax
call fcn.0076107c
jmp 0x489e95
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0070479c
jmp 0x489eb4
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.0070479c
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x10c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov esi, eax
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x489f09
test esi, esi
je 0x48a2e8
mov eax, dword [esi]
mov edi, dword [eax]
lea eax, [ebp - 0x41]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d554f
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.0070479c
jmp 0x489f64
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x10]
mov esi, dword [ebp - 0x5c]
call fcn.006655dc
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004798d2
test eax, eax
je 0x489f8e
mov ebx, 2
jmp 0x48a2ed
mov esi, dword [ebp - 0x5c]
call fcn.00666b58
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00484bbe
cmp eax, 3
jne 0x489fb1
mov ebx, 1
jmp 0x48a2ed
lea eax, [ebp - 0x39]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call fcn.00717d80
jmp 0x489ff4
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48a008
lea edx, [ebp - 0x38]
mov eax, dword [ebx]
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 4
mov edi, dword [ebp - 0x5c]
mov dword [esp], 0
call sub.msvcrt.dll_time
mov esi, eax
mov dword [esp + 4], str.UPDATE__players__SET__deleted__
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701bc0
mov dword [esp + 4], 0x7d5606
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00701d98
lea edx, [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
jmp 0x48a08c
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0070479c
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x10c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov esi, eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48a0e1
mov eax, esi
test al, al
je 0x48a2e8
lea eax, [ebp - 0x29]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call fcn.00717d80
jmp 0x48a12e
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48a142
mov esi, dword [ebp - 0x5c]
mov dword [esp + 4], str.DELETE_FROM__guild_invites__WHERE__player_id__
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x10c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
jmp 0x48a1a4
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0070479c
lea eax, [ebp - 0x1d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x24]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call fcn.00717d80
jmp 0x48a1f2
lea eax, [ebp - 0x24]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48a206
mov esi, dword [ebp - 0x5c]
mov dword [esp + 4], str.DELETE_FROM__player_viplist__WHERE__vip_id__
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x10c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
jmp 0x48a265
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.0070479c
mov ebx, dword [0x8e079c]
lea edi, [ebp - 0x5c]
jmp 0x48a2c0
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x14]
add eax, 0x334
mov dword [esp], eax
call fcn.0074d390
mov esi, dword [ebx + 0x14]
lea edx, [esi + 0x338]
cmp eax, edx
je 0x48a2b6
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0075b2ec
mov dword [esp], eax
call fcn.007678c4
dec dword [esi + 0x348]
mov dword [esp], ebx
call fcn.00757c28
mov ebx, eax
mov eax, 0x8e0794
cmp eax, ebx
jne 0x48a27b
mov ebx, 4
jmp 0x48a2ed
mov ebx, 0
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.006668d4
mov eax, ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret