Function at 0x51d030
Capabilities:
Reference sql statements

Disassembly:
test dword [0x87ed4c], 0xfffff000
jne 0x51d060
test dword [0x87ed4c], 0xffffffff
jne 0x51e3c0
call fcn.007663a0
jmp fcn.0051d030
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x774230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov eax, dword [0x83b878]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x14]
push eax
call fcn.0050a6a0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x51d154
cmp dword [ebx + 0x38], 0xa029a697
jne 0x51d154
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x51d0e6
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov eax, dword [ebx + 4]
test eax, eax
jle 0x51d2f3
mov dword [ebp - 0x10c], 0
mov ecx, dword [ebp - 0x10c]
shl ecx, 4
mov edx, dword [ebx + 8]
mov esi, dword [edx + ecx + 4]
test esi, esi
je 0x51d13e
movzx edx, byte [esi + 9]
test edx, edx
je 0x51d13e
movzx edx, byte [esi + 0xa]
inc dword [esi + 0xc]
test edx, edx
jne 0x51d13b
mov eax, dword [esi + 0x18]
test eax, eax
je 0x51d271
mov esi, eax
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x51d12d
jmp 0x51d26d
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x10c]
inc edx
mov dword [ebp - 0x10c], edx
cmp edx, eax
jl 0x51d0fb
jmp 0x51d2f3
xor eax, eax
push eax
call fcn.0048ecb4
pop ecx
cmp eax, 0x64
je 0x51d3e5
mov eax, dword [ebp - 0x28]
push eax
call fcn.00408ac4
pop ecx
push eax
mov dword [esp], str.DELETE_from_MP_RESTRICTIONS_
call fcn.0051fe70
pop ecx
mov edi, eax
mov esi, dword [ebp - 0x18]
add esp, 0xffffffec
xor ebx, ebx
mov eax, dword [esi + 4]
mov dword [esp + 0xc], ebx
mov edx, edi
xor ecx, ecx
mov dword [esp + 0x10], ebx
call fcn.005037fc
add esp, 0x14
test edi, edi
je 0x51d1ac
push eax
mov eax, edi
call fcn.004c69c4
pop ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
cmp edx, eax
je 0x51d1d8
test edx, edx
je 0x51d1d8
mov eax, dword [ebp - 0x58]
sub eax, edx
cmp eax, 0x80
jbe 0x51d3ce
push edx
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d1f6
dec eax
mov dword [ecx], eax
jne 0x51d1f6
call fcn.0061ff50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d214
dec eax
mov dword [ecx], eax
jne 0x51d214
call fcn.0061ff50
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d232
dec eax
mov dword [ecx], eax
jne 0x51d232
call fcn.0061ff50
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
movzx edx, byte [esi + 0xa]
test edx, edx
je 0x51d2ea
mov edx, dword [esi + 0x14]
test edx, edx
je 0x51d2bd
movzx eax, byte [edx + 0xa]
mov esi, edx
test eax, eax
jne 0x51d275
mov edi, dword [edx + 0x14]
test edi, edi
je 0x51d2b5
movzx eax, byte [edi + 0xa]
test eax, eax
je 0x51d2ae
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51d2aa
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [edi + 0xa], 0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x51d28d
test esi, esi
je 0x51d13b
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x51d2d5
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx + 4], eax
mov byte [esi + 0xa], 1
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x51d2bd
jmp 0x51d13b
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x51d28d
jmp 0x51d2bd
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor edi, edi
lea esi, [ebp - 0x28]
mov dword [esp + 0x10], edi
mov eax, ebx
mov edx, str.SELECT_line_id_list__node_id_list__params_from_MP_RESTRICTIONS_
mov ecx, 0xffffffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.004c7880
add esp, 0x1c
cmp eax, 0x11
je 0x51d392
mov eax, dword [ebx + 4]
test eax, eax
jle 0x51d378
xor edi, edi
mov edx, dword [ebx + 8]
mov ecx, edi
shl ecx, 4
mov esi, dword [edx + ecx + 4]
test esi, esi
je 0x51d373
movzx edx, byte [esi + 9]
test edx, edx
je 0x51d373
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0xc], eax
je 0x51d357
mov eax, dword [ebx + 4]
jmp 0x51d373
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51d36c
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [esi + 0xa], 0
mov eax, dword [ebx + 4]
inc edi
cmp edi, eax
jl 0x51d331
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x51d38a
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov eax, dword [ebp - 0x28]
jmp 0x51d156
mov eax, dword [ebp - 0x28]
push eax
call fcn.00408ac4
pop ecx
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor edi, edi
mov eax, ebx
mov dword [esp + 0x10], edi
mov edx, str.SELECT_line_id_list__node_id_list__params_from_MP_RESTRICTIONS_
mov ecx, 0xffffffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.004c7880
add esp, 0x1c
jmp 0x51d328
add esp, 0xfffffff8
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005d3210
add esp, 8
jmp 0x51d1d8
mov ebx, dword [ebp - 0x28]
mov ecx, 0xffffffff
mov dword [ebp - 0x90], ecx
add esp, 0xfffffff8
mov eax, ebx
mov dword [ebp - 0x8c], ecx
xor edx, edx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004a68e4
pop ecx
mov esi, eax
push eax
mov eax, ebx
call fcn.00588070
pop ecx
add esp, 0xfffffff8
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0051f720
add esp, 8
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d48a
dec eax
mov dword [ecx], eax
jne 0x51d48a
call fcn.0061ff50
mov ebx, dword [ebp - 0x28]
add esp, 0xfffffff8
mov eax, ebx
mov edx, 1
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004a68e4
pop ecx
mov esi, eax
push eax
mov eax, ebx
call fcn.00588070
pop ecx
add esp, 0xfffffff8
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0051f720
add esp, 8
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x38]
push eax
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d4f7
dec eax
mov dword [ecx], eax
jne 0x51d4f7
call fcn.0061ff50
mov ebx, dword [ebp - 0x28]
add esp, 0xfffffff8
mov eax, ebx
mov edx, 2
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004a68e4
pop ecx
mov esi, eax
push eax
mov eax, ebx
call fcn.00588070
pop ecx
add esp, 0xfffffff8
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0051f720
add esp, 8
mov dword [ebp - 4], 0x15
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d564
dec eax
mov dword [ecx], eax
jne 0x51d564
call fcn.0061ff50
mov eax, dword [0x7a1f64]
lea ebx, [ebp - 0x3c]
push eax
mov ecx, ebx
push 0
push 0x798ff8
call fcn.00621d00
mov dword [ebp - 4], 0x14
push 0
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xd4]
push ebx
push eax
call fcn.006268e0
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d5b2
dec eax
mov dword [ecx], eax
jne 0x51d5b2
call fcn.0061ff50
lea ecx, [ebp - 0xd4]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51d60b
lea ebx, [ebp - 0x94]
push ebx
lea ecx, [ebp - 0xd4]
call fcn.00626700
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x80]
push 0xa
mov ecx, ebx
push eax
call fcn.0061fc40
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d60b
dec eax
mov dword [ecx], eax
jne 0x51d60b
call fcn.0061ff50
lea ecx, [ebp - 0xd4]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51d667
lea ebx, [ebp - 0x98]
push ebx
lea ecx, [ebp - 0xd4]
call fcn.00626700
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x88]
push 0xa
mov ecx, ebx
push eax
call fcn.0061fc40
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d667
dec eax
mov dword [ecx], eax
jne 0x51d667
call fcn.0061ff50
lea ecx, [ebp - 0xd4]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51d6c3
lea ebx, [ebp - 0x9c]
push ebx
lea ecx, [ebp - 0xd4]
call fcn.00626700
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x90]
push 0xa
mov ecx, ebx
push eax
call fcn.0061fc40
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d6c3
dec eax
mov dword [ecx], eax
jne 0x51d6c3
call fcn.0061ff50
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xd4]
call fcn.004ff740
mov eax, dword [0x7a1f64]
lea ebx, [ebp - 0x40]
push eax
mov ecx, ebx
push 0
push 0x798ff8
call fcn.00621d00
mov dword [ebp - 4], 0xf
push 0
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xf0]
push ebx
push eax
call fcn.006268e0
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d723
dec eax
mov dword [ecx], eax
jne 0x51d723
call fcn.0061ff50
lea ecx, [ebp - 0xf0]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51d77c
lea ebx, [ebp - 0xa0]
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00626700
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0x60]
push 0xa
mov ecx, ebx
push eax
call fcn.0061fc40
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d77c
dec eax
mov dword [ecx], eax
jne 0x51d77c
call fcn.0061ff50
lea ecx, [ebp - 0xf0]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51d7d5
lea ebx, [ebp - 0xa4]
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00626700
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x68]
push 0xa
mov ecx, ebx
push eax
call fcn.0061fc40
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d7d5
dec eax
mov dword [ecx], eax
jne 0x51d7d5
call fcn.0061ff50
lea ecx, [ebp - 0xf0]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51d82e
lea ebx, [ebp - 0xa8]
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00626700
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x70]
push 0xa
mov ecx, ebx
push eax
call fcn.0061fc40
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d82e
dec eax
mov dword [ecx], eax
jne 0x51d82e
call fcn.0061ff50
lea ecx, [ebp - 0xf0]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51d887
lea ebx, [ebp - 0xac]
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00626700
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x78]
push 0xa
mov ecx, ebx
push eax
call fcn.0061fc40
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0xac]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51d887
dec eax
mov dword [ecx], eax
jne 0x51d887
call fcn.0061ff50
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xf0]
call fcn.004ff740
mov eax, dword [ebp - 0x5c]
sub eax, 0
jl 0x51dfac
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov ecx, eax
sub ecx, 0
jl 0x51dfac
mov ecx, dword [ebp - 0x6c]
sub ecx, 0
jl 0x51dfac
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x7c]
mov ecx, ebx
sub ecx, 0
jl 0x51dfac
mov ecx, dword [ebp - 0x84]
sub ecx, 0
jl 0x51dfac
add esp, 0xffffffec
mov dword [esp], str.SELECT_MP_SEGMENT.restriction_MP_SEGMENT.id_FROM_MP_SEGMENT__MP_LINE_WHERE_MP_SEGMENT.node_id___lld_AND_MP_SEGMENT.line_id__MP_LINE.id_AND_MP_LINE.road_id___lld_
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0051fe70
add esp, 0x14
mov ebx, eax
mov edi, dword [ebp - 0x18]
add esp, 0xfffffff0
lea esi, [ebp - 0xb8]
mov eax, dword [edi + 4]
mov dword [esp + 0xc], esi
mov edx, ebx
lea ecx, [ebp - 0x58]
call fcn.0051f740
add esp, 0x10
test ebx, ebx
je 0x51d99a
cmp dword [0x830380], 0
je 0x51d98f
mov eax, dword [0x84f788]
test eax, eax
je 0x51d947
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
push eax
mov dword [esp], ebx
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov eax, dword [0x84f3c4]
mov dword [0x84f3a0], edx
cmp edx, eax
cmovge eax, edx
push eax
mov dword [0x84f3c4], eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51d99a
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51d999
push eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
cmp dword [ebp - 0xb8], 0
jl 0x51dfac
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
add esp, 0xfffffff4
mov dword [esp], str.SELECT_id_from_MP_LINE_where_road_id___lld_
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0051fe70
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, edi
mov ebx, dword [eax + 4]
mov dword [ebp - 0x100], 0
test ebx, ebx
je 0x51da6f
cmp dword [ebx + 0x38], 0xa029a697
jne 0x51da6f
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x51da03
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov eax, dword [ebx + 4]
test eax, eax
jle 0x51e1f8
xor edx, edx
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0xb4]
shl ecx, 4
mov edx, dword [ebx + 8]
mov esi, dword [edx + ecx + 4]
test esi, esi
je 0x51da59
movzx edx, byte [esi + 9]
test edx, edx
je 0x51da59
movzx edx, byte [esi + 0xa]
inc dword [esi + 0xc]
test edx, edx
jne 0x51da56
mov eax, dword [esi + 0x18]
test eax, eax
je 0x51e176
mov esi, eax
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x51da48
jmp 0x51e172
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0xb4]
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, eax
jl 0x51da16
jmp 0x51e1f8
xor eax, eax
push eax
call fcn.0048ecb4
pop ecx
cmp eax, 0x64
je 0x51e383
mov ebx, 0xffffffff
mov eax, dword [ebp - 0x100]
push eax
call fcn.00408ac4
pop ecx
cmp dword [ebp - 0xf8], 0
mov eax, ebx
cdq
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], edx
je 0x51db2b
cmp dword [0x830380], 0
je 0x51db1a
mov eax, dword [0x84f788]
test eax, eax
je 0x51dac6
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov eax, dword [ebp - 0xf8]
push eax
mov dword [esp], eax
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov eax, dword [0x84f3c4]
mov ecx, dword [ebp - 0xf8]
mov dword [0x84f3a0], edx
cmp edx, eax
cmovge eax, edx
push eax
mov dword [0x84f3c4], eax
mov dword [esp], ecx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51db2b
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51db2a
mov eax, dword [ebp - 0xf8]
push eax
mov dword [esp], eax
call dword [0x83039c]
pop ecx
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
add esp, 0xfffffff4
mov dword [esp], str.SELECT_id_from_MP_LINE_where_road_id___lld_
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0051fe70
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 4]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xfc], 0
test edx, edx
je 0x51dbfa
mov eax, edx
cmp dword [eax + 0x38], 0xa029a697
jne 0x51dbfa
mov eax, dword [eax + 0x44]
test eax, eax
je 0x51db92
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
test eax, eax
jle 0x51e062
xor esi, esi
mov edx, dword [ebp - 0xb0]
mov ebx, esi
shl ebx, 4
mov ecx, dword [edx + 8]
mov ebx, dword [ecx + ebx + 4]
test ebx, ebx
je 0x51dbf0
movzx edx, byte [ebx + 9]
test edx, edx
je 0x51dbf0
movzx edx, byte [ebx + 0xa]
inc dword [ebx + 0xc]
test edx, edx
jne 0x51dbe7
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x51dfe0
mov ebx, eax
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x51dbd9
jmp 0x51dfdc
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
inc esi
cmp esi, eax
jl 0x51dba5
jmp 0x51e062
xor eax, eax
push eax
call fcn.0048ecb4
pop ecx
cmp eax, 0x64
je 0x51e355
mov ebx, 0xffffffff
mov eax, dword [ebp - 0xfc]
push eax
call fcn.00408ac4
pop ecx
cmp dword [ebp - 0xf4], 0
mov eax, ebx
cdq
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], edx
je 0x51dcbc
cmp dword [0x830380], 0
je 0x51dcab
mov eax, dword [0x84f788]
test eax, eax
je 0x51dc57
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov eax, dword [ebp - 0xf4]
push eax
mov dword [esp], eax
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov eax, dword [0x84f3c4]
mov ecx, dword [ebp - 0xf4]
mov dword [0x84f3a0], edx
cmp edx, eax
cmovge eax, edx
push eax
mov dword [0x84f3c4], eax
mov dword [esp], ecx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51dcbc
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51dcbb
mov eax, dword [ebp - 0xf4]
push eax
mov dword [esp], eax
call dword [0x83039c]
pop ecx
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov eax, edx
sub eax, 0
jl 0x51dd83
add esp, 0xfffffff4
mov dword [esp], str.SELECT_id_from_MP_LINE_where_road_id___lld_
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0051fe70
add esp, 0xc
mov ebx, eax
mov ecx, dword [ebp - 0x18]
add esp, 0xfffffff8
mov edx, ebx
mov eax, dword [ecx + 4]
call fcn.004ffa50
add esp, 8
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
test ebx, ebx
je 0x51dd83
cmp dword [0x830380], 0
je 0x51dd78
mov eax, dword [0x84f788]
test eax, eax
je 0x51dd30
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
push eax
mov dword [esp], ebx
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov eax, dword [0x84f3c4]
mov dword [0x84f3a0], edx
cmp edx, eax
cmovge eax, edx
push eax
mov dword [0x84f3c4], eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51dd83
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51dd82
push eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0051fe10
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov ecx, edx
sub ecx, 0
jl 0x51e2de
mov ebx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x88]
add esp, 0xffffffe0
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x84]
mov dword [esp + 4], str._lld__lld__lld
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0061fb50
add esp, 0x20
mov dword [ebp - 4], 8
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x34]
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x108]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51de1f
dec eax
mov dword [ecx], eax
jne 0x51de1f
call fcn.0061ff50
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
je 0x51de39
push 0x798ffd
lea ecx, [ebp - 0x58]
push 0x798ffc
call fcn.00583ef0
push 0x794525
lea ecx, [ebp - 0x58]
push 0x794524
call fcn.00583ef0
lea ebx, [ebp - 0x104]
push ebx
lea ecx, [ebp - 0x34]
call fcn.0051fe20
mov dword [ebp - 4], 7
push dword [ebp - 0x104]
lea ecx, [ebp - 0x58]
call fcn.0051fe40
mov dword [ebp - 4], 4
mov ecx, ebx
call fcn.00537b50
push 0x794528
lea ecx, [ebp - 0x58]
call fcn.0051fe40
push ebx
lea ecx, [ebp - 0x30]
call fcn.0051fe20
mov dword [ebp - 4], 6
push dword [ebp - 0x104]
lea ecx, [ebp - 0x58]
call fcn.0051fe40
mov dword [ebp - 4], 4
mov ecx, ebx
call fcn.00537b50
push 0x799044
lea ecx, [ebp - 0x58]
call fcn.0051fe40
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0051fe20
mov dword [ebp - 4], 5
push dword [ebp - 0x104]
lea ecx, [ebp - 0x58]
call fcn.0051fe40
mov dword [ebp - 4], 4
mov ecx, ebx
call fcn.00537b50
lea ecx, [ebp - 0x58]
call fcn.0065a5b0
mov edx, dword [ebp - 0xb8]
add esp, 0xfffffff4
mov dword [esp], str.UPDATE_MP_SEGMENT_set_restriction___q_WHERE_id___i_
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0051fe70
add esp, 0xc
mov ebx, eax
mov edi, dword [ebp - 0x18]
add esp, 0xffffffec
xor esi, esi
mov eax, dword [edi + 4]
mov dword [esp + 0xc], esi
mov edx, ebx
xor ecx, ecx
mov dword [esp + 0x10], esi
call fcn.005037fc
add esp, 0x14
test ebx, ebx
je 0x51dfac
cmp dword [0x830380], 0
je 0x51dfa1
mov eax, dword [0x84f788]
test eax, eax
je 0x51df59
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
push eax
mov dword [esp], ebx
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov eax, dword [0x84f3c4]
mov dword [0x84f3a0], edx
cmp edx, eax
cmovge eax, edx
push eax
mov dword [0x84f3c4], eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51dfac
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51dfab
push eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0048ecb4
pop ecx
cmp eax, 0x64
je 0x51d3e5
jmp 0x51d166
movzx edx, byte [ebx + 0xa]
test edx, edx
je 0x51e059
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x51e02c
movzx eax, byte [edx + 0xa]
mov ebx, edx
test eax, eax
jne 0x51dfe4
mov edi, dword [edx + 0x14]
test edi, edi
je 0x51e024
movzx eax, byte [edi + 0xa]
test eax, eax
je 0x51e01d
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51e019
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [edi + 0xa], 0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x51dffc
test ebx, ebx
je 0x51dbe7
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x51e044
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [edx + 4], eax
mov byte [ebx + 0xa], 1
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x51e02c
jmp 0x51dbe7
mov edi, dword [ebx + 0x14]
test edi, edi
jne 0x51dffc
jmp 0x51e02c
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xf4]
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor esi, esi
lea ebx, [ebp - 0xfc]
mov dword [esp + 0x10], esi
mov ecx, 0xffffffff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call fcn.004c7880
add esp, 0x1c
cmp eax, 0x11
je 0x51e12e
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
test eax, eax
jle 0x51e10b
xor esi, esi
mov edx, dword [ebp - 0xb0]
mov ebx, esi
shl ebx, 4
mov ecx, dword [edx + 8]
mov ebx, dword [ecx + ebx + 4]
test ebx, ebx
je 0x51e106
movzx edx, byte [ebx + 9]
test edx, edx
je 0x51e106
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0xc], eax
je 0x51e0e4
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
jmp 0x51e106
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51e0f9
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov eax, dword [ebp - 0xb0]
mov byte [ebx + 0xa], 0
mov eax, dword [eax + 4]
inc esi
cmp esi, eax
jl 0x51e0b2
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x51e123
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov eax, dword [ebp - 0xfc]
jmp 0x51dbfc
mov eax, dword [ebp - 0xfc]
push eax
call fcn.00408ac4
pop ecx
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xf4]
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor esi, esi
mov ecx, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call fcn.004c7880
add esp, 0x1c
jmp 0x51e0a3
movzx edx, byte [esi + 0xa]
test edx, edx
je 0x51e1ef
mov edx, dword [esi + 0x14]
test edx, edx
je 0x51e1c2
movzx eax, byte [edx + 0xa]
mov esi, edx
test eax, eax
jne 0x51e17a
mov edi, dword [edx + 0x14]
test edi, edi
je 0x51e1ba
movzx eax, byte [edi + 0xa]
test eax, eax
je 0x51e1b3
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51e1af
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [edi + 0xa], 0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x51e192
test esi, esi
je 0x51da56
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x51e1da
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx + 4], eax
mov byte [esi + 0xa], 1
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x51e1c2
jmp 0x51da56
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x51e192
jmp 0x51e1c2
mov edx, dword [ebp - 0xf8]
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor edi, edi
lea esi, [ebp - 0x100]
mov dword [esp + 0x10], edi
mov eax, ebx
mov ecx, 0xffffffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.004c7880
add esp, 0x1c
cmp eax, 0x11
je 0x51e29e
mov eax, dword [ebx + 4]
test eax, eax
jle 0x51e281
xor edi, edi
mov edx, dword [ebx + 8]
mov ecx, edi
shl ecx, 4
mov esi, dword [edx + ecx + 4]
test esi, esi
je 0x51e27c
movzx edx, byte [esi + 9]
test edx, edx
je 0x51e27c
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0xc], eax
je 0x51e260
mov eax, dword [ebx + 4]
jmp 0x51e27c
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51e275
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [esi + 0xa], 0
mov eax, dword [ebx + 4]
inc edi
cmp edi, eax
jl 0x51e23a
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x51e293
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov eax, dword [ebp - 0x100]
jmp 0x51da71
mov eax, dword [ebp - 0x100]
push eax
call fcn.00408ac4
pop ecx
mov edx, dword [ebp - 0xf8]
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor edi, edi
mov eax, ebx
mov dword [esp + 0x10], edi
mov ecx, 0xffffffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.004c7880
add esp, 0x1c
jmp 0x51e231
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x84]
add esp, 0xffffffe8
lea ebx, [ebp - 0x10c]
mov dword [esp], ebx
mov dword [esp + 4], str._lld__lld
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
call fcn.0061fb50
add esp, 0x18
mov dword [ebp - 4], 9
push ebx
lea ecx, [ebp - 0x34]
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x10c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51de1f
dec eax
mov dword [ecx], eax
je 0x51de1a
jmp 0x51de1f
mov esi, dword [ebp - 0xfc]
add esp, 0xfffffff8
mov eax, esi
xor edx, edx
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004c5ed0
add esp, 4
mov ebx, eax
push eax
mov eax, esi
call fcn.00588070
pop ecx
jmp 0x51dc11
mov esi, dword [ebp - 0x100]
add esp, 0xfffffff8
mov eax, esi
xor edx, edx
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004c5ed0
add esp, 4
mov ebx, eax
push eax
mov eax, esi
call fcn.00588070
pop ecx
jmp 0x51da86
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x774310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], ecx
mov eax, dword [0x83b878]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x14]
push eax
call fcn.0050a6a0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x51e4b4
cmp dword [ebx + 0x38], 0xa029a697
jne 0x51e4b4
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x51e446
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov eax, dword [ebx + 4]
test eax, eax
jle 0x51e653
mov dword [ebp - 0x10c], 0
mov ecx, dword [ebp - 0x10c]
shl ecx, 4
mov edx, dword [ebx + 8]
mov esi, dword [edx + ecx + 4]
test esi, esi
je 0x51e49e
movzx edx, byte [esi + 9]
test edx, edx
je 0x51e49e
inc dword [esi + 0xc]
movzx edx, byte [esi + 0xa]
test edx, edx
jne 0x51e49b
mov eax, dword [esi + 0x18]
test eax, eax
je 0x51e5d1
mov esi, eax
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x51e48d
jmp 0x51e5cd
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x10c]
inc edx
mov dword [ebp - 0x10c], edx
cmp edx, eax
jl 0x51e45b
jmp 0x51e653
xor eax, eax
push eax
call fcn.0048ecb4
pop ecx
cmp eax, 0x64
je 0x51e745
push eax
mov eax, dword [ebp - 0x28]
call fcn.00408ac4
pop ecx
push eax
mov dword [esp], str.DELETE_from_MP_RESTRICTIONS_
call fcn.0051fe70
pop ecx
mov edi, eax
add esp, 0xffffffec
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 4]
mov edx, edi
xor ecx, ecx
call fcn.005037fc
add esp, 0x14
test edi, edi
je 0x51e50c
push eax
mov eax, edi
call fcn.004c69c4
pop ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
cmp edx, eax
je 0x51e538
test edx, edx
je 0x51e538
mov eax, dword [ebp - 0x58]
sub eax, edx
cmp eax, 0x80
jbe 0x51e72e
push edx
call fcn.007424fc
pop ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51e556
dec eax
mov dword [ecx], eax
jne 0x51e556
call fcn.0061ff50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51e574
dec eax
mov dword [ecx], eax
jne 0x51e574
call fcn.0061ff50
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51e592
dec eax
mov dword [ecx], eax
jne 0x51e592
call fcn.0061ff50
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
movzx edx, byte [esi + 0xa]
test edx, edx
je 0x51e64a
mov edx, dword [esi + 0x14]
test edx, edx
je 0x51e61d
mov esi, edx
movzx eax, byte [edx + 0xa]
test eax, eax
jne 0x51e5d5
mov edi, dword [edx + 0x14]
test edi, edi
je 0x51e615
movzx eax, byte [edi + 0xa]
test eax, eax
je 0x51e60e
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51e60a
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [edi + 0xa], 0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x51e5ed
test esi, esi
je 0x51e49b
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x51e635
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx + 4], eax
mov byte [esi + 0xa], 1
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x51e61d
jmp 0x51e49b
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x51e5ed
jmp 0x51e61d
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor edi, edi
mov dword [esp + 0x10], edi
lea esi, [ebp - 0x28]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov eax, ebx
mov edx, str.SELECT_line_id_list__node_id_list__params_from_MP_RESTRICTIONS_
mov ecx, 0xffffffff
call fcn.004c7880
add esp, 0x1c
cmp eax, 0x11
je 0x51e6f2
mov eax, dword [ebx + 4]
test eax, eax
jle 0x51e6d8
xor edi, edi
mov ecx, edi
shl ecx, 4
mov edx, dword [ebx + 8]
mov esi, dword [edx + ecx + 4]
test esi, esi
je 0x51e6d3
movzx edx, byte [esi + 9]
test edx, edx
je 0x51e6d3
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0xc], eax
je 0x51e6b7
mov eax, dword [ebx + 4]
jmp 0x51e6d3
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51e6cc
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [esi + 0xa], 0
mov eax, dword [ebx + 4]
inc edi
cmp edi, eax
jl 0x51e691
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x51e6ea
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov eax, dword [ebp - 0x28]
jmp 0x51e4b6
push eax
mov eax, dword [ebp - 0x28]
call fcn.00408ac4
pop ecx
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov eax, ebx
mov edx, str.SELECT_line_id_list__node_id_list__params_from_MP_RESTRICTIONS_
mov ecx, 0xffffffff
call fcn.004c7880
add esp, 0x1c
jmp 0x51e688
add esp, 0xfffffff8
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005d3210
add esp, 8
jmp 0x51e538
mov ecx, 0xffffffff
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov ebx, dword [ebp - 0x28]
add esp, 0xfffffff8
mov eax, ebx
xor edx, edx
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004a68e4
pop ecx
mov esi, eax
push eax
mov eax, ebx
call fcn.00588070
pop ecx
add esp, 0xfffffff8
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0051f720
add esp, 8
mov dword [ebp - 4], 0x17
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51e7ea
dec eax
mov dword [ecx], eax
jne 0x51e7ea
call fcn.0061ff50
mov ebx, dword [ebp - 0x28]
add esp, 0xfffffff8
mov eax, ebx
mov edx, 1
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004a68e4
pop ecx
mov esi, eax
push eax
mov eax, ebx
call fcn.00588070
pop ecx
add esp, 0xfffffff8
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0051f720
add esp, 8
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x38]
push eax
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51e857
dec eax
mov dword [ecx], eax
jne 0x51e857
call fcn.0061ff50
mov ebx, dword [ebp - 0x28]
add esp, 0xfffffff8
mov eax, ebx
mov edx, 2
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004a68e4
pop ecx
mov esi, eax
push eax
mov eax, ebx
call fcn.00588070
pop ecx
add esp, 0xfffffff8
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0051f720
add esp, 8
mov dword [ebp - 4], 0x15
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51e8c4
dec eax
mov dword [ecx], eax
jne 0x51e8c4
call fcn.0061ff50
lea ebx, [ebp - 0x3c]
mov eax, dword [0x7a1f64]
push eax
push 0
push 0x798ff8
mov ecx, ebx
call fcn.00621d00
mov dword [ebp - 4], 0x14
push 0
push ebx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xd4]
call fcn.006268e0
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51e912
dec eax
mov dword [ecx], eax
jne 0x51e912
call fcn.0061ff50
lea ecx, [ebp - 0xd4]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51e96b
lea ebx, [ebp - 0x94]
push ebx
lea ecx, [ebp - 0xd4]
call fcn.00626700
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x80]
push 0xa
push eax
mov ecx, ebx
call fcn.0061fc40
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51e96b
dec eax
mov dword [ecx], eax
jne 0x51e96b
call fcn.0061ff50
lea ecx, [ebp - 0xd4]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51e9c7
lea ebx, [ebp - 0x98]
push ebx
lea ecx, [ebp - 0xd4]
call fcn.00626700
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x88]
push 0xa
push eax
mov ecx, ebx
call fcn.0061fc40
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51e9c7
dec eax
mov dword [ecx], eax
jne 0x51e9c7
call fcn.0061ff50
lea ecx, [ebp - 0xd4]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51ea23
lea ebx, [ebp - 0x9c]
push ebx
lea ecx, [ebp - 0xd4]
call fcn.00626700
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x90]
push 0xa
push eax
mov ecx, ebx
call fcn.0061fc40
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51ea23
dec eax
mov dword [ecx], eax
jne 0x51ea23
call fcn.0061ff50
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xd4]
call fcn.004ff740
lea ebx, [ebp - 0x40]
mov eax, dword [0x7a1f64]
push eax
push 0
push 0x798ff8
mov ecx, ebx
call fcn.00621d00
mov dword [ebp - 4], 0xf
push 0
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xf0]
call fcn.006268e0
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51ea83
dec eax
mov dword [ecx], eax
jne 0x51ea83
call fcn.0061ff50
lea ecx, [ebp - 0xf0]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51eadc
lea ebx, [ebp - 0xa0]
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00626700
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0x60]
push 0xa
push eax
mov ecx, ebx
call fcn.0061fc40
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51eadc
dec eax
mov dword [ecx], eax
jne 0x51eadc
call fcn.0061ff50
lea ecx, [ebp - 0xf0]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51eb35
lea ebx, [ebp - 0xa4]
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00626700
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x68]
push 0xa
push eax
mov ecx, ebx
call fcn.0061fc40
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51eb35
dec eax
mov dword [ecx], eax
jne 0x51eb35
call fcn.0061ff50
lea ecx, [ebp - 0xf0]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51eb8e
lea ebx, [ebp - 0xa8]
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00626700
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x70]
push 0xa
push eax
mov ecx, ebx
call fcn.0061fc40
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51eb8e
dec eax
mov dword [ecx], eax
jne 0x51eb8e
call fcn.0061ff50
lea ecx, [ebp - 0xf0]
call fcn.00626860
movzx eax, al
test eax, eax
je 0x51ebe7
lea ebx, [ebp - 0xac]
push ebx
lea ecx, [ebp - 0xf0]
call fcn.00626700
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x78]
push 0xa
push eax
mov ecx, ebx
call fcn.0061fc40
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0xac]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51ebe7
dec eax
mov dword [ecx], eax
jne 0x51ebe7
call fcn.0061ff50
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xf0]
call fcn.004ff740
mov eax, dword [ebp - 0x5c]
sub eax, 0
jl 0x51f316
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov ecx, eax
sub ecx, 0
jl 0x51f316
mov ecx, dword [ebp - 0x6c]
sub ecx, 0
jl 0x51f316
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x7c]
mov ecx, ebx
sub ecx, 0
jl 0x51f316
mov ecx, dword [ebp - 0x84]
sub ecx, 0
jl 0x51f316
add esp, 0xffffffec
mov dword [esp], str.SELECT_MP_SEGMENT.restriction_MP_SEGMENT.id_FROM_MP_SEGMENT__MP_LINE_WHERE_MP_SEGMENT.node_id___lld_AND_MP_SEGMENT.line_id__MP_LINE.id_AND_MP_LINE.road_id___lld_
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0051fe70
add esp, 0x14
mov ebx, eax
add esp, 0xfffffff0
lea esi, [ebp - 0xb8]
mov dword [esp + 0xc], esi
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 4]
mov edx, ebx
lea ecx, [ebp - 0x58]
call fcn.0051f740
add esp, 0x10
test ebx, ebx
je 0x51ecfc
cmp dword [0x830380], 0
je 0x51ecf1
mov eax, dword [0x84f788]
test eax, eax
je 0x51eca7
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
push eax
mov dword [esp], ebx
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov dword [0x84f3a0], edx
mov eax, dword [0x84f3c4]
cmp edx, eax
jge 0x51eccb
mov edx, eax
mov dword [0x84f3c4], edx
push eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51ecfc
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51ecfb
push eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
cmp dword [ebp - 0xb8], 0
jl 0x51f316
add esp, 0xfffffff4
mov dword [esp], str.SELECT_id_from_MP_LINE_where_road_id___lld_
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0051fe70
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, edi
mov ebx, dword [eax + 4]
mov dword [ebp - 0x100], 0
test ebx, ebx
je 0x51edd1
cmp dword [ebx + 0x38], 0xa029a697
jne 0x51edd1
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x51ed65
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov eax, dword [ebx + 4]
test eax, eax
jle 0x51f562
xor edx, edx
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0xb4]
shl ecx, 4
mov edx, dword [ebx + 8]
mov esi, dword [edx + ecx + 4]
test esi, esi
je 0x51edbb
movzx edx, byte [esi + 9]
test edx, edx
je 0x51edbb
inc dword [esi + 0xc]
movzx edx, byte [esi + 0xa]
test edx, edx
jne 0x51edb8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x51f4e0
mov esi, eax
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x51edaa
jmp 0x51f4dc
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0xb4]
inc edx
mov dword [ebp - 0xb4], edx
cmp edx, eax
jl 0x51ed78
jmp 0x51f562
xor eax, eax
push eax
call fcn.0048ecb4
pop ecx
cmp eax, 0x64
je 0x51f6ed
mov ebx, 0xffffffff
push eax
mov eax, dword [ebp - 0x100]
call fcn.00408ac4
pop ecx
mov eax, ebx
cdq
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0xf8], 0
je 0x51ee8f
cmp dword [0x830380], 0
je 0x51ee7e
mov eax, dword [0x84f788]
test eax, eax
je 0x51ee28
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
push eax
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov dword [0x84f3a0], edx
mov eax, dword [0x84f3c4]
cmp edx, eax
jge 0x51ee52
mov edx, eax
mov dword [0x84f3c4], edx
push eax
mov ecx, dword [ebp - 0xf8]
mov dword [esp], ecx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51ee8f
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51ee8e
push eax
mov eax, dword [ebp - 0xf8]
mov dword [esp], eax
call dword [0x83039c]
pop ecx
add esp, 0xfffffff4
mov dword [esp], str.SELECT_id_from_MP_LINE_where_road_id___lld_
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0051fe70
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 4]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xfc], 0
test edx, edx
je 0x51ef5e
mov eax, edx
cmp dword [eax + 0x38], 0xa029a697
jne 0x51ef5e
mov eax, dword [eax + 0x44]
test eax, eax
je 0x51eef6
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
test eax, eax
jle 0x51f3cc
xor esi, esi
mov ebx, esi
shl ebx, 4
mov edx, dword [ebp - 0xb0]
mov ecx, dword [edx + 8]
mov ebx, dword [ecx + ebx + 4]
test ebx, ebx
je 0x51ef54
movzx edx, byte [ebx + 9]
test edx, edx
je 0x51ef54
inc dword [ebx + 0xc]
movzx edx, byte [ebx + 0xa]
test edx, edx
jne 0x51ef4b
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x51f34a
mov ebx, eax
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x51ef3d
jmp 0x51f346
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
inc esi
cmp esi, eax
jl 0x51ef09
jmp 0x51f3cc
xor eax, eax
push eax
call fcn.0048ecb4
pop ecx
cmp eax, 0x64
je 0x51f6bf
mov ebx, 0xffffffff
push eax
mov eax, dword [ebp - 0xfc]
call fcn.00408ac4
pop ecx
mov eax, ebx
cdq
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0xf4], 0
je 0x51f022
cmp dword [0x830380], 0
je 0x51f011
mov eax, dword [0x84f788]
test eax, eax
je 0x51efbb
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
push eax
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov dword [0x84f3a0], edx
mov eax, dword [0x84f3c4]
cmp edx, eax
jge 0x51efe5
mov edx, eax
mov dword [0x84f3c4], edx
push eax
mov ecx, dword [ebp - 0xf4]
mov dword [esp], ecx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51f022
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51f021
push eax
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call dword [0x83039c]
pop ecx
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov eax, edx
sub eax, 0
jl 0x51f0eb
add esp, 0xfffffff4
mov dword [esp], str.SELECT_id_from_MP_LINE_where_road_id___lld_
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0051fe70
add esp, 0xc
mov ebx, eax
add esp, 0xfffffff8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
mov edx, ebx
call fcn.004ffa50
add esp, 8
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
test ebx, ebx
je 0x51f0eb
cmp dword [0x830380], 0
je 0x51f0e0
mov eax, dword [0x84f788]
test eax, eax
je 0x51f096
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
push eax
mov dword [esp], ebx
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov dword [0x84f3a0], edx
mov eax, dword [0x84f3c4]
cmp edx, eax
jge 0x51f0ba
mov edx, eax
mov dword [0x84f3c4], edx
push eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51f0eb
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51f0ea
push eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0051fe10
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov ecx, edx
sub ecx, 0
jl 0x51f648
add esp, 0xffffffe0
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
mov dword [esp + 4], str._lld__lld__lld
mov ebx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x7c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov edi, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x84]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.0061fb50
add esp, 0x20
mov dword [ebp - 4], 8
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x34]
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x108]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51f187
dec eax
mov dword [ecx], eax
jne 0x51f187
call fcn.0061ff50
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
je 0x51f1a1
push 0x798ffd
push 0x798ffc
lea ecx, [ebp - 0x58]
call fcn.00583ef0
push 0x794525
push 0x794524
lea ecx, [ebp - 0x58]
call fcn.00583ef0
lea ebx, [ebp - 0x104]
push ebx
lea ecx, [ebp - 0x34]
call fcn.0051fe20
mov dword [ebp - 4], 7
push dword [ebp - 0x104]
lea ecx, [ebp - 0x58]
call fcn.0051fe40
mov dword [ebp - 4], 4
mov ecx, ebx
call fcn.00537b50
push 0x794528
lea ecx, [ebp - 0x58]
call fcn.0051fe40
push ebx
lea ecx, [ebp - 0x30]
call fcn.0051fe20
mov dword [ebp - 4], 6
push dword [ebp - 0x104]
lea ecx, [ebp - 0x58]
call fcn.0051fe40
mov dword [ebp - 4], 4
mov ecx, ebx
call fcn.00537b50
push 0x799044
lea ecx, [ebp - 0x58]
call fcn.0051fe40
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0051fe20
mov dword [ebp - 4], 5
push dword [ebp - 0x104]
lea ecx, [ebp - 0x58]
call fcn.0051fe40
mov dword [ebp - 4], 4
mov ecx, ebx
call fcn.00537b50
lea ecx, [ebp - 0x58]
call fcn.0065a5b0
add esp, 0xfffffff4
mov dword [esp], str.UPDATE_MP_SEGMENT_set_restriction___q_WHERE_id___i_
mov dword [esp + 4], eax
mov edx, dword [ebp - 0xb8]
mov dword [esp + 8], edx
call fcn.0051fe70
add esp, 0xc
mov ebx, eax
add esp, 0xffffffec
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 4]
mov edx, ebx
xor ecx, ecx
call fcn.005037fc
add esp, 0x14
test ebx, ebx
je 0x51f316
cmp dword [0x830380], 0
je 0x51f30b
mov eax, dword [0x84f788]
test eax, eax
je 0x51f2c1
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
push eax
mov dword [esp], ebx
call dword [0x8303a4]
pop ecx
mov edx, dword [0x84f3a0]
sub edx, eax
mov dword [0x84f3a0], edx
mov eax, dword [0x84f3c4]
cmp edx, eax
jge 0x51f2e5
mov edx, eax
mov dword [0x84f3c4], edx
push eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
mov eax, dword [0x84f788]
test eax, eax
je 0x51f316
push eax
mov dword [esp], eax
call dword [0x8303d0]
jmp 0x51f315
push eax
mov dword [esp], ebx
call dword [0x83039c]
pop ecx
push eax
mov eax, dword [ebp - 0x28]
call fcn.0048ecb4
pop ecx
cmp eax, 0x64
je 0x51e745
jmp 0x51e4c6
movzx edx, byte [ebx + 0xa]
test edx, edx
je 0x51f3c3
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x51f396
mov ebx, edx
movzx eax, byte [edx + 0xa]
test eax, eax
jne 0x51f34e
mov edi, dword [edx + 0x14]
test edi, edi
je 0x51f38e
movzx eax, byte [edi + 0xa]
test eax, eax
je 0x51f387
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51f383
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [edi + 0xa], 0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x51f366
test ebx, ebx
je 0x51ef4b
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x51f3ae
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [edx + 4], eax
mov byte [ebx + 0xa], 1
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x51f396
jmp 0x51ef4b
mov edi, dword [ebx + 0x14]
test edi, edi
jne 0x51f366
jmp 0x51f396
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor esi, esi
mov dword [esp + 0x10], esi
lea ebx, [ebp - 0xfc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xf4]
mov ecx, 0xffffffff
call fcn.004c7880
add esp, 0x1c
cmp eax, 0x11
je 0x51f498
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
test eax, eax
jle 0x51f475
xor esi, esi
mov ebx, esi
shl ebx, 4
mov edx, dword [ebp - 0xb0]
mov ecx, dword [edx + 8]
mov ebx, dword [ecx + ebx + 4]
test ebx, ebx
je 0x51f470
movzx edx, byte [ebx + 9]
test edx, edx
je 0x51f470
mov eax, dword [ebx + 0xc]
dec eax
mov dword [ebx + 0xc], eax
je 0x51f44e
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
jmp 0x51f470
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51f463
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [ebx + 0xa], 0
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
inc esi
cmp esi, eax
jl 0x51f41c
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x51f48d
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov eax, dword [ebp - 0xfc]
jmp 0x51ef60
push eax
mov eax, dword [ebp - 0xfc]
call fcn.00408ac4
pop ecx
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xf4]
mov ecx, 0xffffffff
call fcn.004c7880
add esp, 0x1c
jmp 0x51f40d
movzx edx, byte [esi + 0xa]
test edx, edx
je 0x51f559
mov edx, dword [esi + 0x14]
test edx, edx
je 0x51f52c
mov esi, edx
movzx eax, byte [edx + 0xa]
test eax, eax
jne 0x51f4e4
mov edi, dword [edx + 0x14]
test edi, edi
je 0x51f524
movzx eax, byte [edi + 0xa]
test eax, eax
je 0x51f51d
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51f519
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [edi + 0xa], 0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x51f4fc
test esi, esi
je 0x51edb8
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x51f544
push eax
mov dword [esp], eax
call dword [0x8303c8]
pop ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx + 4], eax
mov byte [esi + 0xa], 1
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x51f52c
jmp 0x51edb8
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x51f4fc
jmp 0x51f52c
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor edi, edi
mov dword [esp + 0x10], edi
lea esi, [ebp - 0x100]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov eax, ebx
mov edx, dword [ebp - 0xf8]
mov ecx, 0xffffffff
call fcn.004c7880
add esp, 0x1c
cmp eax, 0x11
je 0x51f608
mov eax, dword [ebx + 4]
test eax, eax
jle 0x51f5eb
xor edi, edi
mov ecx, edi
shl ecx, 4
mov edx, dword [ebx + 8]
mov esi, dword [edx + ecx + 4]
test esi, esi
je 0x51f5e6
movzx edx, byte [esi + 9]
test edx, edx
je 0x51f5e6
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0xc], eax
je 0x51f5ca
mov eax, dword [ebx + 4]
jmp 0x51f5e6
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x51f5df
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov byte [esi + 0xa], 0
mov eax, dword [ebx + 4]
inc edi
cmp edi, eax
jl 0x51f5a4
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x51f5fd
push eax
mov dword [esp], eax
call dword [0x8303d0]
pop ecx
mov eax, dword [ebp - 0x100]
jmp 0x51edd3
push eax
mov eax, dword [ebp - 0x100]
call fcn.00408ac4
pop ecx
add esp, 0xffffffe4
mov dword [esp + 0xc], 1
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov eax, ebx
mov edx, dword [ebp - 0xf8]
mov ecx, 0xffffffff
call fcn.004c7880
add esp, 0x1c
jmp 0x51f59b
add esp, 0xffffffe8
lea ebx, [ebp - 0x10c]
mov dword [esp], ebx
mov dword [esp + 4], str._lld__lld
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov ecx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x84]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
call fcn.0061fb50
add esp, 0x18
mov dword [ebp - 4], 9
push ebx
lea ecx, [ebp - 0x34]
call fcn.00525690
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x10c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x51f187
dec eax
mov dword [ecx], eax
je 0x51f182
jmp 0x51f187
mov esi, dword [ebp - 0xfc]
add esp, 0xfffffff8
mov eax, esi
xor edx, edx
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004c5ed0
add esp, 4
mov ebx, eax
push eax
mov eax, esi
call fcn.00588070
pop ecx
jmp 0x51ef75
mov esi, dword [ebp - 0x100]
add esp, 0xfffffff8
mov eax, esi
xor edx, edx
call fcn.004fc8c0
add esp, 8
push eax
call fcn.004c5ed0
add esp, 4
mov ebx, eax
push eax
mov eax, esi
call fcn.00588070
pop ecx
jmp 0x51ede8