Function at 0x498070
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x36c
mov esi, dword [ebp + 0xc]
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x34d], al
cmp byte [ebp + 0x10], 0
je 0x4980f5
cmp dword [esi + 0x244], 0
jg 0x4980f5
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x1cc]
cmp eax, 5
jne 0x4980dd
mov dword [esp + 4], 0x56
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov dword [esi + 0x244], eax
mov dword [esp + 4], 0x57
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov dword [esi + 0x24c], eax
jmp 0x4980f5
mov eax, dword [esi + 0x248]
mov dword [esi + 0x244], eax
mov eax, dword [esi + 0x250]
mov dword [esi + 0x24c], eax
call fcn.0043f37c
mov dword [ebp - 0x344], eax
lea edi, [ebp - 0x21c]
lea eax, [ebp - 0x1e8]
mov dword [esp], eax
call fcn.007507e0
mov dword [ebp - 0x1e8], 0x839710
mov dword [ebp - 0x178], 0
mov byte [ebp - 0x174], 0
mov byte [ebp - 0x173], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov edx, dword [0x8210cc]
mov dword [ebp - 0x21c], edx
mov ebx, edx
sub ebx, 0xc
mov eax, dword [ebx]
mov ecx, dword [0x8210d0]
mov dword [edi + eax], ecx
mov dword [ebp - 0x218], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x21c]
mov edx, dword [eax - 0xc]
lea eax, [edi + edx]
mov dword [esp], eax
call fcn.007518a0
jmp 0x4981a9
mov edx, dword [0x8210d4]
mov dword [ebp - 0x214], edx
lea eax, [ebp - 0x214]
mov edx, dword [edx - 0xc]
mov ecx, dword [0x8210d8]
mov dword [eax + edx], ecx
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x214]
add eax, dword [edx - 0xc]
mov dword [esp], eax
call fcn.007518a0
jmp 0x49820a
mov eax, dword [0x8210c8]
mov dword [ebp - 0x21c], eax
lea ebx, [ebp - 0x21c]
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210dc]
mov dword [ebx + eax], edx
mov eax, dword [0x8210e0]
mov dword [ebp - 0x214], eax
mov eax, dword [0x8210c4]
mov dword [ebp - 0x21c], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210e4]
mov dword [ebx + eax], edx
mov eax, dword [0x8210e8]
mov dword [ebp - 0x214], eax
mov dword [ebp - method.c_streambufIwSt11char_traitsIwEE.virtual_0], vtable.c_streambufIwSt11char_traitsIwEE.0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
lea eax, [ebp - 0x1f4]
mov dword [esp], eax
call fcn.0072de18
mov dword [ebp - fcn.00718768], 0x838ce8
mov dword [ebp - 0x1f0], 0x18
mov dword [ebp - 0x1ec], 0x7bf7b0
lea eax, [ebp - 0x210]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x21c]
add ebx, dword [eax - 0xc]
mov dword [esp], ebx
call fcn.007518a0
jmp 0x49830b
mov dword [ebp - fcn.006668d4], vtable.o.14.0
mov dword [ebp - 0x1e8], 0x824814
mov dword [ebp - 0x214], 0x824800
mov dword [esp], 0x8d18a0
call fcn.00647b78
jmp 0x498365
mov ebx, dword [esi + 0x58c]
mov dword [esp + 4], str.SELECT__save__FROM__players__WHERE__id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d5546
mov dword [esp], eax
call fcn.0076107c
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx]
mov ebx, dword [eax + 0x1c]
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x210]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x344]
mov dword [esp], eax
call ebx
mov ebx, eax
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4983ff
test ebx, ebx
je 0x49a6c8
mov eax, dword [ebx]
mov edi, dword [eax]
lea eax, [ebp - 0x111]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d69ab
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov edi, eax
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.0070479c
jmp 0x498468
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
mov dword [ebp - fcn.006252b0], vtable.seMySQL.0
mov edx, dword [ebp - 0x344]
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], 1
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 0xc]
test al, al
je 0x49a68b
lea eax, [ebp - 0x109]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebp - 0x110]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x1ec]
mov dword [esp], eax
call fcn.0070342c
mov eax, dword [ebp - 0x1f0]
test al, 3
jne 0x4984f0
mov ebx, 0
jmp 0x4984f9
mov eax, dword [ebp - 0x1ec]
mov ebx, dword [eax - 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x1ec]
mov dword [esp + 4], eax
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.00717e3c
jmp 0x498534
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49854b
mov ecx, dword [esi + 0x4f4]
mov dword [ebp - 0x340], ecx
mov ebx, dword [esi + 0x5ac]
mov dword [esp + 4], str.UPDATE__players__SET__lastlogin__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701bc0
mov dword [esp + 4], str.___lastip__
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x340]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
test edi, edi
je 0x4985b2
cmp byte [esi + 0x44d], 0
jne 0x4986b2
lea edx, [ebp - 0x108]
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 4
mov ebx, dword [esi + 0x58c]
mov dword [esp + 4], 0x7d5606
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov edx, dword [ebp - 0x108]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.0070479c
jmp 0x498633
mov edx, dword [ebp - 0x344]
mov eax, dword [edx]
mov ebx, dword [eax + 0x18]
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x210]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x104]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x344]
mov dword [esp], ecx
call ebx
mov bl, al
lea eax, [ebp - 0x104]
mov dword [esp], eax
call fcn.0070479c
jmp 0x498695
test bl, bl
je 0x49a68b
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00625258
mov bl, al
jmp 0x49a68d
mov dword [esp + 4], 0x7d58cb
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x4f8]
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xfc], 1
test ebx, ebx
jne 0x4986e4
mov bl, 1
mov dword [esp + 4], str._level__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x490]
mov dword [esp + 4], str._group_id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x244]
mov dword [esp + 4], str._health__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x248]
mov dword [esp + 4], str._healthmax__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [esi + 0x5e0]
mov edx, dword [esi + 0x5e4]
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], edx
mov dword [esp + 4], str._experience__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x33c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.00702168
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
movzx ebx, byte [esi + 0x26b]
mov dword [esp + 4], str._lookbody__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
movzx ebx, byte [esi + 0x26d]
mov dword [esp + 4], str._lookfeet__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
movzx ebx, byte [esi + 0x26a]
mov dword [esp + 4], str._lookhead__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
movzx ebx, byte [esi + 0x26c]
mov dword [esp + 4], str._looklegs__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
movzx ebx, word [esi + 0x266]
mov dword [esp + 4], str._looktype__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
movzx ebx, byte [esi + 0x26e]
mov dword [esp + 4], str._lookaddons__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x500]
mov dword [esp + 4], str._maglevel__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x24c]
mov dword [esp + 4], str._mana__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x250]
mov dword [esp + 4], str._manamax__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [esi + 0x5e8]
mov edx, dword [esi + 0x5ec]
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], edx
mov dword [esp + 4], str._manaspent__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x33c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.00702168
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x484]
mov dword [esp + 4], str._soul__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x5a4]
mov dword [esp + 4], str._town_id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x694]
mov dword [esp + 4], str._posx__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
movzx ebx, bx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
jmp 0x498b24
mov bx, word [esi + 0x696]
mov dword [esp + 4], str._posy__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
movzx ebx, bx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
jmp 0x498b69
mov ebx, dword [esi + 0x698]
mov dword [esp + 4], str._posz__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
movzx ebx, bx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
jmp 0x498bad
fld qword [esi + 0x600]
fstp qword [ebp - 0x340]
mov dword [esp + 4], str._cap__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
fld qword [ebp - 0x340]
fstp qword [esp + 4]
mov dword [esp], eax
call fcn.0070180c
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x47c]
mov dword [esp + 4], str._sex__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
movzx ebx, bx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [esi + 0x388]
mov edx, dword [esi + 0x38c]
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], edx
mov dword [esp + 4], str._balance__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x33c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.00702168
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [esi + 0x6b4]
test eax, eax
je 0x49a6e2
test byte [eax + 0x2d], 2
je 0x49a6e2
mov dword [ebp - 0x340], 0x9032100
mov dword [ebp - 0x33c], 0
mov dword [esp + 4], str._stamina__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x33c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.00702168
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x44
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
jne 0x498d13
mov ebx, 4
jmp 0x498d20
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x1cc]
mov ebx, eax
mov dword [esp + 4], str._skull__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x5a8]
mov dword [esp + 4], str._skulltime__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701bc0
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x5a0]
mov dword [esp + 4], str._promotion__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
je 0x498e12
mov ebx, dword [esi + 0x2a8]
mov dword [esp + 4], str._direction__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
cmp dword [esi + 0x220], 0
je 0x498f95
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x120]
mov dword [esp], eax
call fcn.00704290
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x2c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x124]
mov dword [esp], eax
call fcn.00704290
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0xd4]
test al, al
jne 0x498f62
mov eax, dword [ebp - 0x120]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp - 0x124]
cmp dword [edx - 0xc], eax
jbe 0x498f62
mov ecx, dword [ebp - 0x344]
mov edx, dword [ecx]
mov ebx, dword [edx + 0x20]
lea edx, [ebp - 0xf4]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
lea eax, [ebp - 0x124]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.006dc8ac
sub esp, 4
lea eax, [ebp - 0xf8]
lea edx, [ebp - 0xf4]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x344]
mov dword [esp + 4], edx
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp + 4], str._description__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
jmp 0x498f1e
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.0070479c
jmp 0x498f40
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.0070479c
jmp 0x498f62
lea eax, [ebp - 0x124]
mov dword [esp], eax
call fcn.0070479c
jmp 0x498f87
lea eax, [ebp - 0x120]
mov dword [esp], eax
call fcn.0070479c
mov dword [ebp - fcn.00628574], vtable.olManager.0
mov dword [esp], 0x20
call sub.msvcrt.dll_malloc
mov edx, eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], 0x20
mov dword [ebp - 0x13c], 0
mov ecx, 0x20
mov al, 0
mov edi, edx
rep stosb byte es:[edi], al
mov ebx, dword [esi + 0x2ac]
lea edi, [esi + 0x2ac]
cmp edi, ebx
je 0x49905e
mov eax, dword [ebx + 8]
cmp dword [eax + 0xc], 0
jle 0x49a6ff
cmp dword [eax + 4], 0
je 0x49a6ff
mov edx, dword [eax]
lea ecx, [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x24]
test al, al
je 0x49a65d
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x13c]
jne 0x499042
add eax, 0x20
mov dword [ebp - 0x140], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x144]
mov byte [edx + eax], 0xfe
inc dword [ebp - 0x13c]
mov ebx, dword [ebx]
cmp edi, ebx
jne 0x498fe2
lea edx, [ebp - 0xf0]
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x13c]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x144]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x344]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x24]
sub esp, 4
mov dword [esp + 4], str._conditions__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0xf0]
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], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
jmp 0x4990e9
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.0070479c
mov ebx, dword [esi + 0x524]
mov dword [esp + 4], str._loss_experience__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x528]
mov dword [esp + 4], str._loss_mana__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x52c]
mov dword [esp + 4], str._loss_skills__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x530]
mov dword [esp + 4], str._loss_containers__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x534]
mov dword [esp + 4], str._loss_items__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x5b0]
mov dword [esp + 4], str._lastlogout__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701bc0
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x29
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
je 0x4992bc
mov dword [esp], esi
call fcn.005293c6
test al, al
jne 0x499283
mov dword [esp + 4], 0x2a
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
jne 0x4992bc
movsx ebx, word [esi + 0x478]
mov dword [esp + 4], str._blessings__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702764
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x380]
mov dword [esp + 4], str._marriage__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x1d
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
je 0x4993ed
lea edx, [ebp - 0xec]
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx]
lea ecx, [esi + 0x690]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x344]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
mov dword [esp + 4], str._guildnick__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
lea edx, [ebp - 0xec]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
jmp 0x49938a
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.0070479c
mov ebx, dword [esi + 0x474]
mov edi, dword [esi + 0x598]
call fcn.00666b58
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0048627c
mov ebx, eax
mov dword [esp + 4], str._rank_id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d58cb
mov dword [esp], eax
call fcn.0076107c
mov ebx, dword [esi + 0x6a4]
mov dword [ebp - 0x340], 0
mov ebx, dword [ebx + 0xd4]
mov eax, 0x7b9bc0
cmp byte [eax], 0
jne 0x49945e
mov dword [esp], eax
call fcn.00768148
test eax, eax
je 0x49945e
mov edx, 0x7c04a0
mov dword [edx], vtable.lt.0
mov edx, 0x7c04a8
mov ecx, 0x10
mov al, 0
mov edi, edx
rep stosb byte es:[edi], al
mov dword [edi], 0
mov dword [0x7c04b0], edx
mov dword [0x7c04b4], edx
mov dword [esp], 0x7b9bc0
call fcn.007681fc
mov dword [esp], 0x4896d3
call section..text
mov dword [esp + 4], ebx
mov dword [esp], 0x7c04a0
call fcn.00592576
mov ebx, eax
inc dword [ebp - 0x340]
mov ecx, dword [ebp - 0x340]
cmp dword [esi + 0x5a0], ecx
jae 0x4993fd
lea edx, [ebp - 0xe8]
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 4
mov edi, dword [esi + 0x58c]
mov ebx, dword [ebx + 0xd0]
mov dword [esp + 4], str._vocation__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d5606
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00701d98
mov edx, dword [ebp - 0xe8]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49952b
mov edx, dword [ebp - 0x344]
mov eax, dword [edx]
mov ebx, dword [eax + 0x18]
lea eax, [ebp - 0xe4]
lea edx, [ebp - 0x210]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0xe4]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x344]
mov dword [esp], ecx
call ebx
mov bl, al
lea eax, [ebp - 0xe4]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49958d
test bl, bl
je 0x49a65d
mov ebx, esi
mov dword [ebp - 0x340], 0
lea eax, [ebp - 0xd9]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea edx, [ebp - 0xe0]
mov dword [esp], edx
call fcn.007041ec
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea ecx, [ebp - 0x1ec]
mov dword [esp], ecx
call fcn.0070342c
mov eax, dword [ebp - 0x1f0]
test al, 3
jne 0x4995f1
mov edi, 0
jmp 0x4995fa
mov eax, dword [ebp - 0x1ec]
mov edi, dword [eax - 0xc]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x1ec]
mov dword [esp + 4], eax
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.00717e3c
jmp 0x499635
lea edx, [ebp - 0xe0]
mov dword [esp], edx
call fcn.0070479c
jmp 0x49964c
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx]
mov dword [esp + 4], ecx
lea edx, [ebp - 0xd8]
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 4
mov ecx, dword [esi + 0x58c]
mov dword [ebp - 0x348], ecx
mov eax, dword [ebx + 0x53c]
mov dword [ebp - 0x34c], eax
mov edi, dword [ebx + 0x538]
mov dword [esp + 4], str.UPDATE__player_skills__SET__value__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str.___count__
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x34c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str._WHERE__player_id__
mov dword [esp], eax
call fcn.0076107c
mov ecx, dword [ebp - 0x348]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str._AND__skillid__
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x340]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00702728
mov edx, dword [ebp - 0xd8]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
lea ecx, [ebp - 0xd8]
mov dword [esp], ecx
call fcn.0070479c
jmp 0x49974b
mov edx, dword [ebp - 0x344]
mov eax, dword [edx]
mov edi, dword [eax + 0x18]
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0x210]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0xd4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x344]
mov dword [esp], eax
call edi
mov edi, eax
lea eax, [ebp - 0xd4]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4997ad
mov edx, edi
test dl, dl
je 0x49a65d
inc dword [ebp - 0x340]
add ebx, 0xc
cmp dword [ebp - 0x340], 7
jne 0x4995a1
cmp byte [ebp - 0x34d], 0
je 0x4997eb
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00625258
mov bl, al
jmp 0x49a65f
lea eax, [ebp - 0xc9]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0xd0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.00717d80
jmp 0x49983a
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499851
mov ebx, dword [esi + 0x58c]
mov dword [esp + 4], str.DELETE_FROM__player_spells__WHERE__player_id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx]
mov ebx, dword [eax + 0x18]
lea eax, [ebp - 0xc8]
lea edx, [ebp - 0x210]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0xc8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x344]
mov dword [esp], eax
call ebx
mov bl, al
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4998db
test bl, bl
je 0x49a65d
mov edx, dword [ebp - 0x344]
mov dword [esp + 4], edx
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f23e
lea eax, [ebp - 0xbd]
mov dword [esp + 8], eax
mov dword [esp + 4], str.INSERT_INTO__player_spells____player_id____name___VALUES
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0xc4]
mov dword [esp + 4], eax
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4a2
jmp 0x49994a
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499961
mov ebx, dword [esi + 0x73c]
lea ecx, [esi + 0x73c]
mov dword [ebp - 0x348], ecx
cmp ebx, ecx
je 0x499a56
lea edi, [ebp - 0xb8]
mov edx, dword [ebp - 0x344]
mov eax, dword [edx]
lea edx, [ebx + 8]
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x344]
mov dword [esp + 4], ecx
lea edx, [ebp - 0xbc]
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
mov eax, dword [ebp - 0xbc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x58c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._d___s
lea ecx, [ebp - 0x334]
mov dword [esp], ecx
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0xbc]
mov dword [esp], eax
call fcn.0070479c
lea edx, [ebp - 0xb1]
mov dword [esp + 8], edx
lea ecx, [ebp - 0x334]
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.007041ec
mov dword [esp + 4], edi
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f5e4
mov byte [ebp - 0x340], al
mov dword [esp], edi
call fcn.0070479c
jmp 0x499a3b
cmp byte [ebp - 0x340], 0
je 0x49a639
mov ebx, dword [ebx]
cmp ebx, dword [ebp - 0x348]
jne 0x499981
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4e6
test al, al
je 0x49a639
lea eax, [ebp - 0xa9]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0xb0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.00717d80
jmp 0x499abb
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499ad2
mov ebx, dword [esi + 0x58c]
mov dword [esp + 4], str.DELETE_FROM__player_items__WHERE__player_id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov edx, dword [ebp - 0x344]
mov eax, dword [edx]
mov ebx, dword [eax + 0x18]
lea eax, [ebp - 0xa8]
lea edx, [ebp - 0x210]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0xa8]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x344]
mov dword [esp], ecx
call ebx
mov bl, al
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499b5c
test bl, bl
je 0x49a639
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov ebx, 1
mov edi, eax
mov eax, dword [esi + ebx*4 + 0x6b8]
test eax, eax
je 0x499ba6
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa4]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0072502c
inc ebx
cmp ebx, 0xb
jne 0x499b7d
lea eax, [ebp - 0x95]
mov dword [esp + 8], eax
mov dword [esp + 4], str.INSERT_INTO__player_items____player_id____pid____sid____itemtype____count____attributes___VALUES
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x9c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4a2
jmp 0x499bfb
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499c12
lea eax, [ebp - 0x160]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.004891ea
test al, al
je 0x49a615
lea ebx, [ebp - 0x12c]
mov dword [esp], ebx
call fcn.00705580
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov ebx, dword [esi + 0x374]
lea ecx, [esi + 0x36c]
mov dword [ebp - 0x340], ecx
lea edi, [ebp - 0x12c]
jmp 0x499c9f
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x94]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0072502c
mov dword [esp], ebx
call fcn.00757c28
mov ebx, eax
cmp ebx, dword [ebp - 0x340]
jne 0x499c71
lea eax, [ebp - 0x85]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x8c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.00717d80
jmp 0x499cf6
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499d0d
mov ebx, dword [esi + 0x58c]
mov dword [esp + 4], str.DELETE_FROM__player_depotitems__WHERE__player_id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov edx, dword [ebp - 0x344]
mov eax, dword [edx]
mov ebx, dword [eax + 0x18]
lea eax, [ebp - 0x84]
lea edx, [ebp - 0x210]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x344]
mov dword [esp], ecx
call ebx
mov bl, al
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499d97
test bl, bl
je 0x49a615
lea eax, [ebp - 0x79]
mov dword [esp + 8], eax
mov dword [esp + 4], str.INSERT_INTO__player_depotitems____player_id____pid____sid____itemtype____count____attributes___VALUES
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x80]
mov dword [esp + 4], eax
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4a2
jmp 0x499de2
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499df6
lea eax, [ebp - 0x160]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004891ea
test al, al
je 0x49a615
lea ebx, [ebp - 0x12c]
mov dword [esp], ebx
call fcn.00705580
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
lea eax, [ebp - 0x71]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.00717d80
jmp 0x499e7e
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499e92
mov ebx, dword [esi + 0x58c]
mov dword [esp + 4], str.DELETE_FROM__player_storage__WHERE__player_id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov edx, dword [ebp - 0x344]
mov eax, dword [edx]
mov ebx, dword [eax + 0x18]
lea eax, [ebp - 0x70]
lea edx, [ebp - 0x210]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x70]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x344]
mov dword [esp], ecx
call ebx
mov bl, al
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499f10
test bl, bl
je 0x49a615
mov dword [esp], esi
call fcn.00536350
lea eax, [ebp - 0x65]
mov dword [esp + 8], eax
mov dword [esp + 4], str.INSERT_INTO__player_storage____player_id____key____value___VALUES
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x6c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4a2
jmp 0x499f63
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x499f77
mov ebx, dword [esi + 0x234]
lea eax, [esi + 0x22c]
mov dword [ebp - 0x340], eax
lea edi, [ebp - 0x60]
jmp 0x49a060
mov dword [ebp - 0x348], ebx
mov ecx, dword [ebp - 0x344]
mov edx, dword [ecx]
lea eax, [ebx + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea eax, [ebp - 0x64]
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 4
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x10], eax
mov edx, dword [ebp - 0x348]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x58c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d6e9b
lea ecx, [ebp - 0x334]
mov dword [esp], ecx
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x64]
mov dword [esp], eax
call fcn.0070479c
lea edx, [ebp - 0x59]
mov dword [esp + 8], edx
lea ecx, [ebp - 0x334]
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.007041ec
mov dword [esp + 4], edi
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f5e4
mov byte [ebp - 0x348], al
mov dword [esp], edi
call fcn.0070479c
jmp 0x49a049
cmp byte [ebp - 0x348], 0
je 0x49a615
mov dword [esp], ebx
call fcn.00757be4
mov ebx, eax
cmp dword [ebp - 0x340], ebx
jne 0x499f91
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4e6
test al, al
je 0x49a615
mov dword [esp + 4], 0x1d
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
je 0x49a298
lea eax, [ebp - 0x51]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.00717d80
jmp 0x49a0e1
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49a0f5
mov ebx, dword [esi + 0x58c]
mov dword [esp + 4], str.DELETE_FROM__guild_invites__WHERE_player_id_
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov edx, dword [ebp - 0x344]
mov eax, dword [edx]
mov ebx, dword [eax + 0x18]
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x210]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x50]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x344]
mov dword [esp], ecx
call ebx
mov bl, al
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49a173
test bl, bl
je 0x49a615
lea eax, [ebp - 0x45]
mov dword [esp + 8], eax
mov dword [esp + 4], str.INSERT_INTO__guild_invites____player_id____guild_id___VALUES
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4a2
jmp 0x49a1be
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49a1d2
mov ebx, dword [esi + 0x358]
lea eax, [esi + 0x358]
mov dword [ebp - 0x340], eax
lea edi, [ebp - 0x44]
jmp 0x49a276
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x58c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._d___d
lea edx, [ebp - 0x334]
mov dword [esp], edx
call sub.msvcrt.dll_sprintf
lea ecx, [ebp - 0x3d]
mov dword [esp + 8], ecx
lea eax, [ebp - 0x334]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.007041ec
mov dword [esp + 4], edi
lea edx, [ebp - 0x160]
mov dword [esp], edx
call fcn.0043f5e4
mov byte [ebp - 0x348], al
mov dword [esp], edi
call fcn.0070479c
jmp 0x49a267
cmp byte [ebp - 0x348], 0
je 0x49a615
mov ebx, dword [ebx]
cmp dword [ebp - 0x340], ebx
jne 0x49a1ec
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4e6
test al, al
je 0x49a615
lea eax, [ebp - 0x35]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d544a
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.00717d80
jmp 0x49a2db
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49a2ef
mov dword [esp + 4], 0x47
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
jne 0x49a363
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov edi, eax
mov ebx, dword [esi + 0x4f0]
mov dword [esp + 4], str.DELETE_FROM__account_viplist__WHERE__account_id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d56c0
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00702728
jmp 0x49a38b
mov ebx, dword [esi + 0x58c]
mov dword [esp + 4], str.DELETE_FROM__player_viplist__WHERE__player_id__
lea eax, [ebp - 0x214]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx]
mov ebx, dword [eax + 0x18]
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x210]
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 eax, dword [ebp - 0x344]
mov dword [esp], eax
call ebx
mov bl, al
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49a3e1
test bl, bl
je 0x49a615
mov dword [esp + 4], 0x47
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
jne 0x49a458
lea eax, [ebp - 0x29]
mov dword [esp + 8], eax
mov dword [esp + 4], str.INSERT_INTO__account_viplist____account_id____world_id____player_id___VALUES
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4a2
jmp 0x49a444
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49a4af
lea eax, [ebp - 0x21]
mov dword [esp + 8], eax
mov dword [esp + 4], str.INSERT_INTO__player_viplist____player_id____vip_id___VALUES
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4a2
jmp 0x49a49b
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0070479c
jmp 0x49a4af
mov ebx, dword [esi + 0x340]
lea edx, [esi + 0x338]
mov dword [ebp - 0x340], edx
jmp 0x49a5d3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.0048b57a
test al, al
je 0x49a5c9
mov dword [esp + 4], 0x47
mov dword [esp], 0x8dfd80
call fcn.0041b948
test al, al
jne 0x49a549
mov edi, dword [ebx + 0x10]
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x4f0]
mov dword [esp + 8], eax
mov dword [esp + 4], str._d___d___d
lea eax, [ebp - 0x334]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
jmp 0x49a570
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x58c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._d___d
lea edx, [ebp - 0x334]
mov dword [esp], edx
call sub.msvcrt.dll_sprintf
lea ecx, [ebp - 0x19]
mov dword [esp + 8], ecx
lea eax, [ebp - 0x334]
mov dword [esp + 4], eax
lea edx, [ebp - 0x20]
mov dword [esp], edx
call fcn.007041ec
lea ecx, [ebp - 0x20]
mov dword [esp + 4], ecx
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f5e4
mov edi, eax
lea edx, [ebp - 0x20]
mov dword [esp], edx
call fcn.0070479c
jmp 0x49a5c3
mov ecx, edi
test cl, cl
je 0x49a615
mov dword [esp], ebx
call fcn.00757be4
mov ebx, eax
cmp ebx, dword [ebp - 0x340]
jne 0x49a4c6
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.0043f4e6
test al, al
je 0x49a615
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00625258
mov bl, al
jmp 0x49a617
mov bl, 0
lea eax, [ebp - 0x12c]
mov dword [esp], eax
call fcn.00705580
jmp 0x49a63b
mov bl, 0
lea eax, [ebp - 0x160]
mov dword [esp], eax
call fcn.006b00f0
jmp 0x49a65f
mov bl, 0
mov dword [ebp - fcn.00628574], vtable.olManager.0
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
call fcn.006187f0
jmp 0x49a68d
mov bl, 0
mov dword [ebp - fcn.006252b0], vtable.seMySQL.0
cmp dword [ebp - 0x130], 1
jne 0x49a6ca
mov eax, dword [ebp - 0x134]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x10]
jmp 0x49a6ca
mov bl, 0
lea eax, [ebp - 0x21c]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [esi + 0x5d8]
mov edx, dword [esi + 0x5dc]
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], edx
jmp 0x498cb2
cmp dword [eax + 0x18], 0x400000
jne 0x499058
jmp 0x498ff9