Function at 0x56a428
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x128], 0x80c9e4
mov dword [ebp - 0x124], 0x9954bc
lea edx, [ebp - 0x18]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], 0x56a991
mov dword [ebp - 0x118], esp
lea eax, [ebp - 0x140]
mov dword [esp], eax
call fcn.0080f6e4
mov dword [ebp - 0x13c], 0xffffffff
call fcn.0047a7e2
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.00815f44
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x13c], 0x21
call fcn.00939a94
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
mov dword [esp], 0x9f1940
mov dword [ebp - 0x13c], 0x20
call fcn.008b5758
jmp 0x56a581
mov dword [esp + 4], 0x33
mov dword [esp], 0x9f3980
mov dword [ebp - 0x13c], 0x1f
call fcn.004414ce
mov dword [ebp - 0x160], eax
mov dword [esp + 4], str.SELECT__house_id____data__FROM__house_data__WHERE__world_id__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x154]
mov eax, dword [edx]
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x13c], 0x1e
call eax
jmp 0x56a6eb
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x178], edx
sub edx, 0xc
mov dword [ebp - 0x174], edx
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x174], 0x9aba1c
je 0x56a792
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x178]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x13c], 0x1c
call fcn.00815de4
test eax, eax
jg 0x56a792
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x174]
mov dword [esp], edx
call fcn.00929958
jmp 0x56a792
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922338
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922348
cmp dword [ebp - 0x164], 0
jne 0x56abe9
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b86f3
lea edx, [ebp - 0x108]
mov dword [esp], edx
mov dword [ebp - 0x13c], 4
call fcn.0092bb18
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x13c], 3
call fcn.00939554
jmp 0x56a90c
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x1fc], edx
sub edx, 0xc
mov dword [ebp - 0x1f8], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1f8], 0x9aba1c
je 0x56aaf2
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1fc]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x13c], 1
call fcn.00815de4
test eax, eax
jg 0x56aaf2
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1f8]
mov dword [esp], edx
call fcn.00929958
jmp 0x56aaf2
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x13c], 5
call fcn.008b57ec
jmp 0x56ab56
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x13c], 6
call fcn.00939e54
jmp 0x56abb5
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x13c], 0xffffffff
call fcn.00816174
mov dword [ebp - 0x14c], 0
jmp 0x56ba2a
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.house_id
lea edx, [ebp - 0xf8]
mov dword [esp], edx
mov dword [ebp - 0x13c], 0x1b
call fcn.0092bb18
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x158]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x13c], 0x1a
call eax
jmp 0x56ad23
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x194], edx
sub edx, 0xc
mov dword [ebp - 0x190], edx
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x190], 0x9aba1c
je 0x56add2
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x194]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x13c], 0x18
call fcn.00815de4
test eax, eax
jg 0x56add2
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x190]
mov dword [esp], edx
call fcn.00929958
jmp 0x56add2
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
cmp byte [0x9ab908], 0
jne 0x56ae2e
mov dword [esp], 0x9abf20
mov dword [ebp - 0x13c], 0x1f
call fcn.004d5596
mov byte [0x9ab908], 1
mov dword [esp], 0x55e032
call fcn.004012c0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x180]
mov dword [esp + 4], eax
mov dword [esp], 0x9abf20
mov dword [ebp - 0x13c], 0x1f
call fcn.004d85e8
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.data
lea edx, [ebp - 0x108]
mov dword [esp], edx
mov dword [ebp - 0x13c], 0x17
call fcn.0092bb18
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
lea edx, [ebp - 0x148]
mov dword [esp + 8], edx
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x158]
mov dword [esp], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x13c], 0x16
call eax
jmp 0x56afb5
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x1ac], edx
sub edx, 0xc
mov dword [ebp - 0x1a8], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1a8], 0x9aba1c
je 0x56b053
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1ac]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x13c], 0x14
call fcn.00815de4
test eax, eax
jg 0x56b053
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1a8]
mov dword [esp], edx
call fcn.00929958
jmp 0x56b053
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [ebp - method.Tile.virtual_0], vtable.Tile.0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x104], eax
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x100], eax
jmp 0x56b3d0
mov word [ebp - 0x10a], 0
mov word [ebp - 0x10c], 0
mov cl, 0
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x100]
sub eax, edx
cmp eax, 1
jle 0x56b0f1
movzx eax, word [edx]
mov word [ebp - 0x10a], ax
lea eax, [edx + 2]
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x100]
sub eax, edx
cmp eax, 1
jle 0x56b117
movzx eax, word [edx]
mov word [ebp - 0x10c], ax
lea eax, [edx + 2]
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x100]
sub eax, edx
test eax, eax
jle 0x56b135
movzx ecx, byte [edx]
lea eax, [edx + 1]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x1b0], 0
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x100]
sub eax, edx
cmp eax, 3
jle 0x56b163
mov eax, dword [edx]
mov dword [ebp - 0x1b0], eax
lea eax, [edx + 4]
mov dword [ebp - 0x104], eax
movzx eax, word [ebp - 0x10a]
movzx edx, word [ebp - 0x10c]
movzx ecx, cl
mov word [ebp - 0xf8], ax
mov word [ebp - 0xf6], dx
mov word [ebp - 0xf4], cx
cmp dword [ebp - 0x17c], 0
je 0x56b2e6
mov edx, dword [ebp - 0x17c]
cmp byte [edx + 5], 0
je 0x56b2e6
mov eax, dword [edx + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x9f3c80
mov dword [ebp - 0x13c], 0x13
call fcn.0048e89e
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x56b3d0
mov edx, eax
mov eax, dword [eax + 0x588]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0067e9b6
mov dword [ebp - 0x1b8], eax
dec dword [ebp - 0x1b0]
cmp dword [ebp - 0x1b0], 0xffffffff
je 0x56b251
mov dword [esp + 0xc], 1
mov edx, dword [ebp - 0x1b8]
lea eax, [edx + 0x14]
test edx, edx
jne 0x56b21c
mov eax, 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x150]
mov dword [esp], eax
mov dword [ebp - 0x13c], 0x13
call fcn.00573500
dec dword [ebp - 0x1b0]
cmp dword [ebp - 0x1b0], 0xffffffff
jne 0x56b202
mov edx, dword [ebp - 0x1b4]
cmp dword [edx + 0x224], 0
jne 0x56b3d0
cmp byte [0x9ab860], 0
jne 0x56b296
mov dword [esp], 0x9abaa0
mov dword [ebp - 0x13c], 0x13
call fcn.00826340
mov byte [0x9ab860], 1
mov dword [esp], 0x568b0a
call fcn.004012c0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x1b4]
mov dword [esp + 4], eax
mov dword [esp], 0x9abaa0
mov dword [ebp - 0x13c], 0x13
call fcn.0051b652
cmp dword [ebp - 0x1b4], 0
je 0x56b3d0
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 4]
jmp 0x56b3d0
movzx eax, word [ebp - 0xf4]
mov dword [esp + 0xc], eax
movzx eax, word [ebp - 0xf6]
mov dword [esp + 8], eax
movzx eax, word [ebp - 0xf8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov dword [ebp - 0x13c], 0x13
call fcn.005f88d4
mov dword [ebp - 0x1bc], eax
test eax, eax
je 0x56b37e
dec dword [ebp - 0x1b0]
cmp dword [ebp - 0x1b0], 0xffffffff
je 0x56b3d0
mov dword [esp + 0xc], 0
mov edx, dword [ebp - 0x1bc]
mov dword [esp + 8], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x150]
mov dword [esp], edx
mov dword [ebp - 0x13c], 0x13
call fcn.00573500
dec dword [ebp - 0x1b0]
cmp dword [ebp - 0x1b0], 0xffffffff
jne 0x56b339
jmp 0x56b3d0
mov dword [esp + 4], str._Error___IOMapSerialize::loadMapBinary__Unserialization_of_invalid_tile
mov dword [esp], 0x9fa560
mov dword [ebp - 0x13c], 0x13
call fcn.00987374
mov dword [esp + 4], str._at_position
mov dword [esp], eax
call fcn.00987374
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006a32d6
mov dword [esp + 4], fcn.009831d4
mov dword [esp], eax
call fcn.00927758
jmp 0x56b3f3
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x104]
jne 0x56b0b7
jmp 0x56b3f3
mov dword [ebp - method.Tile.virtual_0], vtable.Tile.0
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x13c], 0x1f
call eax
test al, al
jne 0x56abe9
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x13c], 0x1f
call eax
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0xf8]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b86f3
lea eax, [ebp - 0x108]
mov dword [esp], eax
mov dword [ebp - 0x13c], 0xa
call fcn.0092bb18
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x13c], 9
call fcn.00939554
jmp 0x56b58a
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1e8], eax
sub eax, 0xc
mov dword [ebp - 0x1e4], eax
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x1e4], 0x9aba1c
je 0x56b630
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1e8]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x13c], 7
call fcn.00815de4
test eax, eax
jg 0x56b630
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1e4]
mov dword [esp], eax
call fcn.00929958
jmp 0x56b630
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x13c], 0xb
call fcn.008b57ec
jmp 0x56b694
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x13c], 0xc
call fcn.00939e54
jmp 0x56b6f3
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x13c], 0xffffffff
call fcn.00816174
mov dword [ebp - 0x14c], 1
jmp 0x56ba2a
lea eax, [ebp - 0x140]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, dword [ebp - 0x14c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret