Function at 0x48c064
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x15c
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x155], al
mov edi, esi
mov dword [esi], fcn.00666290
mov dword [esi + 0x14], 0x7bf7b0
mov dword [esi + 0x18], 0x7bf7b0
mov dword [esi + 0x1c], 0x7bf7b0
mov dword [esi + 0x20], 0x7bf7b0
lea edx, [esi + 0x24]
mov dword [ebp - 0x154], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
call fcn.0043f37c
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x140]
mov dword [esp], eax
call fcn.0066643c
mov dword [esp + 4], str.SELECT__name____password____salt____premdays____lastday____key____warnings__FROM__accounts__WHERE__id__
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d5546
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x150]
mov eax, dword [edx]
mov ebx, dword [eax + 0x1c]
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x134]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
call ebx
mov ebx, eax
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c16f
test ebx, ebx
je 0x48c7dd
mov edx, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x71]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d5580
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x7c]
lea edx, [ebp - 0x78]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [ebp - 0x14c]
sub esp, 4
lea eax, [ebp - 0x7c]
mov dword [esp + 4], eax
lea eax, [esi + 0x14]
mov dword [esp], eax
call fcn.00703510
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c1fc
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c210
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x65]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d5a20
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x70]
lea edx, [ebp - 0x6c]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [ebp - 0x14c]
sub esp, 4
lea eax, [ebp - 0x70]
mov dword [esp + 4], eax
lea eax, [esi + 0x18]
mov dword [esp], eax
call fcn.00703510
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c28f
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c2a3
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x59]
mov dword [esp + 8], eax
mov dword [esp + 4], str.salt
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x60]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [ebp - 0x14c]
sub esp, 4
lea eax, [ebp - 0x64]
mov dword [esp + 4], eax
lea eax, [esi + 0x20]
mov dword [esp], eax
call fcn.00703510
lea eax, [ebp - 0x64]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c322
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c336
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x51]
mov dword [esp + 8], eax
mov dword [esp + 4], str.premdays
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp - 0x14c]
mov dword [esi + 8], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c393
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x49]
mov dword [esp + 8], eax
mov dword [esp + 4], str.lastday
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp - 0x14c]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c3f0
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x3d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d5ad6
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x44]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [ebp - 0x14c]
sub esp, 4
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
lea eax, [esi + 0x1c]
mov dword [esp], eax
call fcn.00703510
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c46f
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c483
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x35]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d5ada
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp - 0x14c]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c4e0
lea eax, [ebp - 0x2d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.0070342c
mov eax, dword [ebp - 0x114]
test al, 3
jne 0x48c52c
mov dword [ebp - 0x14c], 0
jmp 0x48c53b
mov eax, dword [ebp - 0x110]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x110]
mov dword [esp + 4], eax
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00717e3c
jmp 0x48c579
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c58d
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
cmp byte [ebp - 0x155], 0
jne 0x48c7dd
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov ebx, eax
mov dword [esp + 4], str.SELECT__name__FROM__players__WHERE__account_id__
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d56c0
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], str._AND__deleted___0
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x150]
mov eax, dword [edx]
mov ebx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x134]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
call ebx
mov ebx, eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c65f
test ebx, ebx
je 0x48c7dd
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x150], eax
lea edx, [ebp - 0x21]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7d5580
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.007041ec
lea edx, [ebp - 0x28]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
lea eax, [ebp - 0x84]
mov dword [esp], eax
call dword [ebp - 0x150]
sub esp, 4
lea edx, [ebp - 0x28]
mov dword [esp], edx
call fcn.0070479c
jmp 0x48c6e4
lea eax, [ebp - 0x19]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], eax
lea edx, [ebp - 0x20]
mov dword [esp], edx
call fcn.007041ec
mov dword [esp], 0xc
call fcn.0076790c
mov dword [ebp - 0x150], eax
add eax, 8
je 0x48c743
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00704290
jmp 0x48c743
mov edx, dword [ebp - 0x154]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
call fcn.00716f88
jmp 0x48c775
lea edx, [ebp - 0x20]
mov dword [esp], edx
call fcn.0070479c
jmp 0x48c786
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.0070479c
jmp 0x48c7a6
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x14]
test al, al
jne 0x48c667
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
lea eax, [edi + 0x24]
mov dword [esp], eax
call fcn.00724ae4
jmp 0x48c7dd
lea eax, [ebp - 0x140]
mov dword [esp], eax
call fcn.006668d4
jmp 0x48c7ff
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret 4