Function at 0x4a3f26
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
call fcn.0043f37c
mov dword [ebp - 0x120], eax
lea edi, [ebp - 0x110]
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.007507e0
mov dword [ebp - 0xdc], 0x839710
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov byte [ebp - 0x67], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov eax, dword [0x8210cc]
mov dword [ebp - 0x110], eax
mov esi, eax
sub esi, 0xc
mov eax, dword [esi]
mov edx, dword [0x8210d0]
mov dword [edi + eax], edx
mov dword [ebp - 0x10c], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax - 0xc]
lea eax, [edi + ecx]
mov dword [esp], eax
call fcn.007518a0
jmp 0x4a3fd0
mov edx, dword [0x8210d4]
mov dword [ebp - 0x108], edx
lea eax, [ebp - 0x108]
mov edx, dword [edx - 0xc]
mov ecx, dword [0x8210d8]
mov dword [eax + edx], ecx
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x108]
add eax, dword [edx - 0xc]
mov dword [esp], eax
call fcn.007518a0
jmp 0x4a4030
mov eax, dword [0x8210c8]
mov dword [ebp - 0x110], eax
lea ebx, [ebp - 0x110]
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210dc]
mov dword [ebx + eax], edx
mov eax, dword [0x8210e0]
mov dword [ebp - 0x108], eax
mov eax, dword [0x8210c4]
mov dword [ebp - 0x110], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210e4]
mov dword [ebx + eax], edx
mov eax, dword [0x8210e8]
mov dword [ebp - 0x108], eax
mov dword [ebp - method.c_streambufIwSt11char_traitsIwEE.virtual_0], vtable.c_streambufIwSt11char_traitsIwEE.0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.0072de18
mov dword [ebp - fcn.00718768], 0x838ce8
mov dword [ebp - 0xe4], 0x18
mov dword [ebp - 0xe0], 0x7bf7b0
lea eax, [ebp - 0x104]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x110]
add ebx, dword [eax - 0xc]
mov dword [esp], ebx
call fcn.007518a0
jmp 0x4a4131
mov dword [ebp - fcn.006668d4], vtable.o.14.0
mov dword [ebp - 0xdc], 0x824814
mov dword [ebp - 0x108], 0x824800
mov dword [esp], 0x8d18a0
call fcn.00647b78
jmp 0x4a418b
mov ecx, 0x7b9b78
cmp byte [ecx], 0
jne 0x4a41da
mov dword [esp], ecx
call fcn.00768148
test eax, eax
je 0x4a41da
mov dword [esp], 0x7c02e0
call fcn.0047b5fa
mov dword [esp], 0x7b9b78
call fcn.007681fc
mov dword [esp], 0x49f5d7
call section..text
jmp 0x4a41da
mov eax, dword [0x7c02f0]
mov dword [ebp - 0x124], eax
jmp 0x4a4bd0
mov edx, dword [ebp - 0x124]
mov ebx, dword [edx + 0x14]
test ebx, ebx
je 0x4a4bbc
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov edi, eax
mov esi, dword [ebx + 0x10]
mov dword [esp + 4], str.SELECT__price__FROM__houses__WHERE__id__
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str._AND__world_id__
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], str._LIMIT_1
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x120]
mov eax, dword [edx]
mov esi, dword [eax + 0x1c]
lea ecx, [ebp - 0x104]
mov dword [esp + 4], ecx
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea edx, [ebp - 0x54]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x120]
mov dword [esp], ecx
call esi
mov esi, eax
lea eax, [ebp - 0x54]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a42b8
test esi, esi
je 0x4a474f
mov eax, dword [esi]
mov edi, dword [eax]
lea eax, [ebp - 0x49]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d80a8
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
mov edi, eax
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x11c], edx
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a431b
cmp edi, dword [ebp - 0x11c]
je 0x4a4327
or dword [ebx + 0x2c], 0x40
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x10]
lea eax, [ebp - 0x41]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d7b48
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebp - 0x48]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0070342c
mov eax, dword [ebp - 0xe4]
test al, 3
jne 0x4a4376
mov esi, 0
jmp 0x4a437f
mov eax, dword [ebp - 0xe0]
mov esi, dword [eax - 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
lea ecx, [ebp - 0x104]
mov dword [esp], ecx
call fcn.00717e3c
jmp 0x4a43b7
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a43cb
mov dword [esp + 4], str.UPDATE__houses__SET
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.0076107c
test byte [ebx + 0x2c], 1
je 0x4a449b
mov edx, dword [ebp - 0x120]
mov eax, dword [edx]
mov esi, dword [eax + 0x20]
lea eax, [ebx + 0x30]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.00704290
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x120]
mov dword [esp + 4], ecx
mov dword [esp], edx
call esi
sub esp, 4
mov dword [esp + 4], str._name__
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
jmp 0x4a4471
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a4490
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0070479c
test byte [ebx + 0x2c], 2
je 0x4a44d6
mov esi, dword [ebx + 0x24]
mov dword [esp + 4], str._town__
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
test byte [ebx + 0x2c], 4
je 0x4a4511
mov esi, dword [ebx + 0x28]
mov dword [esp + 4], str._size__
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
test byte [ebx + 0x2c], 0x10
je 0x4a454c
mov esi, dword [ebx + 0x20]
mov dword [esp + 4], str._price__
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
test byte [ebx + 0x2c], 0x20
je 0x4a4587
mov esi, dword [ebx + 0x1c]
mov dword [esp + 4], str._rent__
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
lea edx, [ebx + 0xb4]
mov eax, dword [ebx + 0xb4]
cmp edx, eax
jne 0x4a459e
mov edi, 0
jmp 0x4a45aa
mov edi, 0
mov eax, dword [eax]
inc edi
cmp edx, eax
jne 0x4a45a3
lea edx, [ebx + 0xc4]
mov eax, dword [ebx + 0xc4]
cmp edx, eax
jne 0x4a45c1
mov esi, 0
jmp 0x4a45cd
mov esi, 0
mov eax, dword [eax]
inc esi
cmp edx, eax
jne 0x4a45c6
lea edx, [ebx + 0xbc]
mov eax, dword [ebx + 0xbc]
cmp edx, eax
jne 0x4a45e9
mov dword [ebp - 0x11c], 0
jmp 0x4a4615
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x128], esi
mov esi, ebx
mov ebx, 0
mov eax, dword [eax]
inc ebx
cmp edx, eax
jne 0x4a4600
mov dword [ebp - 0x11c], ebx
mov ebx, esi
mov esi, dword [ebp - 0x128]
mov dword [esp + 4], str._doors__
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
call fcn.0076107c
mov edx, dword [ebp - 0x11c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str.___beds__
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str.___tiles__
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00701d98
test byte [ebx + 0x2c], 8
je 0x4a46a8
mov dword [esp], ebx
call fcn.0047985c
movzx esi, al
mov dword [esp + 4], str.___guild__
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0070162c
lea edx, [ebp - 0x38]
mov ecx, dword [ebp - 0x120]
mov eax, dword [ecx]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 4
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov esi, eax
mov ebx, dword [ebx + 0x10]
mov dword [esp + 4], str._WHERE__id__
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str._AND__world_id__
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00702728
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a4ac5
lea eax, [ebp - 0x2d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d7b48
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0070342c
mov eax, dword [ebp - 0xe4]
test al, 3
jne 0x4a4796
mov esi, 0
jmp 0x4a479f
mov eax, dword [ebp - 0xe0]
mov esi, dword [eax - 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
lea edx, [ebp - 0x104]
mov dword [esp], edx
call fcn.00717e3c
jmp 0x4a47d7
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a47eb
mov dword [esp], ebx
call fcn.0047985c
mov byte [ebp - 0x139], al
lea edx, [ebx + 0xb4]
mov eax, dword [ebx + 0xb4]
cmp edx, eax
jne 0x4a4810
mov edi, 0
jmp 0x4a481c
mov edi, 0
mov eax, dword [eax]
inc edi
cmp edx, eax
jne 0x4a4815
lea edx, [ebx + 0xc4]
mov eax, dword [ebx + 0xc4]
cmp edx, eax
jne 0x4a4833
mov esi, 0
jmp 0x4a483f
mov esi, 0
mov eax, dword [eax]
inc esi
cmp edx, eax
jne 0x4a4838
lea edx, [ebx + 0xbc]
mov eax, dword [ebx + 0xbc]
cmp edx, eax
jne 0x4a485b
mov dword [ebp - 0x11c], 0
jmp 0x4a4887
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x128], esi
mov esi, ebx
mov ebx, 0
mov eax, dword [eax]
inc ebx
cmp edx, eax
jne 0x4a4872
mov dword [ebp - 0x11c], ebx
mov ebx, esi
mov esi, dword [ebp - 0x128]
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x138], ecx
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x134], eax
mov edx, dword [ebx + 0x28]
mov dword [ebp - 0x130], edx
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x120]
mov eax, dword [edx]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x128], eax
lea eax, [ebx + 0x30]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00704290
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x120]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [ebp - 0x128]
sub esp, 4
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov dword [ebp - 0x128], eax
mov ebx, dword [ebx + 0x10]
mov dword [esp + 4], str.INSERT_INTO__houses____id____world_id____owner____name____town____size____price____rent____doors____beds____tiles____guild___VALUES__
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x128]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], str.__0_
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
mov ecx, dword [ebp - 0x12c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x130]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
mov ecx, dword [ebp - 0x134]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x138]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
mov ecx, dword [ebp - 0x11c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], 0x7d7d67
mov dword [esp], eax
call fcn.0076107c
movzx edx, byte [ebp - 0x139]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0070162c
mov dword [esp + 4], 0x7d796c
mov dword [esp], eax
call fcn.0076107c
jmp 0x4a4a9b
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a4aba
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0070479c
mov edx, dword [ebp - 0x120]
mov eax, dword [edx]
mov ebx, dword [eax + 0x18]
lea ecx, [ebp - 0x104]
mov dword [esp + 4], ecx
lea eax, [ebp - 0x24]
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea edx, [ebp - 0x24]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x120]
mov dword [esp], ecx
call ebx
mov bl, al
lea eax, [ebp - 0x24]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a4b1b
test bl, bl
je 0x4a4c49
lea edx, [ebp - 0x19]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7d7b48
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebp - 0x20]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0070342c
mov eax, dword [ebp - 0xe4]
test al, 3
jne 0x4a4b6a
mov ebx, 0
jmp 0x4a4b73
mov eax, dword [ebp - 0xe0]
mov ebx, dword [eax - 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
lea ecx, [ebp - 0x104]
mov dword [esp], ecx
call fcn.00717e3c
jmp 0x4a4bab
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4a4bbc
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call fcn.00757c28
mov dword [ebp - 0x124], eax
mov edx, 0x7b9b78
cmp byte [edx], 0
jne 0x4a4c1c
mov dword [esp], edx
call fcn.00768148
test eax, eax
je 0x4a4c1c
mov dword [esp], 0x7c02e0
call fcn.0047b5fa
mov dword [esp], 0x7b9b78
call fcn.007681fc
mov dword [esp], 0x49f5d7
call section..text
jmp 0x4a4c1c
mov ecx, 0x7c02e8
cmp ecx, dword [ebp - 0x124]
jne 0x4a41ea
mov bl, 1
jmp 0x4a4c4b
mov bl, 0
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret