Function at 0x48d46e
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4afa
mov eax, dword fs:[0]
push eax
sub esp, 0x544
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x488], 0
call fcn.00488470
mov esi, eax
call fcn.0048f4a0
push ecx
lea ecx, [ebp - 0x538]
mov edi, eax
call fcn.0041c300
mov dword [ebp - 4], 0
cmp edi, 0x18
ja case.default.0x48b792
jmp dword [edi*4 + 0x48f420]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_1...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x3b8]
cmp eax, 2
jne 0x48b7d8
push str.CREATE_TABLE_IF_NOT_EXISTS__server_config____config__VARCHAR_35__NOT_NULL_DEFAULT____value__INTEGER_NOT_NULL__
call fcn.00405bd0
mov byte [ebp - 4], 1
jmp 0x48b7e6
push str.CREATE_TABLE_IF_NOT_EXISTS__server_config____config__VARCHAR_35__NOT_NULL_DEFAULT____value__INT_NOT_NULL__ENGINE__InnoDB_
call fcn.00405bd0
mov byte [ebp - 4], 2
mov eax, dword [esi]
lea ecx, [ebp - 0x3b8]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0
call fcn.00405b30
push str.INSERT_INTO__server_config__VALUES__db_version__1__
lea ecx, [ebp - 0x3b8]
call fcn.00405bd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3b8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0
call fcn.00405b30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp eax, 2
jne 0x48b867
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.__SQLite_migration_from_0.2_support_not_available__please_use_latest_database_
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, 1
jmp 0x48f3f1
sub esp, 0x18
mov ecx, esp
push str.server_motd
call fcn.00405bd0
call fcn.0048f6a0
test al, al
jne 0x48ceb8
push str.CREATE_TABLE_IF_NOT_EXISTS__bans2____id__INT_UNSIGNED_NOT_NULL_auto_increment___type__TINYINT_1__NOT_NULL_COMMENT_this_field_defines_if_its_ip__account__player__or_any_else_ban___value__INT_UNSIGNED_NOT_NULL_COMMENT_ip__player_guid__account_number___param__INT_UNSIGNED_NOT_NULL_DEFAULT_4294967295_COMMENT_mask___active__TINYINT_1__NOT_NULL_DEFAULT_TRUE___expires__INT_UNSIGNED_NOT_NULL___added__INT_UNSIGNED_NOT_NULL___admin_id__INT_UNSIGNED_NOT_NULL_DEFAULT_0___comment__TEXT_NOT_NULL___reason__INT_UNSIGNED_NOT_NULL_DEFAULT_0___action__INT_UNSIGNED_NOT_NULL_DEFAULT_0__PRIMARY_KEY___id____KEY__type____type____value____ENGINE__InnoDB_
lea ecx, [ebp - 0x3b8]
call fcn.00405bd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3b8]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x18]
call eax
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00405b30
test bl, bl
je 0x48cd05
push str.SELECT__FROM__bans__
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x488], ebx
call fcn.00405b30
test ebx, ebx
je 0x48cca3
push 4
mov dword [ebp - 0x3b8], 0
lea ecx, [ebp - 0x3b8]
push 0x5c1ce0
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 0xf
mov byte [ebp - 0x3b8], 0
call fcn.00405890
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3b8]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax]
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0
lea edi, [eax - 1]
call fcn.00405b30
cmp edi, 4
ja case.default.0x48b964
jmp dword [edi*4 + 0x48f484]
push 9
mov dword [ebp - 0x3e8], 0
lea ecx, [ebp - 0x3e8]
push 0x5c1de4
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0xf
mov byte [ebp - 0x3e8], 0
call fcn.00405890
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x388]
push 9
mov dword [ebp - 0x388], 0
push 0x5c1dc8
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
call fcn.00405890
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3d0]
push 7
mov dword [ebp - 0x3d0], 0
push 0x5c1bd4
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 0xf
mov byte [ebp - 0x3d0], 0
call fcn.00405890
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x448]
push 9
mov dword [ebp - 0x448], 0
push 0x5c1dd4
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.00405890
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x430]
push 4
mov dword [ebp - 0x430], 0
push 0x5c1d14
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
call fcn.00405890
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x418]
push 4
mov dword [ebp - 0x418], 0
push 0x5c1d1c
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0xf
mov byte [ebp - 0x418], 0
call fcn.00405890
push 0
mov byte [ebp - 4], 0xc
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [ebp - 0x488]
add esp, 4
mov dword [ebp - 0x480], eax
mov ebx, edx
lea eax, [ebp - 0x418]
mov edi, dword [ecx]
push eax
call dword [edi]
cdq
cmp edx, ebx
jg 0x48bb04
jl 0x48bb00
cmp eax, dword [ebp - 0x480]
ja 0x48bb04
xor edi, edi
jmp 0x48bb09
mov edi, 1
push 4
mov dword [ebp - 0x400], 0
lea ecx, [ebp - 0x400]
push str.mask
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0xf
mov byte [ebp - 0x400], 0
call fcn.00405890
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x460]
push 2
mov dword [ebp - 0x460], 0
push 0x5c1d10
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
call fcn.00405890
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3d0]
mov ebx, dword [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov byte [ebp - 4], 0xf
mov ecx, esi
mov edx, dword [esi]
push eax
lea eax, [ebp - 0x478]
push eax
call dword [edx + 0x20]
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x448]
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x430]
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x400]
push edi
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x460]
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov edx, str.INSERT_INTO__bans2____type____value____param____active____expires____added____admin_id____comment____reason____action___VALUES__1_
lea ecx, [ebp - 0x528]
call fcn.004064c0
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___int_]
mov edx, 0x5c1d2c
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1d24
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1d28
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1cd4
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1cdc
mov ecx, eax
call fcn.004064c0
mov ecx, eax
mov eax, dword [ebp - 0x480]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x48bc73
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
mov edx, dword [ebx]
add esp, 4
mov edi, eax
mov ecx, ebx
lea eax, [ebp - 0x3e8]
push eax
call dword [edx]
mov edx, dword [ebx]
mov ecx, ebx
push eax
lea eax, [ebp - 0x388]
push eax
call dword [edx]
push eax
mov edx, 0x5c1bdc
mov ecx, edi
call fcn.004064c0
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___int_]
mov edx, 0x5c1d00
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1d04
mov ecx, eax
call fcn.004064c0
lea ecx, [ebp - 0x478]
call fcn.00405b30
lea ecx, [ebp - 0x28]
call fcn.00405b30
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x44c]
cmp ecx, 0x10
jb 0x48bd21
mov edx, dword [ebp - 0x460]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48bd17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
cmp ecx, 0x10
jb 0x48bd7a
mov edx, dword [ebp - 0x400]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48bd70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x404]
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0xf
mov byte [ebp - 0x400], 0
cmp ecx, 0x10
jb 0x48bdd3
mov edx, dword [ebp - 0x418]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48bdc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0xf
mov byte [ebp - 0x418], 0
cmp ecx, 0x10
jb 0x48be2c
mov edx, dword [ebp - 0x430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48be22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
cmp ecx, 0x10
jb 0x48be85
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48be7b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3bc]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
cmp ecx, 0x10
jb 0x48bede
mov edx, dword [ebp - 0x3d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48bed4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x374]
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 0xf
mov byte [ebp - 0x3d0], 0
cmp ecx, 0x10
jb 0x48bf37
mov edx, dword [ebp - 0x388]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48bf2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
jmp 0x48cb65
mov dword [ebp - 0x400], 0
lea ecx, [ebp - 0x400]
push 0x5c1eb8
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0xf
mov byte [ebp - 0x400], 0
call fcn.00406110
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x418]
push 9
mov dword [ebp - 0x418], 0
push 0x5c1ec4
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0xf
mov byte [ebp - 0x418], 0
call fcn.00405890
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x430]
push 7
mov dword [ebp - 0x430], 0
push 0x5c1dc0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
call fcn.00405890
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x448]
push 9
mov dword [ebp - 0x448], 0
push 0x5c1e00
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.00405890
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x3d0]
push 4
mov dword [ebp - 0x3d0], 0
push 0x5c1e0c
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 0xf
mov byte [ebp - 0x3d0], 0
call fcn.00405890
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x388]
push 4
mov dword [ebp - 0x388], 0
push 0x5c1df0
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
call fcn.00405890
push 0
mov byte [ebp - 4], 0x16
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [ebp - 0x488]
add esp, 4
mov dword [ebp - 0x480], eax
mov ebx, edx
lea eax, [ebp - 0x388]
mov edi, dword [ecx]
push eax
call dword [edi]
cdq
cmp edx, ebx
jg 0x48c0ee
jl 0x48c0ea
cmp eax, dword [ebp - 0x480]
ja 0x48c0ee
xor edi, edi
jmp 0x48c0f3
mov edi, 1
push 6
mov dword [ebp - 0x3e8], 0
lea ecx, [ebp - 0x3e8]
push 0x5c1df8
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0xf
mov byte [ebp - 0x3e8], 0
call fcn.00405890
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x430]
mov ebx, dword [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x478]
push ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x18
mov ecx, esi
mov edx, dword [esi]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [edx + 0x20]
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x448]
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x3d0]
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x3e8]
push edi
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov edx, str.INSERT_INTO__bans2____type____value____active____expires____added____admin_id____comment____reason____action___VALUES__2_
lea ecx, [ebp - 0x528]
call fcn.004064c0
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___int_]
mov edx, 0x5c1e9c
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1e14
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1e1c
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1dbc
mov ecx, eax
call fcn.004064c0
mov ecx, eax
mov eax, dword [ebp - 0x480]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x48c200
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
mov edx, dword [ebx]
add esp, 4
mov edi, eax
mov ecx, ebx
lea eax, [ebp - 0x400]
push eax
call dword [edx]
mov edx, dword [ebx]
mov ecx, ebx
push eax
lea eax, [ebp - 0x418]
push eax
call dword [edx]
push eax
mov edx, 0x5c1db4
mov ecx, edi
call fcn.004064c0
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___int_]
mov edx, 0x5c1db8
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1de0
mov ecx, eax
call fcn.004064c0
lea ecx, [ebp - 0x28]
call fcn.00405b30
lea ecx, [ebp - 0x478]
call fcn.00405b30
lea ecx, [ebp - 0x3e8]
call fcn.00405b30
lea ecx, [ebp - 0x388]
call fcn.00405b30
lea ecx, [ebp - 0x3d0]
call fcn.00405b30
lea ecx, [ebp - 0x448]
call fcn.00405b30
lea ecx, [ebp - 0x430]
call fcn.00405b30
lea ecx, [ebp - 0x418]
call fcn.00405b30
lea ecx, [ebp - 0x400]
mov byte [ebp - 4], 0
call fcn.00405b30
jmp case.default.0x48b964
push 9
mov dword [ebp - 0x400], 0
lea ecx, [ebp - 0x400]
push 0x5c1fa8
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0xf
mov byte [ebp - 0x400], 0
call fcn.00405890
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x418]
push 9
mov dword [ebp - 0x418], 0
push 0x5c1ee8
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0xf
mov byte [ebp - 0x418], 0
call fcn.00405890
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x430]
push 7
mov dword [ebp - 0x430], 0
push 0x5c1ea0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
call fcn.00405890
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x448]
push 9
mov dword [ebp - 0x448], 0
push 0x5c1ef4
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.00405890
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x3d0]
push 4
mov dword [ebp - 0x3d0], 0
push 0x5c1ed8
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 0xf
mov byte [ebp - 0x3d0], 0
call fcn.00405890
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x388]
push 4
mov dword [ebp - 0x388], 0
push 0x5c1ee0
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
call fcn.00405890
push 0
mov byte [ebp - 4], 0x1f
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [ebp - 0x488]
add esp, 4
mov dword [ebp - 0x480], eax
mov ebx, edx
lea eax, [ebp - 0x388]
mov edi, dword [ecx]
push eax
call dword [edi]
cdq
cmp edx, ebx
jg 0x48c45f
jl 0x48c45b
cmp eax, dword [ebp - 0x480]
ja 0x48c45f
xor edi, edi
jmp 0x48c464
mov edi, 1
push 6
mov dword [ebp - 0x3e8], 0
lea ecx, [ebp - 0x3e8]
push 0x5c1f08
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0xf
mov byte [ebp - 0x3e8], 0
call fcn.00405890
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x430]
mov ebx, dword [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x478]
push ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x21
mov ecx, esi
mov edx, dword [esi]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [edx + 0x20]
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x448]
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x3d0]
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x3e8]
push edi
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov edx, str.INSERT_INTO__bans2____type____value____active____expires____added____admin_id____comment____reason____action___VALUES__3_
lea ecx, [ebp - 0x528]
call fcn.004064c0
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___int_]
mov edx, 0x5c1f00
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1f04
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1eac
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1eb4
mov ecx, eax
call fcn.004064c0
mov ecx, eax
mov eax, dword [ebp - 0x480]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x48c571
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
mov edx, dword [ebx]
add esp, 4
mov edi, eax
mov ecx, ebx
lea eax, [ebp - 0x400]
push eax
call dword [edx]
mov edx, dword [ebx]
mov ecx, ebx
push eax
lea eax, [ebp - 0x418]
push eax
call dword [edx]
push eax
mov edx, 0x5c1ea8
mov ecx, edi
call fcn.004064c0
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___int_]
mov edx, 0x5c1ed0
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1ed4
jmp 0x48c256
push 9
mov dword [ebp - 0x3e8], 0
lea ecx, [ebp - 0x3e8]
push str.action_id
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0xf
mov byte [ebp - 0x3e8], 0
call fcn.00405890
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x400]
push 9
mov dword [ebp - 0x400], 0
push str.reason_id
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0xf
mov byte [ebp - 0x400], 0
call fcn.00405890
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x418]
push 7
mov dword [ebp - 0x418], 0
push 0x5c1f90
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0xf
mov byte [ebp - 0x418], 0
call fcn.00405890
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x430]
push 9
mov dword [ebp - 0x430], 0
push str.banned_by
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
call fcn.00405890
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x448]
push 4
mov dword [ebp - 0x448], 0
push 0x5c1fd8
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
call fcn.00405890
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x3d0]
push 4
mov dword [ebp - 0x3d0], 0
push 0x5c1fbc
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 0xf
mov byte [ebp - 0x3d0], 0
call fcn.00405890
push 0
mov byte [ebp - 4], 0x28
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [ebp - 0x488]
add esp, 4
mov dword [ebp - 0x480], eax
mov ebx, edx
lea eax, [ebp - 0x3d0]
mov edi, dword [ecx]
push eax
call dword [edi]
cdq
cmp edx, ebx
jg 0x48c765
jl 0x48c761
cmp eax, dword [ebp - 0x480]
ja 0x48c765
xor edi, edi
jmp 0x48c76a
mov edi, 1
push 6
mov dword [ebp - 0x388], 0
lea ecx, [ebp - 0x388]
push str.player
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
call fcn.00405890
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x460]
push 4
mov dword [ebp - 0x460], 0
push 0x5c1fe8
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
call fcn.00405890
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x418]
mov ebx, dword [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x478]
push ecx
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov byte [ebp - 4], 0x2b
mov ecx, esi
mov edx, dword [esi]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [edx + 0x20]
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x430]
mov edx, dword [ebx]
mov ecx, ebx
push eax
call dword [edx]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x448]
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x388]
push edi
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x460]
push ecx
mov ecx, ebx
call dword [eax]
push eax
mov edx, str.INSERT_INTO__bans2____type____value____active____expires____added____admin_id____comment____reason____action___VALUES__
lea ecx, [ebp - 0x528]
call fcn.004064c0
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___int_]
mov edx, 0x5c1fe0
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1fe4
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1f98
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1fa0
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1f8c
mov ecx, eax
call fcn.004064c0
mov ecx, eax
mov eax, dword [ebp - 0x480]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x48c8d4
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
mov edx, dword [ebx]
add esp, 4
mov edi, eax
mov ecx, ebx
lea eax, [ebp - 0x3e8]
push eax
call dword [edx]
mov edx, dword [ebx]
mov ecx, ebx
push eax
lea eax, [ebp - 0x400]
push eax
call dword [edx]
push eax
mov edx, 0x5c1fb4
mov ecx, edi
call fcn.004064c0
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___int_]
mov edx, 0x5c1fb8
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c1fa4
mov ecx, eax
call fcn.004064c0
lea ecx, [ebp - 0x28]
call fcn.00405b30
lea ecx, [ebp - 0x478]
call fcn.00405b30
lea ecx, [ebp - 0x460]
call fcn.00405b30
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x374]
cmp ecx, 0x10
jb 0x48c98d
mov edx, dword [ebp - 0x388]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48c983
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x3bc]
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
cmp ecx, 0x10
jb 0x48c9e6
mov edx, dword [ebp - 0x3d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48c9dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x3c0], 0
mov dword [ebp - 0x3bc], 0xf
mov byte [ebp - 0x3d0], 0
cmp ecx, 0x10
jb 0x48ca3f
mov edx, dword [ebp - 0x448]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48ca35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0xf
mov byte [ebp - 0x448], 0
cmp ecx, 0x10
jb 0x48ca98
mov edx, dword [ebp - 0x430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48ca8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x404]
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
cmp ecx, 0x10
jb 0x48caf1
mov edx, dword [ebp - 0x418]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48cae7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0xf
mov byte [ebp - 0x418], 0
cmp ecx, 0x10
jb 0x48cb4a
mov edx, dword [ebp - 0x400]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48cb40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0xf
mov byte [ebp - 0x400], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3d4]
cmp ecx, 0x10
jb case.default.0x48b964
mov edx, dword [ebp - 0x3e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48cb99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x48cbbc
mov ecx, dword [eax]
mov edx, dword [eax + 0x10]
push 0
push 0x5ba2e6
call fcn.00407d80
add esp, 8
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.00405b30
test bl, bl
jne 0x48cc85
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0x2d
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00405b30
push 0
mov dword [ebp - 0x388], 0
lea ecx, [ebp - 0x388]
push 0x5ba2e5
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], bl
call fcn.00405890
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0x2e
call fcn.00405f10
push dword [ebp - 0x4e4]
cmp dword [ebp - 0x374], 0x10
lea eax, [ebp - 0x388]
push dword [ebp - 0x378]
cmovae eax, dword [ebp - 0x388]
lea ecx, [ebp - 0x520]
push eax
call fcn.0040d040
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], bl
call fcn.00405b30
mov ebx, dword [ebp - 0x488]
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x48b901
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
push str.DROP_TABLE__bans__
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push str.RENAME_TABLE__bans2__TO__bans__
lea ecx, [ebp - 0x3b8]
call fcn.00405bd0
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x3b8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0
call fcn.00405b30
push str.CREATE_TABLE_IF_NOT_EXISTS__server_record____record__INT_NOT_NULL___timestamp__BIGINT_NOT_NULL__PRIMARY_KEY___timestamp____ENGINE__InnoDB_
lea ecx, [ebp - 0x2c8]
call fcn.00405bd0
push str.CREATE_TABLE_IF_NOT_EXISTS__server_reports____id__INT_NOT_NULL_AUTO_INCREMENT___player_id__INT_UNSIGNED_NOT_NULL_DEFAULT_0___posx__INT_NOT_NULL_DEFAULT_0___posy__INT_NOT_NULL_DEFAULT_0___posz__INT_NOT_NULL_DEFAULT_0___timestamp__BIGINT_NOT_NULL_DEFAULT_0___report__TEXT_NOT_NULL___reads__INT_NOT_NULL_DEFAULT_0__PRIMARY_KEY___id____KEY___player_id____KEY___reads____ENGINE__InnoDB_
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x31
call fcn.00405bd0
push str.CREATE_TABLE__server_motd____id__INT_NOT_NULL_AUTO_INCREMENT___text__TEXT_NOT_NULL__PRIMARY_KEY___id____ENGINE__InnoDB_
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0x32
call fcn.00405bd0
push str.CREATE_TABLE_IF_NOT_EXISTS__global_storage____key__INT_UNSIGNED_NOT_NULL___value__INT_NOT_NULL__PRIMARY_KEY___key____ENGINE__InnoDB_
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x33
call fcn.00405bd0
push str.INSERT_INTO__server_record__VALUES__0__0__
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x34
call fcn.00405bd0
push str.INSERT_INTO__server_motd__VALUES__1__Welcome_to_The_Forgotten_Server___
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x35
call fcn.00405bd0
push str.ALTER_TABLE__players__ADD__balance__BIGINT_UNSIGNED_NOT_NULL_DEFAULT_0_AFTER__blessings__
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x36
call fcn.00405bd0
push str.ALTER_TABLE__players__ADD__stamina__BIGINT_UNSIGNED_NOT_NULL_DEFAULT_201660000_AFTER__balance__
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x37
call fcn.00405bd0
push str.ALTER_TABLE__players__ADD__loss_items__INT_NOT_NULL_DEFAULT_10_AFTER__loss_skills__
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 0x38
call fcn.00405bd0
push str.ALTER_TABLE__players__ADD__marriage__INT_UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x39
call fcn.00405bd0
push str.UPDATE__players__SET__loss_experience___10___loss_mana___10___loss_skills___10___loss_items___10_
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0x3a
call fcn.00405bd0
push str.ALTER_TABLE__accounts__DROP__type__
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x3b
call fcn.00405bd0
push str.ALTER_TABLE__player_deaths__DROP__is_player__
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x3c
call fcn.00405bd0
push str.ALTER_TABLE__houses__CHANGE__warnings___warnings__INT_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x3d
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__lastwarning__INT_UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x3e
call fcn.00405bd0
push str.DROP_TRIGGER_IF_EXISTS__ondelete_accounts__
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x3f
call fcn.00405bd0
mov byte [ebp - 4], 0x40
push str.DROP_TRIGGER_IF_EXISTS__ondelete_players__
lea ecx, [ebp - 0x148]
call fcn.00405bd0
push str.CREATE_TRIGGER__ondelete_accounts__BEFORE_DELETE_ON__accounts__FOR_EACH_ROW_BEGIN_DELETE_FROM__bans__WHERE__type____1_AND__type____2_AND__value___OLD._id___END_
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x41
call fcn.00405bd0
push 0x5c2898
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x42
call fcn.00405bd0
mov byte [ebp - 4], 0x43
lea edi, [ebp - 0x2c8]
mov ebx, 0x13
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48ce90
push fcn.00405b30
push 0x13
push 0x18
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], bl
push eax
call fcn.0045afe5
mov esi, 1
jmp 0x48f3f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_2...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x3a0]
cmp eax, 2
jne 0x48cf07
push str.ALTER_TABLE__players__ADD__promotion__INTEGER_NOT_NULL_DEFAULT_0_
call fcn.00405bd0
mov byte [ebp - 4], 0x44
jmp 0x48cf15
push str.ALTER_TABLE__players__ADD__promotion__INT_NOT_NULL_DEFAULT_0_
call fcn.00405bd0
mov byte [ebp - 4], 0x45
mov eax, dword [esi]
lea ecx, [ebp - 0x3a0]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push str.SELECT__player_id____value__FROM__player_storage__WHERE__key___30018_AND__value____0
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x46
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
mov edi, eax
call fcn.00405b30
test edi, edi
je 0x48d179
nop dword [eax]
movq xmm0, qword [0x5c2a1c]
mov al, byte [0x5c2a24]
mov dword [ebp - 0x3d0], 0
mov byte [ebp - 0x3d0], 0
mov dword [ebp - 0x3bc], 0xf
mov dword [ebp - 0x3c0], 9
movq qword [ebp - 0x3d0], xmm0
mov byte [ebp - 0x3c8], al
mov byte [ebp - 0x3c7], 0
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x388]
push 5
mov dword [ebp - 0x388], 0
push 0x5c2a6c
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
call fcn.00405890
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x3d0]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
push eax
mov eax, dword [edi]
lea ecx, [ebp - 0x388]
push ecx
mov ecx, edi
mov eax, dword [eax + 4]
call eax
push edx
push eax
mov edx, str.UPDATE__players__SET__promotion__
lea ecx, [ebp - 0x528]
call fcn.004064c0
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___long_long___int64__]
mov edx, 0x5c2860
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c26fc
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 0x47
mov ecx, dword [ebp - 0x374]
cmp ecx, 0x10
jb 0x48d08c
mov edx, dword [ebp - 0x388]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48d082
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3bc]
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
cmp ecx, 0x10
jb 0x48d0e5
mov edx, dword [ebp - 0x3d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48d0db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
lea eax, [ebp - 0x3b8]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0x49
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3a4]
cmp ecx, 0x10
jb 0x48d141
mov edx, dword [ebp - 0x3b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48d137
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
lea ecx, [ebp - 0x520]
call fcn.00405f10
and dword [ebp - 0x4e4], 0xffffffdf
mov ecx, edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x4e8], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x48cf70
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
push str.DELETE_FROM__player_storage__WHERE__key___30018_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push str.ALTER_TABLE__accounts__ADD__name__VARCHAR_32__NOT_NULL_DEFAULT__
lea ecx, [ebp - 0x3b8]
call fcn.00405bd0
mov byte [ebp - 4], 0x4c
lea ecx, [ebp - 0x3b8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0
call fcn.00405b30
push str.SELECT__id__FROM__accounts__
lea ecx, [ebp - 0x3d0]
call fcn.00405bd0
mov byte [ebp - 4], 0x4d
lea ecx, [ebp - 0x3d0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3d0]
mov byte [ebp - 4], 0
mov edi, eax
call fcn.00405b30
test edi, edi
je 0x48d3c4
nop word [eax + eax]
push 2
mov dword [ebp - 0x3e8], 0
lea ecx, [ebp - 0x3e8]
push 0x5c2ba4
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0xf
mov byte [ebp - 0x3e8], 0
call fcn.00405890
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x3b8]
push 2
mov dword [ebp - 0x3b8], 0
push 0x5c2b7c
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 0xf
mov byte [ebp - 0x3b8], 0
call fcn.00405890
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 0x3e8]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
push eax
mov eax, dword [edi]
lea ecx, [ebp - 0x3b8]
push ecx
mov ecx, edi
call dword [eax]
push eax
mov edx, str.UPDATE__accounts__SET__name___
lea ecx, [ebp - 0x528]
call fcn.004064c0
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___int_]
mov edx, 0x5c29a4
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c29b4
mov ecx, eax
call fcn.004064c0
lea ecx, [ebp - 0x3b8]
call fcn.00405b30
lea ecx, [ebp - 0x3e8]
mov byte [ebp - 4], 0
call fcn.00405b30
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0x50
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0
mov dword [ebp - 0x388], 0
lea ecx, [ebp - 0x388]
push 0x5ba2ed
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
call fcn.00405890
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0x51
call fcn.00405f10
push dword [ebp - 0x4e4]
cmp dword [ebp - 0x374], 0x10
lea eax, [ebp - 0x388]
push dword [ebp - 0x378]
cmovae eax, dword [ebp - 0x388]
push eax
lea ecx, [ebp - 0x520]
call fcn.0040d040
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0
call fcn.00405b30
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x48d220
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x3a0]
cmp eax, 2
jne 0x48d3e6
push str.ALTER_TABLE__players__ADD__deleted__INTEGER_NOT_NULL_DEFAULT_0_
call fcn.00405bd0
mov byte [ebp - 4], 0x52
jmp 0x48d3f4
push str.ALTER_TABLE__players__ADD__deleted__INT_NOT_NULL_DEFAULT_0_
call fcn.00405bd0
mov byte [ebp - 4], 0x53
mov eax, dword [esi]
lea ecx, [ebp - 0x3a0]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp eax, 1
jne 0x48d44e
push str.ALTER_TABLE__player_items__CHANGE__attributes___attributes__BLOB_NOT_NULL_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push 2
sub esp, 0x18
mov ecx, esp
push 0x5c2ae4
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 2
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_3...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.UPDATE__players__SET__vocation____vocation____4_WHERE__vocation____5_AND__vocation____8_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x55
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push str.SELECT_COUNT__id___AS__count__FROM__players__WHERE__vocation____4_
lea ecx, [ebp - 0x3b8]
call fcn.00405bd0
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x3b8]
mov eax, dword [esi]
mov ebx, 1
push ecx
mov ecx, esi
mov dword [ebp - 0x488], ebx
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
je 0x48d529
push 0x5c2ca4
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov dword [ebp - 4], 0x57
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
mov ebx, 3
push ecx
mov ecx, esi
mov dword [ebp - 0x488], ebx
call dword [eax]
mov byte [ebp - 0x481], 1
test eax, eax
jne 0x48d530
mov byte [ebp - 0x481], 0
test bl, 2
je 0x48d543
lea ecx, [ebp - 0x3a0]
and ebx, 0xfffffffd
call fcn.00405b30
mov dword [ebp - 4], 0
test bl, 1
je 0x48d55a
lea ecx, [ebp - 0x3b8]
call fcn.00405b30
cmp byte [ebp - 0x481], 0
je 0x48d5cc
push 0x5c2c18
lea ecx, [ebp - 0x3e8]
call fcn.00405bd0
mov byte [ebp - 4], 0x58
lea ecx, [ebp - 0x3e8]
mov eax, dword [esi]
push 0x406700
push ecx
mov ecx, esi
call dword [eax]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning__There_are_still
push eax
call fcn.004064c0
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___int_]
mov edx, str._players_with_vocation_above_4__please_mind_to_update_them_manually.
mov ecx, eax
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x3e8]
mov byte [ebp - 4], 0
call fcn.00405b30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
push 3
sub esp, 0x18
mov ecx, esp
push 0x5c2bc4
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 3
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_4...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.ALTER_TABLE__houses__ADD__name__VARCHAR_255__NOT_NULL_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x70]
cmp eax, 2
jne 0x48d6a4
push str.ALTER_TABLE__houses__ADD__size__INTEGER_NOT_NULL_DEFAULT_0_
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__town__INTEGER_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x5a
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__price__INTEGER_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x5b
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__rent__INTEGER_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x5c
call fcn.00405bd0
mov byte [ebp - 4], 0x5d
lea edi, [ebp - 0x70]
mov ebx, 4
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48d692
jmp 0x48d700
push str.ALTER_TABLE__houses__ADD__size__INT_UNSIGNED_NOT_NULL_DEFAULT_0_
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__town__INT_UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x5e
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__price__INT_UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x5f
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__rent__INT_UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x60
call fcn.00405bd0
mov byte [ebp - 4], 0x61
lea edi, [ebp - 0x70]
mov ebx, 4
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48d6f0
push fcn.00405b30
push 4
push 0x18
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0
push eax
call fcn.0045afe5
push 4
sub esp, 0x18
mov esi, esp
push 0xa
push 0x5c2fe4
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0xa
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
call fcn.0048b2f0
mov esi, 4
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_5...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.ALTER_TABLE__player_deaths__ADD__altkilled_by__VARCHAR_255__NOT_NULL_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x62
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push 5
sub esp, 0x18
mov ecx, esp
push 0x5c2ecc
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 5
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_6...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48d892
sub eax, 1
jne 0x48d91e
push str.ALTER_TABLE__global_storage__RENAME_TO__global_storage2__
lea ecx, [ebp - 0xa0]
call fcn.00405bd0
push str.CREATE_TABLE__global_storage____key__INTEGER_NOT_NULL___value__VARCHAR_255__NOT_NULL_DEFAULT_0__UNIQUE___key____
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x68
call fcn.00405bd0
push str.INSERT_INTO__global_storage__SELECT__FROM__global_storage2__
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x69
call fcn.00405bd0
push str.ALTER_TABLE__player_storage__RENAME_TO__player_storage2__
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x6a
call fcn.00405bd0
push str.CREATE_TABLE__player_storage____player_id__INTEGER_NOT_NULL___key__INTEGER_NOT_NULL___value__VARCHAR_255__NOT_NULL_DEFAULT_0__UNIQUE___player_id____key____FOREIGN_KEY___player_id___REFERENCES__players____id____
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x6b
call fcn.00405bd0
push str.INSERT_INTO__player_storage__SELECT__FROM__player_storage2__
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x6c
call fcn.00405bd0
mov byte [ebp - 4], 0x6d
lea edi, [ebp - 0xa0]
mov ebx, 6
nop
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48d870
push fcn.00405b30
push 6
lea eax, [ebp - 0xa0]
jmp 0x48d912
push str.ALTER_TABLE__global_storage__CHANGE__value___value__VARCHAR_255__NOT_NULL_DEFAULT_0
lea ecx, [ebp - 0x88]
call fcn.00405bd0
push str.ALTER_TABLE__player_storage__CHANGE__value___value__VARCHAR_255__NOT_NULL_DEFAULT_0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x63
call fcn.00405bd0
push str.ALTER_TABLE__tiles__CHANGE__x___x__INT_5__UNSIGNED_NOT_NULL__CHANGE__y___y__INT_5__UNSIGNED_NOT_NULL__CHANGE__z___z__TINYINT_2__UNSIGNED_NOT_NULL_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x64
call fcn.00405bd0
push str.ALTER_TABLE__tiles__ADD_INDEX___x____y____z___
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x65
call fcn.00405bd0
push str.ALTER_TABLE__tile_items__ADD_INDEX___sid___
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x66
call fcn.00405bd0
mov byte [ebp - 4], 0x67
lea edi, [ebp - 0x88]
mov ebx, 5
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48d8f5
push fcn.00405b30
push 5
lea eax, [ebp - 0x88]
push 0x18
push eax
mov byte [ebp - 4], 0
call fcn.0045afe5
push 6
sub esp, 0x18
mov ecx, esp
push 0xa
push 0x5c338c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00405890
call fcn.0048b2f0
mov esi, 6
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_7...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x1e
call fcn.00473710
test al, al
je 0x48dbb2
push str.SELECT__r_._id____r_._guild_id__FROM__guild_ranks__r_LEFT_JOIN__guilds__g_ON__r_._guild_id____g_._id__WHERE__g_._ownerid____g_._id__AND__r_._level___3_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x6e
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
mov edi, eax
call fcn.00405b30
test edi, edi
je 0x48dbb2
nop dword [eax + eax]
push 2
mov dword [ebp - 0x3b8], 0
lea ecx, [ebp - 0x3b8]
push 0x5c35cc
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 0xf
mov byte [ebp - 0x3b8], 0
call fcn.00405890
mov byte [ebp - 4], 0x6f
lea ecx, [ebp - 0x388]
push 8
mov dword [ebp - 0x388], 0
push 0x5c3624
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
call fcn.00405890
mov byte [ebp - 4], 0x70
lea ecx, [ebp - 0x3b8]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
push eax
mov eax, dword [edi]
lea ecx, [ebp - 0x388]
push ecx
mov ecx, edi
call dword [eax]
push eax
mov edx, str.UPDATE__guilds____players__SET__guilds_._ownerid____players_._id__WHERE__guilds_._id__
lea ecx, [ebp - 0x528]
call fcn.004064c0
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___int_]
mov edx, str._AND__players_._rank_id__
mov ecx, eax
call fcn.004064c0
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___int_]
mov edx, 0x5c32d0
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 0x6f
mov ecx, dword [ebp - 0x374]
cmp ecx, 0x10
jb 0x48dac8
mov edx, dword [ebp - 0x388]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48dabe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
mov byte [ebp - 4], 0
call fcn.00405b30
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0x71
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0
mov dword [ebp - 0x388], 0
lea ecx, [ebp - 0x388]
push 0x5ba2ee
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
call fcn.00405890
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0x72
call fcn.00405f10
push dword [ebp - 0x4e4]
cmp dword [ebp - 0x374], 0x10
lea eax, [ebp - 0x388]
push dword [ebp - 0x378]
cmovae eax, dword [ebp - 0x388]
lea ecx, [ebp - 0x520]
push eax
call fcn.0040d040
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0
call fcn.00405b30
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x48d9c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
push 7
sub esp, 0x18
mov ecx, esp
push 0x5c3630
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 7
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_version_to:_8...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
jne 0x48de3a
push str.ALTER_TABLE__server_motd__CHANGE__id___id__INT_UNSIGNED_NOT_NULL_
lea ecx, [ebp - 0x370]
call fcn.00405bd0
push str.ALTER_TABLE__server_motd__DROP_PRIMARY_KEY_
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0x73
call fcn.00405bd0
push str.ALTER_TABLE__server_motd__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x74
call fcn.00405bd0
push str.ALTER_TABLE__server_motd__ADD_UNIQUE___id____world_id___
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0x75
call fcn.00405bd0
push str.ALTER_TABLE__server_record__DROP_PRIMARY_KEY_
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0x76
call fcn.00405bd0
push str.ALTER_TABLE__server_record__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 0x77
call fcn.00405bd0
push str.ALTER_TABLE__server_record__ADD_UNIQUE___timestamp____record____world_id___
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x78
call fcn.00405bd0
push str.ALTER_TABLE__server_reports__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0x79
call fcn.00405bd0
push str.ALTER_TABLE__server_reports__ADD_INDEX___world_id___
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x7a
call fcn.00405bd0
push str.ALTER_TABLE__players__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0x7b
call fcn.00405bd0
push str.ALTER_TABLE__global_storage__DROP_PRIMARY_KEY_
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x7c
call fcn.00405bd0
push str.ALTER_TABLE__global_storage__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x7d
call fcn.00405bd0
push str.ALTER_TABLE__global_storage__ADD_UNIQUE___key____world_id___
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x7e
call fcn.00405bd0
push str.ALTER_TABLE__guilds__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x7f
call fcn.00405bd0
push str.ALTER_TABLE__guilds__ADD_UNIQUE___name____world_id___
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x80
call fcn.00405bd0
push str.ALTER_TABLE__house_lists__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 0x81
call fcn.00405bd0
mov byte [ebp - 4], 0x82
push str.ALTER_TABLE__house_lists__ADD_UNIQUE___house_id____world_id____listid___
lea ecx, [ebp - 0x1f0]
call fcn.00405bd0
push str.ALTER_TABLE__houses__CHANGE__id___id__INT_NOT_NULL_
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0x83
call fcn.00405bd0
push str.ALTER_TABLE__houses__DROP_PRIMARY_KEY_
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x84
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0x85
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD_UNIQUE___id____world_id___
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0x86
call fcn.00405bd0
push str.ALTER_TABLE__tiles__CHANGE__id___id__INT_NOT_NULL_
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x87
call fcn.00405bd0
push str.ALTER_TABLE__tiles__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x88
call fcn.00405bd0
push str.ALTER_TABLE__tiles__ADD_UNIQUE___id____world_id___
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x89
call fcn.00405bd0
push str.ALTER_TABLE__tile_items__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x8a
call fcn.00405bd0
push str.ALTER_TABLE__tile_items__ADD_UNIQUE___tile_id____world_id____sid___
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x8b
call fcn.00405bd0
mov byte [ebp - 4], 0x8c
lea edi, [ebp - 0x370]
mov ebx, 0x1a
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48de12
push fcn.00405b30
push 0x1a
push 0x18
lea eax, [ebp - 0x370]
mov byte [ebp - 4], bl
push eax
call fcn.0045afe5
push 8
sub esp, 0x18
mov ecx, esp
push 0x5c38bc
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 8
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_9...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.ALTER_TABLE__bans__ADD__statement__VARCHAR_255__NOT_NULL_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x8d
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push 9
sub esp, 0x18
mov ecx, esp
push 0x5c3c44
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 9
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_10...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xa
sub esp, 0x18
mov ecx, esp
push 0x5c3ac4
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0xa
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_11...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.ALTER_TABLE__players__ADD__description__VARCHAR_255__NOT_NULL_DEFAULT__
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x8e
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
sub esp, 0x18
mov ecx, esp
push str.map_storage
call fcn.00405bd0
call fcn.0048f6a0
test al, al
je 0x48dfc9
push str.ALTER_TABLE__map_storage__RENAME_TO__house_data__
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x8f
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push str.ALTER_TABLE__house_data__ADD__world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0_AFTER__house_id__
lea ecx, [ebp - 0x3b8]
call fcn.00405bd0
mov byte [ebp - 4], 0x90
lea ecx, [ebp - 0x3b8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3b8]
jmp 0x48e0c4
sub esp, 0x18
mov ecx, esp
push str.house_storage
call fcn.00405bd0
call fcn.0048f6a0
test al, al
jne 0x48e09c
mov edx, str.CREATE_TABLE__house_data____house_id__INT_UNSIGNED_NOT_NULL___world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0___data__LONGBLOB_NOT_NULL__UNIQUE___house_id____world_id__
lea ecx, [ebp - 0x528]
call fcn.004064c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp eax, 2
jne 0x48e011
mov edx, str.__FOREIGN_KEY___house_id___REFERENCES__houses____id___ON_DELETE_CASCADE
lea ecx, [ebp - 0x528]
call fcn.004064c0
mov edx, 0x5c3cc4
lea ecx, [ebp - 0x528]
call fcn.004064c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
cmp eax, 1
jne 0x48e03d
mov edx, str._ENGINE__InnoDB
lea ecx, [ebp - 0x528]
call fcn.004064c0
mov edx, 0x5c3d64
lea ecx, [ebp - 0x528]
call fcn.004064c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0x91
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x5ba2ef
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
lea eax, [ebp - 0x3a0]
mov byte [ebp - 4], 0x92
push eax
lea ecx, [ebp - 0x538]
call fcn.0040cd70
jmp 0x48e0be
push str.ALTER_TABLE__house_storage__RENAME_TO__house_data__
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x93
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0xb
sub esp, 0x18
mov ecx, esp
push 0x5c3f4c
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0xb
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_12...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.UPDATE__players__SET__stamina___151200000_WHERE__stamina____151200000_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0x94
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push str.UPDATE__players__SET__loss_experience____loss_experience___10___loss_mana____loss_mana___10___loss_skills____loss_skills___10___loss_items____loss_items___10_
lea ecx, [ebp - 0x3b8]
call fcn.00405bd0
mov byte [ebp - 4], 0x95
lea ecx, [ebp - 0x3b8]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0
call fcn.00405b30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
jne 0x48e21b
push str.ALTER_TABLE__players__CHANGE__stamina___stamina__INT_NOT_NULL_DEFAULT_151200000_
lea ecx, [ebp - 0xa0]
call fcn.00405bd0
push str.ALTER_TABLE__players__CHANGE__loss_experience___loss_experience__INT_NOT_NULL_DEFAULT_100_
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x96
call fcn.00405bd0
push str.ALTER_TABLE__players__CHANGE__loss_mana___loss_mana__INT_NOT_NULL_DEFAULT_100_
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x97
call fcn.00405bd0
push str.ALTER_TABLE__players__CHANGE__loss_skills___loss_skills__INT_NOT_NULL_DEFAULT_100_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x98
call fcn.00405bd0
push str.ALTER_TABLE__players__CHANGE__loss_items___loss_items__INT_NOT_NULL_DEFAULT_100_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x99
call fcn.00405bd0
push str.ALTER_TABLE__players__ADD__loss_containers__INT_NOT_NULL_DEFAULT_100_AFTER__loss_skills__
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x9a
call fcn.00405bd0
mov byte [ebp - 4], 0x9b
lea edi, [ebp - 0xa0]
mov ebx, 6
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e1f3
push fcn.00405b30
push 6
push 0x18
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], bl
push eax
call fcn.0045afe5
push 0xc
sub esp, 0x18
mov ecx, esp
push 0x5c40a4
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0xc
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_13...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.ALTER_TABLE__accounts__DROP_KEY__group_id__
lea ecx, [ebp - 0x58]
call fcn.00405bd0
push str.ALTER_TABLE__players__DROP_KEY__group_id__
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x9c
call fcn.00405bd0
push str.DROP_TABLE__groups__
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x9d
call fcn.00405bd0
mov byte [ebp - 4], 0x9e
lea edi, [ebp - 0x58]
mov ebx, 3
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e293
push 0xd
sub esp, 0x18
mov esi, esp
push 0xa
push 0x5c423c
push esi
mov dword [esi], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0xa
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], bl
call fcn.0048b2f0
push fcn.00405b30
push 3
push 0x18
lea eax, [ebp - 0x58]
mov byte [ebp - 4], bl
push eax
call fcn.0045afe5
lea esi, [ebx + 0xd]
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_14...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48e372
sub eax, 1
jne 0x48e3d6
push str.ALTER_TABLE__houses__ADD__doors__INTEGER_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x58]
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__beds__INTEGER_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa2
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__guild__BOOLEAN_NOT_NULL_DEFAULT_FALSE_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa3
call fcn.00405bd0
mov byte [ebp - 4], 0xa4
lea edi, [ebp - 0x58]
mov ebx, 3
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e360
jmp 0x48e3c0
push str.ALTER_TABLE__houses__ADD__doors__INT_UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x58]
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__beds__INT_UNSIGNED_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x9f
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__guild__TINYINT_1__UNSIGNED_NOT_NULL_DEFAULT_FALSE_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa0
call fcn.00405bd0
mov byte [ebp - 4], 0xa1
lea edi, [ebp - 0x58]
mov ebx, 3
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e3b0
push fcn.00405b30
push 3
push 0x18
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0
push eax
call fcn.0045afe5
push 0xe
sub esp, 0x18
mov ecx, esp
push 0xa
push 0x5c42f4
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00405890
call fcn.0048b2f0
mov esi, 0xe
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_15...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.DROP_TABLE__player_deaths__
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0xa5
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48e4d2
sub eax, 1
jne 0x48e546
push str.CREATE_TABLE__player_deaths____t_id__INTEGER_PRIMARY_KEY__t_player_id__INTEGER_NOT_NULL__t_date__INTEGER_NOT_NULL__t_level__INTEGER_NOT_NULL__tFOREIGN_KEY___player_id___REFERENCES__players____id____
lea ecx, [ebp - 0x70]
call fcn.00405bd0
push str.CREATE_TABLE__killers____t_id__INTEGER_PRIMARY_KEY__t_death_id__INTEGER_NOT_NULL__t_final_hit__BOOLEAN_NOT_NULL_DEFAULT_FALSE__tFOREIGN_KEY___death_id___REFERENCES__player_deaths____id____
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xaa
call fcn.00405bd0
push str.CREATE_TABLE__player_killers____t_kill_id__INTEGER_NOT_NULL__t_player_id__INTEGER_NOT_NULL__tFOREIGN_KEY___kill_id___REFERENCES__killers____id____tFOREIGN_KEY___player_id___REFERENCES__players____id____
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xab
call fcn.00405bd0
push str.CREATE_TABLE__environment_killers____t_kill_id__INTEGER_NOT_NULL__t_name__VARCHAR_255__NOT_NULL__tFOREIGN_KEY___kill_id___REFERENCES__killers____id____
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xac
call fcn.00405bd0
mov byte [ebp - 4], 0xad
lea edi, [ebp - 0x70]
mov ebx, 4
nop dword [eax + eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e4c0
jmp 0x48e530
push str.CREATE_TABLE__player_deaths___t_id__INT_NOT_NULL_AUTO_INCREMENT__t_player_id__INT_NOT_NULL__t_date__BIGINT_UNSIGNED_NOT_NULL__t_level__INT_UNSIGNED_NOT_NULL__tFOREIGN_KEY___player_id___REFERENCES__players____id___ON_DELETE_CASCADE__tPRIMARY_KEY__id____tINDEX__date____ENGINE__InnoDB_
lea ecx, [ebp - 0x70]
call fcn.00405bd0
push str.CREATE_TABLE__killers___t_id__INT_NOT_NULL_AUTO_INCREMENT__t_death_id__INT_NOT_NULL__t_final_hit__TINYINT_1__UNSIGNED_NOT_NULL_DEFAULT_FALSE__tPRIMARY_KEY__id____tFOREIGN_KEY___death_id___REFERENCES__player_deaths____id___ON_DELETE_CASCADE__ENGINE__InnoDB_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa6
call fcn.00405bd0
push str.CREATE_TABLE__player_killers___t_kill_id__INT_NOT_NULL__t_player_id__INT_NOT_NULL__tFOREIGN_KEY___kill_id___REFERENCES__killers____id___ON_DELETE_CASCADE__tFOREIGN_KEY___player_id___REFERENCES__players____id___ON_DELETE_CASCADE__ENGINE__InnoDB_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa7
call fcn.00405bd0
push str.CREATE_TABLE__environment_killers___t_kill_id__INT_NOT_NULL__t_name__VARCHAR_255__NOT_NULL__tFOREIGN_KEY___kill_id___REFERENCES__killers____id___ON_DELETE_CASCADE__ENGINE__InnoDB_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa8
call fcn.00405bd0
mov byte [ebp - 4], 0xa9
lea edi, [ebp - 0x70]
mov ebx, 4
nop
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e520
push fcn.00405b30
push 4
push 0x18
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0
push eax
call fcn.0045afe5
push 0xf
sub esp, 0x18
mov ecx, esp
push 0x5c44ac
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0xf
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_16...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48e5de
sub eax, 1
jne 0x48e656
push str.ALTER_TABLE__killers__ADD__unjustified__BOOLEAN_NOT_NULL_DEFAULT_FALSE_
lea ecx, [ebp - 0x40]
call fcn.00405bd0
push str.UPDATE__players__SET__redskulltime___0_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb2
call fcn.00405bd0
mov byte [ebp - 4], 0xb3
lea edi, [ebp - 0x40]
mov ebx, 2
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e5c2
push fcn.00405b30
push 2
lea eax, [ebp - 0x40]
jmp 0x48e64a
push str.ALTER_TABLE__players__DROP__redskull__
lea ecx, [ebp - 0x70]
call fcn.00405bd0
push str.ALTER_TABLE__players__CHANGE__redskulltime___redskulltime__INT_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xae
call fcn.00405bd0
push str.ALTER_TABLE__killers__ADD__unjustified__TINYINT_1__UNSIGNED_NOT_NULL_DEFAULT_FALSE_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xaf
call fcn.00405bd0
push 0x5c47fc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb0
call fcn.00405bd0
mov byte [ebp - 4], 0xb1
lea edi, [ebp - 0x70]
mov ebx, 4
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e630
push fcn.00405b30
push 4
lea eax, [ebp - 0x70]
push 0x18
push eax
mov byte [ebp - 4], 0
call fcn.0045afe5
push 0x10
sub esp, 0x18
mov ecx, esp
push 0x5c4524
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0x10
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_17...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48e6ba
sub eax, 1
jne 0x48e6eb
push str.CREATE_TABLE_IF_NOT_EXISTS__player_namelocks____t_player_id__INTEGER_NOT_NULL__t_name__VARCHAR_255__NOT_NULL__t_new_name__VARCHAR_255__NOT_NULL__t_date__INTEGER_NOT_NULL_DEFAULT_0__tFOREIGN_KEY___player_id___REFERENCES__players____id____
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0xb5
jmp 0x48e6ce
push str.CREATE_TABLE_IF_NOT_EXISTS__player_namelocks___t_player_id__INT_NOT_NULL_DEFAULT_0__t_name__VARCHAR_255__NOT_NULL__t_new_name__VARCHAR_255__NOT_NULL__t_date__BIGINT_NOT_NULL_DEFAULT_0__tKEY___player_id____tFOREIGN_KEY___player_id___REFERENCES__players___id___ON_DELETE_CASCADE__ENGINE__InnoDB_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0xb4
mov eax, dword [esi]
lea ecx, [ebp - 0x3a0]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x11
sub esp, 0x18
mov ecx, esp
push 0x5c49ec
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0x11
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_18...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48e7f2
sub eax, 1
jne 0x48e8e9
push str.ALTER_TABLE__house_data__ADD_FOREIGN_KEY___house_id____world_id___REFERENCES__houses___id____world_id___
lea ecx, [ebp - 0xb8]
call fcn.00405bd0
push str.ALTER_TABLE__house_lists__ADD_FOREIGN_KEY___house_id____world_id___REFERENCES__houses___id____world_id___
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xc0
call fcn.00405bd0
push str.ALTER_TABLE__guild_invites__ADD_FOREIGN_KEY___player_id___REFERENCES__players___id___
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xc1
call fcn.00405bd0
push str.ALTER_TABLE__guild_invites__ADD_FOREIGN_KEY___guild_id___REFERENCES__guilds___id___
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xc2
call fcn.00405bd0
push str.ALTER_TABLE__tiles__ADD__house_id__INTEGER_NOT_NULL_
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc3
call fcn.00405bd0
push str.ALTER_TABLE__tiles__ADD_FOREIGN_KEY___house_id____world_id___REFERENCES__houses___id____world_id___
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc4
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__clear__BOOLEAN_NOT_NULL_DEFAULT_FALSE_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc5
call fcn.00405bd0
mov byte [ebp - 4], 0xc6
lea edi, [ebp - 0xb8]
mov ebx, 7
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e7d0
push fcn.00405b30
push 7
lea eax, [ebp - 0xb8]
jmp 0x48e8dd
push str.ALTER_TABLE__player_depotitems__DROP_KEY__player_id__
lea ecx, [ebp - 0x100]
call fcn.00405bd0
push str.ALTER_TABLE__player_depotitems__DROP__depot_id__
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xb6
call fcn.00405bd0
push str.ALTER_TABLE__player_depotitems__ADD_KEY___player_id___
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb7
call fcn.00405bd0
push str.ALTER_TABLE__house_data__ADD_FOREIGN_KEY___house_id____world_id___REFERENCES__houses___id____world_id___ON_DELETE_CASCADE_
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xb8
call fcn.00405bd0
push str.ALTER_TABLE__house_lists__ADD_FOREIGN_KEY___house_id____world_id___REFERENCES__houses___id____world_id___ON_DELETE_CASCADE_
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb9
call fcn.00405bd0
push str.ALTER_TABLE__guild_invites__ADD_FOREIGN_KEY___player_id___REFERENCES__players___id___ON_DELETE_CASCADE_
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xba
call fcn.00405bd0
push str.ALTER_TABLE__guild_invites__ADD_FOREIGN_KEY___guild_id___REFERENCES__guilds___id___ON_DELETE_CASCADE_
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xbb
call fcn.00405bd0
push str.ALTER_TABLE__tiles__ADD__house_id__INT_UNSIGNED_NOT_NULL_AFTER__world_id__
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xbc
call fcn.00405bd0
push str.ALTER_TABLE__tiles__ADD_FOREIGN_KEY___house_id____world_id___REFERENCES__houses___id____world_id___ON_DELETE_CASCADE_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xbd
call fcn.00405bd0
push str.ALTER_TABLE__houses__ADD__clear__TINYINT_1__UNSIGNED_NOT_NULL_DEFAULT_FALSE_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xbe
call fcn.00405bd0
mov byte [ebp - 4], 0xbf
lea edi, [ebp - 0x100]
mov ebx, 0xa
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e8c0
push fcn.00405b30
push 0xa
lea eax, [ebp - 0x100]
push 0x18
push eax
mov byte [ebp - 4], 0
call fcn.0045afe5
push 0x12
sub esp, 0x18
mov ecx, esp
push 0xa
push 0x5c4b64
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00405890
call fcn.0048b2f0
mov esi, 0x12
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_19...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48e992
sub eax, 1
jne 0x48e9e6
push str.ALTER_TABLE__houses__ADD__tiles__INTEGER_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x40]
call fcn.00405bd0
push str.CREATE_TABLE__house_auctions____t_house_id__INTEGER_NOT_NULL__t_world_id__INTEGER_NOT_NULL_DEFAULT_0__t_player_id__INTEGER_NOT_NULL__t_bid__INTEGER_NOT_NULL_DEFAULT_0__t_limit__INTEGER_NOT_NULL_DEFAULT_0__t_endtime__INTEGER_NOT_NULL_DEFAULT_0__tUNIQUE___house_id____world_id____tFOREIGN_KEY___house_id____world_id___REFERENCES__houses____id____world_id___tFOREIGN_KEY___player_id___REFERENCES__players____id____
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc9
call fcn.00405bd0
mov byte [ebp - 4], 0xca
lea edi, [ebp - 0x40]
mov ebx, 2
nop dword [eax + eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e980
jmp 0x48e9d0
push str.ALTER_TABLE__houses__ADD__tiles__INT_UNSIGNED_NOT_NULL_DEFAULT_0_AFTER__beds__
lea ecx, [ebp - 0x40]
call fcn.00405bd0
push str.CREATE_TABLE__house_auctions___t_house_id__INT_UNSIGNED_NOT_NULL__t_world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0__t_player_id__INT_NOT_NULL__t_bid__INT_UNSIGNED_NOT_NULL_DEFAULT_0__t_limit__INT_UNSIGNED_NOT_NULL_DEFAULT_0__t_endtime__BIGINT_UNSIGNED_NOT_NULL_DEFAULT_0__tUNIQUE___house_id____world_id____tFOREIGN_KEY___house_id____world_id___REFERENCES__houses___id____world_id___ON_DELETE_CASCADE__tFOREIGN_KEY___player_id___REFERENCES__players____id___ON_DELETE_CASCADE__ENGINE__InnoDB_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc7
call fcn.00405bd0
mov byte [ebp - 4], 0xc8
lea edi, [ebp - 0x40]
mov ebx, 2
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48e9c0
push fcn.00405b30
push 2
push 0x18
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0
push eax
call fcn.0045afe5
push 0x13
sub esp, 0x18
mov ecx, esp
push 0xa
push 0x5c4c34
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00405890
call fcn.0048b2f0
mov esi, 0x13
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_20...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48eaac
sub eax, 1
jne 0x48eafc
push str.ALTER_TABLE__players__ADD__skulltime__INTEGER_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x58]
call fcn.00405bd0
push str.ALTER_TABLE__players__ADD__skull__INTEGER_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xcd
call fcn.00405bd0
push str.UPDATE__players__SET__skulltime____redskulltime____redskulltime___0_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xce
call fcn.00405bd0
mov byte [ebp - 4], 0xcf
lea edi, [ebp - 0x58]
mov ebx, 3
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48ea90
push fcn.00405b30
push 3
lea eax, [ebp - 0x58]
jmp 0x48eaf0
push str.ALTER_TABLE__players__CHANGE__redskulltime___skulltime__INT_NOT_NULL_DEFAULT_0_
lea ecx, [ebp - 0x40]
call fcn.00405bd0
push str.ALTER_TABLE__players__ADD__skull__TINYINT_1__UNSIGNED_NOT_NULL_DEFAULT_0_AFTER__save__
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xcb
call fcn.00405bd0
mov byte [ebp - 4], 0xcc
lea edi, [ebp - 0x40]
mov ebx, 2
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48ead6
push fcn.00405b30
push 2
lea eax, [ebp - 0x40]
push 0x18
push eax
mov byte [ebp - 4], 0
call fcn.0045afe5
push 0x14
sub esp, 0x18
mov ecx, esp
push 0xa
push 0x5c501c
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00405890
call fcn.0048b2f0
mov esi, 0x14
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_21...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.UPDATE__bans__SET__type___3_WHERE__type___5_
lea ecx, [ebp - 0x58]
call fcn.00405bd0
push str.UPDATE__bans__SET__param___2_WHERE__type___2_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd0
call fcn.00405bd0
push str.UPDATE__bans__SET__param___0_WHERE__type__IN__3_4__
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd1
call fcn.00405bd0
mov byte [ebp - 4], 0xd2
lea edi, [ebp - 0x58]
mov ebx, 3
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x18]
add edi, 0x18
sub ebx, 1
jne 0x48eb90
push 0x15
sub esp, 0x18
mov ecx, esp
push 0xa
push 0x5c4eb4
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
call fcn.00405890
call fcn.0048b2f0
push fcn.00405b30
push 3
push 0x18
lea eax, [ebp - 0x58]
mov byte [ebp - 4], bl
push eax
call fcn.0045afe5
lea esi, [ebx + 0x15]
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version:_22...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48ec25
sub eax, 1
jne 0x48ec56
push str.CREATE_TABLE__account_viplist____account_id__INTEGER_NOT_NULL___world_id__INTEGER_NOT_NULL_DEFAULT_0___player_id__INTEGER_NOT_NULL__UNIQUE___account_id____player_id____FOREIGN_KEY__account_id__REFERENCES__accounts____id____FOREIGN_KEY__player_id__REFERENCES__players____id____
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0xd4
jmp 0x48ec39
push str.CREATE_TABLE__account_viplist____account_id__INT_NOT_NULL___world_id__TINYINT_2__UNSIGNED_NOT_NULL_DEFAULT_0___player_id__INT_NOT_NULL__KEY___account_id____KEY___player_id____KEY___world_id____UNIQUE___account_id____player_id____FOREIGN_KEY___account_id___REFERENCES__accounts___id___ON_DELETE_CASCADE__FOREIGN_KEY___player_id___REFERENCES__players___id___ON_DELETE_CASCADE__ENGINE__InnoDB_
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
mov byte [ebp - 4], 0xd3
mov eax, dword [esi]
lea ecx, [ebp - 0x3a0]
push ecx
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x16
sub esp, 0x18
mov ecx, esp
push 0x5c5264
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0x16
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version_23...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x23
call fcn.00473710
test al, al
je 0x48f0ee
mov edx, str.SELECT__id____key__FROM__accounts__WHERE__key_
lea ecx, [ebp - 0x528]
call fcn.004064c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x528]
mov edx, str.NOT_LIKE
cmp eax, 2
je 0x48ecce
mov edx, 0x5c507c
call fcn.004064c0
mov edx, str._0_
lea ecx, [ebp - 0x528]
call fcn.004064c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0xd5
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x1c]
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x47c], ebx
call fcn.00405b30
test ebx, ebx
je 0x48f0ee
push 0x5ba2fe
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
lea eax, [ebp - 0x3a0]
mov byte [ebp - 4], 0xd6
push eax
lea ecx, [ebp - 0x538]
call fcn.0040cd70
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
nop
push 3
mov dword [ebp - 0x3b8], 0
lea ecx, [ebp - 0x3b8]
push 0x5c5464
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 0xf
mov byte [ebp - 0x3b8], 0
call fcn.00405890
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0xd7
mov eax, dword [ebx]
push ecx
lea ecx, [ebp - 0x388]
push ecx
mov ecx, ebx
call dword [eax + 8]
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0xd9
call fcn.00405b30
xor dl, dl
lea ecx, [ebp - 0x388]
call fcn.005917b0
push 2
mov dword [ebp - 0x3e8], 0
lea ecx, [ebp - 0x3e8]
push 0x5c550c
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0xf
mov byte [ebp - 0x3e8], 0
call fcn.00405890
mov byte [ebp - 4], 0xda
lea ecx, [ebp - 0x3a0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov dword [ebp - 0x480], eax
lea eax, [ebp - 0x388]
mov byte [ebp - 4], 0xdb
mov edx, dword [esi]
mov ecx, esi
push eax
lea eax, [ebp - 0x478]
push eax
call dword [edx + 0x20]
mov edi, eax
mov edx, 0x5c5a34
mov byte [ebp - 4], 0xdc
lea ecx, [ebp - 0x528]
call fcn.004064c0
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x48ee44
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004073f0
mov edx, dword [ebx]
add esp, 4
mov edi, eax
mov ecx, ebx
lea eax, [ebp - 0x3e8]
push eax
call dword [edx]
push eax
mov edx, 0x5c5994
mov ecx, edi
call fcn.004064c0
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___int_]
mov ecx, eax
mov eax, dword [ebp - 0x480]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x48ee87
mov edx, dword [eax]
push dword [eax + 0x10]
call fcn.004073f0
add esp, 4
lea ecx, [ebp - 0x478]
call fcn.00405b30
lea ecx, [ebp - 0x3a0]
call fcn.00405b30
mov byte [ebp - 4], 0xd9
mov ecx, dword [ebp - 0x3d4]
cmp ecx, 0x10
jb 0x48eee6
mov edx, dword [ebp - 0x3e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48eedc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0xdd
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0xd9
call fcn.00405b30
push 0
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x460]
push 0x5ba2ff
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0xf
mov byte [ebp - 0x460], 0
call fcn.00405890
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0xde
call fcn.00405f10
mov edi, dword [ebp - 0x44c]
lea eax, [ebp - 0x460]
mov edx, dword [ebp - 0x460]
cmp edi, 0x10
mov ebx, dword [ebp - 0x4e4]
mov ecx, dword [ebp - 0x450]
cmovae eax, edx
setae byte [ebp - 0x481]
mov dword [ebp - 0x488], edx
and ebx, 0xffffffdf
mov dword [ebp - 0x480], eax
cmp ecx, 0x7fffffff
ja 0x48f1ce
test ecx, ecx
je 0x48f079
mov eax, ebx
and eax, 6
cmp al, 6
je 0x48f079
cmp ecx, 0x1000
jb 0x48efe3
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x48f41a
push eax
call fcn.0045afb5
add esp, 4
test eax, eax
je 0x48cec2
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x48efee
push ecx
call fcn.0045afb5
add esp, 4
mov edi, eax
push dword [ebp - 0x450]
push dword [ebp - 0x480]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x450]
mov eax, ebx
add ecx, edi
add esp, 0xc
and eax, 4
mov dword [ebp - 0x4e8], ecx
mov dword [ebp - 0x480], eax
jne 0x48f033
push ecx
push edi
push edi
lea ecx, [ebp - 0x520]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov ecx, dword [ebp - 0x4e8]
test bl, 2
jne 0x48f068
test bl, 0x18
mov eax, edi
push ecx
cmovne eax, ecx
lea ecx, [ebp - 0x520]
push eax
push edi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setp_char___char___char__]
cmp dword [ebp - 0x480], 0
je 0x48f068
push edi
push 0
push edi
lea ecx, [ebp - 0x520]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov edx, dword [ebp - 0x488]
or ebx, 1
mov edi, dword [ebp - 0x44c]
jmp 0x48f083
mov dword [ebp - 0x4e8], 0
cmp byte [ebp - 0x481], 0
mov dword [ebp - 0x4e4], ebx
mov byte [ebp - 4], 0xd9
je 0x48f0c1
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x48f0b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cec2
push ecx
push edx
call fcn.0045b34b
add esp, 8
lea ecx, [ebp - 0x388]
mov byte [ebp - 4], 0
call fcn.00405b30
mov ebx, dword [ebp - 0x47c]
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x48ed50
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
mov edi, eax
mov edx, str.DELETE_FROM__server_config__WHERE__config_
mov byte [ebp - 4], 0xdf
lea ecx, [ebp - 0x528]
call fcn.004064c0
mov edx, edi
mov ecx, eax
call fcn.004066b0
mov edx, str.password_type_
mov ecx, eax
call fcn.004064c0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405b30
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0xe0
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x5ba307
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
lea eax, [ebp - 0x3a0]
mov byte [ebp - 4], 0xe1
push eax
lea ecx, [ebp - 0x538]
call fcn.0040cd70
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x1e
call fcn.004736b0
push eax
sub esp, 0x18
mov ecx, esp
push 0x5c60a0
call fcn.00405bd0
call fcn.0048b2f0
push 0x17
sub esp, 0x18
mov ecx, esp
push 0x5c5cec
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0x17
jmp 0x48f3f1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version_24...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, str.ALTER_TABLE__guilds__ADD__checkdata_
lea ecx, [ebp - 0x528]
call fcn.004064c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x528]
mov edx, str.INTEGER_NOT_NULL_
cmp eax, 2
je 0x48f21d
mov edx, str.INT_NOT_NULL_AFTER__creationdata__
call fcn.004064c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0xe2
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x5ba313
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
lea eax, [ebp - 0x3a0]
mov byte [ebp - 4], 0xe3
push eax
lea ecx, [ebp - 0x538]
call fcn.0040cd70
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x18
sub esp, 0x18
mov ecx, esp
push 0x5c5aac
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0x18
jmp 0x48f3f1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str.__Updating_database_to_version_25...
push 0x406700
call fcn.004064c0
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___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
sub eax, 1
je 0x48f366
sub eax, 1
jne 0x48f39d
mov edx, str.DROP_TABLE__server_config__
lea ecx, [ebp - 0x528]
call fcn.004064c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0xe4
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405b30
mov edx, str.CREATE_TABLE__server_config____config__VARCHAR_35__NOT_NULL_DEFAULT____value__VARCHAR_255__NOT_NULL_DEFAULT___UNIQUE___config____
lea ecx, [ebp - 0x528]
call fcn.004064c0
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0xe5
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x1e
call fcn.004736b0
push eax
sub esp, 0x18
mov ecx, esp
push 0x5c61a8
call fcn.00405bd0
call fcn.0048b2f0
jmp 0x48f39d
mov edx, str.ALTER_TABLE__server_config__CHANGE__value___value__VARCHAR_255__NOT_NULL_DEFAULT__
lea ecx, [ebp - 0x528]
call fcn.004064c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x538]
call fcn.00404ef0
mov byte [ebp - 4], 0xe6
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x5ba31b
lea ecx, [ebp - 0x3a0]
call fcn.00405bd0
lea eax, [ebp - 0x3a0]
mov byte [ebp - 4], 0xe7
push eax
lea ecx, [ebp - 0x538]
call fcn.0040cd70
lea ecx, [ebp - 0x3a0]
mov byte [ebp - 4], 0
call fcn.00405b30
push 0x19
sub esp, 0x18
mov ecx, esp
push str.db_version
call fcn.00405bd0
call fcn.0048b2f0
mov esi, 0x19
jmp 0x48f3f1
xor esi, esi
lea ecx, [ebp - 0x538]
call fcn.0041c440
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
ret
call fcn.00402560
nop
cdq
mov bh, 72
add al, cl
into
dec eax
add byte [esi - 0x2c], ch
dec eax
add ah, ch
aad 0x48
add byte [edi + edx*8 + 0x48], dl
add dl, al
xlatb
dec eax
add byte [ecx + ebx*8 + 0x48], dl
add dl, dl
fisttp dword [eax]
pop edx
fimul word [eax]
enter 0x48de, 0
add eax, -318748449
loopne 4781207
add byte [ebx], bh
loop 0x48f49b
add bh, ch
loop 0x48f49f
add byte [esp], cl
dec eax
add byte [esi - 0x1b], ah
dec eax
add byte [esi - 0x1a], dh
dec eax
add byte [ebx], cl
out 0x48, eax
add byte [edi], bl
jmp 0xea64f4b6
add ah, cl
int3
int3
int3