Function at 0x4a2a98
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
call fcn.0043f37c
mov edi, eax
lea ebx, [ebp - 0x108]
lea eax, [ebp - 0xd4]
mov dword [esp], eax
call fcn.007507e0
mov dword [ebp - 0xd4], 0x839710
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
mov byte [ebp - 0x5f], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov eax, dword [0x8210cc]
mov dword [ebp - 0x108], eax
mov esi, eax
sub esi, 0xc
mov eax, dword [esi]
mov edx, dword [0x8210d0]
mov dword [ebp + eax - 0x108], edx
mov dword [ebp - 0x104], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x108]
mov edx, ebx
add edx, dword [eax - 0xc]
mov dword [esp], edx
call fcn.007518a0
jmp 0x4a2b41
mov eax, dword [0x8210d4]
mov dword [ebp - 0x100], eax
lea edx, [ebp - 0x100]
mov eax, dword [eax - 0xc]
mov ecx, dword [0x8210d8]
mov dword [edx + eax], ecx
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x100]
add edx, dword [eax - 0xc]
mov dword [esp], edx
call fcn.007518a0
jmp 0x4a2ba4
mov eax, dword [0x8210c8]
mov dword [ebp - 0x108], eax
lea ebx, [ebp - 0x108]
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210dc]
mov dword [ebx + eax], edx
mov eax, dword [0x8210e0]
mov dword [ebp - 0x100], eax
mov eax, dword [0x8210c4]
mov dword [ebp - 0x108], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210e4]
mov dword [ebx + eax], edx
mov eax, dword [0x8210e8]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], vtable.c_streambufIwSt11char_traitsIwEE.0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0072de18
mov dword [ebp - 0xfc], 0x838ce8
mov dword [ebp - 0xdc], 0x18
mov dword [ebp - 0xd8], 0x7bf7b0
lea eax, [ebp - 0xfc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x108]
add ebx, dword [eax - 0xc]
mov dword [esp], ebx
call fcn.007518a0
jmp 0x4a2ca5
mov dword [ebp - fcn.006668d4], vtable.o.14.0
mov dword [ebp - 0xd4], 0x824814
mov dword [ebp - 0x100], 0x824800
mov dword [esp], 0x8d18a0
call fcn.00647b78
jmp 0x4a2cff
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov ebx, eax
mov dword [esp + 4], str.SELECT__house_id____data__FROM__house_data__WHERE__world_id__
lea eax, [ebp - 0x100]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00702728
mov eax, dword [edi]
mov ebx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0xfc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edi
call ebx
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a2d85
mov bl, 0
cmp dword [ebp - 0x118], 0
je 0x4a3190
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ebx, dword [eax]
lea eax, [ebp - 0x21]
mov dword [esp + 8], eax
mov dword [esp + 4], str.house_id
lea edx, [ebp - 0x28]
mov dword [esp], edx
call fcn.007041ec
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x118]
mov dword [esp], edx
call ebx
mov ebx, eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a2df2
cmp byte [0x7b9b78], 0
jne 0x4a2e44
mov dword [esp], 0x7b9b78
call fcn.00768148
test eax, eax
je 0x4a2e44
mov dword [esp], 0x7c02e0
call fcn.0047b5fa
mov dword [esp], 0x7b9b78
call fcn.007681fc
mov dword [esp], 0x49f5d7
call section..text
jmp 0x4a2e44
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x7c02e0
call fcn.0047b950
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ebx, dword [eax + 0xc]
lea eax, [ebp - 0x19]
mov dword [esp + 8], eax
mov dword [esp + 4], str.data
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x40]
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x118]
mov dword [esp], edx
call ebx
mov ebx, eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a2ed6
mov dword [ebp - 0x4c], vtable.Tile.0
mov dword [ebp - 0x48], ebx
add ebx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ebx
jmp 0x4a313b
sub edx, eax
cmp edx, 1
jg 0x4a2f02
mov word [ebp - 0x10c], 0
mov edi, 0
jmp 0x4a2f2c
mov dx, word [eax]
mov word [ebp - 0x10c], dx
add eax, 2
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x44]
sub edx, eax
cmp edx, 1
jg 0x4a2f23
mov edi, 0
jmp 0x4a2f2c
mov di, word [eax]
add eax, 2
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub edx, eax
test edx, edx
jg 0x4a2f3c
mov bl, 0
jmp 0x4a2f42
mov bl, byte [eax]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub edx, eax
cmp edx, 3
jg 0x4a2f56
mov esi, 0
jmp 0x4a2f5e
mov esi, dword [eax]
add eax, 4
mov dword [ebp - 0x48], eax
movzx ebx, bl
mov word [ebp - 0x112], bx
mov eax, dword [ebp - 0x10c]
mov word [ebp - 0x32], ax
mov word [ebp - 0x30], di
mov word [ebp - 0x2e], bx
cmp dword [ebp - 0x110], 0
je 0x4a31a8
mov edx, dword [ebp - 0x110]
cmp byte [edx + 5], 0
je 0x4a31a8
mov eax, dword [edx + 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0x8e00c0
call fcn.0046470c
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x4a313b
mov dword [esp + 8], 1
mov edx, eax
mov eax, dword [eax + 0x5a4]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0052ce78
mov ebx, eax
lea edi, [eax + 0x14]
jmp 0x4a3007
test ebx, ebx
jne 0x4a2fe6
mov eax, 0
jmp 0x4a2fe8
mov eax, edi
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.0049ff90
dec esi
test esi, esi
jne 0x4a2fdb
mov eax, dword [ebp - 0x10c]
cmp dword [eax + 0x220], 0
jne 0x4a313b
cmp byte [0x7b9ab0], 0
jne 0x4a3098
mov dword [esp], 0x7b9ab0
call fcn.00768148
test eax, eax
je 0x4a3098
mov dword [0x7bfe20], vtable.rType.0
mov edx, 0x7bfe28
mov al, 0
mov ecx, 0x10
mov edi, edx
rep stosb byte es:[edi], al
mov dword [edi], 0
mov dword [0x7bfe30], edx
mov dword [0x7bfe34], edx
mov edx, 0x7bfe40
mov cl, 0x10
mov edi, edx
rep stosb byte es:[edi], al
mov dword [edi], 0
mov dword [0x7bfe48], edx
mov dword [0x7bfe4c], edx
mov dword [esp], 0x7b9ab0
call fcn.007681fc
mov dword [esp], 0x4a6678
call section..text
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov edx, dword [ebp - 0x10c]
mov dword [esp + 4], edx
mov dword [esp], 0x7bfe20
call fcn.00498070
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 4]
jmp 0x4a313b
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.0049ff90
dec esi
test esi, esi
jne 0x4a30ce
jmp 0x4a313b
mov dword [esp + 4], str._Error___IOMapSerialize::loadMapBinary__Unserialization_of_invalid_tile
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str._at_position
mov dword [esp], eax
call fcn.0076107c
lea edx, [ebp - 0x32]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00543058
mov dword [esp], eax
call fcn.0075c288
jmp 0x4a3149
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
cmp edx, eax
jne 0x4a2eeb
mov dword [ebp - 0x4c], vtable.Tile.0
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 0x14]
test al, al
jne 0x4a2d94
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 0x10]
jmp 0x4a318e
mov bl, 1
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
movzx ebx, word [ebp - 0x112]
mov dword [esp + 0xc], ebx
movzx ebx, di
mov dword [esp + 8], ebx
movzx ebx, word [ebp - 0x10c]
mov dword [esp + 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004ef094
mov ebx, eax
test eax, eax
jne 0x4a30ed
jmp 0x4a30f3