Function at 0x4cb390
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa106
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x94], ebx
call fcn.00488470
push ecx
lea ecx, [ebp - 0x194]
mov dword [ebp - 0xa4], eax
call fcn.0041c300
mov dword [ebp - 4], ebx
call fcn.0040f860
mov edi, dword [eax + 4]
mov eax, dword fs:[0x2c]
mov edi, dword [edi]
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov eax, dword [0x631230]
cmp eax, dword [ecx + 4]
jg 0x4cc138
cmp edi, dword [0x631224]
je 0x4cc10d
mov esi, dword [edi + 0x14]
mov dword [ebp - 0xa0], esi
test esi, esi
je 0x4cc0b2
push 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x5baf9f
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00405890
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 2
call fcn.00405f10
push dword [ebp - 0x140]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x17c]
push eax
call fcn.0040d040
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00405b30
cmp byte [0x631c98], 0
mov esi, dword [esi + 0x20]
je 0x4cb4a5
mov eax, dword [0x632104]
jmp 0x4cb4d7
cmp byte [0x631c99], 0
jne 0x4cb4d5
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getNumber_
push 0x406700
push 0x32
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___unsigned_int_]
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_____]
xor eax, eax
push eax
push esi
push ecx
mov edx, str.SELECT__FROM__tiles__WHERE__house_id__
lea ecx, [ebp - 0x184]
call fcn.004064c0
add esp, 4
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___unsigned_int_]
push ecx
mov edx, 0x5dc80c
mov ecx, eax
call fcn.004064c0
add esp, 4
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_]
or ebx, 0x80
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x94], ebx
mov dword [ebp - 4], 4
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x140]
mov eax, ecx
and al, 0x22
movq qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb8], 0
cmp al, 2
je 0x4cb5bf
lea ecx, [ebp - 0x17c]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x4cb5b9
lea ecx, [ebp - 0x17c]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const]
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x90], eax
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
mov esi, eax
lea ecx, [ebp - 0x17c]
cmp esi, dword [ebp - 0x144]
cmovb esi, dword [ebp - 0x144]
sub esi, dword [ebp - 0x90]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const]
mov eax, dword [ebp - 0x90]
jmp 0x4cb60a
mov ecx, dword [ebp - 0x140]
test cl, 4
jne 0x4cb5fe
lea ecx, [ebp - 0x17c]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
test eax, eax
je 0x4cb5fe
lea ecx, [ebp - 0x17c]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const]
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x90], eax
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const]
mov esi, eax
mov eax, dword [ebp - 0x90]
sub esi, eax
jmp 0x4cb60a
mov esi, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xc0]
mov byte [ebp - 4], 3
test eax, eax
je 0x4cb61f
push esi
push eax
lea ecx, [ebp - 0x8c]
call fcn.00405890
and ebx, 0xffffff7f
mov dword [ebp - 4], 0
or ebx, 0x40
mov dword [ebp - 0x94], ebx
mov ecx, dword [ebp - 0xa4]
lea edx, [ebp - 0x8c]
mov byte [ebp - 4], 5
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x98], esi
call fcn.00405b30
test esi, esi
je 0x4cbb36
nop word [eax + eax]
lea ecx, [ebp - 0x17c]
call fcn.00405f10
and dword [ebp - 0x140], 0xffffffdf
mov eax, 0x6469
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x2a], 0
mov byte [ebp - 4], 7
cmp byte [0x631c98], 0
je 0x4cb6c2
mov eax, dword [0x632104]
jmp 0x4cb6f4
cmp byte [0x631c99], 0
jne 0x4cb6f2
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getNumber_
push 0x406700
push 0x32
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___unsigned_int_]
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_____]
xor eax, eax
push eax
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call dword [eax]
push eax
push ecx
mov edx, 0x5dc74c
lea ecx, [ebp - 0x184]
call fcn.004064c0
add esp, 4
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_]
push ecx
mov edx, 0x5dc77c
mov ecx, eax
call fcn.004064c0
add esp, 4
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, 0x5dc790
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4cb778
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cb76e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc107
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 8
or ebx, 2
mov edx, dword [ebp - 0x140]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x74], 0
and al, 0x22
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x94], ebx
movq qword [ebp - 0xcc], xmm0
mov dword [ebp - 0xc4], 0
cmp al, 2
je 0x4cb7e6
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cb7e6
mov eax, dword [ebp - 0x16c]
cmp ecx, dword [ebp - 0x144]
cmovb ecx, dword [ebp - 0x144]
mov edx, dword [eax]
sub ecx, edx
jmp 0x4cb817
test dl, 4
jne 0x4cb80b
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cb80b
mov eax, dword [ebp - 0x170]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x150]
add ecx, dword [eax]
jmp 0x4cb817
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xcc]
test edx, edx
je 0x4cb825
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00405890
and ebx, 0xfffffffd
mov dword [ebp - 4], 0
or ebx, 1
mov ecx, dword [ebp - 0xa4]
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 9
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x90], eax
cmp ecx, 0x10
jb 0x4cb889
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cb879
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc107
push ecx
push edx
call fcn.0045b34b
mov eax, dword [ebp - 0x90]
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
test eax, eax
je 0x4cb91c
mov eax, dword [ebp - 0xa0]
cmp byte [eax + 9], 0
je 0x4cb939
push dword [eax + 0x24]
call fcn.004a9c60
mov esi, eax
test esi, esi
je 0x4cb90b
mov ecx, dword [ebp - 0xa0]
push 1
push dword [ecx + 0x34]
mov ecx, esi
call fcn.005552e0
test eax, eax
je 0x4cb8d8
add eax, 0x18
jmp 0x4cb8da
xor eax, eax
push 1
push eax
push dword [ebp - 0x90]
push ecx
call fcn.004c9c90
cmp dword [esi + 0x228], 0
jne 0x4cb90b
push 0
push 1
push esi
call fcn.004096a0
mov ecx, eax
call fcn.004c38f0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x4cb670
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
jmp 0x4cc0b2
push 1
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x5c]
push 0x5dc7d0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00405890
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x2c], 0x79
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 1
mov word [ebp - 0x44], 0x78
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
movzx eax, ax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x94], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
movzx eax, ax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x9c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0x9c]
mov word [ebp - 0xaa], cx
mov ecx, dword [ebp - 0x94]
mov word [ebp - 0xa8], cx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x30]
mov word [ebp - 0xac], ax
cmp ecx, 0x10
jb 0x4cba24
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cba1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc107
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x4cba6e
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cba64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc107
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x4cbab8
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cbaae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc107
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xb4]
movzx eax, ax
push eax
mov eax, dword [ebp - 0x9c]
movzx eax, ax
push eax
movzx eax, word [ebp - 0xac]
push eax
call fcn.00518420
test eax, eax
je 0x4cbaf7
push 0
push eax
push dword [ebp - 0x90]
push ecx
call fcn.004c9c90
jmp 0x4cb911
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Error___IOMapSerialize::loadMapRelational__Unserialization
push 0x406700
call fcn.004064c0
push ecx
mov edx, str._of_invalid_tile_at_position
mov ecx, eax
call fcn.004064c0
add esp, 4
lea edx, [ebp - 0xac]
mov ecx, eax
call fcn.005555d0
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_____]
jmp 0x4cb911
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0x100]
mov esi, dword [eax]
cmp esi, eax
je 0x4cc0b2
nop dword [eax]
lea ecx, [ebp - 0x17c]
call fcn.00405f10
and dword [ebp - 0x140], 0xffffffdf
mov byte [ebp - 4], 0
cmp byte [0x631c98], 0
mov dword [ebp - 0x144], 0
mov ebx, dword [esi + 8]
mov dword [ebp - 0x98], ebx
je 0x4cbb8f
mov eax, dword [0x632104]
mov dword [ebp - 0x9c], eax
jmp 0x4cbbc9
cmp byte [0x631c99], 0
jne 0x4cbbbf
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getNumber_
push 0x406700
push 0x32
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___unsigned_int_]
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 dword [ebp - 0x9c], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x19a]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, ebx
movzx eax, word [eax + 4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x98]
lea edx, [ebp - 0x1a6]
push edx
movzx ebx, word [eax + 2]
mov eax, dword [ecx]
call dword [eax + 0x10]
push dword [ebp - 0x9c]
mov edx, str.SELECT__id__FROM__tiles__WHERE__x__
push dword [ebp - 0x90]
movzx eax, word [eax]
push ebx
push eax
push ecx
lea ecx, [ebp - 0x184]
call fcn.004064c0
add esp, 4
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___unsigned_short_int_]
push ecx
mov edx, str._AND__y__
mov ecx, eax
call fcn.004064c0
add esp, 4
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___unsigned_short_int_]
push ecx
mov edx, str._AND__z__
mov ecx, eax
call fcn.004064c0
add esp, 4
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___unsigned_short_int_]
push ecx
mov edx, str._AND__world_id__
mov ecx, eax
call fcn.004064c0
add esp, 4
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._LIMIT_1
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
mov edx, dword [ebp - 0x140]
mov eax, edx
mov ebx, dword [ebp - 0x94]
and al, 0x22
or ebx, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x94], ebx
movq qword [ebp - 0xd8], xmm0
mov dword [ebp - 0xd0], 0
cmp al, 2
je 0x4cbcfa
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cbcfa
mov eax, dword [ebp - 0x16c]
cmp ecx, dword [ebp - 0x144]
cmovb ecx, dword [ebp - 0x144]
mov edx, dword [eax]
sub ecx, edx
jmp 0x4cbd2b
test dl, 4
jne 0x4cbd1f
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cbd1f
mov eax, dword [ebp - 0x170]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x150]
add ecx, dword [eax]
jmp 0x4cbd2b
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xd8]
test edx, edx
je 0x4cbd39
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00405890
and ebx, 0xfffffff7
mov dword [ebp - 4], 0
or ebx, 4
mov dword [ebp - 0x94], ebx
mov ecx, dword [ebp - 0xa4]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
cmp ecx, 0x10
jb 0x4cbda3
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cbd93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc107
push ecx
push edx
call fcn.0045b34b
mov eax, dword [ebp - 0x90]
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
test eax, eax
je 0x4cc09e
lea ecx, [ebp - 0x17c]
call fcn.00405f10
and dword [ebp - 0x140], 0xffffffdf
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
push 2
mov dword [ebp - 0x5c], 0
push 0x5dc820
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00405890
mov byte [ebp - 4], 0x11
cmp byte [0x631c98], 0
je 0x4cbe19
mov eax, dword [0x632104]
jmp 0x4cbe4b
cmp byte [0x631c99], 0
jne 0x4cbe49
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getNumber_
push 0x406700
push 0x32
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___unsigned_int_]
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_____]
xor eax, eax
mov ecx, dword [ebp - 0x90]
lea edx, [ebp - 0x5c]
push eax
push edx
mov eax, dword [ecx]
call dword [eax]
push eax
push ecx
mov edx, str.SELECT__FROM__tile_items__WHERE__tile_id__
lea ecx, [ebp - 0x184]
call fcn.004064c0
add esp, 4
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_]
push ecx
mov edx, 0x5dc854
mov ecx, eax
call fcn.004064c0
add esp, 4
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._ORDER_BY__sid__DESC
mov ecx, eax
call fcn.004064c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0x10
jb 0x4cbed3
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cbec9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc107
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 0x12
or ebx, 0x20
mov edx, dword [ebp - 0x140]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x44], 0
and al, 0x22
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x94], ebx
movq qword [ebp - 0xe4], xmm0
mov dword [ebp - 0xdc], 0
cmp al, 2
je 0x4cbf41
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cbf41
mov eax, dword [ebp - 0x16c]
cmp ecx, dword [ebp - 0x144]
cmovb ecx, dword [ebp - 0x144]
mov edx, dword [eax]
sub ecx, edx
jmp 0x4cbf72
test dl, 4
jne 0x4cbf66
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cbf66
mov eax, dword [ebp - 0x170]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x150]
add ecx, dword [eax]
jmp 0x4cbf72
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xe4]
test edx, edx
je 0x4cbf80
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00405890
and ebx, 0xffffffdf
mov dword [ebp - 4], 0
or ebx, 0x10
mov dword [ebp - 0x94], ebx
mov ecx, dword [ebp - 0xa4]
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x98], eax
cmp ecx, 0x10
jb 0x4cbfea
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4cbfda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cc107
push ecx
push edx
call fcn.0045b34b
mov eax, dword [ebp - 0x98]
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
test eax, eax
je 0x4cc093
mov ecx, dword [ebp - 0xa0]
cmp byte [ecx + 9], 0
je 0x4cc07c
push dword [ecx + 0x24]
call fcn.004a9c60
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x4cc088
mov ecx, dword [ebp - 0xa0]
push 1
push dword [ecx + 0x34]
mov ecx, eax
call fcn.005552e0
test eax, eax
je 0x4cc03d
add eax, 0x18
jmp 0x4cc03f
xor eax, eax
push 1
push eax
push dword [ebp - 0x98]
push ecx
call fcn.004c9c90
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x228], 0
jne 0x4cc088
push 0
push 1
push eax
call fcn.004096a0
mov ecx, eax
call fcn.004c38f0
mov ecx, dword [ebp - 0x9c]
push 1
mov eax, dword [ecx]
call dword [eax]
jmp 0x4cc088
push 0
push dword [esi + 8]
push eax
push ecx
call fcn.004c9c90
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [ebp - 0xa0]
mov esi, dword [esi]
cmp esi, dword [eax + 0x100]
jne 0x4cbb50
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x4cc0e1
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x4cc0d4
cmp edi, dword [eax + 8]
jne 0x4cc0d4
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4cc0c4
mov ecx, dword [ebp - 0xb0]
mov edi, eax
jmp 0x4cb401
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x4cc0fc
nop dword [eax + eax]
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4cc0f0
mov ecx, dword [ebp - 0xb0]
jmp 0x4cb401
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0x194]
call fcn.0041c440
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
ret 4
push 0x631230
call fcn.0045aedf
add esp, 4
cmp dword [0x631230], 0xffffffff
jne 0x4cb412
mov byte [ebp - 4], 1
call fcn.004b13d0
push 0x5b7860
call fcn.0045b336
add esp, 4
mov byte [ebp - 4], 0
push 0x631230
call fcn.0045ae95
add esp, 4
jmp 0x4cb412