Function at 0x486930
Capabilities:
Reference sql statements

Disassembly:
test dword [0x87ed4c], 0xfffff000
jne 0x486960
test dword [0x87ed4c], 0xffffffff
jne 0x487460
call fcn.007663a0
jmp fcn.00486930
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7728a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov esi, ecx
mov eax, dword [ebp + 0x10]
movzx ecx, byte [0x84f380]
mov dword [ebp - 0x4c], eax
xor edx, edx
mov eax, ecx
bts eax, edx
jae 0x487426
test cl, 2
je 0x4873ea
test cl, 4
je 0x4873ae
test cl, 8
je 0x487379
mov ebx, dword [ebp + 8]
cmp ebx, dword [ebp + 0xc]
jne 0x4869db
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0x84f820
mov ecx, esi
push 0
push ebx
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x486a09
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0x84f82c
mov ecx, esi
push 0
push dword [ebp + 0xc]
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x486a39
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x84f824]
mov edx, dword [0x84f820]
mov dword [ebp - 0x54], eax
sub eax, edx
sar eax, 4
mov dword [ebp - 0x50], edx
cmp eax, 1
jbe 0x486ae0
mov dword [ebp - 4], 4
xor eax, eax
cmp edx, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], al
je 0x486d20
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
cmp edx, eax
je 0x486acd
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x58]
mov edi, eax
sub edi, edx
sar edi, 4
mov dword [ebp - 0x5c], edi
sar ecx, 4
cmp ecx, edi
jb 0x486ab5
lea edi, [ebp - 0x33]
push edi
lea ecx, [ebp - 0x30]
push dword [ebp - 0x5c]
push eax
push edx
push dword [ebp - 0x58]
call fcn.0048d010
jmp 0x486ac5
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x30]
push eax
push edx
push dword [ebp - 0x58]
call fcn.0048d310
mov eax, dword [0x84f824]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
add eax, 0x10
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
jne 0x486a76
jmp 0x486d13
mov eax, dword [0x84f830]
mov edx, dword [0x84f82c]
mov dword [ebp - 0x54], eax
sub eax, edx
sar eax, 4
mov dword [ebp - 0x50], edx
cmp eax, 1
ja 0x487221
cmp dword [ebp - 0x4c], 0
jl 0x48720c
cmp dword [ebp - 0x4c], 3
je 0x4870cb
cmp dword [ebp - 0x4c], 0
je 0x486b32
cmp dword [ebp - 0x4c], 2
je 0x486bc2
cmp dword [ebp - 0x4c], 1
je 0x486dde
jmp 0x486ce8
push ebx
push str.SELECT_one_way_FROM_mp_line_WHERE_id___i_
call fcn.0051fe70
add esp, 8
mov edx, eax
mov eax, dword [esi]
mov dword [esi + 4], edx
add esp, 0xfffffff8
call fcn.004ffa50
add esp, 8
test eax, eax
jl 0x487080
mov eax, dword [esi + 4]
test eax, eax
je 0x486b68
push eax
call fcn.004c69c4
pop ecx
push dword [ebp + 0xc]
push str.SELECT_one_way_FROM_mp_line_WHERE_id___i_
call fcn.0051fe70
add esp, 8
mov edx, eax
mov eax, dword [esi]
mov dword [esi + 4], edx
add esp, 0xfffffff8
call fcn.004ffa50
add esp, 8
test eax, eax
jl 0x487031
mov eax, dword [esi + 4]
test eax, eax
je 0x486ba0
push eax
call fcn.004c69c4
pop ecx
push ebx
mov ecx, esi
call fcn.00487f50
push 0x84f820
mov ecx, esi
push 0
push ebx
call fcn.004ff700
movzx eax, al
test eax, eax
je 0x487065
mov edi, dword [0x84f820]
mov eax, dword [edi + 4]
mov ecx, dword [0x84f82c]
mov dword [ebp - 0x4c], edi
mov edi, dword [edi]
mov dword [ebp - 0x58], eax
neg edi
add edi, eax
sar edi, 4
lea edx, [edi - 1]
mov eax, dword [ecx]
mov dword [ebp - 0x5c], edx
add eax, 0x10
mov edx, dword [ecx + 4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
cmp eax, edx
je 0x486c38
mov eax, edx
sub eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
sar eax, 4
mov ecx, dword [edx + 8]
sub ecx, dword [edx + 4]
sar ecx, 4
cmp ecx, eax
jb 0x486c27
mov ecx, edx
lea edx, [ebp - 0x4c]
push edx
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
call fcn.0048d010
jmp 0x486c38
mov ecx, edx
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
call fcn.0048d310
push 0x84f838
mov ecx, esi
push ebx
call fcn.0052e020
push 0x84f844
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0052e020
mov eax, dword [0x84f844]
mov edx, dword [0x84f848]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], edx
cmp eax, edx
jae 0x486c7b
mov edx, dword [eax]
lea ecx, [edx + edi - 1]
mov dword [eax], ecx
add eax, 0xf0
cmp eax, dword [ebp - 0x48]
jb 0x486c69
mov ecx, dword [0x84f83c]
mov edi, dword [0x84f838]
neg edi
add edi, ecx
mov eax, 0x88888889
imul edi
add edx, edi
sar edx, 7
sar edi, 0x1f
sub edx, edi
jne 0x486ffb
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x54]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 7
sar ecx, 0x1f
sub edx, ecx
mov dword [ebp - 0x50], edx
jne 0x486f8e
push 0x84f820
mov ecx, esi
push 0
push ebx
call fcn.0048db90
push 0x84f838
mov ecx, esi
push ebx
call fcn.0048d800
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0048d780
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x84f820]
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
jne 0x486d5f
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x84f820
call fcn.0048b2e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x486d53
mov edx, dword [ebp - 0x28]
sub edx, eax
and edx, 0xfffffff0
cmp edx, 0x80
jbe 0x486db6
push eax
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x486ae0
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
je 0x486da9
mov dword [ebp - 4], 5
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
test edx, edx
je 0x486d94
mov eax, dword [eax + 8]
sub eax, edx
and eax, 0xfffffff0
cmp eax, 0x80
jbe 0x486dca
push edx
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x58]
add eax, 0x10
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
jne 0x486d6e
mov eax, dword [ebp - 0x5c]
mov dword [0x84f824], eax
jmp 0x486d20
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005d3210
add esp, 8
jmp 0x486d53
add esp, 0xfffffff8
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005d3210
add esp, 8
jmp 0x486d94
mov edi, dword [0x84f82c]
mov eax, dword [edi + 4]
mov ecx, dword [0x84f820]
mov dword [ebp - 0x4c], edi
mov edi, dword [edi]
mov dword [ebp - 0x58], eax
neg edi
add edi, eax
sar edi, 4
lea edx, [edi - 1]
mov eax, dword [ecx]
mov dword [ebp - 0x5c], edx
add eax, 0x10
mov edx, dword [ecx + 4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
cmp eax, edx
je 0x486e54
mov eax, edx
sub eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
sar eax, 4
mov ecx, dword [edx + 8]
sub ecx, dword [edx + 4]
sar ecx, 4
cmp ecx, eax
jb 0x486e43
mov ecx, edx
lea edx, [ebp - 0x4c]
push edx
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
call fcn.0048d010
jmp 0x486e54
mov ecx, edx
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
call fcn.0048d310
push 0x84f838
mov ecx, esi
push ebx
call fcn.0052e020
push 0x84f844
mov ecx, esi
push dword [ebp + 0xc]
call fcn.0052e020
mov eax, dword [0x84f838]
mov edx, dword [0x84f83c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
cmp eax, edx
jae 0x486e97
mov edx, dword [eax]
lea ecx, [edx + edi - 1]
mov dword [eax], ecx
add eax, 0xf0
cmp eax, dword [ebp - 0x50]
jb 0x486e85
mov ecx, dword [0x84f848]
mov edi, dword [0x84f844]
neg edi
add edi, ecx
mov eax, 0x88888889
imul edi
add edx, edi
sar edx, 7
sar edi, 0x1f
sub edx, edi
jne 0x486f58
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x54]
mov eax, 0x88888889
imul ecx
mov edi, edx
add edi, ecx
sar edi, 7
sar ecx, 0x1f
sub edi, ecx
jne 0x486efa
push 0x84f82c
mov ecx, esi
push 0
push ebx
call fcn.0048db90
push 0x84f844
mov ecx, esi
push ebx
call fcn.0048d800
jmp 0x486cde
mov eax, dword [0x84f848]
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
je 0x486ed9
mov ecx, dword [0x84f84c]
sub ecx, dword [ebp - 0x5c]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 7
sar ecx, 0x1f
sub edx, ecx
cmp edx, edi
jb 0x486f42
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x84f844
push edi
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
call fcn.0048bfa0
jmp 0x486ed9
push edi
mov ecx, 0x84f844
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
call fcn.0048cd30
jmp 0x486ed9
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ecx - 0xf0]
jne 0x486ebe
add ecx, 0xffffff10
mov dword [0x84f848], ecx
call fcn.00514000
mov eax, dword [0x84f838]
mov edx, dword [0x84f83c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
jmp 0x486ebe
mov eax, dword [0x84f83c]
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
je 0x486cc2
mov ecx, dword [0x84f840]
sub ecx, dword [ebp - 0x5c]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 7
sar ecx, 0x1f
sub edx, ecx
cmp edx, dword [ebp - 0x50]
jb 0x486fe0
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x84f838
push dword [ebp - 0x50]
push dword [ebp - 0x48]
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
call fcn.0048bfa0
jmp 0x486cc2
push dword [ebp - 0x50]
push dword [ebp - 0x48]
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
mov ecx, 0x84f838
call fcn.0048cd30
jmp 0x486cc2
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ecx - 0xf0]
jne 0x486ca2
add ecx, 0xffffff10
mov dword [0x84f83c], ecx
call fcn.00514000
mov eax, dword [0x84f848]
mov edx, dword [0x84f844]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x54], edx
jmp 0x486ca2
mov eax, dword [esi + 4]
test eax, eax
je 0x48703f
push eax
call fcn.004c69c4
pop ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00487f50
push 0x84f82c
mov ecx, esi
push 0
push dword [ebp + 0xc]
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x486dde
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
test eax, eax
je 0x48708e
push eax
call fcn.004c69c4
pop ecx
push ebx
mov ecx, esi
call fcn.00487f50
push 0x84f820
mov ecx, esi
push 0
push ebx
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x486bc2
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push ebx
push str.SELECT_one_way_FROM_mp_line_WHERE_id___i_
call fcn.0051fe70
add esp, 8
mov edx, eax
mov eax, dword [esi]
mov dword [esi + 4], edx
add esp, 0xfffffff8
call fcn.004ffa50
add esp, 8
test eax, eax
jl 0x4871c1
mov eax, dword [esi + 4]
test eax, eax
je 0x487101
push eax
call fcn.004c69c4
pop ecx
push dword [ebp + 0xc]
push str.SELECT_one_way_FROM_mp_line_WHERE_id___i_
call fcn.0051fe70
add esp, 8
mov edx, eax
mov eax, dword [esi]
mov dword [esi + 4], edx
add esp, 0xfffffff8
call fcn.004ffa50
add esp, 8
test eax, eax
jl 0x487172
mov eax, dword [esi + 4]
test eax, eax
je 0x487135
push eax
call fcn.004c69c4
pop ecx
push ebx
mov ecx, esi
call fcn.00487f50
push 0x84f820
mov ecx, esi
push 0
push ebx
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x486dde
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
test eax, eax
je 0x487180
push eax
call fcn.004c69c4
pop ecx
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00487f50
push 0x84f82c
mov ecx, esi
push 0
push dword [ebp + 0xc]
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x486bc2
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
test eax, eax
je 0x4871cf
push eax
call fcn.004c69c4
pop ecx
push ebx
mov ecx, esi
call fcn.00487f50
push 0x84f820
mov ecx, esi
push 0
push ebx
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x486dde
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 1
mov ecx, esi
push dword [ebp + 0xc]
push ebx
call fcn.00484a90
mov dword [ebp - 0x4c], eax
jmp 0x486b09
mov dword [ebp - 4], 2
xor eax, eax
cmp edx, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], al
je 0x4872ab
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx]
mov dword [ebp - 0x58], ecx
cmp eax, ecx
je 0x487290
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x5c]
sub ecx, eax
sar ecx, 4
sar edx, 4
cmp edx, ecx
jb 0x487278
lea edx, [ebp - 0x34]
push edx
push ecx
lea ecx, [ebp - 0x44]
push dword [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
call fcn.0048d010
jmp 0x487288
push ecx
lea ecx, [ebp - 0x44]
push dword [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
call fcn.0048d310
mov eax, dword [0x84f830]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
add eax, 0x10
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
jne 0x48723b
mov eax, dword [0x84f82c]
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
jne 0x4872f7
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x84f82c
call fcn.0048b2e0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4872de
mov edx, dword [ebp - 0x3c]
sub edx, eax
and edx, 0xfffffff0
cmp edx, 0x80
jbe 0x48734e
push eax
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x486aff
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
je 0x487341
mov dword [ebp - 4], 3
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
test edx, edx
je 0x48732c
mov eax, dword [eax + 8]
sub eax, edx
and eax, 0xfffffff0
cmp eax, 0x80
jbe 0x487365
push edx
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0x10
cmp eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
jne 0x487306
mov eax, dword [ebp - 0x5c]
mov dword [0x84f830], eax
jmp 0x4872ab
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005d3210
add esp, 8
jmp 0x4872de
add esp, 0xfffffff8
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005d3210
add esp, 8
jmp 0x48732c
mov dword [ebp - 4], 7
or ecx, 8
mov byte [0x84f380], cl
lea eax, [ebp - 0x1f]
mov ecx, 0x84f844
push eax
call fcn.00500bb0
push 0x539520
call fcn.00744438
pop ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x4869bb
mov dword [ebp - 4], 9
or ecx, 4
mov byte [0x84f380], cl
lea eax, [ebp - 0x20]
mov ecx, 0x84f838
push eax
call fcn.00500bb0
push 0x5396f0
call fcn.00744438
pop ecx
mov dword [ebp - 4], 0xffffffff
movzx ecx, byte [0x84f380]
jmp 0x4869b2
mov dword [ebp - 4], 0xb
or ecx, 2
mov byte [0x84f380], cl
lea eax, [ebp - 0x31]
mov ecx, 0x84f82c
push eax
call fcn.00500bb0
push 0x5398c0
call fcn.00744438
pop ecx
mov dword [ebp - 4], 0xffffffff
movzx ecx, byte [0x84f380]
jmp 0x4869a9
mov dword [ebp - 4], 0xd
mov byte [0x84f380], al
lea eax, [ebp - 0x32]
mov ecx, 0x84f820
push eax
call fcn.00500bb0
push 0x539970
call fcn.00744438
pop ecx
mov dword [ebp - 4], 0xffffffff
movzx ecx, byte [0x84f380]
jmp 0x4869a0
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7728e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov edi, ecx
mov ebx, dword [ebp + 0x10]
movzx eax, byte [0x84f384]
test al, 1
je 0x487f12
test al, 2
je 0x487ed7
test al, 4
je 0x487e9c
test al, 8
je 0x487e68
mov esi, dword [ebp + 8]
cmp esi, dword [ebp + 0xc]
jne 0x4874d3
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0x84f820
push 0
push esi
mov ecx, edi
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x487504
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0x84f82c
push 0
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x487537
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x84f824]
mov dword [ebp - 0x54], eax
mov edx, dword [0x84f820]
mov dword [ebp - 0x50], edx
sub eax, edx
sar eax, 4
cmp eax, 1
jbe 0x4875e3
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], al
cmp edx, dword [ebp - 0x54]
je 0x48781a
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x4c], ecx
cmp eax, ecx
je 0x4875d0
sub ecx, eax
sar ecx, 4
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x58]
sar edx, 4
cmp edx, ecx
jb 0x4875b6
lea edx, [ebp - 0x33]
push edx
push dword [ebp - 0x5c]
push dword [ebp - 0x4c]
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.0048d010
jmp 0x4875c8
push dword [ebp - 0x5c]
push dword [ebp - 0x4c]
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.0048d310
mov eax, dword [0x84f824]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
add eax, 0x10
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x54]
jne 0x487574
jmp 0x48780d
mov eax, dword [0x84f830]
mov dword [ebp - 0x54], eax
mov edx, dword [0x84f82c]
mov dword [ebp - 0x50], edx
sub eax, edx
sar eax, 4
cmp eax, 1
ja 0x487d0e
test ebx, ebx
jl 0x487cfa
cmp ebx, 3
je 0x487bb9
test ebx, ebx
je 0x48762e
cmp ebx, 2
je 0x4876be
cmp ebx, 1
je 0x4878d8
jmp 0x4877e2
push esi
push str.SELECT_one_way_FROM_mp_line_WHERE_id___i_
call fcn.0051fe70
add esp, 8
mov edx, eax
mov dword [edi + 4], edx
add esp, 0xfffffff8
mov eax, dword [edi]
call fcn.004ffa50
add esp, 8
test eax, eax
jl 0x487b6e
mov eax, dword [edi + 4]
test eax, eax
je 0x487664
push eax
call fcn.004c69c4
pop ecx
push dword [ebp + 0xc]
push str.SELECT_one_way_FROM_mp_line_WHERE_id___i_
call fcn.0051fe70
add esp, 8
mov edx, eax
mov dword [edi + 4], edx
add esp, 0xfffffff8
mov eax, dword [edi]
call fcn.004ffa50
add esp, 8
test eax, eax
jl 0x487b1f
mov eax, dword [edi + 4]
test eax, eax
je 0x48769c
push eax
call fcn.004c69c4
pop ecx
push esi
mov ecx, edi
call fcn.00487f50
push 0x84f820
push 0
push esi
mov ecx, edi
call fcn.004ff700
movzx eax, al
test eax, eax
je 0x487b53
mov ebx, dword [0x84f820]
mov dword [ebp - 0x50], ebx
mov eax, dword [ebx + 4]
mov dword [ebp - 0x58], eax
mov ebx, dword [ebx]
neg ebx
add ebx, eax
sar ebx, 4
lea edx, [ebx - 1]
mov dword [ebp - 0x5c], edx
mov ecx, dword [0x84f82c]
mov eax, dword [ecx]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov edx, dword [ecx + 4]
mov dword [ebp - 0x54], edx
cmp eax, edx
je 0x487735
mov eax, edx
sub eax, dword [ebp - 0x4c]
sar eax, 4
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 8]
sub ecx, dword [edx + 4]
sar ecx, 4
cmp ecx, eax
jb 0x487724
lea edx, [ebp - 0x48]
push edx
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
call fcn.0048d010
jmp 0x487735
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
push dword [ebp - 0x58]
mov ecx, edx
call fcn.0048d310
push 0x84f838
push esi
mov ecx, edi
call fcn.0052e020
push 0x84f844
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0052e020
mov eax, dword [0x84f844]
mov dword [ebp - 0x54], eax
mov ecx, dword [0x84f848]
cmp eax, ecx
jae 0x487774
mov edx, dword [eax]
lea edx, [edx + ebx - 1]
mov dword [eax], edx
add eax, 0xf0
cmp eax, ecx
jb 0x487763
mov eax, dword [0x84f83c]
mov dword [ebp - 0x58], eax
mov ebx, dword [0x84f838]
neg ebx
add ebx, eax
mov eax, 0x88888889
imul ebx
add edx, ebx
sar edx, 7
sar ebx, 0x1f
sub edx, ebx
jne 0x487ae7
mov ebx, ecx
sub ebx, dword [ebp - 0x54]
mov eax, 0x88888889
imul ebx
add edx, ebx
sar edx, 7
sar ebx, 0x1f
sub edx, ebx
mov dword [ebp - 0x50], edx
jne 0x487a81
push 0x84f820
push 0
push esi
mov ecx, edi
call fcn.0048db90
push 0x84f838
push esi
mov ecx, edi
call fcn.0048d800
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0048d780
mov eax, 1
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x84f820]
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebp - 0x54]
jne 0x487859
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x84f820
call fcn.0048b2e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x48784d
mov edx, dword [ebp - 0x28]
sub edx, eax
and edx, 0xfffffff0
cmp edx, 0x80
jbe 0x4878b0
push eax
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x4875e3
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x54]
je 0x4878a3
mov dword [ebp - 4], 5
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
test edx, edx
je 0x48788e
mov eax, dword [eax + 8]
sub eax, edx
and eax, 0xfffffff0
cmp eax, 0x80
jbe 0x4878c4
push edx
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x58]
add eax, 0x10
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x54]
jne 0x487868
mov eax, dword [ebp - 0x5c]
mov dword [0x84f824], eax
jmp 0x48781a
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005d3210
add esp, 8
jmp 0x48784d
add esp, 0xfffffff8
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005d3210
add esp, 8
jmp 0x48788e
mov edx, dword [0x84f82c]
mov dword [ebp - 0x50], edx
mov eax, dword [edx + 4]
mov dword [ebp - 0x58], eax
mov ecx, dword [edx]
neg ecx
add ecx, eax
sar ecx, 4
mov dword [ebp - 0x4c], ecx
lea ebx, [ecx - 1]
mov dword [ebp - 0x5c], ebx
mov eax, dword [0x84f820]
mov edx, dword [eax]
add edx, 0x10
mov ecx, dword [eax + 4]
mov dword [ebp - 0x54], ecx
cmp edx, ecx
je 0x487944
mov eax, ecx
sub eax, edx
sar eax, 4
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ecx + 8]
sub ebx, dword [ecx + 4]
sar ebx, 4
cmp ebx, eax
jb 0x487937
lea ebx, [ebp - 0x50]
push ebx
push eax
push dword [ebp - 0x54]
push edx
push dword [ebp - 0x58]
call fcn.0048d010
jmp 0x487944
push eax
push dword [ebp - 0x54]
push edx
push dword [ebp - 0x58]
call fcn.0048d310
push 0x84f838
push esi
mov ecx, edi
call fcn.0052e020
push 0x84f844
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0052e020
mov eax, dword [0x84f838]
mov dword [ebp - 0x54], eax
mov edx, dword [0x84f83c]
mov dword [ebp - 0x48], edx
cmp eax, edx
jae 0x48798a
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
lea ebx, [edx + ecx - 1]
mov dword [eax], ebx
add eax, 0xf0
cmp eax, dword [ebp - 0x48]
jb 0x487975
mov ecx, dword [0x84f848]
mov ebx, dword [0x84f844]
neg ebx
add ebx, ecx
mov eax, 0x88888889
imul ebx
add edx, ebx
sar edx, 7
sar ebx, 0x1f
sub edx, ebx
jne 0x487a4b
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x54]
mov eax, 0x88888889
imul ecx
mov ebx, edx
add ebx, ecx
sar ebx, 7
sar ecx, 0x1f
sub ebx, ecx
jne 0x4879ed
push 0x84f82c
push 0
push esi
mov ecx, edi
call fcn.0048db90
push 0x84f844
push esi
mov ecx, edi
call fcn.0048d800
jmp 0x4877d8
mov eax, dword [0x84f848]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x54]
je 0x4879cc
mov ecx, dword [0x84f84c]
sub ecx, dword [ebp - 0x5c]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 7
sar ecx, 0x1f
sub edx, ecx
cmp edx, ebx
jb 0x487a35
lea eax, [ebp - 0x58]
push eax
push ebx
push dword [ebp - 0x48]
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
mov ecx, 0x84f844
call fcn.0048bfa0
jmp 0x4879cc
push ebx
push dword [ebp - 0x48]
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
mov ecx, 0x84f844
call fcn.0048cd30
jmp 0x4879cc
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ecx - 0xf0]
jne 0x4879b1
add ecx, 0xffffff10
mov dword [0x84f848], ecx
call fcn.00514000
mov eax, dword [0x84f838]
mov dword [ebp - 0x54], eax
mov edx, dword [0x84f83c]
mov dword [ebp - 0x48], edx
jmp 0x4879b1
mov eax, dword [0x84f83c]
mov dword [ebp - 0x5c], eax
cmp ecx, dword [ebp - 0x54]
je 0x4877bc
mov ebx, dword [0x84f840]
sub ebx, dword [ebp - 0x5c]
mov eax, 0x88888889
imul ebx
add edx, ebx
sar edx, 7
sar ebx, 0x1f
sub edx, ebx
cmp edx, dword [ebp - 0x50]
jb 0x487ace
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x50]
push ecx
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
mov ecx, 0x84f838
call fcn.0048bfa0
jmp 0x4877bc
push dword [ebp - 0x50]
push ecx
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
mov ecx, 0x84f838
call fcn.0048cd30
jmp 0x4877bc
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
cmp eax, dword [edx - 0xf0]
jne 0x48779d
mov ecx, edx
add ecx, 0xffffff10
mov dword [0x84f83c], ecx
call fcn.00514000
mov ecx, dword [0x84f848]
mov eax, dword [0x84f844]
mov dword [ebp - 0x54], eax
jmp 0x48779d
mov eax, dword [edi + 4]
test eax, eax
je 0x487b2d
push eax
call fcn.004c69c4
pop ecx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00487f50
push 0x84f82c
push 0
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x4878d8
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 4]
test eax, eax
je 0x487b7c
push eax
call fcn.004c69c4
pop ecx
push esi
mov ecx, edi
call fcn.00487f50
push 0x84f820
push 0
push esi
mov ecx, edi
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x4876be
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push esi
push str.SELECT_one_way_FROM_mp_line_WHERE_id___i_
call fcn.0051fe70
add esp, 8
mov edx, eax
mov dword [edi + 4], edx
add esp, 0xfffffff8
mov eax, dword [edi]
call fcn.004ffa50
add esp, 8
test eax, eax
jl 0x487caf
mov eax, dword [edi + 4]
test eax, eax
je 0x487bef
push eax
call fcn.004c69c4
pop ecx
push dword [ebp + 0xc]
push str.SELECT_one_way_FROM_mp_line_WHERE_id___i_
call fcn.0051fe70
add esp, 8
mov edx, eax
mov dword [edi + 4], edx
add esp, 0xfffffff8
mov eax, dword [edi]
call fcn.004ffa50
add esp, 8
test eax, eax
jl 0x487c60
mov eax, dword [edi + 4]
test eax, eax
je 0x487c23
push eax
call fcn.004c69c4
pop ecx
push esi
mov ecx, edi
call fcn.00487f50
push 0x84f820
push 0
push esi
mov ecx, edi
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x4878d8
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 4]
test eax, eax
je 0x487c6e
push eax
call fcn.004c69c4
pop ecx
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00487f50
push 0x84f82c
push 0
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x4876be
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 4]
test eax, eax
je 0x487cbd
push eax
call fcn.004c69c4
pop ecx
push esi
mov ecx, edi
call fcn.00487f50
push 0x84f820
push 0
push esi
mov ecx, edi
call fcn.004ff700
movzx eax, al
test eax, eax
jne 0x4878d8
xor eax, eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 1
push dword [ebp + 0xc]
push esi
mov ecx, edi
call fcn.00484a90
mov ebx, eax
jmp 0x48760a
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], al
cmp edx, dword [ebp - 0x54]
je 0x487d9a
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x58], ecx
cmp edx, ecx
je 0x487d7f
mov eax, ecx
sub eax, edx
sar eax, 4
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x5c]
sar ecx, 4
cmp ecx, eax
jb 0x487d67
lea ecx, [ebp - 0x34]
push ecx
push eax
push dword [ebp - 0x58]
push edx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.0048d010
jmp 0x487d77
push eax
push dword [ebp - 0x58]
push edx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.0048d310
mov eax, dword [0x84f830]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
add eax, 0x10
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x54]
jne 0x487d28
mov eax, dword [0x84f82c]
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebp - 0x54]
jne 0x487de6
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x84f82c
call fcn.0048b2e0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x487dcd
mov edx, dword [ebp - 0x3c]
sub edx, eax
and edx, 0xfffffff0
cmp edx, 0x80
jbe 0x487e3d
push eax
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x487602
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x54]
je 0x487e30
mov dword [ebp - 4], 3
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
test edx, edx
je 0x487e1b
mov eax, dword [eax + 8]
sub eax, edx
and eax, 0xfffffff0
cmp eax, 0x80
jbe 0x487e54
push edx
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x58]
add eax, 0x10
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x54]
jne 0x487df5
mov eax, dword [ebp - 0x5c]
mov dword [0x84f830], eax
jmp 0x487d9a
add esp, 0xfffffff8
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005d3210
add esp, 8
jmp 0x487dcd
add esp, 0xfffffff8
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005d3210
add esp, 8
jmp 0x487e1b
mov dword [ebp - 4], 7
or eax, 8
mov byte [0x84f384], al
lea eax, [ebp - 0x1f]
push eax
mov ecx, 0x84f844
call fcn.00500bb0
push 0x539520
call fcn.00744438
pop ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x4874b0
mov dword [ebp - 4], 9
or eax, 4
mov byte [0x84f384], al
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x84f838
call fcn.00500bb0
push 0x5396f0
call fcn.00744438
pop ecx
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [0x84f384]
jmp 0x4874a8
mov dword [ebp - 4], 0xb
or eax, 2
mov byte [0x84f384], al
lea eax, [ebp - 0x31]
push eax
mov ecx, 0x84f82c
call fcn.00500bb0
push 0x5398c0
call fcn.00744438
pop ecx
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [0x84f384]
jmp 0x4874a0
mov dword [ebp - 4], 0xd
or eax, 1
mov byte [0x84f384], al
lea eax, [ebp - 0x32]
push eax
mov ecx, 0x84f820
call fcn.00500bb0
push 0x539970
call fcn.00744438
pop ecx
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [0x84f384]
jmp 0x487498