Function at 0x48d950
Capabilities:
Reference sql statements

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x24
mov ebp, ecx
movzx ebx, byte [esp + 0x44]
test ebx, ebx
jne 0x48d997
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push str.SELECT_count___FROM_MP_SEGMENT_WHERE_line_id___i_and_vertex___i_
call fcn.0051fe70
add esp, 0xc
mov edx, eax
mov dword [ebp + 4], edx
mov eax, dword [ebp]
call fcn.004ffa50
xor ebx, ebx
test eax, eax
mov eax, dword [ebp + 4]
sete bl
test eax, eax
je 0x48d997
call fcn.004c69c4
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x28]
test ebx, ebx
je 0x48da7c
mov dword [esp + 0x14], ebp
mov eax, 0x798fd0
cmp ecx, dword [edx + 0x24]
jne 0x48d9b6
mov ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x40]
cmp ecx, dword [edx + 0x3c]
jne 0x48d9c4
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [edx + 0x58]
cmp ebx, dword [edx + 0x54]
jne 0x48d9d2
mov ebx, eax
mov dword [esp + 0x20], ebx
mov ebx, dword [edx + 0x70]
cmp ebx, dword [edx + 0x6c]
push dword [edx]
mov ecx, dword [edx + 0x88]
mov edi, dword [edx + 0xa0]
push dword [esp + 0x3c]
mov esi, dword [edx + 0xb8]
mov ebp, dword [edx + 0xd0]
push dword [edx + 0xe8]
jne 0x48da04
mov ebx, eax
cmp ecx, dword [edx + 0x84]
jne 0x48da0e
mov ecx, eax
cmp edi, dword [edx + 0x9c]
push dword [edx + 0xe4]
jne 0x48da1e
mov edi, eax
cmp esi, dword [edx + 0xb4]
jne 0x48da28
mov esi, eax
cmp ebp, dword [edx + 0xcc]
push dword [edx + 0xe0]
jne 0x48da38
mov ebp, eax
push dword [edx + 0xdc]
push dword [edx + 0xd8]
push dword [edx + 0xd4]
push ebp
push esi
push edi
push ecx
push ebx
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [edx + 0x10]
push dword [edx + 0xc]
push dword [edx + 8]
push str.INSERT_INTO_MP_SEGMENT_node_id_bound_leftCity_leftRegion_leftCountry__rightCity_rightRegion_rightCountry_leftZip_rightZip_leftStart_leftEnd_leftType___rightStart_rightEnd__rightType_line_id_vertex__VALUES__lld___i__q__q___q____q___q___q___q___q___i___i___i_____i___i___i___i__i_
mov ebp, dword [esp + 0x64]
call fcn.0051fe70
add esp, 0x50
mov edx, eax
jmp 0x48db4d
mov dword [esp + 0x14], ebp
mov eax, 0x798fd0
cmp ecx, dword [edx + 0x24]
jne 0x48da8c
mov ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x40]
cmp ecx, dword [edx + 0x3c]
jne 0x48da9a
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [edx + 0x58]
cmp ebx, dword [edx + 0x54]
jne 0x48daa8
mov ebx, eax
mov dword [esp + 0x20], ebx
mov ebx, dword [edx + 0x70]
cmp ebx, dword [edx + 0x6c]
push dword [edx]
mov ecx, dword [edx + 0x88]
mov edi, dword [edx + 0xa0]
push dword [esp + 0x3c]
mov esi, dword [edx + 0xb8]
mov ebp, dword [edx + 0xd0]
push dword [edx + 0xe8]
jne 0x48dada
mov ebx, eax
cmp ecx, dword [edx + 0x84]
jne 0x48dae4
mov ecx, eax
cmp edi, dword [edx + 0x9c]
push dword [edx + 0xe4]
jne 0x48daf4
mov edi, eax
cmp esi, dword [edx + 0xb4]
jne 0x48dafe
mov esi, eax
cmp ebp, dword [edx + 0xcc]
push dword [edx + 0xe0]
jne 0x48db0e
mov ebp, eax
push dword [edx + 0xdc]
push dword [edx + 0xd8]
push dword [edx + 0xd4]
push ebp
push esi
push edi
push ecx
push ebx
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [edx + 0x10]
push dword [edx + 0xc]
push dword [edx + 8]
push str.UPDATE_MP_SEGMENT_set_node_id___lld__bound___i__leftCity___q__leftRegion___q__leftCountry___q___rightCity___q__rightRegion___q__rightCountry___q__leftZip___q__rightZip___q__leftStart___i__leftEnd___i__leftType___i___rightStart___i__rightEnd___i__rightType___i_WHERE_line_id___i_AND_vertex____i_
mov ebp, dword [esp + 0x64]
call fcn.0051fe70
add esp, 0x50
mov edx, eax
mov dword [ebp + 4], edx
xor ebx, ebx
mov eax, dword [ebp]
xor ecx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
call fcn.005037fc
mov ebx, eax
mov eax, dword [ebp + 4]
test eax, eax
je 0x48db72
call fcn.004c69c4
xor eax, eax
test ebx, ebx
sete al
add esp, 0x24
pop ebx
pop ebp
pop esi
pop edi
ret 0x10